/* =====================================================
   PORTFOLIO — Firecrawl Design System
   Inter titles · #fa5d19 · Exact Firecrawl match
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;450;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

::selection {
    background: rgba(0, 81, 255, 0.3);
    color: inherit;
}

:root {
    --bg: #ffffff;
    --bg-alt: #f9f9f9;
    --bg-input: #f6f6f6;
    --text: #1a1a1a;
    --text-2: #666;
    --text-3: #999;
    --text-muted: #c5c5c5;
    --accent: #0051ff;
    --accent-rgb: 0, 81, 255;
    --accent-hover: #5c8aff;
    --accent-light: rgba(0, 81, 255, 0.08);
    --border: rgba(0, 0, 0, 0.05);
    --border-hover: #d5d5d5;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
    --tracking: -0.075em;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    --ease: 0.2s ease;
    --max-w: 1140px;
}

/* =====================================================
   DARK MODE — Orange accents preserved
   ===================================================== */
[data-theme="dark"] {
    --bg: #0e0e0e;
    --bg-alt: #1a1a1a;
    --bg-input: #1a1a1a;
    --text: #e8e8e8;
    --text-2: #aaa;
    --text-3: #777;
    --text-muted: #444;
    --accent: #0051ff;
    --accent-hover: #5c8aff;
    --accent-light: rgba(0, 81, 255, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: #444;
}

[data-theme="dark"] .hero-wrapper {
    background: #0e0e0e;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .logo-cls,
[data-theme="dark"] .logo-footer {
    fill: #ffffff;
}

svg .logo-accent,
[data-theme="dark"] .logo-accent {
    fill: var(--accent);
}

[data-theme="dark"] .hero-grid-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Crect x='0' y='0' width='1' height='80' fill='%23fff'/%3E%3Crect x='0' y='0' width='80' height='1' fill='%23fff'/%3E%3Cpath d='M0 0L8 0L1.5 1.5L0 8Z' fill='%23fff'/%3E%3Cpath d='M80 0L72 0L78.5 1.5L80 8Z' fill='%23fff'/%3E%3Cpath d='M0 80L0 72L1.5 78.5L8 80Z' fill='%23fff'/%3E%3Cpath d='M80 80L80 72L78.5 78.5L72 80Z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="dark"] .hg-inner {
    border-top-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hg-track {
    background: transparent;
}


[data-theme="dark"] .nav {
    background: transparent;
    border: none;
}

[data-theme="dark"] .nav-standalone {
    background: rgba(14, 14, 14, 0.95);
}

[data-theme="dark"] .nav-theme-toggle {
    border-left: 1px solid var(--border);
    border-radius: 0;
}

[data-theme="dark"] .nav-link {
    color: #ccc;
}

[data-theme="dark"] .nav-link:hover {
    background: var(--accent);
    color: #fff;
}

[data-theme="dark"] .hero-desc {
    color: #bbb;
}

[data-theme="dark"] .hero-badge {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

[data-theme="dark"] .section-label {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

[data-theme="dark"] .process .section-label,
[data-theme="dark"] .testimonials .section-label,
[data-theme="dark"] .contact .section-label {
    background: #0e0e0e;
}

[data-theme="dark"] .testimonial-card {
    background: var(--bg);
}

[data-theme="dark"] .badge-arrow {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
}

[data-theme="dark"] .pv2-card-visual {
    background: #111;
}

[data-theme="dark"] .pricing-toggle-wrap {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .about-immersive-inner {
    background: var(--accent);
}

[data-theme="dark"] .service-card {
    background: #1a1a1a;
}

[data-theme="dark"] .tabs {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .tab.active {
    background: #2a2a2a;
    color: #fff;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    /* overscroll & safe-area couleur = fond du site */
}

body {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden
}

/* Disable transitions globally when switching themes */
.theme-transitioning * {
    transition: none !important;
}

a {
    color: inherit;
    text-decoration: none
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit
}

ul,
ol {
    list-style: none
}

h3 {
    font-family: var(--font);
    font-weight: 500;
    letter-spacing: var(--tracking);
}

.portfolio-card-body h3 {
    font-size: 22px;
    margin: 0 0 12px;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem)
}

/* Reveal */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1)
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0)
}

html.is-reload body {
    opacity: 0
}

html.is-reload.ready body {
    opacity: 1
}

html.is-reload .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
}

html.is-reload .about-immersive-inner {
    visibility: visible !important;
    transform: none !important;
    transition: none !important
}

html.is-reload .about-immersive {
    transition: none !important
}

.reveal-d1 {
    transition-delay: .08s
}

.reveal-d2 {
    transition-delay: .16s
}

.reveal-d3 {
    transition-delay: .24s
}

.reveal-d4 {
    transition-delay: .32s
}

/* =====================================================
   HERO WRAPPER — large rounded gray container
   ===================================================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 460px;
    /* sécurité petits écrans */
    margin-top: -76px;
    /* remonte derrière le nav pour que le grid couvre toute la zone */
    background: #F9F9F9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 35% 28% at 50% 45%, transparent 0%, black 100%);
    mask-image: radial-gradient(ellipse 35% 28% at 50% 45%, transparent 0%, black 100%);
    /* Quadrillage + étoiles en un seul SVG — <g opacity> évite les superpositions de couleur */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Crect x='0' y='0' width='1' height='80' fill='%23000'/%3E%3Crect x='0' y='0' width='80' height='1' fill='%23000'/%3E%3Cpath d='M0 0L8 0L1.5 1.5L0 8Z' fill='%23000'/%3E%3Cpath d='M80 0L72 0L78.5 1.5L80 8Z' fill='%23000'/%3E%3Cpath d='M0 80L0 72L1.5 78.5L8 80Z' fill='%23000'/%3E%3Cpath d='M80 80L80 72L78.5 78.5L72 80Z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center top;
}

/* Overlay bleu au survol — spotlight radial qui suit le curseur */
.hero-grid-hover {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.5'%3E%3Crect x='0' y='0' width='1' height='80' fill='%230051ff'/%3E%3Crect x='0' y='0' width='80' height='1' fill='%230051ff'/%3E%3Cpath d='M0 0L8 0L1.5 1.5L0 8Z' fill='%230051ff'/%3E%3Cpath d='M80 0L72 0L78.5 1.5L80 8Z' fill='%230051ff'/%3E%3Cpath d='M0 80L0 72L1.5 78.5L8 80Z' fill='%230051ff'/%3E%3Cpath d='M80 80L80 72L78.5 78.5L72 80Z' fill='%230051ff'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center top;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-mask-image: radial-gradient(circle 200px at var(--mx, -200px) var(--my, -200px), black 0%, transparent 70%);
    mask-image: radial-gradient(circle 200px at var(--mx, -200px) var(--my, -200px), black 0%, transparent 70%);
}

.hero-wrapper:hover .hero-grid-hover {
    opacity: 1;
}

.hero-grid-bg::before {
    content: none;
}

.hero-grid-bg::after {
    content: none;
}

/* Galaxy Canvas */
#galaxyCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    /* Above the base grid AND hero content, below nav */
    /* Share the same fade mask as the grid so particles disappear in the header */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 80px, black 320px);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 80px, black 320px);
}

/* Segment de thème dans la nav — case pleine hauteur avec séparateur */
.nav-theme-toggle {
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: auto;
    height: auto;
    padding: 0 clamp(0.75rem, 1.5vw, 1.25rem);
    border-left: 1px solid var(--border);
    opacity: 1;
}

/* Boutons individuels du segment (☀ light / ☾ dark / 🖥 system) */
.theme-seg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    color: var(--text-2);
    flex-shrink: 0;
    transition: color 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}

.theme-seg-btn:hover {
    color: var(--text);
}

.theme-seg-btn.seg-active {
    background: var(--accent);
    color: #fff;
    height: 36px;
    width: 36px;
}

/* =====================================================
   NAV — transparent, inside hero-wrapper
   ===================================================== */
.nav {
    position: relative;
    z-index: 100;
    background: transparent;
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
}

.nav--scrolled .nav-inner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-cta--desktop {
    display: inline-flex;
}

[data-theme="dark"] .nav-inner {
    background: rgba(20, 20, 20, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav--scrolled .nav-inner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    pointer-events: all;
    display: flex;
    align-items: center;
    height: 52px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(252, 252, 252, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

/* Case 1 — Logo */
.nav-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
}

/* Case 2 — Liens nav */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Case 3 — Toggle (case) + CTA */
.nav-end-wrapper {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    gap: 0;
    padding: 0;
}

/* Spécificité renforcée — centre + espace vide sur les côtés via margin */
.nav-end-wrapper .nav-cta--desktop {
    align-self: center;
    margin: 0 clamp(0.75rem, 1.5vw, 1.25rem);
    padding: 0 14px;
}

/* Dark mode separators */
[data-theme="dark"] .nav-logo-wrapper {
    border-right-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .nav-links {
    border-left-color: rgba(255, 255, 255, 0.12);
    border-right-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    [data-theme="dark"] html,
    [data-theme="dark"] body {
        background: #0e0e0e !important;
    }

    [data-theme="dark"] .nav {
        background: transparent;
    }

    [data-theme="dark"] .nav-links {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.08);
    }

    [data-theme="dark"] .nav-inner {
        background: #1a1a1a;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .nav-inner {
        padding: 0;
    }

    .nav-logo-wrapper {
        padding: 0 clamp(1rem, 2.5vw, 1.5rem);
        /* border-right preserved — separator stays visible */
    }

    .nav-end-wrapper {
        padding: 0;
        gap: 0;
    }

    .nav-theme-toggle {
        padding: 0 clamp(0.5rem, 1.25vw, 0.875rem);
    }

    .nav-end-wrapper .nav-cta--desktop {
        margin: 0 clamp(1rem, 2.5vw, 1.5rem);
        padding: 0 14px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
    flex-shrink: 0
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700
}

/* (nav-links desktop défini dans le bloc 3 colonnes ci-dessus) */

.nav-links-inner {
    display: flex;
    gap: 4px;
    align-items: center;
}

.mobile-menu-footer {
    display: none;
    /* Hidden on desktop */
}

.mobile-menu-bottom {
    display: none;
    /* Visible uniquement dans le menu mobile (open) */
}

/* Toggle thème dans le menu mobile — masqué sur desktop */
.mobile-theme-toggle {
    display: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: #262626;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: background var(--ease), color var(--ease);
    white-space: nowrap
}

.nav-link:hover {
    background: var(--accent);
    color: #fff;
}

.nav-cta {
    font-size: 14px;
    font-weight: 450;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--ease);
    box-shadow: none;
}

.nav-cta:hover {
    background: var(--accent-hover);
    box-shadow: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 22px
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    border-radius: 0;
    transition: var(--ease)
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vh, 4rem) 0 clamp(2rem, 4vh, 4rem);
    text-align: center;
    overflow: hidden;
}



/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: -130px auto 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 28px;
    padding: 6px 16px 6px 12px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--radius-pill);
    background: #ff8000;
    box-shadow: none;
    animation: blink 2s ease-in-out infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.badge-arrow {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-pill);
    background: rgba(0, 0, 0, .06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #888
}

/* Title — matches Firecrawl: 60px, weight 500, sans-serif, tight spacing */
.hero-title {
    font-family: var(--font);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: var(--tracking);
    margin-bottom: 18px;
    color: var(--text);
}

.hero-title .accent {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15em;
    letter-spacing: 0;
}

.hero-desc {
    font-size: 16px;
    color: #262626;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.5
}

/* Input bar — Firecrawl: 552px, 20px radius, 16px pad */
.input-bar {
    max-width: 552px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-xl)
}

.input-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border)
}

.input-icon {
    color: var(--text-muted);
    display: flex
}

.input-placeholder {
    font-size: 14px;
    color: var(--text-muted)
}

.input-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px
}

/* Tab row — Firecrawl: rgba bg, 10px radius, 14px, 450 weight */
.tabs {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, .04);
    border-radius: var(--radius-sm);
    padding: 2px
}

.tab {
    font-size: 14px;
    font-weight: 450;
    color: var(--text-3);
    padding: 6px 12px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap
}

.tab .ico {
    font-size: 9px;
    opacity: .4
}

.tab.active {
    background: var(--bg);
    color: var(--text);
    font-weight: 500;
    box-shadow: none
}

.tab.active.tab-branding .ico {
    color: var(--accent);
    opacity: 1;
}

.tab.active.tab-webdesign .ico {
    color: var(--accent);
    /* Bleu electrique */
    opacity: 1;
}

.tab.active.tab-shopify .ico {
    color: #95bf47;
    /* Vert Shopify */
    opacity: 1;
}

.tab.active.tab-print .ico {
    color: #1c1c1c;
    /* Gris anthracite */
    opacity: 1;
}

.tab:hover:not(.active) {
    color: var(--text-2)
}

.submit-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: var(--ease);
    box-shadow: none
}

.submit-btn:hover {
    background: var(--accent-hover);
}

/* CTA buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    height: 36px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    transition: var(--ease)
}

.btn-fill {
    background: var(--accent);
    color: #fff;
    box-shadow: inset 0 -3px 8px rgba(0, 0, 0, .08)
}

.btn-fill:hover {
    background: var(--accent-hover);
    box-shadow: none;
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-2);
    background: #ffffff;
}

[data-theme="dark"] .btn-outline {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--border-hover);
    box-shadow: none;
}

.btn .arrow {
    transition: none;
}

.logo-accent {
    color: var(--accent);
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    padding: 6px 16px 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-pill);
    background: var(--bg-alt);
    margin-bottom: 20px
}

.process .section-label,
.testimonials .section-label,
.contact .section-label {
    background: #ffffff;
}

.section-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    letter-spacing: var(--tracking);
    line-height: 1.12;
    margin-bottom: 14px
}

.section-title .accent {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15em;
    letter-spacing: 0;
}

.section-desc {
    font-size: 15px;
    color: var(--text-2);
    max-width: 480px;
    line-height: 1.7;
    margin: 0 auto;
}

/* =====================================================
   ABOUT — Immersive block with scroll-linked grow
   ===================================================== */
.about-immersive {
    background: var(--bg);
    padding: 24px;
    overflow: hidden;
}

.about-immersive-inner {
    background: var(--accent);
    margin: 0;
    padding: clamp(5rem, 12vh, 9rem) clamp(2rem, 6vw, 5rem);
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    /* Initial state — hidden until JS positions it */
    visibility: hidden;
    transform: translateY(20px);
    transition: transform .4s cubic-bezier(.25, .1, .25, 1);
    will-change: transform;
}

.about-immersive-text {
    font-family: var(--font);
    font-size: clamp(1.2rem, 2.8vw, 2rem);
    font-weight: 300;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -.005em;
    max-width: 800px;
    margin: 0 auto;
}

.about-immersive-text em {
    font-style: italic;
    font-weight: 200;
}

.about-immersive-text strong {
    font-weight: 600;
}

.about-immersive-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    background: #ffffff;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.2s ease;
}

.about-immersive-link:hover {
    background: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .about-immersive-link {
    background: #ffffff;
    color: var(--accent);
}

[data-theme="dark"] .about-immersive-link:hover {
    background: rgba(255, 255, 255, 0.88);
}




.services-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
    text-align: center;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
}

/* Mobile responsive for services */
@media (max-width: 768px) {
    .service-row-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-info {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 500;
    letter-spacing: var(--tracking);
    line-height: 1.1;
    margin-bottom: 16px
}

.contact-title .accent {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15em;
    letter-spacing: 0;
}

.contact-desc {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 24px
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 24px;
    padding: 10px 20px;
    margin-left: -20px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.square-icon {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
}

.contact-email:hover {
    background-color: var(--accent);
    color: #ffffff;
}

/* Form */
.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md)
}

.form-group {
    margin-bottom: 16px
}


/* =====================================================
   RESPONSIVE
   ===================================================== */
@media(max-width:768px) {

    .nav-cta--desktop {
        display: none;
    }

    .nav-end-wrapper {
        display: none;
    }

    .nav-logo-wrapper {
        height: 58px;
        min-height: 58px;
        display: flex;
        align-items: center;
        border-right: none;
        padding: 0 clamp(1rem, 4vw, 1.5rem);
        flex-shrink: 0;
    }

    /* Masquer le toggle thème de la barre nav sur mobile */
    .nav-theme-toggle {
        display: none;
    }

    .hero-content {
        padding: 0 clamp(1.5rem, 6vw, 2.5rem);
    }

    html, body {
        background: #F9F9F9 !important;
    }

    .hero-wrapper {
        margin-top: calc(-78px - env(safe-area-inset-top, 0px));
    }

    .hero-grid-bg::before {
        content: '';
        position: absolute;
        top: env(safe-area-inset-top, 10px);
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(0, 0, 0, 0.05);
        z-index: 1;
    }

    .nav {
        padding: 10px 16px;
        padding-top: max(10px, env(safe-area-inset-top));
        background: transparent;
        transition: background-color 0.4s ease;
    }

    /* Le X garde la position du hamburger */
    .nav.menu-open .nav-toggle {
        margin-left: auto;
    }

    .nav-inner {
        flex-wrap: wrap;
        height: auto;
        min-height: 58px;
        align-items: center;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0 4px;
        position: relative;
        border-radius: 29px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: hidden;
        transition: border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav.menu-open .nav-inner {
        border-radius: 24px;
    }

    .nav-logo {
        order: 1;
    }

    .nav-toggle {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: 10px;
        width: 38px;
        height: 38px;
        min-height: 38px;
        background: var(--accent);
        border-radius: var(--radius-pill);
        border: none;
        padding: 0;
        gap: 3.5px;
        transform: none;
        flex-shrink: 0;
        cursor: pointer;
        align-self: center;
    }

    .nav-toggle span {
        background: #ffffff;
        width: 15px;
        height: 2px;
        margin: 0 auto;
        border-radius: 1px;
    }

    .nav-links {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background: transparent;
        border: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 16px;
        margin: 0;
        transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    padding-top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    padding-bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.open {
        max-height: 400px;
        opacity: 1;
        padding: 4px 16px 16px;
        margin: 0;
        box-sizing: border-box;
        border-top: 1px solid var(--border);
    }

    .nav-links-inner {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }

    .nav-links .nav-link {
        font-size: 16px;
        font-weight: 450;
        color: var(--text);
        padding: 10px 12px;
        border-radius: var(--radius);
    }

    .nav-links .nav-link:hover {
        background: var(--bg-alt);
        color: var(--text);
    }

    .mobile-menu-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 12px;
        margin-top: 4px;
        border-top: 1px solid var(--border);
        gap: 12px;
    }

    /* Toggle thème dans le menu déroulant mobile */
    .mobile-theme-toggle {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .mobile-theme-toggle .theme-seg-btn {
        width: 32px;
        height: 32px;
        background: none;
        color: var(--text-2);
        border: none;
        border-radius: var(--radius-pill);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

    .mobile-theme-toggle .theme-seg-btn.seg-active {
        background: var(--accent);
        color: #fff;
        width: 34px;
        height: 34px;
    }

    .nav-links .nav-cta {
        margin: 0;
        font-size: 14px;
        height: 36px;
        padding: 0 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--accent);
        color: #ffffff;
    }

    .mobile-close-btn {
        width: 36px;
        height: 36px;
        background: #ffffff;
        border: none;
        border-radius: var(--radius-sm);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        position: relative;
    }

    .mobile-close-btn .close-icon {
        position: absolute;
        width: 16px;
        height: 1.5px;
        background-color: var(--accent);
    }

    .mobile-close-btn .close-icon:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-close-btn .close-icon:nth-child(2) {
        transform: rotate(-45deg);
    }



    .nav-toggle {
        display: flex;
        z-index: 1001
    }

    /* SVG croix — masqué par défaut */
    .nav-toggle-close {
        display: none;
        color: #ffffff;
        stroke: #ffffff;
    }

    /* État ouvert : masquer les 3 spans, afficher la croix SVG */
    .nav-toggle.active span {
        display: none;
    }

    .nav-toggle.active .nav-toggle-close {
        display: block;
    }

    .hero {
        padding: clamp(1rem, 3vh, 2rem) 0 clamp(1rem, 3vh, 2rem);
    }

    .hero-badge {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        margin-bottom: 14px;
    }

    /* Nav inner full width on mobile */
    .nav-inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 24px;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 260px;
        /* Reduced from 300px to make buttons narrower on mobile */
        margin: 0 auto;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .input-bar {
        padding: 12px;
        width: 100%;
        max-width: calc(100% - 32px);
        margin: 0 auto 32px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 4px;
        justify-content: flex-start;
    }

    .tab {
        font-size: 11.5px;
        padding: 6px 8px;
        flex: 1 1 auto;
        text-align: center;
    }

    .hide-mobile {
        display: none !important;
    }

    .about-immersive {
        padding: 16px;
    }

    .about-immersive-text {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .about-immersive-link {
        margin-top: 32px;
    }

}

@media(max-width:480px) {
    .section-title {
        font-size: 1.6rem
    }

    .contact-form {
        padding: 20px
    }
}



.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.submit-for {
    width: 100%;
    margin-top: 10px;
}

.form-success {
    margin-top: 20px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
    font-weight: 500;
}

/* --- Compare Table --- */
.pricing-compare {
    margin-top: clamp(3rem, 6vw, 5rem);
}

.pricing-compare__title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    color: var(--text);
}

/* Horizontal scroll wrapper for mobile */
.compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border);
}

.compare-table {
    width: 100%;
    min-width: 540px;
    /* ensures scroll kicks in on narrow screens */
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table thead th {
    background: var(--bg-alt);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: center;
    border-bottom: 2px solid var(--accent);
}

.compare-table thead th:first-child {
    text-align: left;
    color: var(--text);
    background: var(--bg-alt);
}

.compare-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    text-align: center;
    vertical-align: middle;
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover td {
    background: var(--bg-alt);
}

.compare-table td.check {
    color: var(--accent);
    font-size: 17px;
    font-weight: 700;
}

.compare-table td.dash {
    color: var(--text-2);
    opacity: 0.45;
    font-size: 17px;
}

.compare-table td.addon-cell {
    font-size: 13px;
    color: var(--text-2);
    font-style: italic;
    text-align: center;
}

[data-theme="dark"] .compare-table tbody tr:hover td {
    background: #2a2a2a;
}

[data-theme="dark"] .compare-table thead th {
    background: #1a1a1a;
    color: var(--accent);
}

[data-theme="dark"] .pricing-compare__wrap {
    background: var(--bg);
}

[data-theme="dark"] .compare-table thead th:first-child {
    background: #1a1a1a;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.about-immersive-text {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    max-width: 900px;
    margin-inline: auto;
    font-weight: 500;
    line-height: 1.2;
}

.about-immersive-text .accent {
    color: #fff;
    opacity: 0.8;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15em;
    letter-spacing: 0;
}


/* Contact Form Contrast Improvement */
.contact-form-wrapper {
    background: var(--bg) !important;
    /* White background instead of gray alt */
    box-shadow: 0 30px 60px var(--accent-light);
    /* Electric blue subtle glow */
    border: 1px solid var(--border);
    padding: 50px 40px;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .contact-form-wrapper {
    background: #1a1a1a !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* =====================================================
   HERO GALLERY — Infinite horizontal marquee carousel
   Cartes en ligne droite, défilement horizontal infini.
   ===================================================== */

/* Fenêtre visible — base du hero */
.hero-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
}

/* Track — contient toutes les cartes, anime horizontalement */
.hg-track {
    display: flex;
    gap: 24px;
    padding-bottom: 0;
    animation: hg-marquee var(--hg-duration, 120s) linear infinite;
    will-change: transform;
}

@keyframes hg-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Carte individuelle */
.hg-card {
    flex-shrink: 0;
    width: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.hg-card img {
    width: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hg-card {
        width: 260px;
    }

    .hero-gallery {
        height: 130px;
    }
}

/* =====================================================
   REDESIGN — Linear-style UI additions
   ===================================================== */

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
    background: var(--bg);
    border-top: 0px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px 0;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 48px;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.trust-label {
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .trust-inner {
        gap: 0;
    }

    .trust-stat {
        padding: 16px 24px;
    }

    .trust-divider:nth-child(4) {
        display: none;
    }
}

/* ── PRICING OVERVIEW — Cards ──────────────────────── */
.pricing-overview {
    padding: 120px 0 120px;
    background: var(--bg);
    scroll-margin-top: 0;
    overflow: hidden;
}

.pricing-toggle-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border);
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--bg-alt);
}

.services-header:has(.pricing-toggle-wrap) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-toggle-btn {
    padding: 10px 24px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-toggle-btn--active {
    background: var(--accent);
    color: #fff;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin: 50px 0 0;
}

.pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-alt);
}

.pricing-card:hover {
    border-color: var(--border-hover);
}

.pricing-card--popular {
    border-color: var(--accent);
    border-width: 1px;
}

.pricing-card--popular:hover {
    border-color: var(--accent);
}

.pricing-card--popular {
    position: relative;
}

.pricing-card-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    letter-spacing: 0.08em;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.pricing-card-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: var(--tracking);
    margin: 0;
}

.pricing-card-pages {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 2px;
    display: block;
}

.pricing-card-pages-item {
    font-weight: 600;
    color: var(--text);
    padding-top: 8px;
    margin-top: -8px;
    border-top: 1px solid var(--border);
}

.pricing-card-price-block {
    text-align: right;
}

.pricing-card-price {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
    transition: all 0.3s ease;
}

.pricing-card-period {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    margin-top: 2px;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-card-features li {
    font-size: 14px;
    color: var(--text-2);
    padding-left: 24px;
    position: relative;
}

.pricing-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.pricing-card-setup {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 16px;
    text-align: center;
}

.pricing-card-cta {
    width: 100%;
    padding: 14px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pricing-card-cta:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}

.pricing-card-cta--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pricing-card-cta--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* ── CONFIG PANEL — Panneau unique (recap + addons + formulaire) ── */
.config-panel {
    padding: 0 0 80px;
    margin-top: -80px;
    background: var(--bg);
}

.config-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}

/* Sidebar : recap pack + addons + total */
.config-sidebar {
    position: sticky;
    top: 100px;
}

.config-sidebar-inner {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    background: var(--bg);
}

.config-pack-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.config-pack-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: var(--tracking);
}

.config-pack-engagement {
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}

/* Addons dans la sidebar */
.config-addons {
    padding: 0;
}

.config-addons-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    padding: 16px 0 8px;
}

.config-addon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.15s ease;
    user-select: none;
}

.config-addon-row:last-child {
    border-bottom: none;
}

.config-addon-row:hover {
    opacity: 0.8;
}

.config-addon-check {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s ease;
}

.config-addon-row--active .config-addon-check {
    background: var(--accent);
    border-color: var(--accent);
}

.config-addon-row--active .config-addon-check::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
    left: 4px;
}

.config-addon-info {
    flex: 1;
    min-width: 0;
}

.config-addon-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.config-addon-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Total */
.config-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.config-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.config-total-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.config-first-month {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.config-first-month-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    margin-bottom: 12px;
}

.config-first-month-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    color: var(--text-2);
    padding: 4px 0;
}

.config-first-month-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

[data-theme="dark"] .config-sidebar-inner {
    background: rgba(255, 255, 255, 0.02);
}

/* Formulaire */
.config-form-wrap {
    padding-top: 4px;
}

.config-form-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: var(--tracking);
}

.config-form-desc {
    font-size: 14px;
    color: var(--text-2);
    margin: 0 0 24px;
    line-height: 1.6;
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.config-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.config-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.config-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    font-family: var(--font);
    text-transform: none;
    letter-spacing: normal;
}

.config-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

[data-theme="dark"] .config-form-group input {
    background: var(--bg-input);
}

.config-form-group input::placeholder {
    color: var(--text-3);
}

.config-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.08);
}

.config-form-group input.has-error {
    border-color: #ef4444;
}

.config-field-error {
    font-size: 12px;
    color: #ef4444;
    min-height: 0;
    display: none;
}

.config-field-error.visible {
    display: block;
    min-height: 16px;
}

.config-form-buttons-label {
    display: block;
    font-size: 13px;
    color: var(--text-3);
    margin-top: 16px;
    margin-bottom: 8px;
}

.config-form-buttons {
    display: flex;
    gap: 10px;
}

.config-submit-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.config-submit-btn:hover {
    background: var(--accent-hover);
}

.config-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.config-form-separator {
    display: none;
}

.config-whatsapp-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.config-whatsapp-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.config-whatsapp-btn:hover {
    background: #1ebe57;
}

/* Success */
.config-success {
    text-align: center;
    padding: 48px 20px;
}

.config-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.config-success h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 10px;
}

.config-success p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .config-panel {
        padding: 0 0 60px;
    }

    .config-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 20px;
    }

    .config-sidebar {
        position: static;
    }

    .config-sidebar-inner {
        padding: 20px 16px;
    }

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

    .config-form-title {
        font-size: 20px;
    }

    .config-form-buttons {
        flex-direction: column;
    }
}

/* ── PROCESS ────────────────────────────────────────── */
.process {
    padding: 120px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 0;
}


.grandiose-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
    position: relative;
    width: 100%;
}

.g-process-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offset-card {
    transform: translateY(40px);
}

[data-theme="dark"] .g-process-card {
    background: #0e0e0e;
}

.g-process-header {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
    position: relative;
}

.g-process-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.g-process-icon svg {
    width: 18px;
    height: 18px;
}

.g-process-title-group {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.g-process-step-name {
    font-size: 13px;
    font-weight: 400;
    font-family: var(--font-heading);
    color: var(--text-3);
    text-transform: capitalize;
    letter-spacing: 0.05em;
    margin-bottom: -4px;
}

.g-process-title-group h3 {
    font-size: 18px;
    color: var(--text);
    margin: 0;
}

.g-process-content {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

[data-theme="dark"] .g-process-content {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.g-process-content p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .grandiose-process-grid {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .g-process-card {
        border-right: none;
    }
}

/* ── PORTFOLIO ──────────────────────────────────────── */
.portfolio {
    padding: 120px 0;
    background: var(--bg);
    scroll-margin-top: 0;
}

.portfolio-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-img {
    opacity: 0.85;
}

.portfolio-card-img {
    position: relative;
    overflow: hidden;
}

.portfolio-card-img img {
    width: 100%;
    display: block;
}

.portfolio-card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-2);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 50px;
}

.portfolio-card-body {
    padding: 24px;
    background: var(--bg-alt);
}

[data-theme="dark"] .portfolio-card {
    background: #1a1a1a;
}

[data-theme="dark"] .portfolio-card-body {
    background: #1a1a1a;
}

.portfolio-card-body h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 4px;
}

.portfolio-card-body p {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 12px;
}

.portfolio-card-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-3);
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ── TESTIMONIALS ───────────────────────────────────── */
.testimonials {
    padding: 120px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.testimonials-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}



.testimonial-stars {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    font-style: normal;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.testimonial-author span {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    font-family: var(--font);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        border-right: none;
    }
}

/* ── ABOUT IMMERSIVE — update for WebGL canvas ──────── */
.about-immersive {
    position: relative;
    overflow: hidden;
}

.about-webgl {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-immersive .about-immersive-inner {
    position: relative;
    z-index: 1;
}

.about-immersive-text,
.about-immersive-sub,
.about-immersive-link {
    position: relative;
    z-index: 1;
}

.about-immersive-sub {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.5);
    max-width: 440px;
    margin: 16px auto 32px;
    text-align: center;
    line-height: 1.6;
}

/* ── FAQ SECTION (standalone) ───────────────────────── */
.faq-section {
    padding: 120px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    scroll-margin-top: 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.faq-left .section-title {
    text-align: left;
}

.faq-right {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    gap: 16px;
    transition: color 0.15s ease;
    font-family: var(--font);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-3);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 0 18px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-right {
        border-top: none;
    }
}

/* ── CONTACT — Linear style updates ────────────────── */
.contact {
    padding: 120px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 0;
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info {
    text-align: center;
    align-items: center;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border-radius: 0;
    border: 1px solid var(--border);
    background: var(--bg);
    transition: border-color 0.15s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.contact-form label {
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 6px;
    display: block;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ── FOOTER — redesign ──────────────────────────────── */
.footer {
    background: var(--bg-alt);
}

.footer-top {
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.footer-top-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.6;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav-label {
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 14px;
}

.footer-nav-grid a {
    display: block;
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 10px;
    transition: color 0.15s ease;
}

.footer-nav-grid a:hover {
    color: var(--text);
}

.footer-bottom {
    padding: 20px 0;
}

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

.footer-copy {
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--font-mono);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-3);
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
}

.footer-socials a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .footer-top {
        padding: 48px 0;
    }

    .footer-top-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        text-align: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-socials {
        order: -1;
    }
}

/* ── DARK MODE supplementary ────────────────────────── */
[data-theme="dark"] .pb-module:not(.pb-module--base):hover {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .pb-module[aria-pressed="true"],
[data-theme="dark"] .pb-module--included {
    background: rgba(0, 81, 255, 0.06);
}

[data-theme="dark"] .pb-summary-inner {
    background: var(--bg-alt);
}

[data-theme="dark"] .footer {
    background: var(--bg-alt);
}

[data-theme="dark"] .footer-top {
    background: var(--bg-alt);
}

[data-theme="dark"] .footer-bottom {
    background: var(--bg-alt);
}