/* ==========================================================================
   Variables CSS selon la palette OPLI
   ========================================================================== */
:root {
    /* Couleurs */
    --color-white: #FFFFFF;
    --color-background-light: #F8F9FA;
    --color-light-gray: #F2F2F2;
    --color-dark-title: #2D343A;
    --color-dark-subtitle: #2D343A;
    --color-text: #2D343A;
    --color-text-secondary: #666666;
    --color-button-bg: #3078CD;
    --color-button-hover: #1a5aad;
    --color-button-text: #FFFFFF;
    --color-accent: #3078CD;
    --color-accent-hover-gradient: linear-gradient(135deg, #3078CD 0%, #1a5aad 100%);
    --color-border-light: #EFF2F7;
    --color-primary-dark: #1E3E6E;

    /* Typographie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Espacements */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 2rem;     /* 32px */
    --spacing-lg: 3rem;     /* 48px */
    --spacing-xl: 4rem;     /* 64px */
    --spacing-xxl: 6rem;    /* 96px */

    /* Largeurs */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
    --border-radius: 16px;
    --shadow-soft: 0 8px 30px rgba(48, 120, 205, 0.05);
    --shadow-strong: 0 20px 60px rgba(48, 120, 205, 0.08);
    --blue: #1a3bff;
    --blue-light: #e8ecff;
    --ink: #0a0a12;
    --muted: #6b6b80;
    --white: #fafaf8;
    --gold: #F5A623;
}

/* NOISE TEXTURE OVERLAY */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 100;
    opacity: 0.5;
}


/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 120, 205, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(48, 120, 205, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(48, 120, 205, 0);
    }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(20px,-30px) scale(1.05); }
  50% { transform: translate(-15px,20px) scale(0.95); }
  75% { transform: translate(30px,10px) scale(1.02); }
}

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gridShift {
  from { transform: translate(0,0); }
  to { transform: translate(48px,48px); }
}

/* ==========================================================================
   Reset et styles de base
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Typographie hiérarchique */
h1, h2, h3, h4 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--color-dark-title);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2rem;
    color: var(--color-dark-subtitle);
    font-weight: var(--font-weight-semibold);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Conteneur
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.header {
   padding: 2.5rem 0;
   border-bottom: 1px solid var(--color-light-gray);
   position: sticky;
   top: 0;
   background-color: var(--color-white);
   z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-dark-title);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 6rem; /* 80px, réduit */
    width: auto;
    max-width: 250px;
    margin: 0.25rem 0;
    padding: 0;
    display: block;
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link:hover {
    color: var(--color-dark-title);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-dark-title);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
.nav-link:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* HERO */
.hero {
min-height: 90vh;
display: grid;
grid-template-columns: 1fr;
position: relative;
justify-items: center;
}

/* LEFT PANEL */
.hero-left {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 60px 40px 60px;
position: relative;
z-index: 2;
max-width: 800px;
margin: 0 auto;
}

/* FLOATING GEOMETRIC ACCENT */
.hero-left::after {
content: '';
position: absolute;
top: -60px;
left: -60px;
width: 320px;
height: 320px;
border-radius: 50%;
background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
z-index: -1;
animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
0%, 100% { transform: scale(1); opacity: 0.6; }
50% { transform: scale(1.1); opacity: 1; }
}

/* TAG LINE */
.overline {
display: inline-flex;
align-items: center;
gap: 10px;
font-size: 12px;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--blue);
margin-bottom: 32px;
opacity: 0;
animation: fadeUp 0.7s ease forwards 0.2s;
}

.overline::before {
content: '';
width: 32px;
height: 2px;
background: var(--blue);
display: block;
}

/* HEADING */
h1 {
font-family: 'Playfair Display', serif;
font-size: clamp(44px, 5vw, 68px);
font-weight: 900;
line-height: 1.08;
letter-spacing: -0.02em;
margin-bottom: 36px;
opacity: 0;
animation: fadeUp 0.8s ease forwards 0.4s;
}

h1 em {
font-style: italic;
color: var(--blue);
position: relative;
display: inline-block;
}

h1 em::after {
content: '';
position: absolute;
bottom: 2px;
left: 0;
right: 0;
height: 3px;
background: var(--blue);
transform: scaleX(0);
transform-origin: left;
animation: underlineReveal 0.8s ease forwards 1.2s;
}

@keyframes underlineReveal {
to { transform: scaleX(1); }
}

/* PARAGRAPHES */
.hero-text {
opacity: 0;
animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 16px;
    max-width: 480px;
}

/* DIVIDER */
.divider {
width: 48px;
height: 1px;
background: var(--ink);
opacity: 0.15;
margin: 28px 0;
}

/* FOOTER HERO */
.hero-footer {
display: flex;
align-items: center;
gap: 32px;
flex-wrap: wrap;
opacity: 0;
animation: fadeUp 0.8s ease forwards 0.8s;
}

/* BOUTON */
.btn {
background: var(--blue);
color: white;
text-decoration: none;
font-family: 'DM Sans', sans-serif;
font-weight: 500;
font-size: 15px;
letter-spacing: 0.04em;
padding: 16px 36px;
border-radius: 3px;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
display: inline-flex;
align-items: center;
gap: 10px;
position: relative;
overflow: hidden;
}

.btn::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
transform: translateX(-100%);
transition: transform 0.5s ease;
}

.btn:hover::before {
transform: translateX(100%);
}

.btn:hover {
background: #0025e0;
transform: translateY(-2px);
box-shadow: 0 16px 32px rgba(26, 59, 255, 0.28);
}

.btn-arrow {
width: 18px;
height: 18px;
transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
transform: translateX(4px);
}

/* RATING */
.rating {
display: flex;
align-items: center;
gap: 10px;
}

.stars {
display: flex;
gap: 2px;
}

.stars svg {
width: 15px;
height: 15px;
}

.rating-text {
font-size: 13px;
color: var(--muted);
font-weight: 400;
line-height: 1.4;
}

.rating-number {
font-weight: 600;
color: var(--ink);
}

/* RIGHT PANEL */
.hero-right {
position: relative;
background: var(--ink);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}

/* ANIMATED BACKGROUND GRID */
.grid-bg {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
background-size: 48px 48px;
animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
from { transform: translate(0, 0); }
to { transform: translate(48px, 48px); }
}

/* FLOATING ORBS */
.orb {
position: absolute;
border-radius: 50%;
filter: blur(60px);
animation: orbFloat linear infinite;
}

.orb-1 {
width: 360px;
height: 360px;
background: radial-gradient(circle, rgba(26, 59, 255, 0.55) 0%, transparent 70%);
top: -80px;
right: -80px;
animation-duration: 14s;
animation-delay: 0s;
}

.orb-2 {
width: 240px;
height: 240px;
background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, transparent 70%);
bottom: 20%;
left: 10%;
animation-duration: 18s;
animation-delay: -6s;
}

.orb-3 {
width: 180px;
height: 180px;
background: radial-gradient(circle, rgba(100, 160, 255, 0.35) 0%, transparent 70%);
bottom: -40px;
right: 20%;
animation-duration: 11s;
animation-delay: -3s;
}

@keyframes orbFloat {
0%, 100% { transform: translate(0, 0) scale(1); }
25% { transform: translate(20px, -30px) scale(1.05); }
50% { transform: translate(-15px, 20px) scale(0.95); }
75% { transform: translate(30px, 10px) scale(1.02); }
}

/* STATS CARD */
.stats-card {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
gap: 2px;
}

.stat-item {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 4px;
padding: 28px 36px;
backdrop-filter: blur(12px);
transition: all 0.4s ease;
opacity: 0;
transform: translateX(24px);
animation: slideIn 0.7s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.9s; }
.stat-item:nth-child(2) { animation-delay: 1.05s; }
.stat-item:nth-child(3) { animation-delay: 1.2s; }

.stat-item:hover {
background: rgba(255,255,255,0.09);
border-color: rgba(255,255,255,0.2);
transform: translateX(-4px);
}

@keyframes slideIn {
to { opacity: 1; transform: translateX(0); }
}

.stat-number {
font-family: 'Playfair Display', serif;
font-size: 48px;
font-weight: 900;
color: white;
line-height: 1;
margin-bottom: 6px;
letter-spacing: -0.02em;
}

.stat-number span {
color: var(--blue);
}

.stat-label {
font-size: 13px;
color: rgba(255,255,255,0.45);
font-weight: 300;
letter-spacing: 0.06em;
text-transform: uppercase;
}

/* CORNER TAG */
.corner-tag {
position: absolute;
top: 24px;
left: 48px;
display: flex;
align-items: center;
gap: 8px;
opacity: 0;
animation: fadeIn 0.6s ease forwards 1.4s;
}

.live-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.corner-tag span {
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255,255,255,0.4);
font-weight: 400;
}

/* DIAGONAL SEPARATOR */
.hero-right::before {
content: '';
position: absolute;
left: -40px;
top: 0;
bottom: 0;
width: 80px;
background: var(--ink);
clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
z-index: 1;
}

/* ANIMATIONS KEYFRAMES */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
 .hero {
 grid-template-columns: 1fr;
 grid-template-rows: auto auto;
 }

 .hero-left {
 padding: 60px 40px 56px;
 order: 1;
 }

 .hero-left::after {
 display: none;
 }

 h1 {
 font-size: 40px;
 }
}

@media (max-width: 600px) {
.stats-card {
flex-direction: column;
}

.hero-footer {
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
}



/* Styles pour la nouvelle section startups */
.section-subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.value-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: var(--spacing-sm);
}

.value-list li {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.value-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}


/* Assurer que le conteneur de l'iframe remplit l'écran du téléphone */
#mockup-container {
    width: 100%;
    height: 100%;
}

/* Nouveau Hero avec image de fond */
.hero-with-bg {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: var(--color-text);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-with-bg .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.hero-content-centered {
    max-width: 700px;
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle-transparent {
    font-size: 1.5rem;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    color: white;
}

.btn-white {
    display: inline-block;
    background-color: white;
    color: #0A0A0A;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-white:hover {
    background-color: #0A0A0A;
    color: white;
    border-color: #0A0A0A;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-large {
        font-size: 2.5rem;
    }
    .hero-subtitle-transparent {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-with-bg {
        min-height: 500px;
        height: 80vh;
    }
    .hero-title-large {
        font-size: 2rem;
    }
    .hero-subtitle-transparent {
        font-size: 1rem;
    }
    .btn-white {
        padding: 0.875rem 2rem;
    }
}

/* Garantir que le conteneur de l'iframe remplit l'écran du téléphone */
#mockup-container {
    width: 100%;
    height: 100%;
}

.hero-paragraph {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    max-width: 90%;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: var(--border-radius);
}

.btn-primary {
    background: #3078CD;
    color: var(--color-button-text);
    border: none;
    box-shadow: 0 6px 20px rgba(48, 120, 205, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: #1a5aad;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(48, 120, 205, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* Mockup téléphone */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    background-color: var(--color-dark-title);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-img {
    width: 80%;
    height: auto;
    opacity: 0.9;
}

.mockup-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    background: var(--color-white);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}


/* Masquer le mockup principal en mode mockup ou dans un iframe */
.mockup-view .phone-mockup,
.in-iframe .phone-mockup {
    display: none;
}

.mockup-view .hero-grid,
.in-iframe .hero-grid {
    grid-template-columns: 1fr;
}

/* Masquer la visualisation du téléphone en mode mockup */
.mockup-view .hero-visual,
.in-iframe .hero-visual {
    display: none;
}

/* ==========================================================================
   Section Réalité du marché
   ========================================================================== */
.market {
    padding: var(--spacing-sm) 0;
    border-bottom: none;
}

.market p {
    font-style: italic;
}

.section-title {
    text-align: center;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.market-content {
    max-width: 800px;
    margin: 0 auto;
}

.market-paragraph {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    text-align: center;
}




/* ==========================================================================
   Section Mockup réaliste
   ========================================================================== */
.mockup-realistic {
    background-color: white;
    padding: 0;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}


.mockup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d1b2e;
    margin-bottom: 3.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.tech-ticker-wrapper {
    margin-top: -2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    width: 100%;
}

.mockup-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: 20rem;
    margin-left: -4rem;
}

.mockup-text {
    flex: 1;
    text-align: left;
    margin-top: 0;
}

.mockup-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #3078CD;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.mockup-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #6b7a99;
    font-style: normal;
    margin-bottom: 3.5rem;
    max-width: 90%;
}

.mockup-text .value-list {
    margin-bottom: 2rem;
}

.mockup-text .value-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.mockup-text .value-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #111;
    font-weight: bold;
}

.mockup-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animation de flottaison */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.device-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

.device {
    transform: scale(0.9) !important;
}

.device-iphone-15 {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 40px;
}

.device-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 30px; /* correspond à l'écran de l'iPhone */
    overflow: hidden;
}

/* Assurer que l'écran du device occupe tout l'espace */
.device-frame,
.device-screen {
    height: 100%;
}

.device-screen {
    overflow: hidden;
}

/* FAQ */
.faq {
    padding: var(--spacing-xl) 0;
    background-color: #ffffff;
}

.faq .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    padding-right: 2rem;
    position: relative;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question:after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    padding-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.faq-answer a {
    color: var(--color-accent);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #0A0A0A;
}

/* Responsive */
@media (max-width: 768px) {
    .mockup-realistic {
        padding: 3.5rem 0;
        width: 100%;
        border-radius: 0;
        margin: 0 auto;
        box-shadow: none;
    }
    .mockup-content {
        flex-direction: column;
        gap: 3.5rem;
        margin-left: 0;
    }
    .mockup-text {
        text-align: center;
        max-width: 95%;
        margin: 0 auto;
    }
    .mockup-text h3 {
        font-size: 1.75rem;
    }
    .mockup-text p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    .device {
        transform: scale(0.8) !important;
    }
    .device-wrapper {
        min-height: 500px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .mockup-realistic {
        padding: 3rem 0;
        border-radius: 0;
        box-shadow: none;
    }
    .mockup-content {
        gap: 3rem;
        margin-left: 0;
    }
    .mockup-text h3 {
        font-size: 1.5rem;
    }
    .mockup-text p {
        font-size: 1rem;
    }
    .device {
        transform: scale(0.7) !important;
    }
    .device-wrapper {
        min-height: 450px;
        max-width: 95%;
    }
}

/* Desktop : limitation de largeur */
@media (min-width: 769px) {
    .device-wrapper {
        max-width: 400px;
    }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-light-gray);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-dark-title);
    margin-bottom: var(--spacing-sm);
}

.footer-copyright {
    color: #000000;
    margin-bottom: var(--spacing-xs);
}

.footer-social {
    margin: var(--spacing-sm) 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    width: 100%;
}

.footer-social a {
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--color-dark-title);
}

.footer-social img {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
}

.footer-links {
    margin: var(--spacing-sm) 0;
    text-align: center;
}
.footer-links a {
    color: var(--color-text);
    margin: 0 var(--spacing-xs);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--color-dark-title);
    text-decoration: underline;
}

.footer-legal a {
    color: var(--color-text);
    margin: 0 var(--spacing-xs);
}

.footer-legal a:hover {
    color: var(--color-dark-title);
}


/* ==========================================================================
   Services
   ========================================================================== */
.services {
    padding: var(--spacing-sm) 0;
    background-color: var(--color-white);
}

.services .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--color-light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--color-dark-title);
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark-title);
}

.service-card p {
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================================================
   Tarifs
   ========================================================================== */
.pricing {
    padding: var(--spacing-sm) 0;
    background-color: var(--color-background-light);
}

.pricing .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (min-width: 992px) {
    .pricing-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
    .pricing-card {
        flex: 1;
        max-width: none;
    }
}

.pricing-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    animation: none;
}

.pricing-card-header {
    background-color: transparent;
    color: inherit;
    padding: var(--spacing-md) var(--spacing-md) 0;
    border-radius: 0;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid #eee;
}

.pricing-card-header h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
    color: inherit;
    letter-spacing: -0.01em;
}
/* Textes du bouton de connexion selon l'appareil */
.btn-text-mobile {
    display: none;
}
.btn-text-desktop {
    display: inline;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

/* Délais d'animation pour chaque carte */
.pricing-card.visible:nth-child(1) {
    animation-delay: 0.1s;
}
.pricing-card.visible:nth-child(2) {
    animation-delay: 0.2s;
}
.pricing-card.visible:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card--highlighted {
    border-top-width: 4px;
    border-top-color: var(--color-accent);
    box-shadow: var(--shadow-strong);
}

.pricing-card--scale .pricing-card-header h3 {
    color: var(--color-text);
}
.pricing-card--entreprise .pricing-card-header h3 {
    color: var(--color-text);
}
.pricing-card--decollage .pricing-card-header h3 {
    color: var(--color-text);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-accent);
    color: white;
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(108, 76, 241, 0.3);
}


.pricing-price {
    font-size: 3rem; /* ≈ 48px */
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    margin: var(--spacing-md) 0;
    line-height: 1.2;
}


.pricing-price span {
    font-size: 1.5rem;
    color: var(--color-text);
}

.pricing-card p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.store-selection {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-light-gray);
}

.store-selection p {
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.store-selection label {
    display: block;
    margin-bottom: var(--spacing-xs);
    cursor: pointer;
}

.store-selection input[type="radio"] {
    margin-right: 0.5rem;
}

.pricing-option {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-light-gray);
}

.pricing-option label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-weight: 500;
}

.pricing-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.pricing-total {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-top: var(--spacing-sm);
    color: var(--color-dark-title);
}

.btn-payment {
    margin-top: var(--spacing-md);
    width: 100%;
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Tarifs */
@media (max-width: 768px) {
    .pricing-card {
        max-width: 100%;
        padding: var(--spacing-md);
    }
    .pricing-price {
        font-size: 2.5rem;
    }
    .pricing-card-header h3 {
        font-size: 1.5rem;
    }
    .btn-turquoise {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Modal de récapitulatif */
.recap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: var(--spacing-md);
}

.recap.active {
    display: flex;
}

.recap-content {
    max-width: 520px;
    width: 100%;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    position: relative;
    animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recap-content p {
    margin-bottom: var(--spacing-xs);
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.5;
}

.recap-separator {
    border: none;
    height: 1px;
    background: var(--color-border-light);
    margin: var(--spacing-md) 0;
}

.recap-total-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.recap-total-label {
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0;
}

.recap-total-amount {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    animation: priceUpdate 0.5s ease-out;
}

@keyframes priceUpdate {
    0% {
        transform: scale(1);
        color: var(--color-accent);
    }
    50% {
        transform: scale(1.1);
        color: #FF6B9D; /* couleur temporaire pour attirer l'attention */
    }
    100% {
        transform: scale(1);
        color: var(--color-accent);
    }
}

.recap-note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-md);
    line-height: 1.4;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background-color: var(--color-light-gray);
    color: var(--color-dark-title);
}

/* Options interactives dans le modal */
#recap-options-container {
    margin-bottom: var(--spacing-md);
}

#recap-options-container .store-selection {
    margin-bottom: var(--spacing-sm);
}

#recap-options-container .store-selection p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark-subtitle);
}

#recap-options-container label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-text);
}

#recap-options-container input[type="radio"],
#recap-options-container input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: var(--color-accent);
}

#recap-options-container .pricing-option {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-light-gray);
}

/* Bouton de confirmation dans le modal */
#confirm-payment {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}
#confirm-payment:hover {
    background-color: var(--color-button-hover);
    border-color: var(--color-button-hover);
}

/* ==========================================================================
   Nouveau Hero
   ========================================================================== */
.hero-new {
    background-color: #FFFFFF;
    color: var(--color-text);
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.hero-new .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-new-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    justify-items: center;
    text-align: center;
}

.hero-new-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    position: relative;
    overflow: hidden;
    min-height: 120vh;
    width: 100%;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 2;
}

.hero-image-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-image .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-image-content {
    max-width: 800px;
    margin: 0;
    padding: 200px 80px;
    text-align: left;
    position: relative;
    z-index: 3;
}

.hero-image-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-family: inherit;
}

.hero-image-subtitle {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    font-weight: 300;
    font-family: inherit;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-image-description {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 36px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    font-weight: 300;
    font-family: inherit;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-image-rating {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-top: var(--spacing-md);
}

.hero-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-header {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
    max-width: none;
}

.hero-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    max-width: none;
}

.hero-new-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #000;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-new-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
    opacity: 1;
    font-style: italic;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    color: #000;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero-ratings {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1.25rem;
}

.rating-text {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.4;
}

.rating-text strong {
    color: #000;
    font-weight: 600;
}

.btn-turquoise {
    display: inline-block;
    background-color: #3078CD;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(48, 120, 205, 0.35);
    outline: none;
}
.btn-turquoise:focus {
    animation: pulse 0.5s ease;
}

.btn-turquoise:hover {
    background-color: #1a5aad;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(48, 120, 205, 0.5);
}

.hero-new-visual {
    display: block;
}

.hero-new-image {
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    max-width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 400px;
    height: auto;
    margin: 0 auto;
}

.hero-new-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-new-image:hover img {
    transform: scale(1.01);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-new-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    .hero-new-title {
        font-size: 2.8rem;
    }
    .hero-new-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-new-title {
        font-size: 2.5rem;
    }
    .hero-new-subtitle {
        font-size: 1.125rem;
    }
    .btn-turquoise {
        padding: 0.875rem 2rem;
    }
    .hero-new {
        padding-top: 0;
        padding-bottom: 0;
        min-height: 100vh;
        height: 100vh;
    }
    .hero-new-image {
        max-height: 300px;
        height: auto;
    }
}

/* Bouton de connexion/compte */
.nav-link.btn-login {
    background-color: var(--color-accent);
    color: white;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
        --container-padding: 1rem;
    }
    .container {
        padding: 0 var(--container-padding) !important;
        max-width: 100% !important;
    }
    .hero-new .container {
        padding: 0 !important;
    }
    .header-inner {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        min-width: 0;
    }
    .nav {
        display: flex !important;
        position: static;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-top: none;
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
        overflow: visible;
        min-width: 0;
    }
    .logo img {
        height: 2rem;
        width: auto;
        margin-left: 0.5rem;
    }
    .nav-list {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        padding: 0;
        align-items: center;
        flex-wrap: nowrap;
        min-width: 0;
        overflow: hidden;
    }
    .nav-link {
        padding: 0.4rem 0.6rem;
        border-bottom: none;
        font-size: 0.8125rem; /* 13px */
        white-space: nowrap;
        color: var(--color-text);
        display: block !important;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .nav-link.btn-login {
        display: block;
        margin: 0;
        padding: 6px 12px;
        border-radius: 24px;
        text-align: center;
        border: none;
        background-color: #3078CD;
        color: white;
        font-size: 0.8125rem; /* 13px */
        white-space: nowrap;
        min-width: 0;
        overflow: hidden;
        max-width: 120px;
    }
    .nav-link.btn-login:hover {
        background-color: #1a5aad;
    }
    .language-selector {
        margin-left: 0;
    }
    .language-button {
        padding: 3px 6px;
        font-size: 0.8125rem;
        min-width: 24px;
        height: 20px;
        min-width: 0;
        overflow: hidden;
    }
    .nav-link.btn-login .btn-text-desktop {
        display: none !important;
    }
    .nav-link.btn-login .btn-text-mobile {
        display: inline !important;
    }
    .menu-toggle {
        display: none;
        order: 3;
        margin-left: 0.5rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
    .container {
        max-width: 100%;
        width: 100%;
    }
    .hero-content-centered,
    .market-content,
    .hero-new-content,
    .device-wrapper,
    .recap-content,
    .legal-content,
    .mockup-content,
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    .header {
        padding: 0.5rem 0;
    }
    .hero {
        padding: var(--spacing-xl) 0;
    }
    .market {
        padding: var(--spacing-lg) 0;
    }
    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 30px;
    }
    .nav-list {
        gap: 0.75rem;
        min-width: 0;
        overflow: hidden;
    }
    .nav-link {
        font-size: 0.8125rem;
        padding: 0.4rem 0.6rem;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .language-button {
        padding: 3px 6px;
        font-size: 0.8125rem;
        min-width: 24px;
        height: 20px;
        min-width: 0;
        overflow: hidden;
    }
    .nav-link.btn-login {
        margin: 0;
        padding: 6px 12px;
        font-size: 0.8125rem;
        min-width: 0;
        overflow: hidden;
        max-width: 120px;
    }
    .container {
        max-width: 100%;
        width: 100%;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    html {
        width: 100vw;
        overflow-x: hidden;
    }
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
    .hero-content-centered,
    .market-content,
    .hero-new-content,
    .device-wrapper,
    .recap-content,
    .legal-content,
    .mockup-content,
    .hero-content {
        max-width: 100%;
    }
    .nav-link.btn-login .btn-text-desktop {
        display: none !important;
    }
    .nav-link.btn-login .btn-text-mobile {
        display: inline !important;
    }
}

/* Styles pour le bouton de connexion dans la navigation (desktop) */
@media (min-width: 769px) {
    .nav-link.btn-login {
        background-color: var(--color-accent);
        color: white !important;
        padding: 8px 20px;
        border-radius: 20px;
        margin-left: 10px;
        transition: background-color 0.3s, transform 0.2s;
    }
    .nav-link.btn-login:hover {
        background-color: var(--color-primary-dark);
        transform: translateY(-2px);
    }
    .nav-link.btn-login.active {
        background-color: var(--color-accent);
    }
}

/* Défilement fluide */
html {
    scroll-behavior: smooth;
}

/* Animation d'apparition des sections */
.section-fade {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour le contenu légal */
.legal-content {
    line-height: 1.7;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-dark-title);
}
.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark-title);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-light);
}
.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content p {
    margin-bottom: 1.2rem;
}
.legal-content ul, .legal-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}
.legal-content li {
    margin-bottom: 0.5rem;
}
.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
}
.legal-content a:hover {
    color: var(--color-button-hover);
}
.legal-content .legal-update {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-align: right;
}

/* Sélecteur de langue */
.language-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.language-button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.language-button:hover {
    background-color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    min-width: 160px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 1000;
    display: none !important;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}


.language-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color 0.2s;
}

.language-dropdown a:hover {
    background-color: var(--color-light-gray);
}

.language-dropdown a::before {
    content: '';
    display: inline-block;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Menu déroulant du compte utilisateur */
.account-selector {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.account-button {
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
}

.account-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 1000;
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color 0.2s;
}

.account-link:hover {
    background-color: var(--color-light-gray);
}

.account-link i {
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.account-email {
    padding: 10px 20px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-light-gray);
    margin-bottom: 5px;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--color-light-gray);
    margin: 8px 0;
}

.account-link.disabled {
    color: var(--color-text-secondary);
    cursor: not-allowed;
    opacity: 0.7;
}

.account-link.disabled:hover {
    background-color: transparent;
}

/* Classe utilitaire pour cacher des éléments */
.hidden {
    display: none !important;
}

/* ==========================================================================
   Écrans intermédiaires (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 2rem;
    }
    .hero-new-title {
        font-size: 3rem;
    }
    .hero-new-subtitle {
        font-size: 1.5rem;
    }
    .hero-new-content {
        max-width: 100%;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Grands écrans (>= 1400px)
   ========================================================================== */
@media (min-width: 1400px) {
    :root {
        --container-max-width: 1400px;
    }
    
    .hero-new-title {
        font-size: 4rem;
    }
    
    .hero-new-subtitle {
        font-size: 1.75rem;
    }
    
    .hero-new-content {
        max-width: 100%;
    }
    
    /* Masquer la caméra et les capteurs du mockup iPhone */
    .device-iphone-14-pro .device-header,
    .device-iphone-14-pro .device-sensors,
    .device-iphone-14-pro .device-sensors::after,
    .device-iphone-14-pro .device-sensors::before {
        display: none !important;
    }
    
    .pricing-grid {
        gap: var(--spacing-xl);
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .device-wrapper {
        max-width: 500px;
    }
}

/* Masquer la caméra et les capteurs du mockup iPhone (global) */
.device-iphone-14-pro .device-header,
.device-iphone-14-pro .device-sensors,
.device-iphone-14-pro .device-sensors::after,
.device-iphone-14-pro .device-sensors::before {
    display: none !important;
}

/* Supprimer le sélecteur de langue */
.language-selector {
    display: none !important;
}

/* Améliorations mobile pour le dropdown compte */
@media (max-width: 768px) {
    .account-button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
        font-size: 1.1rem;
    }
    .account-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        min-width: unset;
        max-width: 100%;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(100%);
    }
    .account-dropdown.show {
        transform: translateY(0);
    }
    .account-link {
        padding: 16px 24px;
        font-size: 1.1rem;
    }
    .account-email {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* Masquer le preview téléphone sur mobile (renforcé) */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* Masquer également sur tablette (largeur moyenne) */
@media (max-width: 1024px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* Styles pour le footer amélioré - trois colonnes sur la largeur */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3078CD;
    margin-bottom: 2rem;
    text-align: center;
    align-self: center;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 2rem;
    justify-items: start;
}
.footer-nav-column {
    text-align: left;
}
.footer-nav-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}
.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-column li {
    margin-bottom: 0.5rem;
}
.footer-nav-column a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav-column a:hover {
    color: #3078CD;
}
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: background-color 0.2s;
}
.footer-social a:hover {
    background-color: #3078CD;
}
.footer-social img {
    width: 18px;
    height: 18px;
}
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
    color: #888;
    gap: 1rem;
    text-align: center;
}
.footer-bottom a {
    color: #3078CD;
}
/* Sur mobile, les colonnes s'empilent */
@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-nav-column {
        text-align: center;
    }
    .footer-social {
        margin-top: 1.5rem;
    }
}

/* Header social icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    padding-right: 1rem;
}

.header-social a {
    display: inline-flex;
    color: #666;
    transition: color 0.2s;
}

.header-social a.email:hover {
    color: #d14836; /* Gmail red */
}

.header-social a.instagram:hover {
    color: #E4405F; /* Instagram pink */
}

.header-social a.tiktok:hover {
    color: #000000; /* TikTok black */
}

.header-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(0); /* default black */
}

.header-social a.email img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(62%) saturate(748%) hue-rotate(314deg) brightness(89%) contrast(89%); /* Gmail color */
}

.header-social a.instagram img {
    filter: brightness(0) saturate(100%) invert(34%) sepia(73%) saturate(1352%) hue-rotate(301deg) brightness(94%) contrast(96%); /* Instagram color */
}

.header-social a.tiktok img {
    filter: brightness(0) saturate(100%); /* black */
}

/* Hero social icons */
.hero-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-social a {
    display: inline-flex;
    color: #666;
    transition: color 0.2s;
}

.hero-social a.email:hover {
    color: #d14836;
}

.hero-social a.instagram:hover {
    color: #E4405F;
}

.hero-social a.tiktok:hover {
    color: #000000;
}

.hero-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(0);
}

.hero-social a.email img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(62%) saturate(748%) hue-rotate(314deg) brightness(89%) contrast(89%);
}

.hero-social a.instagram img {
    filter: brightness(0) saturate(100%) invert(34%) sepia(73%) saturate(1352%) hue-rotate(301deg) brightness(94%) contrast(96%);
}

.hero-social a.tiktok img {
    filter: brightness(0) saturate(100%);
}

/* Nouveau header codé */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    z-index: 1;
}

.hero-image-shape {
    position: absolute;
    z-index: 2;
    display: none;
}

.hero-image-shape.shape-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-image-shape.shape-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
    background: rgba(20, 38, 181, 0.2);
}

.hero-image-shape.shape-line-1,
.hero-image-shape.shape-line-2 {
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(-45deg);
}

.hero-image-shape.shape-line-1 {
    width: 600px;
    top: 200px;
    left: -100px;
}

.hero-image-shape.shape-line-2 {
    width: 400px;
    bottom: 150px;
    right: -100px;
}

.hero-image-button {
    display: inline-block;
    background: #3078CD;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 50px;
    border-radius: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(48, 120, 205, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-image-button:hover {
    background: #1a5aad;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(48, 120, 205, 0.6);
}
.hero-image-button:active {
    transform: translateY(0) scale(0.98);
}

/* Superposition du bouton sur l'image */
.hero-image-button-overlay {
    position: absolute;
    top: 77%;
    left: 16.5%;
    width: 180px;
    height: 60px;
    z-index: 10;
    background: transparent;
    cursor: pointer;
}

/* Responsive pour hero-image */
@media (max-width: 992px) {
    .hero-image-content {
        padding: 80px 40px;
    }
    .hero-image-title {
        font-size: 2.8rem;
    }
    .hero-image-subtitle {
        font-size: 1.3rem;
    }
    .hero-image-description {
        font-size: 1.1rem;
    }
    .hero-image-button {
        font-size: 1.1rem;
        padding: 16px 40px;
    }
}

@media (max-width: 768px) {
    .hero-image-content {
        padding: 60px 24px;
    }
    .hero-image-title {
        font-size: 2.2rem;
    }
    .hero-image-subtitle {
        font-size: 1.1rem;
    }
    .hero-image-description {
        font-size: 1rem;
    }
    .hero-image-button {
        font-size: 1rem;
        padding: 14px 32px;
    }
}

@media (max-width: 480px) {
    .hero-image-content {
        padding: 40px 16px;
    }
    .hero-image-title {
        font-size: 1.8rem;
    }
    .hero-image-subtitle {
        font-size: 1rem;
    }
    .hero-image-description {
        font-size: 0.9rem;
    }
    .hero-image-button {
        font-size: 0.9rem;
        padding: 12px 28px;
    }
}

/* Stats Section */
.stats-section {
    position: relative;
    background: var(--ink);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.stats-section .stats-card {
    display: flex;
    flex-direction: row;
    gap: 2px;
    width: 100%;
    max-width: 800px;
    align-items: stretch;
    margin: 0 auto;
}

.stats-section .stat-item {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 28px 36px;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(24px);
    animation: slideIn 0.7s ease forwards;
    text-align: center;
}

.stats-section .stat-item:nth-child(1) { animation-delay: 0.3s; }
.stats-section .stat-item:nth-child(2) { animation-delay: 0.5s; }
.stats-section .stat-item:nth-child(3) { animation-delay: 0.7s; }

.stats-section .stat-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-8px);
}

.stats-section .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stats-section .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .stats-section .stats-card {
        max-width: 600px;
    }
    .stats-section .stat-item {
        padding: 30px 20px;
    }
    .stats-section .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .stats-section {
        padding: 60px 24px;
    }
    .stats-section .stats-card {
        flex-direction: column;
        gap: 16px;
        max-width: 400px;
    }
    .stats-section .stat-item {
        padding: 20px 16px;
    }
    .stats-section .stat-number {
        font-size: 40px;
    }
}
@media (max-width: 600px) {
    .stack-cards {
        justify-items: center;
        padding-left: 0;
        margin-left: 0;
        width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
    }
    .stack-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Tablette : décaler les cartes stack et preview téléphone */
@media (min-width: 601px) and (max-width: 1024px) {
    .mockup-content {
        margin-left: 10rem;
    }
    .stack-cards {
        margin-left: 10rem;
    }
}

/* Réduire l'espace avant la section méthodologie */
.metho {
    margin-top: 0 !important;
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

