/* ===========================
   Fonts — Bricolage Grotesque (titres) + DM Sans (corps)
   Chargés via Google Fonts dans <head>
=========================== */

/* ===========================
   Variables
=========================== */
:root {
    --black:  #0C2220;
    --dark:   #163530;
    --dark-2: #1E4540;
    --dark-3: #285C55;
    --cream: #FAF9F6;
    --cream-2: #F2F0EB;
    --light: #F2F0EB;
    --white: #ffffff;
    --text-on-dark: rgba(255,255,255,0.88);
    --text-muted-dark: rgba(255,255,255,0.45);
    --text-on-light: #163530;
    --text-muted-light: #4A6460;
    --accent: #3A9E94;
    --accent-hover: #2E8A80;
    --grad: linear-gradient(135deg, #3A9E94 0%, #5DC4B6 100%);
    --border-dark: rgba(255,255,255,0.07);
    --border-light: rgba(0,0,0,0.09);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ===========================
   Reset
=========================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--black); color: var(--text-on-dark); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ===========================
   NAV
=========================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.45s, backdrop-filter 0.45s, border-color 0.45s;
}
/* Hero = clair → nav texte sombre */
.nav-inner {
    max-width: 1160px; margin: 0 auto; padding: 0 2rem;
    height: 54px; display: flex; align-items: center; justify-content: space-between;
    position: relative;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-heading); font-weight: 700; font-size: 1rem; letter-spacing: -0.025em;
    color: var(--dark); flex-shrink: 0;
    transition: color 0.35s;
}
.nav-logo-img { height: 24px; width: auto; }
.nav-links-desktop {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; gap: 2rem;
}
.nav-links-desktop a {
    font-size: 0.78rem; font-weight: 500; color: rgba(26,26,24,0.55);
    transition: color 0.2s; letter-spacing: 0;
    font-family: var(--font);
}
.nav-links-desktop a:hover { color: var(--dark); }
.nav-right { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; }
.nav-support {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.42rem 1rem; border: 1px solid rgba(58,158,148,0.25);
    color: var(--accent); border-radius: 100px; font-size: 0.76rem; font-weight: 600;
    transition: background 0.2s, border-color 0.2s; font-family: var(--font);
}
.nav-support:hover { background: rgba(58,158,148,0.07); border-color: rgba(58,158,148,0.5); }
.nav-cta {
    padding: 0.42rem 1.1rem; border: 1px solid rgba(26,26,24,0.2);
    color: var(--dark); border-radius: 100px; font-size: 0.76rem; font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.35s; font-family: var(--font);
}
.nav-cta:hover { background: rgba(26,26,24,0.06); border-color: rgba(26,26,24,0.35); }
.nav-burger { display: none; color: var(--dark); padding: 4px; transition: color 0.35s; }

/* Quand scrollée sur sections sombres — verre liquide */
.nav.scrolled {
    background: rgba(12,34,32,0.78);
    backdrop-filter: blur(32px) saturate(200%) brightness(0.95);
    -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
}
.nav.scrolled .nav-logo { color: var(--white); }
.nav.scrolled .nav-links-desktop a { color: rgba(255,255,255,0.6); }
.nav.scrolled .nav-links-desktop a:hover { color: var(--white); }
.nav.scrolled .nav-cta { border-color: rgba(255,255,255,0.2); color: var(--white); }
.nav.scrolled .nav-cta:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.nav.scrolled .nav-burger { color: var(--white); }

/* ===========================
   SIDE NAV
=========================== */
.side-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 199;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.side-overlay.open { opacity: 1; pointer-events: auto; }
.side-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 300px;
    background: var(--dark); z-index: 200; transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex; flex-direction: column; padding: 2rem;
    border-left: 1px solid var(--border-dark);
}
.side-nav.open { transform: translateX(0); }
.side-close {
    align-self: flex-end; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--dark-3); color: var(--white);
    margin-bottom: 2.5rem; cursor: pointer;
}
.side-nav ul { list-style: none; flex: 1; }
.side-nav ul li { border-bottom: 1px solid var(--border-dark); }
.side-link {
    display: block; padding: 1rem 0; font-size: 1.5rem; font-weight: 700;
    letter-spacing: -0.03em; color: var(--text-on-dark); transition: color 0.2s;
}
.side-link:hover { color: var(--accent); }
.side-foot { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 2rem; font-size: 0.8rem; color: var(--text-muted-dark); }

/* ===========================
   HERO — fond crème, typographie éditoriale
=========================== */
.hero {
    min-height: 100vh; background: var(--cream);
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    gap: 5rem;
    text-align: left; padding: 130px 5rem 100px; position: relative;
    overflow: hidden;
}
/* Grain texture — donne de la profondeur sans paraître IA */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    pointer-events: none; z-index: 0;
}
/* Tache d'encre subtile — accent unique, pas de glow IA */
.hero::after {
    content: '';
    position: absolute; top: 15%; right: 8%; z-index: 0;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(58,158,148,0.08) 0%, transparent 68%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 520px; flex: 1 1 auto; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted-light); margin-bottom: 2rem; font-weight: 600;
    font-family: var(--font);
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding-bottom: 0.5rem;
}
.hero-headline {
    font-size: clamp(3rem, 7.5vw, 6.8rem);
    font-weight: 800; letter-spacing: -0.04em; line-height: 1.0;
    color: var(--dark); margin-bottom: 1.75rem;
    font-family: var(--font-heading);
}
.grad-text {
    color: var(--accent);
    font-style: italic;
    position: relative;
    display: inline;
}
.grad-text::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -5px;
    height: 2px;
    background: var(--accent);
    border-radius: 100px;
    transform-origin: left center;
    transform: scaleX(0);
    animation: underline-reveal 0.7s 1.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes underline-reveal { to { transform: scaleX(1); } }
.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-muted-light); max-width: 440px; margin: 0 0 2.75rem;
    font-weight: 400; line-height: 1.7;
}
.hero-btns { display: flex; gap: 0.875rem; justify-content: flex-start; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(0,0,0,0.25); z-index: 1; font-family: var(--font);
}
.hero-scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
    animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
    0%   { transform: scaleY(1);   opacity: 0.5; }
    50%  { transform: scaleY(0.6); opacity: 1;   }
    100% { transform: scaleY(1);   opacity: 0.5; }
}

/* ===========================
   HERO VISUAL — Apple Liquid Glass card stack
=========================== */
.hero-visual {
    position: relative; z-index: 1;
    width: 360px; height: 460px;
    flex-shrink: 0;
}
/* Responsive — tablet */
@media (max-width: 1100px) {
    .hero { gap: 3rem; padding: 130px 3rem 100px; }
    .hero-visual { width: 300px; height: 400px; }
}

/* Mobile — stack vertically, hide visual */
@media (max-width: 820px) {
    .hero {
        flex-direction: column; text-align: center;
        padding: 130px 2rem 100px; gap: 0;
        justify-content: center; align-items: center;
    }
    .hero-content { max-width: 620px; }
    .hero-sub { margin: 0 auto 2.75rem; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
}

/* Buttons */
.btn-dark {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.82rem 1.75rem; background: var(--dark); color: var(--white);
    border-radius: 100px; font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em;
    font-family: var(--font);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s;
}
.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
    background: var(--black);
}

.btn-ghost-light {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.82rem 1.75rem; border: 1px solid rgba(26,26,24,0.2);
    color: var(--text-muted-light); border-radius: 100px; font-size: 0.875rem; font-weight: 500;
    font-family: var(--font);
    transition: border-color 0.25s, transform 0.25s var(--ease-out), color 0.25s;
}
.btn-ghost-light:hover {
    border-color: rgba(26,26,24,0.45);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ===========================
   STATEMENT SECTIONS — editorial left-aligned
=========================== */
.statement-section {
    background: var(--black);
    padding: 5.5rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.statement-section::before { display: none; }
.statement-section.statement-light {
    background: var(--cream-2);
    border-top-color: rgba(0,0,0,0.07);
    border-bottom-color: rgba(0,0,0,0.07);
}
.statement-section.statement-light::before { display: none; }
.statement-inner {
    max-width: 1160px; margin: 0 auto; padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2.75rem;
    position: relative; z-index: 1;
}
.se-idx {
    font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.12);
    font-family: var(--font);
    flex-shrink: 0;
    padding-top: 1rem;
    min-width: 20px;
}
.se-idx--light { color: rgba(0,0,0,0.15); }
.statement-text {
    display: flex; flex-direction: column; gap: 0;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
    color: var(--white);
    font-family: var(--font-heading);
    text-wrap: balance;
}
.statement-text.dark { color: var(--text-on-light); }
.statement-text em {
    font-style: italic;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}
.st-line { display: block; }

/* ===========================
   MARQUEE
=========================== */
.marquee-wrap {
    background: var(--cream-2);
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow: hidden; padding: 1rem 0;
}
.marquee-rail { overflow: hidden; }
.marquee-track {
    display: flex; gap: 2rem; width: max-content;
    animation: marquee 35s linear infinite;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(26,26,24,0.4); align-items: center;
    font-family: var(--font);
}
.marquee-track .sep { color: rgba(26,26,24,0.2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================
   SECTIONS
=========================== */
.section-dark { background: var(--black); padding: 8rem 0; }
.section-light { background: var(--cream); padding: 8rem 0; }

.label-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.04em; color: var(--accent);
    margin-bottom: 1.25rem;
}
.label-tag.label-dark { color: var(--accent); }
.section-label-wrap { margin-bottom: 0.5rem; }

.section-headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800; letter-spacing: -0.04em; line-height: 1.06;
    color: var(--white); margin-bottom: 3.5rem;
    font-family: var(--font-heading);
    text-wrap: balance;
}
.section-headline.dark-text { color: var(--text-on-light); }

/* ===========================
   SERVICES BENTO — Glassmorphism
=========================== */

/* Fond de section avec profondeur */
.services-section {
    background: radial-gradient(ellipse 100% 60% at 50% -10%, rgba(58,158,148,0.18) 0%, var(--black) 65%) !important;
}

/* ===========================
   SERVICES — layout liste éditoriale
=========================== */
.services-list {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 1rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 32px;
    gap: 2.5rem;
    align-items: center;
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: padding-left 0.35s var(--ease-out);
    cursor: default;
}
.service-row::before {
    content: '';
    position: absolute; left: -1.5rem; top: 0; bottom: 0; width: 0;
    background: rgba(58,158,148,0.06);
    transition: width 0.35s var(--ease-out);
    pointer-events: none;
    border-radius: 0 8px 8px 0;
}
.service-row:hover::before { width: calc(100% + 3rem); }

.sr-num { display: none; }

.sr-body { display: flex; flex-direction: column; gap: 0.6rem; }

.sr-top {
    display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap;
}

.service-row h3 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700; letter-spacing: -0.03em;
    color: rgba(255,255,255,0.88); line-height: 1.2;
    font-family: var(--font-heading);
    transition: color 0.3s;
}
.service-row:hover h3 { color: rgba(255,255,255,1); }

.service-row p {
    font-size: 0.875rem; color: rgba(255,255,255,0.35);
    line-height: 1.72; max-width: 560px;
    transition: color 0.3s;
}
.service-row:hover p { color: rgba(255,255,255,0.50); }

.sr-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.sr-tags span {
    font-size: 0.62rem; font-weight: 600; padding: 0.2rem 0.55rem;
    background: rgba(255,255,255,0.05); border-radius: 100px;
    color: rgba(255,255,255,0.30); border: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.04em; white-space: nowrap;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.service-row:hover .sr-tags span {
    background: rgba(58,158,148,0.14);
    color: rgba(178,228,224,0.85);
    border-color: rgba(58,158,148,0.28);
}

.sr-arrow {
    color: rgba(255,255,255,0.15); flex-shrink: 0;
    transition: color 0.3s, transform 0.3s var(--ease-out);
    align-self: center;
}
.service-row:hover .sr-arrow {
    color: rgba(58,158,148,0.75);
    transform: translateX(4px);
}

/* ===========================
   PRODUITS GRID
=========================== */
.produits-section { border-top: 1px solid rgba(255,255,255,0.05); }

.produits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.produit-card {
    background: linear-gradient(
        160deg,
        rgba(255,255,255,0.09) 0%,
        rgba(58,158,148,0.08) 50%,
        rgba(255,255,255,0.04) 100%
    );
    backdrop-filter: blur(28px) saturate(160%) brightness(1.06);
    -webkit-backdrop-filter: blur(28px) saturate(160%) brightness(1.06);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.18),
        0 10px 32px rgba(0,0,0,0.32),
        0 28px 56px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(255,255,255,0.05);
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
/* Top shimmer on produit cards */
.produit-card::before {
    content: '';
    position: absolute; top: 0; left: 5%; right: 5%; height: 1px; z-index: 10;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
    pointer-events: none;
}
.produit-card:hover {
    border-color: rgba(255,255,255,0.22);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.22),
        0 20px 56px rgba(0,0,0,0.42),
        0 48px 96px rgba(0,0,0,0.3),
        0 0 80px rgba(58,158,148,0.1),
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -1px 0 rgba(255,255,255,0.08);
    transform: translateY(-6px);
}

/* Visual placeholder */
.produit-visual {
    position: relative;
    height: 232px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
/* Subtle dot-grid overlay */
.pv-bg-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    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: 28px 28px;
}
.pv-immo {
    background: linear-gradient(135deg, #0C2622 0%, #091A18 50%, #081816 100%);
}
.pv-shopbot {
    background: linear-gradient(135deg, #0A1E1C 0%, #0D2422 50%, #07181A 100%);
}
.pv-stockpilot {
    background: linear-gradient(135deg, #1a1200 0%, #2a1e00 50%, #1a1200 100%);
}

/* Apple Liquid Glass chip inside product visuals */
.pv-glass-chip {
    position: absolute;
    bottom: 18px; left: 50%; transform: translateX(-50%);
    z-index: 2;
    padding: 10px 18px 11px;
    border-radius: 16px;
    backdrop-filter: blur(28px) saturate(200%) brightness(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.5);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.14) 0%,
        rgba(255,255,255,0.07) 60%,
        rgba(255,255,255,0.04) 100%
    );
    border: 1px solid rgba(255,255,255,0.20);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.35),
        0 12px 32px rgba(0,0,0,0.20),
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -1px 0 rgba(255,255,255,0.06);
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    white-space: nowrap; min-width: 144px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.produit-card:hover .pv-glass-chip {
    transform: translateX(-50%) translateY(-4px);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.45),
        0 20px 48px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.32),
        inset 0 -1px 0 rgba(255,255,255,0.08);
}
.pvg-name {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.10em;
    text-transform: uppercase; color: rgba(255,255,255,0.55);
    font-family: var(--font);
}
.pvg-val {
    font-size: 0.88rem; font-weight: 700; letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92); font-family: var(--font-heading);
}
.pvg-status {
    font-size: 0.58rem; font-weight: 600; letter-spacing: 0.04em;
    color: rgba(74,222,128,0.85); font-family: var(--font);
}
.pvg-status--blue { color: rgba(99,179,237,0.85); }
.pvg-status--gold { color: rgba(251,191,36,0.85); }

.pv-glow {
    position: absolute; inset: 0; pointer-events: none;
}
.pv-immo .pv-glow {
    background: radial-gradient(ellipse 70% 70% at 40% 40%, rgba(58,158,148,0.35), transparent 70%);
}
.pv-shopbot .pv-glow {
    background: radial-gradient(ellipse 70% 70% at 40% 40%, rgba(58,158,148,0.3), transparent 70%);
}
.pv-stockpilot .pv-glow {
    background: radial-gradient(ellipse 70% 70% at 40% 40%, rgba(255,202,40,0.3), transparent 70%);
}

.pv-icon {
    position: relative; z-index: 1;
    color: rgba(255,255,255,0.7);
    filter: drop-shadow(0 0 16px currentColor);
    transition: transform 0.4s var(--ease-out), filter 0.4s;
}
.produit-card:hover .pv-icon {
    transform: scale(1.12) translateY(-3px);
    filter: drop-shadow(0 0 24px currentColor);
}
.pv-immo .pv-icon   { color: rgba(58,158,148,0.9); }
.pv-shopbot .pv-icon { color: rgba(58,158,148,0.9); }
.pv-stockpilot .pv-icon { color: rgba(255,202,40,0.9); }

/* Body */
.produit-body {
    padding: 1.75rem;
    display: flex; flex-direction: column; gap: 0.75rem; flex: 1;
}
.produit-head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.produit-badge {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.25rem 0.65rem; border-radius: 100px;
}
.badge-live {
    background: rgba(34,197,94,0.12); color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
}
.badge-wip {
    background: rgba(251,191,36,0.1); color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.2);
}
.produit-tags {
    display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.produit-tags span {
    font-size: 0.65rem; font-weight: 600; padding: 0.22rem 0.55rem;
    background: rgba(255,255,255,0.05); border-radius: 100px;
    color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.07);
    letter-spacing: 0.02em;
}
.produit-card h3 {
    font-size: 1.4rem; font-weight: 800; letter-spacing: -0.035em;
    color: var(--white); line-height: 1.2; margin-top: 0.25rem;
    font-family: var(--font-heading);
}
.produit-card p {
    font-size: 0.845rem; color: rgba(255,255,255,0.45); line-height: 1.72; flex: 1;
}
.produit-cta {
    display: inline-flex; align-items: center; gap: 0.45rem;
    margin-top: 0.25rem; align-self: flex-start;
    padding: 0.58rem 1rem;
    font-size: 0.78rem; font-weight: 700; color: var(--white);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px; font-family: var(--font);
    cursor: pointer; letter-spacing: -0.01em; text-decoration: none;
    transition: background 0.2s, border-color 0.2s, gap 0.2s;
}
.produit-cta:hover { background: rgba(255,255,255,0.13); border-color: rgba(58,158,148,0.35); gap: 0.7rem; }
.produit-cta-disabled {
    opacity: 0.28; cursor: not-allowed; pointer-events: none;
}

/* ===========================
   PRODUIT VISUAL — mini UI elements
=========================== */
.pv-status-pill {
    position: absolute; bottom: 14px; right: 14px; z-index: 5;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px 5px 8px;
    background: rgba(8,8,8,0.65);
    backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 100px;
    font-size: 0.67rem; font-weight: 600;
    color: rgba(255,255,255,0.72); font-family: var(--font);
}
.pv-status-pill--blue { border-color: rgba(96,165,250,0.22); }
.pv-status-pill--gold { border-color: rgba(251,191,36,0.22); }
.pv-dot-pill {
    width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
    animation: pvBlink 2.2s ease-in-out infinite;
}
@keyframes pvBlink { 0%,100%{opacity:1} 50%{opacity:0.38} }

/* — ImmoFlow dashboard — */
.pv-dash {
    position: relative; z-index: 2;
    width: calc(100% - 48px); max-width: 228px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 16px; padding: 14px 16px 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
}
.pv-dash-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.pv-dash-num {
    font-size: 1.85rem; font-weight: 800; letter-spacing: -0.06em;
    color: rgba(255,255,255,0.95); font-family: var(--font-heading); line-height: 1; display: block;
}
.pv-dash-lab { font-size: 0.62rem; font-weight: 500; color: rgba(255,255,255,0.36); letter-spacing: 0.01em; font-family: var(--font); margin-top: 2px; }
.pv-dash-trend {
    font-size: 0.68rem; font-weight: 700; color: #4ade80;
    background: rgba(74,222,128,0.12); padding: 3px 8px;
    border-radius: 100px; border: 1px solid rgba(74,222,128,0.18); white-space: nowrap;
}
.pv-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-bottom: 10px; }
.pv-bar {
    flex: 1; height: var(--h, 50%);
    background: rgba(58,158,148,0.3); border-radius: 3px 3px 0 0;
    transform: scaleY(0); transform-origin: bottom;
}
.pv-bar--hi { background: rgba(58,158,148,0.9); box-shadow: 0 0 10px rgba(58,158,148,0.4); }
.pv-dash-row { display: flex; align-items: center; gap: 5px; font-size: 0.61rem; color: rgba(255,255,255,0.36); font-family: var(--font); }
.pv-dot-sm { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }

/* — ShopBot chat — */
.pv-chat { position: relative; z-index: 2; width: calc(100% - 32px); max-width: 218px; display: flex; flex-direction: column; gap: 7px; }
.pv-msg { display: flex; align-items: flex-end; gap: 6px; }
.pv-msg--user { flex-direction: row-reverse; }
.pv-av {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(58,158,148,0.8), rgba(58,158,148,0.4));
    font-size: 0.5rem; font-weight: 800; color: white;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-family: var(--font-heading); border: 1px solid rgba(58,158,148,0.3);
}
.pv-bubble {
    padding: 7px 11px;
    background: rgba(255,255,255,0.09); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px 12px 12px 3px;
    font-size: 0.67rem; color: rgba(255,255,255,0.85);
    line-height: 1.4; font-family: var(--font); max-width: 166px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.pv-bubble--user {
    background: rgba(58,158,148,0.22); border-color: rgba(58,158,148,0.25);
    border-radius: 12px 12px 3px 12px;
}
.pv-bubble--typing { display: flex; align-items: center; gap: 4px; padding: 10px 14px; }
.pv-dot-anim {
    width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.45);
    animation: dotPulse 1.3s ease-in-out infinite;
}
.pv-dot-anim:nth-child(2) { animation-delay: 0.2s; }
.pv-dot-anim:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%,80%,100%{transform:scale(0.65);opacity:0.35} 40%{transform:scale(1.1);opacity:1} }

/* — StockPilot chart — */
.pv-stock {
    position: relative; z-index: 2;
    width: calc(100% - 48px); max-width: 228px;
    background: rgba(255,255,255,0.07); backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.11); border-radius: 16px;
    padding: 12px 14px 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}
.pv-stock-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.pv-stock-label { font-size: 0.61rem; font-weight: 500; color: rgba(255,255,255,0.36); font-family: var(--font); }
.pv-stock-num { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.04em; color: rgba(255,255,255,0.9); font-family: var(--font-heading); }
.pv-stock-unit { font-size: 0.59rem; font-weight: 500; color: rgba(255,255,255,0.28); margin-left: 3px; }
.pv-sparkline { width: 100%; height: 40px; display: block; }
.pv-stock-rows { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.pv-stock-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.61rem; font-family: var(--font); color: rgba(255,255,255,0.38); }
.pv-stk-ok { color: rgba(74,222,128,0.85); font-weight: 700; }
.pv-stk-warn { color: rgba(251,191,36,0.85); font-weight: 700; }

/* Responsive */
@media (max-width: 1024px) {
    .produits-grid { grid-template-columns: 1fr; gap: 1rem; }
    .produit-visual { height: 190px; }
}
@media (min-width: 640px) and (max-width: 1024px) {
    .produits-grid { grid-template-columns: repeat(2, 1fr); }
    .produit-card:last-child { grid-column: span 2; }
}

/* ===========================
   PRODUCT
=========================== */
.product-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.product-copy .section-headline { margin-bottom: 1.25rem; }
.product-desc {
    font-size: 0.95rem; color: var(--text-muted-light); line-height: 1.8;
    margin-bottom: 2rem;
}
.product-desc strong { color: var(--text-on-light); }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.5rem; }
.feat-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.875rem; color: var(--text-muted-light); line-height: 1.6;
    padding: 0.75rem 1rem; background: rgba(58,158,148,0.04);
    border-radius: 12px; border: 1px solid rgba(58,158,148,0.08);
    transition: border-color 0.2s, background 0.2s;
}
.feat-list li:hover { border-color: rgba(58,158,148,0.2); background: rgba(58,158,148,0.07); }
.feat-list svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.feat-list strong { color: var(--text-on-light); }

/* Screenshot viewer */
.product-visual { position: relative; }
.product-visual::before {
    content: '';
    position: absolute; inset: -30px;
    background: radial-gradient(ellipse at 60% 50%, rgba(58,158,148,0.14), transparent 68%);
    pointer-events: none; z-index: 0;
}

/* Onglets */
.screen-tabs {
    display: flex; gap: 0.5rem; margin-bottom: 1rem;
    position: relative; z-index: 1; flex-wrap: wrap;
}
.screen-tab {
    font-family: var(--font); font-size: 0.75rem; font-weight: 600;
    padding: 0.4rem 0.9rem; border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.1); background: transparent;
    color: var(--text-muted-light); cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.screen-tab:hover { background: rgba(58,158,148,0.06); border-color: rgba(58,158,148,0.2); color: var(--accent); }
.screen-tab.active {
    background: var(--white); border-color: rgba(58,158,148,0.3);
    color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Cadre macOS */
.screen-frame {
    position: relative; z-index: 1;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.09);
    box-shadow: 0 40px 100px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.09);
    overflow: hidden;
    background: #f0f0f0;
}
.screen-bar {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 1rem; background: #e8e8e8;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.screen-dots { display: flex; gap: 5px; }
.screen-dots span { width: 10px; height: 10px; border-radius: 50%; }
.screen-dots span:nth-child(1) { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #febc2e; }
.screen-dots span:nth-child(3) { background: #28c840; }
.screen-url {
    font-size: 0.7rem; color: #888; font-weight: 500;
    background: rgba(0,0,0,0.07); padding: 0.18rem 0.7rem;
    border-radius: 100px; margin: 0 auto;
}

/* Screenshots */
.screen-slides {
    position: relative; line-height: 0; overflow: hidden;
    aspect-ratio: 2940 / 1618; /* ratio réel des captures ImmoFlow */
}
.screen-img {
    width: 100%; height: 100%; object-fit: contain;
    display: block;
    position: absolute; top: 0; left: 0;
    opacity: 0; transition: opacity 0.45s ease;
    pointer-events: none;
}
.screen-img.active {
    opacity: 1; pointer-events: auto;
}

/* ===========================
   STATS
=========================== */
.stats-section { padding: 4.5rem 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
}
.stat-item {
    position: relative;
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item::after { display: none; }
.stat-item:hover { background: rgba(255,255,255,0.02); }
.stat-val {
    display: block; font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900; letter-spacing: -0.05em; line-height: 1;
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 0.55rem;
    font-variant-numeric: tabular-nums;
}
.stat-lab { font-size: 0.78rem; color: rgba(255,255,255,0.35); font-weight: 500; letter-spacing: 0; }

/* ===========================
   PROCESS — 2×2 bordered grid with decorative numbers
=========================== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.process-grid::before { display: none; }
.process-card {
    padding: 2.75rem 2.5rem;
    background: var(--white);
    border-right: 1px solid rgba(0,0,0,0.07);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    z-index: 1;
}
.process-card:nth-child(2n) { border-right: none; }
.process-card:nth-child(3), .process-card:nth-child(4) { border-bottom: none; }
.process-card::before { display: none; }
.process-card:hover { background: rgba(58,158,148,0.025); box-shadow: none; }
.process-line-anim { display: none !important; }
.pc-num {
    position: absolute;
    top: 1.75rem; right: 2rem;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(58,158,148,0.07);
    font-family: var(--font-heading);
    display: block;
    background: none;
    width: auto; height: auto;
    border: none; border-radius: 0;
    margin-bottom: 1.5rem;
    padding: 0;
    user-select: none;
}
.process-card h3 {
    font-size: 1.12rem; font-weight: 700; letter-spacing: -0.025em;
    color: var(--dark); margin-bottom: 0.85rem; line-height: 1.3;
    font-family: var(--font-heading);
    position: relative; z-index: 1;
}
.process-card p {
    font-size: 0.86rem; color: var(--text-muted-light); line-height: 1.72;
    position: relative; z-index: 1;
}

/* ===========================
   TESTIMONIALS — 3-card visible grid
=========================== */
.testi-head { text-align: center; margin-bottom: 3.5rem; }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color 0.3s, background 0.3s;
}
.testi-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
}

.testi-stars {
    font-size: 0.68rem;
    color: #f59e0b;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.testi-qt {
    font-size: 0.925rem;
    line-height: 1.78;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    flex: 1;
}

.testi-footer {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.testi-av {
    width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent) 0%, #5DC4B6 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
    color: var(--white);
}

.testi-info { flex: 1; }
.testi-info strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.testi-info span { font-size: 0.73rem; color: rgba(255,255,255,0.35); }

/* ===========================
   CONTACT
=========================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: flex-start; }
.contact-left .section-headline { margin-bottom: 1rem; }
.contact-intro { font-size: 0.95rem; color: var(--text-muted-light); line-height: 1.7; margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.ci { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--text-muted-light); transition: color 0.2s; }
a.ci:hover { color: var(--text-on-light); }
.ci-icon { width: 40px; height: 40px; background: rgba(58,158,148,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }

/* Glass card wrapping the contact form */
.contact-glass {
    background: linear-gradient(
        140deg,
        rgba(255,255,255,0.88) 0%,
        rgba(255,255,255,0.60) 50%,
        rgba(58,158,148,0.04) 100%
    );
    backdrop-filter: blur(32px) saturate(180%) brightness(1.02);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.02);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: calc(var(--radius) + 6px);
    padding: 2.5rem;
    position: relative; overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.04),
        0 12px 40px rgba(0,0,0,0.08),
        0 40px 80px rgba(58,158,148,0.06),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -1px 0 rgba(255,255,255,0.6),
        inset 1px 0 0 rgba(255,255,255,0.8);
}
.contact-glass::before {
    content: '';
    position: absolute; top: 0; left: 6%; right: 6%; height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,1), transparent);
    pointer-events: none;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fg { display: flex; flex-direction: column; gap: 0.4rem; }
.fg label { font-size: 0.8rem; font-weight: 600; color: var(--dark); }
.fg input:not([type="checkbox"]), .fg select, .fg textarea {
    padding: 0.75rem 1rem; border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 12px; font-family: var(--font); font-size: 0.875rem;
    color: var(--dark); background: var(--white); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
.fg input:not([type="checkbox"]):focus, .fg select:focus, .fg textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58,158,148,0.12);
}
.fg textarea { resize: vertical; }
.fg-consent {}
.consent-lbl { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 0.78rem; color: var(--text-muted-light); }
.consent-lbl input { margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.consent-lbl a { color: var(--accent); text-decoration: underline; }

.btn-submit {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 0.95rem 2rem; background: var(--accent); color: var(--white);
    border-radius: 100px; font-size: 0.875rem; font-weight: 600; font-family: var(--font);
    transition: background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s; cursor: pointer;
    border: none;
}
.btn-submit:hover {
    background: var(--accent-hover); transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(58,158,148,0.3);
}
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-msg {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.9rem 1rem; border-radius: 10px; font-size: 0.825rem; font-weight: 500;
}
.form-msg[hidden] { display: none; }
.form-msg.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: #16a34a; }
.form-msg.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #dc2626; }

/* ===========================
   FOOTER
=========================== */
.footer { background: var(--black); border-top: 1px solid var(--border-dark); padding: 4rem 0 2rem; }
.foot-top { display: flex; align-items: center; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 3rem; flex-wrap: wrap; }
.foot-top p { font-size: 0.875rem; color: rgba(255,255,255,0.35); max-width: 400px; }
.foot-mid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 2rem; }
.foot-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 1.25rem; }
.foot-col a, .foot-col span { display: block; font-size: 0.84rem; color: rgba(255,255,255,0.42); margin-bottom: 0.6rem; transition: color 0.2s; }
.foot-col a:hover { color: rgba(255,255,255,0.8); }
.foot-bot { font-size: 0.74rem; color: rgba(255,255,255,0.15); }

/* ===========================
   COOKIE BANNER
=========================== */
[hidden] { display: none !important; }
.cookie-bar {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    z-index: 500; width: calc(100% - 3rem); max-width: 580px;
    background: var(--dark-2); border: 1px solid var(--border-dark);
    border-radius: 16px; padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.cookie-bar p { font-size: 0.825rem; color: var(--text-muted-dark); flex: 1; min-width: 180px; }
.cookie-bar a { color: var(--accent); }
.cookie-btns { display: flex; gap: 0.75rem; }
.cbtn-pri { padding: 0.5rem 1.25rem; background: var(--white); color: var(--black); border-radius: 100px; font-size: 0.78rem; font-weight: 700; font-family: var(--font); cursor: pointer; }
.cbtn-sec { padding: 0.5rem 1.25rem; border: 1px solid var(--border-dark); color: rgba(255,255,255,0.6); border-radius: 100px; font-size: 0.78rem; font-weight: 600; font-family: var(--font); cursor: pointer; transition: border-color 0.2s; }
.cbtn-sec:hover { border-color: rgba(255,255,255,0.3); }

/* ===========================
   SCROLL PROGRESS BAR
=========================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; z-index: 201;
    height: 2px;
    background: var(--grad);
    transform-origin: left center;
    transform: scaleX(0);
    transition: none;
    pointer-events: none;
}

/* cursor-glow + hero-orbs supprimés */

/* ===========================
   WHATSAPP FAB
=========================== */
.whatsapp-fab {
    position: fixed; bottom: 2rem; left: 2rem; z-index: 400;
    width: 58px; height: 58px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
    color: white; overflow: visible;
}
.whatsapp-fab:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 36px rgba(37,211,102,0.65);
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab::before {
    content: '';
    position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.5);
    animation: wa-pulse 2.8s ease-in-out infinite;
}
@keyframes wa-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    60% { transform: scale(1.3); opacity: 0; }
}
.whatsapp-tooltip {
    position: absolute; left: 68px; top: 50%;
    background: var(--dark); color: var(--white);
    font-size: 0.75rem; font-weight: 600; font-family: var(--font);
    padding: 0.4rem 0.9rem; border-radius: 8px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateY(-50%) translateX(-6px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: var(--dark);
    border-left: none;
}
.whatsapp-fab:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ===========================
   BOOKING SECTION
=========================== */
.booking-section { border-top: 1px solid rgba(0,0,0,0.05); }
.booking-section .section-headline { margin-bottom: 1rem; }
.booking-sub {
    text-align: center; font-size: 1rem;
    color: var(--text-muted-light); line-height: 1.75;
    max-width: 520px; margin: 0 auto 3.5rem;
}

/* ===== Bouton cercle + overlay Calendly ===== */
.booking-btn-wrap {
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}

/* — Bouton cercle — */
.booking-circle-btn {
    position: relative;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: none; background: none;
    cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
}

/* Anneaux décoratifs pulsants autour du cercle */
.bcb-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px solid rgba(58,158,148,0.2);
    animation: ring-pulse 2.6s ease-in-out infinite;
    pointer-events: none;
}
.bcb-ring-2 {
    inset: -14px;
    border-color: rgba(58,158,148,0.1);
    animation-delay: 0.6s;
}
@keyframes ring-pulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.04); opacity: 0.5; }
}

/* Cercle central glass */
.bcb-inner {
    position: relative; z-index: 1;
    width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(145deg, #2A8A82 0%, #3A9E94 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem;
    color: #fff;
    box-shadow:
        0 4px 20px rgba(58,158,148,0.35),
        0 16px 48px rgba(58,158,148,0.25),
        inset 0 1px 0 rgba(255,255,255,0.28);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.booking-circle-btn:hover .bcb-inner {
    box-shadow:
        0 8px 32px rgba(58,158,148,0.5),
        0 24px 64px rgba(58,158,148,0.35),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.bcb-label {
    font-size: 0.8rem; font-weight: 700; letter-spacing: -0.01em;
    line-height: 1.25; text-align: center;
}

/* Spin du bouton — s'accélère et s'aspire dans le tourbillon */
@keyframes circle-spin {
    from { transform: rotate(0deg) scale(1); }
    to   { transform: rotate(720deg) scale(0); }
}
.booking-circle-btn.spinning .bcb-inner {
    animation: circle-spin 0.55s ease-in forwards;
}
/* Les anneaux disparaissent aussi */
.booking-circle-btn.spinning .bcb-ring {
    animation: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.booking-circle-btn.spinning { pointer-events: none; }

.bcb-hint {
    font-size: 0.73rem; color: var(--text-muted-light);
    letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
}

/* — Overlay Calendly — */
.calendly-overlay {
    position: fixed; inset: 0; z-index: 500;
    display: flex; align-items: center; justify-content: center;
}
.calendly-overlay[hidden] { display: none; }

.cov-backdrop {
    position: absolute; inset: 0;
    background: rgba(12,12,11,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0; transition: opacity 0.35s;
}
.calendly-overlay.open .cov-backdrop { opacity: 1; }

/* Backdrop */
.cov-backdrop { transition: opacity 0.25s linear; }

/* Panneau — déroule depuis le tourbillon, décélère fluidement */
@keyframes spiral-in {
    from { transform: rotate(-720deg) scale(0.02); opacity: 0; }
    to   { transform: rotate(0deg)   scale(1);    opacity: 1; }
}
/* Fermeture — s'aspire dans le sens inverse */
@keyframes spiral-out {
    from { transform: rotate(0deg)   scale(1);    opacity: 1; }
    to   { transform: rotate(540deg) scale(0.02); opacity: 0; }
}

.cov-panel {
    position: relative; z-index: 1;
    width: min(900px, 94vw); height: min(700px, 90vh);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 100px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.06);
    transform: rotate(-720deg) scale(0.02);
    opacity: 0;
    /* expo.out : part vite, ralentit en douceur, zéro rebond */
    will-change: transform, opacity;
}
.calendly-overlay.open .cov-panel {
    animation: spiral-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.calendly-overlay.closing .cov-panel {
    animation: spiral-out 0.4s ease-in forwards;
}

.cov-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.08); border: none;
    display: flex; align-items: center; justify-content: center;
    color: #333; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.cov-close:hover { background: rgba(0,0,0,0.15); transform: scale(1.1); }

.cov-iframe { width: 100%; height: 100%; border: none; display: block; }
#cal-embed { width: 100%; height: 100%; overflow-y: auto; }

/* ===========================
   ENHANCED REVEALS (left / right)
=========================== */
.reveal-left, .reveal-right { opacity: 1; transform: none; }

/* ===========================
   REVEAL ANIMATIONS
   L'état initial (opacity:0) est posé par JS via gsap.set()
   pour éviter un contenu invisible si GSAP ne charge pas.
=========================== */
.reveal-up { opacity: 1; transform: none; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .product-layout { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .foot-mid { grid-template-columns: repeat(2,1fr); }
    .service-row { grid-template-columns: 1fr 28px; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-links-desktop { display: none; }
    .nav-burger { display: flex; }
    .nav-cta { display: none; }

    .hero-headline { font-size: clamp(2.4rem, 9vw, 4rem); }
    .hero-btns { flex-direction: column; align-items: center; }

    .service-row { grid-template-columns: 1fr; gap: 1.25rem; }
    .sr-arrow { display: none; }

    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }

    .form-row { grid-template-columns: 1fr; }

    .testi-grid { grid-template-columns: 1fr; }
    .testi-qt { font-size: 0.9rem; }

    .foot-mid { grid-template-columns: 1fr; }
    .foot-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero { padding: 110px 1.25rem 80px; }
    .section-dark, .section-light { padding: 5rem 0; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card { border-right: none; }
    .process-card:nth-child(3) { border-bottom: 1px solid rgba(0,0,0,0.07); }
    .process-card:nth-child(4) { border-bottom: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .statement-inner { gap: 1.5rem; }
    .hero-eyebrow { font-size: 0.65rem; padding: 0.3rem 0.75rem; }
    .whatsapp-fab { bottom: 1.25rem; left: 1.25rem; width: 52px; height: 52px; }
    .whatsapp-tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
    .hl-line { transform: none !important; }
    .hero::before { animation: none; }
    .grad-text::after { animation: none; transform: scaleX(1); }
}

/* ===========================
   HEADLINE LINE REVEAL
   Chaque ligne monte depuis overflow:hidden
=========================== */
.hl-wrap {
    display: block;
    overflow: hidden;
    line-height: 1.02;
}
.hl-line {
    display: block;
    will-change: transform;
}

/* ===========================
   HERO — grain animé (distinctif, pas IA)
=========================== */
@keyframes grain-shift {
    0%,100% { transform: translate(0,0) scale(1.08); }
    10%  { transform: translate(-3%,-4%) scale(1.08); }
    20%  { transform: translate(4%, 2%) scale(1.08); }
    30%  { transform: translate(-2%, 5%) scale(1.08); }
    40%  { transform: translate(5%,-3%) scale(1.08); }
    50%  { transform: translate(-4%, 1%) scale(1.08); }
    60%  { transform: translate(2%, 4%) scale(1.08); }
    70%  { transform: translate(-5%,-2%) scale(1.08); }
    80%  { transform: translate(3%,-5%) scale(1.08); }
    90%  { transform: translate(-3%, 3%) scale(1.08); }
}
.hero::before {
    animation: grain-shift 0.4s steps(1) infinite;
    background-size: 200px 200px;
}

/* Mouse-light overlay sur hero */
.hero-light {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

/* ===========================
   HERO TERMINAL
=========================== */
.hero-terminal {
    width: 440px;
    flex-shrink: 0;
    background: #0d1117;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.45),
        0 20px 60px rgba(0,0,0,0.55),
        0 60px 120px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.07);
    overflow: hidden;
    font-family: 'SF Mono','Fira Code','Fira Mono','Roboto Mono',ui-monospace,monospace;
    position: relative; z-index: 1;
    will-change: transform;
}

.ht-bar {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.72rem 1rem;
    background: #161b22;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ht-dots { display: flex; gap: 6px; }
.htd { width: 12px; height: 12px; border-radius: 50%; }
.htd-r { background: #ff5f57; }
.htd-y { background: #ffbd2e; }
.htd-g { background: #28c840; }
.ht-title {
    font-size: 0.68rem; color: rgba(255,255,255,0.28);
    letter-spacing: 0.04em; margin: 0 auto;
    font-family: 'SF Mono',ui-monospace,monospace;
}

.ht-body {
    padding: 1.4rem 1.5rem 1.75rem;
    min-height: 260px;
    display: flex; flex-direction: column; gap: 0;
}

.ht-line {
    font-size: 0.79rem; line-height: 1.85;
    color: rgba(255,255,255,0.72);
    white-space: pre;
}
.ht-line.ht-cmd  { color: #e6edf3; }
.ht-line.ht-dim  { color: rgba(255,255,255,0.35); }
.ht-line.ht-success { color: #3fb950; }
.ht-line.ht-accent  { color: #58c4bc; }

.ht-result-ok { color: #3fb950; }

.ht-cursor {
    display: inline-block;
    width: 7px; height: 15px;
    background: #3A9E94;
    vertical-align: text-bottom;
    border-radius: 1px;
    margin-left: 1px;
    animation: cur-blink 1.1s step-end infinite;
}
@keyframes cur-blink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0; }
}

@media (max-width: 1100px) {
    .hero-terminal { width: 370px; }
    .ht-line { font-size: 0.72rem; }
}
@media (max-width: 820px) {
    .hero-terminal { display: none; }
}

/* ===========================
   MAGNETIC BUTTONS — wrapper supplémentaire
=========================== */
.mag-btn {
    position: relative;
    display: inline-flex;
}

/* ===========================
   STATEMENT lines — clip-path reveal
=========================== */
.st-wrap {
    display: block;
    overflow: hidden;
}

/* ===========================
   SERVICE ROWS — clip from left
   (la transition width est gérée en JS via GSAP)
=========================== */
.service-row.sr-hidden {
    opacity: 0;
}

/* ===========================
   CHATBOT WIDGET
=========================== */
.chat-fab {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
    width: 58px; height: 58px;
    background: var(--primary, #3A9E94); border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(58,158,148,0.45);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
    color: white; overflow: visible;
}
.chat-fab:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 36px rgba(58,158,148,0.65);
}
.chat-fab svg { transition: transform 0.3s, opacity 0.3s; }
.chat-fab .icon-close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.7); }
.chat-fab.is-open .icon-chat { opacity: 0; transform: rotate(90deg) scale(0.7); }
.chat-fab.is-open .icon-close { opacity: 1; transform: rotate(0deg) scale(1); }
.chat-fab::before {
    content: '';
    position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid rgba(58,158,148,0.5);
    animation: chat-pulse 2.8s ease-in-out infinite;
}
.chat-fab.is-open::before { animation: none; opacity: 0; }
@keyframes chat-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    60% { transform: scale(1.3); opacity: 0; }
}

.chat-window {
    position: fixed; bottom: 5.5rem; right: 2rem; z-index: 499;
    width: 360px; max-width: calc(100vw - 2rem);
    background: #fff; border-radius: 18px;
    box-shadow: 0 12px 60px rgba(0,0,0,0.18), 0 2px 12px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0.85) translateY(20px); opacity: 0; pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.chat-window.is-open {
    transform: scale(1) translateY(0); opacity: 1; pointer-events: all;
}

.chat-header {
    background: var(--primary, #3A9E94);
    padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.chat-header-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-name {
    color: #fff; font-weight: 700; font-size: 0.95rem;
    font-family: var(--font, 'Inter', sans-serif);
}
.chat-header-status {
    color: rgba(255,255,255,0.8); font-size: 0.72rem;
    display: flex; align-items: center; gap: 0.35rem;
}
.chat-header-status::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #7fffd4; display: inline-block;
    box-shadow: 0 0 6px #7fffd4;
}

.chat-messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.75rem;
    max-height: 320px; min-height: 160px;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.chat-msg {
    max-width: 82%; font-size: 0.875rem; line-height: 1.55;
    font-family: var(--font, 'Inter', sans-serif);
    padding: 0.6rem 0.9rem; border-radius: 14px;
    animation: msg-in 0.25s ease forwards;
}
@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chat-msg--bot {
    background: #f1f5f9; color: #1e293b;
    align-self: flex-start; border-bottom-left-radius: 4px;
}
.chat-msg--user {
    background: var(--primary, #3A9E94); color: #fff;
    align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-msg--typing span {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: #94a3b8; margin: 0 2px;
    animation: typing-dot 1.2s infinite;
}
.chat-msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-row {
    display: flex; gap: 0.5rem; padding: 0.75rem 1rem;
    border-top: 1px solid #f1f5f9; background: #fff;
}
.chat-input {
    flex: 1; border: 1.5px solid #e2e8f0; border-radius: 10px;
    padding: 0.55rem 0.85rem; font-size: 0.875rem;
    font-family: var(--font, 'Inter', sans-serif);
    outline: none; resize: none; line-height: 1.4;
    transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--primary, #3A9E94); }
.chat-send {
    width: 38px; height: 38px; border-radius: 10px; border: none; cursor: pointer;
    background: var(--primary, #3A9E94); color: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-end;
}
.chat-send:hover { background: #2d8a80; transform: scale(1.08); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
    .chat-window { right: 1rem; bottom: 5rem; width: calc(100vw - 2rem); }
    .chat-fab { right: 1rem; bottom: 1rem; }
}
