/* SuDigital v2 : direction claire et chaleureuse, accent or (logo) */
:root {
    --bg: #f6f1e8;
    --surface: #ffffff;
    --ink: #151925;
    --ink-2: #474c5b;
    --ink-3: #6b7080;
    --line: rgba(21, 25, 37, 0.09);
    --gold: #f0c35e;
    --gold-light: #fbe3a3;
    --gold-deep: #8a5d0c;
    --peach: #ffd3a1;
    --shadow-gold: 0 18px 50px -18px rgba(190, 130, 30, 0.45);
    --shadow-soft: 0 24px 60px -30px rgba(70, 50, 20, 0.28);
    --radius: 24px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold-light); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem; }

/* Grain fixe, jamais sur un conteneur qui défile */
.grain {
    position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    font: 500 0.98rem/1 var(--font);
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s ease, border-color 0.3s ease;
}
.btn i { font-size: 1.1em; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-gold {
    color: var(--ink);
    background: linear-gradient(135deg, #fbe08f 0%, #f0c35e 50%, #e6a93f 100%);
    box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -18px rgba(190, 130, 30, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.btn-ink { color: #fff; background: var(--ink); }
.btn-ink:hover { transform: translateY(-2px); background: #232838; box-shadow: 0 18px 40px -20px rgba(21, 25, 37, 0.6); }

.btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(21, 25, 37, 0.25); background: #fff; transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav-sentinel { position: absolute; top: 0; height: 40px; width: 1px; }

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 1rem 1.25rem;
    transition: padding 0.4s var(--ease);
}
.nav-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; gap: 2rem;
    height: 64px; padding: 0 0.6rem 0 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled { padding-top: 0.75rem; }
.nav.is-scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px -18px rgba(70, 50, 20, 0.25), inset 0 1px 0 #fff;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a { font-size: 0.95rem; color: var(--ink-2); transition: color 0.2s ease; position: relative; }
.nav-links a:not(.btn)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; padding: 0.5rem; margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex; align-items: center;
    padding: 6rem 0 3rem;
    overflow: hidden;
    isolation: isolate;
}
.hero-glow {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(45% 55% at 72% 45%, rgba(255, 211, 161, 0.75) 0%, rgba(255, 211, 161, 0) 70%),
        radial-gradient(35% 40% at 85% 20%, rgba(251, 227, 163, 0.7) 0%, rgba(251, 227, 163, 0) 70%),
        radial-gradient(40% 50% at 10% 90%, rgba(251, 227, 163, 0.45) 0%, rgba(251, 227, 163, 0) 70%);
    animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-2%, 2%, 0) scale(1.06); }
}
.hero-inner {
    width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
}
.eyebrow {
    display: inline-flex; gap: 0.5rem;
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.5rem;
}
.eyebrow span { color: var(--ink-3); }
.hero-title {
    font-size: clamp(2.7rem, 5.4vw, 4.8rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 1.6rem;
    max-width: 12ch;
}
.hero-title strong { font-weight: 600; color: var(--ink); position: relative; white-space: nowrap; }
.hero-title strong::after {
    content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.08em; height: 0.22em; z-index: -1;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    border-radius: 999px;
    transform: scaleX(0); transform-origin: left;
    animation: underline 1s var(--ease) 1.1s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-sub { font-size: 1.2rem; color: var(--ink-2); max-width: 30rem; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-in { opacity: 0; transform: translateY(24px); animation: heroIn 1s var(--ease) forwards; animation-delay: calc(0.15s + var(--d, 0) * 0.12s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: end; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s ease; cursor: grab; }
.hero-stage canvas:active { cursor: grabbing; }
.hero-stage.is-ready canvas { opacity: 1; }
/* logo statique seulement si la 3D est indisponible */
.hero-fallback { position: absolute; inset: 15%; width: 70%; height: auto; margin: auto; object-fit: contain; opacity: 0; transition: opacity 0.6s ease; }
.hero-stage.no-3d .hero-fallback { opacity: 1; }
.hero-stage.is-ready .hero-fallback { opacity: 0; }

/* ---------- Technologies (seul marquee de la page) ---------- */
.tech {
    padding: 2.2rem 0;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tech-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.tech:hover .tech-track { animation-play-state: paused; }
.tech-row { display: flex; gap: 4rem; padding-right: 4rem; }
.tech-item {
    display: inline-flex; align-items: center; gap: 0.7rem;
    font-size: 1.15rem; font-weight: 500; color: var(--ink-2);
    filter: grayscale(1); opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.tech-item:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
    margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; }

.tag {
    display: inline-flex; align-items: center;
    font-size: 0.8rem; font-weight: 500;
    padding: 0.4rem 0.85rem; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7);
    color: var(--ink-2);
}
.tag-gold { background: var(--gold-light); border-color: transparent; color: var(--gold-deep); }

/* ---------- Bento ---------- */
.bento {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: 1.25rem;
    perspective: 1400px;
}
.tile {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    padding: 2.2rem;
    display: flex; flex-direction: column; justify-content: flex-end;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
    box-shadow: var(--shadow-soft);
}
.tile::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 45%);
    transition: opacity 0.4s ease;
}
.tile:hover::after { opacity: 1; }
.tile-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.tile h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.tile p { max-width: 34ch; }
.tile-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tile-hero { grid-column: span 7; grid-row: span 2; min-height: 560px; color: #fff; }
.tile-hero img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%;
    transform: scale(1.04); transition: transform 1.2s var(--ease);
}
.tile-hero:hover img { transform: scale(1.09); }
.tile-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(21, 25, 37, 0) 30%, rgba(21, 25, 37, 0.82) 100%);
}
.tile-hero .tile-body { z-index: 2; }
.tile-hero p { color: rgba(255, 255, 255, 0.85); }
.tile-hero .tile-icon { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); color: var(--gold-light); border: 1px solid rgba(255, 255, 255, 0.2); }
.tile-hero .tag { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.22); color: #fff; backdrop-filter: blur(10px); }

.tile-gold {
    grid-column: span 5;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 50%),
        linear-gradient(140deg, #fde7aa 0%, #f3c763 55%, #e8aa48 100%);
}
.tile-gold p { color: #4a3510; }
.tile-gold .tile-icon { background: rgba(255, 255, 255, 0.5); color: var(--ink); }
.tile-gold .tag { background: rgba(255, 255, 255, 0.45); border-color: rgba(255, 255, 255, 0.6); color: #4a3510; }

.tile-light {
    grid-column: span 5;
    background-color: var(--surface);
    background-image: radial-gradient(rgba(138, 93, 12, 0.16) 1px, transparent 1px);
    background-size: 18px 18px;
    border: 1px solid var(--line);
}
.tile-light p { color: var(--ink-2); }
.tile-light .tile-icon { background: var(--gold-light); color: var(--gold-deep); }

/* ---------- Démarche ---------- */

.steps {
    margin-top: 4rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    position: relative;
    padding-top: 2.6rem;
}
.steps::before, .steps::after {
    content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
    background: linear-gradient(90deg, var(--gold-light), var(--gold), #e6a93f);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.8s var(--ease) 0.3s;
}
.steps.in::after { transform: scaleX(1); }
.step { position: relative; }
.step::before {
    content: ''; position: absolute; top: -2.6rem; left: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--line);
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.steps.in .step::before { border-color: var(--gold); background: var(--gold-light); box-shadow: 0 0 0 6px rgba(240, 195, 94, 0.18); }
.steps.in .step:nth-child(1)::before { transition-delay: 0.4s; }
.steps.in .step:nth-child(2)::before { transition-delay: 0.85s; }
.steps.in .step:nth-child(3)::before { transition-delay: 1.3s; }
.steps.in .step:nth-child(4)::before { transition-delay: 1.75s; }
.step h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Offres ---------- */
.offer-grid {
    margin-top: 3.5rem;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: stretch;
    perspective: 1400px;
}
.offer {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.6rem;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-soft);
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.offer-featured {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(140deg, #fbe08f, #e6a93f 50%, rgba(240, 195, 94, 0.2)) border-box;
    box-shadow: 0 40px 80px -40px rgba(190, 130, 30, 0.45);
}
.offer-featured::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(80% 60% at 100% 0%, rgba(251, 227, 163, 0.45), transparent 60%);
}
.offer > * { position: relative; }
.offer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.offer h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.offer-desc { color: var(--ink-3); margin-top: 0.35rem; }
.price {
    font-size: clamp(3.4rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
    margin: 2rem 0 2rem;
}
.price span { font-size: 0.45em; font-weight: 500; margin-left: 0.15em; vertical-align: 0.9em; color: var(--gold-deep); }
.price-text { font-size: clamp(2.6rem, 4.6vw, 3.4rem); padding: 0.45rem 0; }
.checks { display: grid; gap: 0.8rem; margin-bottom: 2.2rem; flex: 1; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-2); }
.checks i {
    flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 0.15rem;
    display: grid; place-items: center; font-size: 0.8rem;
    background: var(--gold-light); color: var(--gold-deep);
}
.offer-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-3); text-align: center; }
.offer { overflow: hidden; }
.offer-icon {
    width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1.4rem;
    display: grid; place-items: center; font-size: 1.5rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
    box-shadow: 0 12px 26px -14px rgba(190, 130, 30, 0.7);
}
.offer-mark {
    position: absolute; right: -2.5rem; top: -2rem; font-size: 14rem; line-height: 1;
    color: var(--gold); opacity: 0.1; transform: rotate(-12deg); pointer-events: none;
    transition: transform 0.9s var(--ease);
}
.offer:hover .offer-mark { transform: rotate(-4deg) scale(1.05); }
/* offre "Sur mesure" en sombre pour contraster avec le site vitrine */
.offer-dark { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 40px 80px -40px rgba(21, 25, 37, 0.6); }
.offer-dark .offer-mark { opacity: 0.08; }
.offer-dark .offer-icon { background: rgba(255, 255, 255, 0.08); color: var(--gold); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.offer-dark .offer-desc, .offer-dark .offer-note { color: rgba(255, 255, 255, 0.6); }
.offer-dark .tag { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: var(--gold-light); }
.offer-dark .price-text { color: #fff; }
.offer-dark .checks li { color: rgba(255, 255, 255, 0.82); }
.offer-dark .checks i { background: rgba(240, 195, 94, 0.18); color: var(--gold); }
.offer-dark .btn-ink { background: #fff; color: var(--ink); }
.offer-dark .btn-ink:hover { background: var(--gold-light); }

.extras {
    margin-top: 1.5rem;
    display: grid; grid-template-columns: 1fr 1fr auto; gap: 2.5rem; align-items: center;
    padding: 1.8rem 2.6rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.6);
    border: 1px dashed rgba(138, 93, 12, 0.25);
}
.extra h4 { font-size: 1.05rem; font-weight: 500; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.extra p { color: var(--ink-3); font-size: 0.95rem; }
.soon { font-size: 0.72rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(21, 25, 37, 0.06); color: var(--ink-2); }
.link-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-weight: 500; color: var(--ink);
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 2px; white-space: nowrap;
    transition: gap 0.3s var(--ease), color 0.3s ease;
}
.link-arrow:hover { gap: 0.7rem; color: var(--gold-deep); }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.team-copy .lead { margin-bottom: 2rem; }
.values { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.values li {
    padding: 0.6rem 1.1rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    font-weight: 500;
    box-shadow: 0 8px 24px -16px rgba(70, 50, 20, 0.3);
}
.portraits { position: relative; height: 420px; max-width: 480px; justify-self: center; width: 100%; perspective: 1400px; }
.portrait {
    position: absolute; width: 230px;
    border-radius: var(--radius); overflow: hidden;
    background: var(--ink);
    box-shadow: 0 40px 80px -40px rgba(40, 28, 10, 0.55);
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease);
}
.portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.portrait figcaption {
    display: flex; flex-direction: column;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.portrait figcaption strong { font-weight: 600; font-size: 1.05rem; }
.portrait figcaption span { font-size: 0.88rem; color: var(--gold-deep); }
.portrait-a { left: 0; top: 0; }
.portrait-b { right: 0; bottom: 0; }

/* ---------- CTA final ---------- */
.closing { padding-top: 2rem; }
.closing-card {
    position: relative; overflow: hidden;
    border-radius: 32px;
    min-height: 520px;
    display: flex; align-items: flex-end;
    isolation: isolate;
    box-shadow: 0 50px 100px -50px rgba(120, 70, 20, 0.6);
}
.closing-card img {
    position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 60%;
    z-index: -2; will-change: transform;
}
.closing-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(21, 25, 37, 0.78) 0%, rgba(21, 25, 37, 0.35) 55%, rgba(21, 25, 37, 0.05) 100%);
}
.closing-body { padding: 4rem; color: #fff; max-width: 860px; }
.closing-body h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 1.2rem; }
.closing-body p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; margin-bottom: 2.2rem; max-width: 30rem; }

/* ---------- Footer ---------- */
.footer { padding: 5rem 0 2rem; border-top: 1px solid var(--line); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--ink-3); max-width: 34ch; font-size: 0.95rem; }
.footer h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.6rem; color: var(--ink-3); font-size: 0.95rem; }
.footer ul a { transition: color 0.2s ease; }
.footer ul a:hover { color: var(--ink); }
.footer-accent { color: var(--gold-deep) !important; font-weight: 500; }
.footer-bottom {
    margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    color: var(--ink-3); font-size: 0.88rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.2rem;
    border: 1px solid var(--line); color: var(--ink-2);
    transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.footer-social a:hover { transform: translateY(-3px); background: var(--gold-light); color: var(--gold-deep); }

/* ---------- Bouton WhatsApp (injecté par chat.js) ---------- */
.chatbot-container { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60; }
.chatbot-toggle {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ink);
    background: linear-gradient(135deg, #fbe08f, #e6a93f);
    box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.4s var(--ease);
}
.chatbot-toggle:hover { transform: translateY(-3px) scale(1.05); }
.chatbot-toggle svg { width: 28px; height: 28px; }

/* ---------- Apparition au scroll ----------
   Le contenu reste toujours visible : .in ne sert plus qu'à lancer
   les animations propres à certains blocs (ex. la ligne des étapes). */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nav-links { gap: 1.4rem; }
    .hero-inner { grid-template-columns: 1fr 0.9fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .extras { grid-template-columns: 1fr 1fr; }
    .extras .link-arrow { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
    .nav-inner { height: 58px; }
    .nav-toggle { display: block; }
    .nav-cta { display: none; }
    .nav-links {
        position: fixed; inset: 0; z-index: -1;
        flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
        background: rgba(250, 248, 244, 0.97);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        opacity: 0; pointer-events: none;
        transition: opacity 0.4s var(--ease);
    }
    .nav-links a:not(.btn) { font-size: 1.6rem; color: var(--ink); }
    .nav-cta-mobile { display: inline-flex; margin-top: 1rem; }
    .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
    .nav.is-open .nav-inner { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; }

    .hero { padding: 5.5rem 0 3rem; min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 0.5rem; padding: 0 1rem; }
    .hero-stage { order: -1; justify-self: center; max-width: 380px; width: 82%; }
    .hero-title { max-width: none; }

    .wrap { padding: 0 1rem; }
    .section { padding: 5rem 0; }

    .bento { grid-template-columns: 1fr; grid-template-rows: none; }
    .tile-hero, .tile-gold, .tile-light { grid-column: auto; grid-row: auto; }
    .tile-hero { min-height: 440px; }
    .tile { padding: 1.8rem; min-height: 260px; }

    .steps { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 0; padding-left: 2.6rem; }
    .steps::before, .steps::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
    .steps::after { transform: scaleY(0); transform-origin: top; }
    .steps.in::after { transform: scaleY(1); }
    .step::before { top: 0.2rem; left: -2.6rem; }

    .offer-grid { grid-template-columns: 1fr; }
    .offer { padding: 2rem 1.6rem; }
    .extras { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.6rem; }

    .team-grid { grid-template-columns: 1fr; gap: 3rem; }
    .portraits { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 1rem; justify-content: center; align-items: start; }
    .portrait { position: relative; width: 100%; inset: auto; }
    .portrait-b { margin-top: 2.5rem; }
    .portrait figcaption { padding: 0.6rem 0.75rem; }
    .portrait figcaption strong { font-size: 0.92rem; }
    .portrait figcaption span { font-size: 0.78rem; }

    .closing-card { min-height: 480px; border-radius: 24px; }
    .closing-card::before { background: linear-gradient(0deg, rgba(21, 25, 37, 0.85) 10%, rgba(21, 25, 37, 0.2) 100%); }
    .closing-body { padding: 2rem 1.5rem; }
    .closing-body br { display: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
    .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .reveal, .hero-in { opacity: 1; transform: none; }
    .tech-track { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
    .nav.is-scrolled .nav-inner, .portrait figcaption { background: #fff; backdrop-filter: none; }
}

/* =========================================================
   Pages intérieures
   ========================================================= */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero {
    position: relative; isolation: isolate; overflow: clip;
    padding: 10rem 0 5rem;
}
.page-hero .hero-glow { opacity: 0.85; }
.page-title {
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    font-weight: 300; line-height: 1.04; letter-spacing: -0.04em;
    margin-bottom: 1.4rem;
}
.page-title strong { font-weight: 600; position: relative; white-space: nowrap; }
.page-title strong::after {
    content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.08em; height: 0.22em; z-index: -1;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    border-radius: 999px;
    transform: scaleX(0); transform-origin: left;
    animation: underline 1s var(--ease) 0.7s forwards;
}
.page-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 40rem; }
.page-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.page-hero-media {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 5 / 4;
    box-shadow: 0 50px 100px -50px rgba(120, 70, 20, 0.6);
    transition: transform 0.6s var(--ease);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.page-hero .hero-actions { margin-top: 2.2rem; }

/* Hero "Découvrir" : maquette de site + duo + pastilles */
.showcase { position: relative; padding: 2rem 1.5rem 3.5rem 2.5rem; }
.showcase::before {
    content: ''; position: absolute; inset: 8% 4% 12% 10%; z-index: -1; border-radius: 40px;
    background: radial-gradient(closest-side, rgba(240, 195, 94, 0.45), transparent);
    filter: blur(30px);
}
.showcase-browser {
    border-radius: 20px; overflow: hidden;
    background: var(--surface); border: 1px solid rgba(138, 93, 12, 0.12);
    box-shadow: 0 50px 100px -45px rgba(120, 70, 20, 0.55);
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
    transition: transform 0.9s var(--ease);
}
.showcase:hover .showcase-browser { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.sb-bar {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.7rem 1rem; background: #fbf7f0; border-bottom: 1px solid var(--line);
}
.sb-dots { display: flex; gap: 6px; }
.sb-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(21, 25, 37, 0.12); }
.sb-dots i:first-child { background: var(--gold); }
.sb-url {
    flex: 1; max-width: 240px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center; gap: 0.35rem;
    font-size: 0.78rem; color: var(--ink-3);
    padding: 0.3rem 0.8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.sb-url i { font-size: 0.75rem; color: var(--gold-deep); }
.sb-page { padding: 1rem 1.1rem 1.2rem; }
.sb-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
.sb-logo { width: 46px; height: 10px; border-radius: 5px; background: var(--ink); }
.sb-links { display: flex; gap: 8px; }
.sb-links i { width: 30px; height: 6px; border-radius: 3px; background: rgba(21, 25, 37, 0.14); }
.sb-hero {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
    padding: 1.8rem 1.5rem; border-radius: 14px; margin-bottom: 0.8rem;
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.6), transparent 60%),
        linear-gradient(140deg, #fde7aa 0%, #f3c763 55%, #e8aa48 100%);
}
.sb-kicker { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #6b4a10; }
.sb-title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.sb-cta { margin-top: 0.4rem; font-size: 0.75rem; font-weight: 500; color: #fff; background: var(--ink); padding: 0.4rem 0.9rem; border-radius: 999px; }
.sb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.sb-cards span {
    height: 64px; border-radius: 12px; background: #fbf7f0; border: 1px solid var(--line);
    display: grid; place-items: center; font-size: 1.2rem; color: var(--gold-deep);
}
.showcase-duo {
    position: absolute; left: 0; bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.6rem 1.2rem 0.6rem 0.6rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 93, 12, 0.12);
    box-shadow: 0 24px 50px -24px rgba(120, 70, 20, 0.5);
    animation: floatY 6s ease-in-out infinite;
}
.showcase-duo > span:last-child { display: grid; line-height: 1.25; font-size: 0.82rem; color: var(--ink-3); }
.showcase-duo strong { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.showcase-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.85rem; font-weight: 500; color: var(--ink);
    padding: 0.55rem 1rem 0.55rem 0.6rem; border-radius: 999px;
    background: #fff; border: 1px solid rgba(138, 93, 12, 0.12);
    box-shadow: 0 18px 40px -20px rgba(120, 70, 20, 0.5);
    animation: floatY 7s ease-in-out infinite;
}
.showcase-chip i {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold-light); color: var(--gold-deep); font-size: 0.95rem;
}
.chip-a { top: 0.4rem; right: 0; animation-delay: -2s; }
.chip-b { right: -0.5rem; bottom: 4.5rem; animation-delay: -4s; }
@keyframes floatY { 50% { transform: translateY(-8px); } }

.section-tight { padding: 4.5rem 0; }

/* Énoncé éditorial */
.statement {
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 300; line-height: 1.28; letter-spacing: -0.025em;
    max-width: 30ch;
}
.statement strong { font-weight: 500; }

/* Mission : accroche à gauche, 3 étapes reliées à droite */
.mission { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: center; }
.mission .statement { margin-top: 1.4rem; }
.mission .statement strong { background: linear-gradient(transparent 62%, var(--gold-light) 62%); }
.mission-steps { position: relative; display: grid; gap: 1rem; }
.mission-steps::before {
    content: ''; position: absolute; left: calc(1.2rem + 27px); top: 2rem; bottom: 2rem;
    border-left: 1.5px dashed rgba(138, 93, 12, 0.3);
}
.mission-step {
    position: relative;
    display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; align-items: start;
    padding: 1.4rem 1.6rem 1.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(6px);
    border: 1px solid rgba(138, 93, 12, 0.1); border-radius: 20px;
    box-shadow: 0 20px 50px -30px rgba(120, 70, 20, 0.35);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.mission-step:hover { transform: translateX(6px); box-shadow: 0 24px 50px -26px rgba(120, 70, 20, 0.45); }
.mission-step-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.5rem;
    background: var(--gold-light); color: var(--gold-deep);
}
.mission-step:nth-child(2) .mission-step-icon { background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink); }
.mission-step small {
    display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-deep);
}
.mission-step h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; margin: 0.15rem 0 0.35rem; }
.mission-step p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; max-width: 60rem; }
.two-col p { color: var(--ink-2); font-size: 1.1rem; }

/* Citation */
.quote-band {
    position: relative; overflow: hidden;
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, 0.6), transparent 60%),
        linear-gradient(140deg, #fde7aa 0%, #f3c763 55%, #e8aa48 100%);
    box-shadow: var(--shadow-gold);
}
.quote-band blockquote {
    position: relative;
    font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12;
    max-width: 22ch; margin: 0 auto 2rem;
}
.quote-band blockquote em {
    font-style: normal; font-weight: 600;
    background: linear-gradient(transparent 64%, rgba(255, 255, 255, 0.55) 64%);
}
.quote-mark {
    position: absolute; top: -2.2rem; left: 2rem;
    font-size: 16rem; line-height: 1; font-weight: 600;
    color: rgba(255, 255, 255, 0.5); pointer-events: none;
}
.quote-logo {
    position: absolute; right: -3rem; bottom: -4rem; width: 280px;
    opacity: 0.14; mix-blend-mode: multiply; transform: rotate(-10deg); pointer-events: none;
}
.quote-band figcaption {
    position: relative;
    display: inline-flex; align-items: center; gap: 0.9rem; text-align: left;
    padding: 0.5rem 1.1rem 0.5rem 0.5rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px);
}
.quote-faces { display: flex; }
.quote-faces img {
    width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
    border: 3px solid #fbe3a3;
}
.quote-faces img + img { margin-left: -14px; }
.quote-who { display: grid; line-height: 1.25; }
.quote-who cite { font-style: normal; font-weight: 600; color: var(--ink); }
.quote-who span { font-size: 0.85rem; color: #4a3510; }

/* Grille "pourquoi nous" */
.why-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; perspective: 1400px; }
.why-grid .tile { min-height: 230px; }
.why-grid .tile:nth-child(1), .why-grid .tile:nth-child(4) { grid-column: span 7; }
.why-grid .tile:nth-child(2), .why-grid .tile:nth-child(3) { grid-column: span 5; }
.tile-peach { background: linear-gradient(160deg, #fff1df 0%, #ffd9ad 100%); }
.tile-peach p { color: #5a4022; }
.tile-peach .tile-icon { background: rgba(255, 255, 255, 0.6); color: var(--gold-deep); }
.tile-ink { background: var(--ink); color: #fff; }
.tile-ink p { color: rgba(255, 255, 255, 0.75); }
.tile-ink .tile-icon { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.tile-ink::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 195, 94, 0.18), transparent 45%); }

.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; }
.why-head .h2 { margin-bottom: 0; }
.why-head .lead { max-width: 28rem; }
.tile-num {
    position: absolute; top: 1.4rem; right: 1.8rem;
    font-size: 3.4rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1;
    opacity: 0.12; pointer-events: none;
}
.tile-ink .tile-num { color: var(--gold); opacity: 0.35; }

/* carte "Design moderne" : texte + mini maquette de site */
.why-split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.mini-site {
    flex: 0 0 44%; max-width: 300px; align-self: center;
    padding: 10px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    transform: rotate(-4deg) translateY(6%);
    transition: transform 0.8s var(--ease);
}
.tile:hover .mini-site { transform: rotate(-1deg) translateY(0); }
.mini-bar { display: flex; gap: 5px; margin-bottom: 8px; }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.mini-bar i:first-child { background: var(--gold); }
.mini-hero {
    padding: 16px 14px; border-radius: 8px; margin-bottom: 8px;
    background: linear-gradient(140deg, rgba(253, 231, 170, 0.28), rgba(232, 170, 72, 0.12));
}
.mini-line { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.75); margin-bottom: 7px; }
.mini-line.w60 { width: 62%; }
.mini-line.w40 { width: 42%; }
.mini-line.thin { height: 5px; opacity: 0.45; }
.mini-btn { display: block; width: 44px; height: 13px; border-radius: 999px; background: var(--gold); margin-top: 12px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-cards span { height: 38px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }

.tile-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.5rem 1rem; margin-top: 0.2rem; width: 100%; }
.tile-checks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: #4a3510; }
.tile-checks i {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.6); color: var(--ink);
}

.swatches { display: flex; margin-top: 0.4rem; }
.swatches span {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid var(--surface); box-shadow: 0 6px 14px -6px rgba(70, 50, 20, 0.4);
    transition: margin 0.5s var(--ease);
}
.swatches span + span { margin-left: -10px; }
.tile:hover .swatches span + span { margin-left: 4px; }
.swatches span:nth-child(1) { background: var(--ink); }
.swatches span:nth-child(2) { background: var(--gold-deep); }
.swatches span:nth-child(3) { background: var(--gold); }
.swatches span:nth-child(4) { background: var(--peach); }
.swatches span:nth-child(5) { background: #fbf7f0; }

/* carte "Expertise 360°" : services en orbite autour du logo */
.orbit { position: relative; flex: 0 0 250px; height: 250px; align-self: center; margin: -0.5rem 1.5rem -0.5rem 0; }
.orbit-ring {
    position: absolute; inset: 22px; border-radius: 50%;
    border: 1.5px dashed rgba(138, 93, 12, 0.28);
}
.orbit-ring::before {
    content: ''; position: absolute; inset: 28px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%);
}
.orbit-core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 86px; height: 86px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; box-shadow: 0 16px 34px -16px rgba(138, 93, 12, 0.55);
}
.orbit-core img { width: 50px; }
.orbit-items { position: absolute; inset: 0; animation: orbit 60s linear infinite; }
.orbit-items li {
    position: absolute; left: 50%; top: 50%;
    transform: rotate(calc(var(--a) * 72deg - 90deg)) translate(98px) rotate(calc(90deg - var(--a) * 72deg)) translate(-50%, -50%);
}
.orbit-items span {
    display: flex; align-items: center; gap: 0.35rem; white-space: nowrap;
    font-size: 0.8rem; font-weight: 500; color: #5a4022;
    padding: 0.32rem 0.7rem 0.32rem 0.45rem; border-radius: 999px;
    background: #fff; box-shadow: 0 8px 20px -10px rgba(138, 93, 12, 0.45);
    animation: orbit 60s linear infinite reverse;
}
.orbit-items i {
    width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
    font-size: 0.75rem; background: var(--gold-light); color: var(--gold-deep);
}
.orbit-items .is-soon span { background: rgba(255, 255, 255, 0.55); border: 1px dashed rgba(138, 93, 12, 0.35); box-shadow: none; }
.orbit-items b { font-weight: inherit; display: grid; line-height: 1.15; }
.orbit-items em { font-style: normal; font-size: 0.66rem; color: var(--gold-deep); }
.tile:hover .orbit-items, .tile:hover .orbit-items span { animation-play-state: paused; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* Bandeau d'appel à l'action */
.cta-band {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: 3rem 3.2rem;
    border-radius: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 120% at 100% 50%, rgba(251, 227, 163, 0.65), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.4rem; }
.cta-band p { color: var(--ink-2); }

/* Autres solutions (page offres) */
.solutions { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.solution {
    display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
    padding: 2.2rem; border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.65); border: 1px solid var(--line);
}
.solution .tile-icon { background: var(--gold-light); color: var(--gold-deep); margin: 0; }
.solution h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.solution p { color: var(--ink-2); margin-bottom: 1.2rem; }
.solution .price-chip { display: inline-block; font-weight: 600; color: var(--gold-deep); margin-bottom: 0.6rem; }
.solution {
    position: relative; overflow: hidden;
    background: var(--surface); border-color: rgba(138, 93, 12, 0.1);
    box-shadow: 0 24px 60px -36px rgba(120, 70, 20, 0.45);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.solution > :not(.solution-mark):not(.nfc-waves) { position: relative; z-index: 1; }
.solution .tile-icon { width: 56px; height: 56px; font-size: 1.6rem; background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink); box-shadow: 0 12px 26px -14px rgba(190, 130, 30, 0.7); }
.solution-mark {
    position: absolute; right: -1.5rem; bottom: -2.5rem; font-size: 11rem; line-height: 1;
    color: var(--gold); opacity: 0.12; transform: rotate(-12deg); pointer-events: none;
}
/* carte NFC : ondes qui se propagent depuis le coin */
.solution-nfc { background: linear-gradient(160deg, #fff 0%, #fff6e6 100%); }
.nfc-waves { position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; pointer-events: none; }
.nfc-waves i {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid rgba(240, 195, 94, 0.45);
    animation: nfcWave 3.6s ease-out infinite;
}
.nfc-waves i:nth-child(2) { animation-delay: 1.2s; }
.nfc-waves i:nth-child(3) { animation-delay: 2.4s; }
@keyframes nfcWave { from { transform: scale(0.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.faq-aside { position: sticky; top: 7.5rem; }
.faq-aside .page-lead { margin-bottom: 2rem; }
.help-card {
    padding: 1.8rem; border-radius: var(--radius);
    background: linear-gradient(140deg, #fde7aa 0%, #f3c763 60%, #e8aa48 100%);
    box-shadow: var(--shadow-gold);
}
.help-card h2 { font-size: 1.3rem; font-weight: 500; margin-bottom: 0.3rem; }
.help-card p { color: #4a3510; margin-bottom: 1.3rem; }
.faq-list { display: grid; gap: 0.8rem; counter-reset: faq; }
.faq-item {
    counter-increment: faq; position: relative; overflow: hidden;
    border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 14px 34px -28px rgba(120, 70, 20, 0.45);
    transition: box-shadow 0.4s var(--ease), border-color 0.3s ease, transform 0.4s var(--ease);
}
.faq-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease);
}
.faq-item:hover { border-color: rgba(138, 93, 12, 0.25); transform: translateX(4px); }
.faq-item[open] {
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(251, 227, 163, 0.45), transparent 60%),
        var(--surface);
    box-shadow: var(--shadow-soft); border-color: rgba(240, 195, 94, 0.6);
}
.faq-item[open]::before { transform: scaleY(1); }
.faq-item[open]:hover { transform: none; }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.4rem 1.2rem 1.3rem;
    font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-q::before {
    content: counter(faq, decimal-leading-zero);
    display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 0.1rem;
}
.faq-q-icon {
    flex: none; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.3rem;
    background: #fbf5ea; color: var(--gold-deep); border: 1px solid rgba(138, 93, 12, 0.1);
    transition: background 0.3s ease, color 0.3s ease, transform 0.5s var(--ease);
}
.faq-item:hover .faq-q-icon { transform: rotate(-6deg); }
.faq-item[open] .faq-q-icon { background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink); border-color: transparent; }
.faq-icon {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gold-light); color: var(--gold-deep);
    transition: transform 0.4s var(--ease), background 0.3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--gold); }
.faq-item .faq-answer { padding: 0 1.6rem 1.6rem calc(1.3rem + 46px + 1rem); color: var(--ink-2); max-width: 66ch; line-height: 1.7; }
.help-card { position: relative; overflow: hidden; }
.help-card::after {
    content: '?'; position: absolute; right: 1rem; top: -2.2rem; font-size: 11rem; font-weight: 600; line-height: 1;
    color: rgba(255, 255, 255, 0.35); pointer-events: none;
}
.help-card > * { position: relative; z-index: 1; }
.help-faces { margin-bottom: 1rem; }
.faq-item[open] .faq-answer { animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.call-steps { position: relative; display: grid; gap: 0.8rem; margin: 2.5rem 0 2rem; counter-reset: call; }
.call-steps::before {
    content: ''; position: absolute; left: calc(1rem + 21px); top: 1.5rem; bottom: 1.5rem; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(240, 195, 94, 0.15));
}
.call-steps li {
    position: relative; counter-increment: call;
    display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center;
    padding: 1rem 1.3rem 1rem 1rem; border-radius: 18px;
    background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(6px);
    border: 1px solid rgba(138, 93, 12, 0.1);
    box-shadow: 0 18px 40px -30px rgba(120, 70, 20, 0.45);
    transition: transform 0.5s var(--ease);
}
.call-steps li:hover { transform: translateX(6px); }
.call-icon {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem;
    background: var(--gold-light); color: var(--gold-deep);
}
.call-steps li:nth-child(2) .call-icon { background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink); }
.call-steps li:nth-child(3) .call-icon { background: var(--ink); color: var(--gold); }
.call-steps strong { display: block; font-weight: 500; font-size: 1.1rem; }
.call-steps strong::before {
    content: counter(call, decimal-leading-zero) " ";
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--gold-deep); margin-right: 0.35rem; vertical-align: 0.15em;
}
.call-steps span { color: var(--ink-2); font-size: 0.95rem; }
.coords { display: grid; gap: 0.6rem; font-style: normal; }
.coords p {
    display: flex; align-items: center; gap: 0.8rem; color: var(--ink-2);
    padding: 0.55rem 1rem 0.55rem 0.55rem; border-radius: 16px;
    background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(138, 93, 12, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.4s var(--ease);
}
.coords p:has(a):hover { background: #fff; border-color: rgba(240, 195, 94, 0.6); transform: translateX(4px); }
.coords i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; background: var(--gold-light); color: var(--gold-deep); flex: none; }
.coords a { font-weight: 500; color: var(--ink); }
.coords a::after { content: ''; position: absolute; inset: 0; }
.coords p { position: relative; }
.coords a:hover { color: var(--gold-deep); }

.form-card {
    padding: 2.6rem; border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 50px 100px -50px rgba(120, 70, 20, 0.45);
}
.form-card h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.form-card { position: relative; }
.contact-layout .form-card { box-shadow: 0 50px 100px -50px rgba(120, 70, 20, 0.45), 0 0 120px -30px rgba(240, 195, 94, 0.55); }
.form-card::after {
    content: ''; position: absolute; left: 2.6rem; right: 2.6rem; top: 0; height: 3px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), #e6a93f);
}
.form-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.8rem; }
.input-wrap { position: relative; }
.input-wrap > i {
    position: absolute; left: 0.95rem; top: 0.95rem; font-size: 1.1rem; color: var(--gold-deep); opacity: 0.6;
    pointer-events: none; transition: opacity 0.2s ease;
}
.input-wrap:focus-within > i { opacity: 1; }
.field .input-wrap input, .field .input-wrap textarea { padding-left: 2.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.2rem; }
.form-grid .field { margin-bottom: 0; }
.form-grid + .field { margin-top: 1.2rem; }
.field label { font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
    width: 100%;
    font: 400 1rem/1.5 var(--font); color: var(--ink);
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #fbfaf7;
    border: 1px solid rgba(21, 25, 37, 0.14);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { background: #fff; border-color: #d9a43f; box-shadow: 0 0 0 4px rgba(240, 195, 94, 0.28); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4412c; }
.form-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-3); text-align: center; }
.form-note a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* À propos */
.story { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 4rem; align-items: start; }
.story-aside { position: sticky; top: 7.5rem; }
.prose p { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 1.2rem; max-width: 64ch; }
.prose p:first-child { font-size: 1.35rem; color: var(--ink); line-height: 1.5; }
.prose .signature { color: var(--gold-deep); font-weight: 500; }

.team-cards { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 220px); gap: 1.5rem; perspective: 1400px; }
.team-card { border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(40, 28, 10, 0.55); transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
/* 220px max : la photo source fait 400px, elle reste nette même sur écran Retina */
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team-card figcaption { padding: 1.3rem 1.5rem; background: var(--surface); display: flex; flex-direction: column; }
.team-card strong { font-size: 1.2rem; font-weight: 600; }
.team-card span { color: var(--gold-deep); }

/* Valeurs (page à propos) : 3 cartes */
.values-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; perspective: 1400px; }
.values-grid .tile { grid-column: auto; min-height: 380px; }
.values-grid .tile p { max-width: none; }
.tile-mark {
    position: absolute; right: -1.2rem; bottom: -2rem; font-size: 11rem; line-height: 1;
    opacity: 0.08; pointer-events: none; transform: rotate(-12deg);
    transition: transform 0.8s var(--ease);
}
.tile:hover .tile-mark { transform: rotate(-4deg) scale(1.05); }
.tile-ink .tile-mark { color: var(--gold); opacity: 0.1; }
.values-grid .tag { gap: 0.4rem; margin-top: 0.4rem; }
.tile-ink .tag { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: var(--gold-light); }
.tile-light .tag { background: var(--gold-light); border-color: transparent; color: var(--gold-deep); }

/* Équipe (page à propos) : deux fiches reliées par "+", puis "= SuDigital" */
.duo { margin-top: 3rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; perspective: 1400px; }
.member {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 42% 1fr; min-height: 330px;
    border-radius: var(--radius); background: #17171a; color: #fff;
    box-shadow: 0 40px 80px -40px rgba(40, 28, 10, 0.6);
    transition: transform 0.6s var(--ease);
}
.member::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 195, 94, 0.16), transparent 45%);
    transition: opacity 0.4s ease;
}
.member:hover::after { opacity: 1; }
.member-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
    mask-image: linear-gradient(90deg, #000 60%, transparent);
}
.member-body { position: relative; z-index: 1; padding: 2rem 2.4rem 2rem 0.8rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.member-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.member h3 { font-size: 1.65rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.member-role { color: var(--gold-light); font-size: 0.95rem; margin-top: 0.2rem; }
.member p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.55; margin-top: 0.9rem; }
.member-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; margin-top: 1rem; }
.member-tags li {
    font-size: 0.78rem; padding: 0.3rem 0.75rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85);
}
/* la 2e fiche est en miroir : photo à droite, texte tourné vers le "+" */
.member-b { grid-template-columns: 1fr 42%; }
.member-b .member-photo { order: 2; }
.member-b .member-photo img { -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent); mask-image: linear-gradient(270deg, #000 60%, transparent); }
.member-b .member-body { padding: 2rem 0.8rem 2rem 2.4rem; }
.duo-plus {
    position: relative; z-index: 2;
    width: 68px; height: 68px; margin: 0 -1.4rem; border-radius: 50%;
    display: grid; place-items: center; font-size: 2rem; font-weight: 500; line-height: 1;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
    border: 6px solid #f2e6d0; box-shadow: var(--shadow-gold);
}
.duo-result {
    display: flex; align-items: center; gap: 0.8rem; width: fit-content; margin: 2rem auto 0;
    padding: 0.55rem 1.4rem 0.55rem 0.55rem; border-radius: 999px;
    background: var(--surface); border: 1px solid rgba(138, 93, 12, 0.12);
    box-shadow: 0 20px 50px -30px rgba(120, 70, 20, 0.45);
    font-weight: 500;
}
.duo-result span {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold-light); color: var(--gold-deep); font-size: 1.2rem;
}

/* Pages légales */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; align-items: start; }
.legal-toc {
    position: sticky; top: 7.5rem; display: grid; gap: 0.15rem;
    padding: 1.2rem 0.8rem 0.9rem; border-radius: 22px;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
    border: 1px solid rgba(138, 93, 12, 0.1); box-shadow: 0 20px 50px -32px rgba(120, 70, 20, 0.45);
}
.legal-toc-title {
    display: flex; align-items: center; gap: 0.5rem; padding: 0 0.6rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
}
.legal-progress { display: block; height: 3px; margin: 0.7rem 0.6rem 0.6rem; border-radius: 3px; background: rgba(138, 93, 12, 0.1); overflow: hidden; }
.legal-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.2s linear; }
.legal-toc a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.5rem 0.6rem; border-radius: 12px;
    color: var(--ink-3); font-size: 0.9rem; line-height: 1.3;
    transition: background 0.2s ease, color 0.2s ease;
}
.legal-toc a i {
    flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 0.95rem;
    background: #fbf5ea; color: var(--gold-deep); transition: background 0.2s ease, color 0.2s ease;
}
.legal-toc a:hover { background: #fbf5ea; color: var(--ink); }
.legal-toc a.is-active { background: var(--gold-light); color: var(--ink); font-weight: 500; }
.legal-toc a.is-active i { background: var(--ink); color: var(--gold); }
.legal-doc { display: grid; gap: 1rem; max-width: 860px; }
.legal-block {
    display: grid; grid-template-columns: 52px 1fr; gap: 1.4rem; align-items: start;
    padding: 2rem 2.2rem; border-radius: 24px;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 20px 50px -34px rgba(120, 70, 20, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.4s var(--ease);
}
.legal-block:hover { border-color: rgba(240, 195, 94, 0.55); box-shadow: var(--shadow-soft); }
.legal-block-icon {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
    box-shadow: 0 12px 26px -14px rgba(190, 130, 30, 0.7);
}
.legal-block-body { min-width: 0; }
.legal-block-body > p:last-child { margin-bottom: 0; }
.legal-doc h2 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; margin: 2.6rem 0 1rem; scroll-margin-top: 7rem; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-block h2 { margin: 0.6rem 0 0.9rem; }
.legal-doc h3 { font-size: 1.1rem; font-weight: 500; color: var(--gold-deep); margin: 1.5rem 0 0.4rem; }
.legal-doc p { color: var(--ink-2); margin-bottom: 1rem; }
.legal-doc a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
    .page-hero { padding: 7.5rem 0 3rem; }
    .page-hero-split, .two-col, .faq-layout, .contact-layout, .story, .legal-layout, .solutions { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq-aside, .story-aside, .legal-toc { position: static; }
    .legal-toc { display: none; }
    .why-grid { grid-template-columns: 1fr; }
    .mission { grid-template-columns: 1fr; gap: 2.5rem; }
    .showcase { padding: 1.5rem 0.5rem 4rem; }
    .showcase-browser { transform: none; }
    .chip-a { right: 0.25rem; top: 0; }
    .chip-b { display: none; }
    .mission-step { padding: 1.2rem 1.2rem 1.3rem 1rem; gap: 0.9rem; grid-template-columns: 48px 1fr; }
    .mission-step-icon { width: 48px; height: 48px; font-size: 1.3rem; }
    .mission-steps::before { left: calc(1rem + 23px); }
    .why-grid .tile:nth-child(n) { grid-column: auto; }
    .quote-band { padding: 3.5rem 1.5rem; border-radius: 24px; }
    .quote-mark { font-size: 10rem; top: -1.4rem; left: 1rem; }
    .quote-logo { width: 180px; right: -2.5rem; bottom: -3rem; }
    .why-split { flex-direction: column; align-items: flex-start; }
    .mini-site { flex: none; align-self: flex-start; width: 100%; max-width: 320px; transform: none; }
    .orbit { flex: none; align-self: center; margin: 0.5rem auto 0; }
    .cta-band { padding: 2.2rem 1.6rem; border-radius: 24px; }
    .cta-band .btn { width: 100%; }
    .form-card { padding: 1.8rem 1.3rem; }
    .form-grid { grid-template-columns: 1fr; }
    .team-cards { grid-template-columns: repeat(2, minmax(0, 200px)); gap: 1rem; }
    .team-card figcaption { padding: 0.9rem 1rem; }
    .team-card strong { font-size: 1rem; }
    .team-card span { font-size: 0.85rem; }
    .values-grid { grid-template-columns: 1fr; }
    .faq-item .faq-answer { padding: 0 1.2rem 1.4rem; }
    .faq-item summary { font-size: 1rem; gap: 0.8rem; padding: 1rem 1rem 1rem 1rem; }
    .faq-q-icon { width: 40px; height: 40px; font-size: 1.15rem; }
    .chapters { padding-left: 2.6rem; }
    .chapters li { padding: 1.2rem 1.2rem; }
    .chapters li::before { left: -2.6rem; width: 30px; height: 30px; font-size: 0.72rem; }
    .chapters::before { left: 14px; }
    .story-sign { padding-left: 0; }
    .principles li { font-size: 1.35rem; }
    .duo { grid-template-columns: 1fr; justify-items: stretch; }
    .duo-plus { margin: -1.4rem auto; }
    .member, .member-b { grid-template-columns: 1fr; min-height: 0; }
    .member-photo { height: 290px; }
    .member-b .member-photo { order: 0; }
    .member-photo img, .member-b .member-photo img { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
    .member-body, .member-b .member-body { padding: 0.5rem 1.6rem 1.8rem; }
    .duo-result { font-size: 0.92rem; }
    .values-grid .tile { min-height: 300px; }
    .legal-block { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.5rem 1.3rem; }
    .legal-block-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .solution { grid-template-columns: 1fr; padding: 1.8rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* =========================================================
   Chaleur et densité : fond d'ambiance, bandes teintées, chiffres clés
   ========================================================= */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40% 45% at 100% 0%, rgba(251, 227, 163, 0.55), transparent 70%),
        radial-gradient(35% 40% at 0% 100%, rgba(255, 211, 161, 0.45), transparent 70%),
        radial-gradient(30% 35% at 0% 30%, rgba(251, 227, 163, 0.25), transparent 70%);
}

.band {
    position: relative;
    background:
        radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
        linear-gradient(180deg, #f1e4cc 0%, #f4e9d6 100%);
    border-block: 1px solid rgba(138, 93, 12, 0.08);
}
.band::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(138, 93, 12, 0.1) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
    mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.band > .wrap { position: relative; z-index: 1; }

/* Étapes de la démarche en cartes */
.steps .step {
    background: var(--surface);
    border: 1px solid rgba(138, 93, 12, 0.1);
    border-radius: 20px;
    padding: 1.6rem 1.5rem 1.8rem;
    box-shadow: 0 20px 50px -30px rgba(120, 70, 20, 0.35);
}
.steps .step::before { left: 1.5rem; }

/* Chiffres clés en en-tête de page */
.hero-facts { display: grid; gap: 1rem; perspective: 1400px; }
.fact {
    display: grid; grid-template-columns: minmax(9.5rem, auto) 1fr; gap: 1.4rem; align-items: center;
    padding: 1.4rem 1.7rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px -34px rgba(120, 70, 20, 0.45);
    transition: transform 0.6s var(--ease);
}
.fact strong { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.fact span { color: var(--ink-2); }
.fact:first-child { background: linear-gradient(140deg, #fde7aa 0%, #f3c763 60%, #e8aa48 100%); border-color: transparent; box-shadow: var(--shadow-gold); }
.fact:first-child span { color: #4a3510; }
.fact:nth-child(2) { margin-left: 2.5rem; }

/* Carte d'accroche dans une colonne latérale */
.aside-card {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: var(--radius);
    background:
        radial-gradient(80% 70% at 100% 0%, rgba(255, 255, 255, 0.5), transparent 60%),
        linear-gradient(140deg, #fde7aa 0%, #f3c763 60%, #e8aa48 100%);
    box-shadow: var(--shadow-gold);
}
.aside-card p { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.8rem; }
.aside-card span { color: #4a3510; }
.principles { display: grid; gap: 0.55rem; margin-bottom: 1.1rem; }
.principles li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.principles i {
    flex: none; width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.55); color: var(--ink);
}

/* Histoire : accroche, 3 blocs sur une ligne dorée, signature */
.story-lead { font-size: clamp(1.4rem, 2.3vw, 1.8rem); font-weight: 400; line-height: 1.38; letter-spacing: -0.02em; color: var(--ink); max-width: 36ch; }
.story-lead mark { background: linear-gradient(transparent 62%, var(--gold-light) 62%); color: inherit; font-weight: 500; }
.chapters { counter-reset: chapter; position: relative; display: grid; gap: 1.2rem; margin-top: 2.4rem; padding-left: 3.4rem; }
.chapters::before {
    content: ''; position: absolute; left: 17px; top: 1.8rem; bottom: 1.8rem; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(240, 195, 94, 0.15));
}
.chapters li {
    counter-increment: chapter; position: relative;
    padding: 1.5rem 1.7rem; border-radius: 20px;
    background: var(--surface); border: 1px solid rgba(138, 93, 12, 0.1);
    box-shadow: 0 20px 50px -32px rgba(120, 70, 20, 0.4);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.chapters li:hover { transform: translateX(6px); box-shadow: 0 24px 50px -28px rgba(120, 70, 20, 0.5); }
.chapters li::before {
    content: counter(chapter, decimal-leading-zero);
    position: absolute; left: -3.4rem; top: 1.4rem;
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.8rem; font-weight: 600;
    background: var(--surface); border: 2px solid var(--gold); color: var(--gold-deep);
    box-shadow: 0 0 0 6px rgba(240, 195, 94, 0.18);
}
.chapters p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.chapters p + p { margin-top: 0.8rem; }
.chapters strong { color: var(--ink); font-weight: 500; }
.story-sign { display: flex; align-items: center; gap: 0.9rem; margin-top: 2rem; padding-left: 3.4rem; }
.story-sign .signature { color: var(--gold-deep); font-weight: 500; font-size: 1.1rem; }

/* Équipe (À propos) en deux colonnes */
.team-split { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.team-split .team-cards { margin-top: 0; }
.team-split .lead { margin-bottom: 1.6rem; }
.roles { display: grid; gap: 1rem; }
.roles li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; color: var(--ink-2); }
.roles i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--surface); color: var(--gold-deep); box-shadow: 0 10px 24px -16px rgba(120, 70, 20, 0.5); }
.roles strong { display: block; color: var(--ink); font-weight: 500; }
.team-split .team-card:nth-child(2) { transform: translateY(2.5rem); }
.team-split .team-cards { padding-bottom: 2.5rem; }

.three-col { grid-template-columns: repeat(3, 1fr); max-width: none; }

@media (max-width: 860px) {
    .fact { grid-template-columns: 1fr; gap: 0.3rem; padding: 1.2rem 1.4rem; }
    .fact:nth-child(2) { margin-left: 0; }
    .team-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .team-split .team-card:nth-child(2) { transform: none; }
    .team-split .team-cards { padding-bottom: 0; }
    .three-col { grid-template-columns: 1fr; }
}

/* Page de remerciement après envoi du formulaire */
.thanks { min-height: 78vh; display: grid; align-items: center; }
.thanks-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.thanks-inner .page-lead { margin: 0 auto; }
.thanks-icon {
    width: 76px; height: 76px; border-radius: 50%; margin-bottom: 1.8rem;
    display: grid; place-items: center; font-size: 2.1rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
    box-shadow: 0 0 0 10px rgba(240, 195, 94, 0.18), var(--shadow-gold);
}
.thanks-duo {
    display: inline-flex; align-items: center; gap: 0.8rem; margin: 2rem 0 0;
    padding: 0.5rem 1.2rem 0.5rem 0.5rem; border-radius: 999px;
    background: var(--surface); border: 1px solid rgba(138, 93, 12, 0.12);
    box-shadow: 0 18px 40px -26px rgba(120, 70, 20, 0.45);
    text-align: left;
}
.thanks-duo > span:last-child { display: grid; line-height: 1.25; font-size: 0.85rem; color: var(--ink-3); }
.thanks-duo strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.thanks .hero-actions { margin-top: 2.2rem; justify-content: center; }

/* Page 404 */
.notfound-code {
    display: flex; align-items: center; justify-content: center; gap: 0.1em;
    font-size: clamp(6rem, 18vw, 11rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1;
    margin-bottom: 1.2rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48 60%, #b9842a); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound-code span {
    width: 0.82em; height: 0.82em; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--surface); box-shadow: 0 0 0 0.08em rgba(240, 195, 94, 0.25), var(--shadow-gold);
    animation: floatY 5s ease-in-out infinite;
}
.notfound-code img { width: 52%; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2.4rem; }
.notfound-links a {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem; border-radius: 999px; font-size: 0.92rem; color: var(--ink-2);
    background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(138, 93, 12, 0.12);
    transition: background 0.2s ease, color 0.2s ease, transform 0.4s var(--ease);
}
.notfound-links a:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.notfound-links i {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold-light); color: var(--gold-deep);
}

/* ---------- Accueil : harmonisation avec les autres pages ---------- */
/* Carte "Présence numérique" : maquette de site sur fond nuit */
.tile-hero-mock {
    background:
        radial-gradient(70% 60% at 85% 10%, rgba(240, 195, 94, 0.28), transparent 60%),
        var(--ink);
}
.tile-hero-mock::before { background: linear-gradient(180deg, rgba(21, 25, 37, 0) 35%, rgba(21, 25, 37, 0.92) 70%); }
.hero-mock { position: absolute; top: 2.4rem; left: 2.4rem; right: -3.5rem; z-index: 0; pointer-events: none; }
.hero-mock .showcase-browser {
    transform: perspective(1400px) rotateY(-10deg) rotateX(4deg);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
    transition: transform 0.9s var(--ease);
}
.tile-hero-mock:hover .hero-mock .showcase-browser { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg) translateY(-6px); }

/* Étapes avec icône */
.step-icon {
    width: 46px; height: 46px; border-radius: 14px; margin-bottom: 1rem;
    display: grid; place-items: center; font-size: 1.3rem;
    background: var(--gold-light); color: var(--gold-deep);
}
.step:nth-child(2) .step-icon { background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink); }
.step:nth-child(3) .step-icon { background: var(--ink); color: var(--gold); }
.step:nth-child(4) .step-icon { background: #fff1df; color: var(--gold-deep); border: 1px solid rgba(138, 93, 12, 0.12); }
.steps .step { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.steps .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

/* Solutions complémentaires sous les offres */
.extra { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: center; }
.extra-icon {
    grid-row: span 2; width: 44px; height: 44px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.25rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
}

/* Valeurs avec icône */
.values li { display: inline-flex; align-items: center; gap: 0.5rem; padding-left: 0.55rem; }
.values li i {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem;
    background: var(--gold-light); color: var(--gold-deep);
}

/* Bandeau final : nuit et or au lieu de la photo */
.closing-card {
    min-height: 0;
    background:
        radial-gradient(60% 90% at 100% 100%, rgba(240, 195, 94, 0.35), transparent 60%),
        radial-gradient(40% 60% at 0% 0%, rgba(240, 195, 94, 0.12), transparent 60%),
        var(--ink);
}
.closing-card::before { display: none; }
.closing-card .closing-logo {
    position: absolute; inset: auto -2rem -3rem auto; width: 420px; height: auto; object-fit: contain; z-index: -1;
    opacity: 0.12; transform: rotate(-10deg); pointer-events: none;
}
.closing-body { padding: 4.5rem 4rem; }
.closing-faces { margin-bottom: 1.6rem; }
.closing-card .closing-faces img { position: static; inset: auto; z-index: auto; border-color: var(--ink); width: 54px; height: 54px; }
@media (max-width: 860px) {
    .hero-mock { left: 1.5rem; right: -2rem; top: 1.5rem; }
    .tile-hero-mock { min-height: 520px; }
    .closing-body { padding: 2.6rem 1.6rem; }
    .closing-card .closing-logo { width: 260px; }
}

/* ---------- Accueil : hero plus compact et plus parlant ---------- */
.hero { min-height: 0; padding: 8.5rem 0 4rem; }
.hero-stage { max-width: 560px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.hero-trust li {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.95rem 0.4rem 0.45rem; border-radius: 999px;
    font-size: 0.88rem; font-weight: 500; color: var(--ink-2);
    background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(138, 93, 12, 0.12);
}
.hero-trust i {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.9rem;
    background: var(--gold-light); color: var(--gold-deep);
}
/* pastilles autour du logo 3D (ne bloquent pas la rotation à la souris) */
.hero-badge {
    position: absolute; z-index: 2; pointer-events: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.55rem; border-radius: 999px;
    font-size: 0.88rem; font-weight: 500; color: var(--ink); white-space: nowrap;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 93, 12, 0.12);
    box-shadow: 0 18px 40px -20px rgba(120, 70, 20, 0.5);
}
.hero-badge > i {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem;
    background: var(--gold-light); color: var(--gold-deep);
}
.hero-badge.hero-in { animation: heroIn 1s var(--ease) forwards, floatY 7s ease-in-out 1.5s infinite; animation-delay: calc(0.15s + var(--d, 0) * 0.12s), calc(1.5s + var(--d, 0) * 0.4s); }
.badge-quote { top: 8%; left: 2%; }
.badge-place { top: 46%; right: -4%; }
.badge-duo { bottom: 5%; left: 4%; padding: 0.45rem 1.1rem 0.45rem 0.45rem; }
.badge-duo > span:last-child { display: grid; line-height: 1.2; font-size: 0.78rem; font-weight: 400; color: var(--ink-3); }
.badge-duo strong { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.badge-duo .quote-faces img { width: 38px; height: 38px; }
@media (max-width: 860px) {
    .hero { padding: 6.5rem 0 3rem; }
    .hero-trust { margin-top: 1.5rem; }
    .hero-badge { font-size: 0.78rem; padding: 0.35rem 0.8rem 0.35rem 0.4rem; }
    .hero-badge > i { width: 24px; height: 24px; font-size: 0.8rem; }
    .badge-place { top: auto; bottom: 0; right: 0; }
    .badge-duo { display: none; }
}

/* ---------- Espace client (code d'accès + brief) ---------- */
[hidden] { display: none !important; }
.client-hero { padding-bottom: 6rem; }
.gate { display: grid; place-items: center; min-height: 60vh; }
.gate-card {
    position: relative; width: 100%; max-width: 460px; text-align: center;
    padding: 3rem 2.4rem 2.2rem; border-radius: 28px;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 50px 100px -50px rgba(120, 70, 20, 0.45), 0 0 120px -30px rgba(240, 195, 94, 0.5);
}
.gate-card::after {
    content: ''; position: absolute; left: 2.4rem; right: 2.4rem; top: 0; height: 3px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), #e6a93f);
}
.gate-icon {
    width: 68px; height: 68px; margin: 0 auto 1.4rem; border-radius: 20px;
    display: grid; place-items: center; font-size: 1.9rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
    box-shadow: 0 0 0 8px rgba(240, 195, 94, 0.15), var(--shadow-gold);
}
.gate-card h1 { font-size: 2.2rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.8rem; }
.gate-card h1 strong { font-weight: 600; }
.gate-card > p { color: var(--ink-2); margin-bottom: 1.8rem; }
.code-boxes { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.code-boxes input {
    width: 58px; height: 66px; text-align: center;
    font: 600 1.6rem/1 var(--font); color: var(--ink);
    border-radius: 16px; background: #fbfaf7; border: 1.5px solid rgba(21, 25, 37, 0.14);
    outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.code-boxes input:focus { background: #fff; border-color: #d9a43f; box-shadow: 0 0 0 4px rgba(240, 195, 94, 0.28); }
.code-boxes input:disabled { opacity: 0.5; }
.gate-error { min-height: 1.4em; margin-bottom: 1rem; font-size: 0.9rem; color: #b4412c; }
.gate-form.is-wrong .code-boxes { animation: shake 0.45s ease; }
.gate-form.is-wrong .code-boxes input { border-color: #b4412c; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.gate-help { margin-top: 1.4rem; font-size: 0.9rem; color: var(--ink-3); }
.gate-help a { color: var(--gold-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

.wrap.brief { max-width: calc(900px + 4rem); }
.brief-head { max-width: 760px; margin-bottom: 2.5rem; }
.brief-form { display: grid; gap: 1.2rem; max-width: 900px; }
.brief-step {
    border: 1px solid var(--line); border-radius: 24px; padding: 2rem 2.2rem 1.4rem;
    background: var(--surface); box-shadow: 0 20px 50px -34px rgba(120, 70, 20, 0.4);
    min-width: 0;
}
.brief-step legend {
    display: flex; align-items: center; gap: 0.8rem; float: left; width: 100%; margin-bottom: 1.5rem;
    font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em;
}
.brief-step > :not(legend) { clear: both; }
.brief-num {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    font-size: 0.85rem; font-weight: 600; background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
}
.brief-step .form-grid { margin-bottom: 1.2rem; }
.brief-label { font-size: 0.92rem; font-weight: 500; margin: 0.4rem 0 0.7rem; }
.brief-step textarea { min-height: 110px; }
/* cartes à choix unique (type de site, ambiance) */
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1.4rem; }
.mood-cards { grid-template-columns: repeat(4, 1fr); }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-card > span {
    display: grid; gap: 0.15rem; height: 100%;
    padding: 1rem 1.1rem; border-radius: 16px; font-size: 0.85rem; color: var(--ink-3);
    background: #fbfaf7; border: 1.5px solid rgba(21, 25, 37, 0.1);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.choice-card > span > i { font-size: 1.4rem; color: var(--gold-deep); margin-bottom: 0.4rem; }
.choice-card strong { font-size: 0.98rem; font-weight: 500; color: var(--ink); }
.choice-card:hover > span { border-color: rgba(240, 195, 94, 0.7); }
.choice-card input:checked + span { background: #fff8e8; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 195, 94, 0.25); }
.choice-card input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.mood { display: block; height: 42px; border-radius: 10px; margin-bottom: 0.5rem; }
.mood-modern { background: linear-gradient(90deg, #ffffff 0 40%, #e9ecf1 40% 70%, #151925 70%); border: 1px solid var(--line); }
.mood-warm { background: linear-gradient(90deg, #f4e3c8 0 40%, #c98b4b 40% 70%, #6b4226 70%); }
.mood-lux { background: linear-gradient(90deg, #151925 0 45%, #2b2f3a 45% 70%, #d4af6a 70%); }
.mood-pop { background: linear-gradient(90deg, #ff6b6b 0 33%, #ffd93d 33% 66%, #4d96ff 66%); }
/* pastilles à cocher */
.chips-select { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.3rem; }
.chips-select label { position: relative; cursor: pointer; }
.chips-select input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-select span {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.9rem; color: var(--ink-2);
    background: #fbfaf7; border: 1.5px solid rgba(21, 25, 37, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chips-select label:hover span { border-color: rgba(240, 195, 94, 0.7); }
.chips-select input:checked + span { background: var(--gold-light); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.chips-select input:checked + span::before { content: '✓'; font-weight: 700; color: var(--gold-deep); }
.chips-select input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
/* couleurs */
.color-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.2rem; }
.color-pick {
    display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer;
    padding: 0.4rem 1rem 0.4rem 0.4rem; border-radius: 999px; font-size: 0.9rem;
    background: #fbfaf7; border: 1.5px solid rgba(21, 25, 37, 0.1);
}
.color-pick input { width: 34px; height: 34px; padding: 0; border: none; border-radius: 50%; background: none; cursor: pointer; }
.color-pick input::-webkit-color-swatch-wrapper { padding: 0; }
.color-pick input::-webkit-color-swatch { border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.color-pick input::-moz-color-swatch { border: 2px solid #fff; border-radius: 50%; }
.brief-tip {
    display: flex; align-items: center; gap: 0.6rem; margin: 0.2rem 0 0.8rem;
    padding: 0.8rem 1rem; border-radius: 14px; font-size: 0.9rem; color: var(--ink-2);
    background: #fff8e8; border: 1px dashed rgba(138, 93, 12, 0.3);
}
.brief-tip i { font-size: 1.2rem; color: var(--gold-deep); }
.brief-tip a { color: var(--gold-deep); font-weight: 500; }
.brief-submit { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.6rem; }
.brief-submit .form-note { margin: 0; }
@media (max-width: 860px) {
    .gate-card { padding: 2.4rem 1.4rem 1.8rem; }
    .code-boxes input { width: 54px; height: 62px; }
    .brief-step { padding: 1.5rem 1.2rem 1rem; }
    .choice-cards, .mood-cards { grid-template-columns: 1fr 1fr; }
    .brief-submit .btn { width: 100%; }
}
/* accès espace client sous le formulaire de contact */
.client-link {
    display: flex; align-items: center; gap: 0.9rem; margin-top: 1.6rem; padding: 1rem 1.2rem;
    border-radius: 18px; background: var(--ink); color: #fff;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.client-link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(21, 25, 37, 0.6); }
.client-link-icon {
    flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.08); color: var(--gold); border: 1px solid rgba(255, 255, 255, 0.12);
}
.client-link-text { flex: 1; display: grid; line-height: 1.3; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.client-link-text strong { font-size: 1rem; font-weight: 600; color: #fff; }
.client-link-arrow { font-size: 1.2rem; color: var(--gold); transition: transform 0.3s var(--ease); }
.client-link:hover .client-link-arrow { transform: translateX(4px); }
/* brief client : lettre d'intro, indications, fichiers */
.brief-intro {
    display: flex; gap: 1.2rem; align-items: flex-start; max-width: 900px; margin-bottom: 1.6rem;
    padding: 1.6rem 1.8rem; border-radius: 24px;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(251, 227, 163, 0.55), transparent 60%),
        var(--surface);
    border: 1px solid rgba(138, 93, 12, 0.12);
}
.brief-intro .quote-faces { flex: none; }
.brief-intro p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 0.6rem; }
.brief-intro p:last-child { margin-bottom: 0; }
.brief-sign { color: var(--gold-deep) !important; font-weight: 500; }
.field-hint { font-size: 0.85rem; color: var(--ink-3); margin-top: -0.2rem; line-height: 1.45; }
.brief-label + .field-hint { margin: -0.5rem 0 0.7rem; }
.optional {
    display: inline-block; margin-left: 0.35rem; padding: 0.1rem 0.5rem; border-radius: 999px; vertical-align: 0.1em;
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-3); background: rgba(21, 25, 37, 0.06);
}
.step-intro { color: var(--ink-2); margin-bottom: 1.2rem; }
.files-card {
    display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem;
    padding: 1.3rem 1.4rem; border-radius: 18px; background: #fff8e8; border: 1px dashed rgba(138, 93, 12, 0.3);
}
.files-icon {
    flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
}
.files-title { font-weight: 500; margin-bottom: 0.4rem; }
.files-list { display: grid; gap: 0.3rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--ink-2); }
.files-btn { padding: 0.7rem 1.1rem; font-size: 0.92rem; }
.brief-tip > span { display: block; }
@media (max-width: 860px) {
    .brief-intro { flex-direction: column; padding: 1.3rem 1.2rem; }
    .files-card { flex-direction: column; }
    .files-btn { width: 100%; }
}
.files-how { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; }
.files-options { display: grid; gap: 0.5rem; margin-bottom: 1.1rem; }
.files-options li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.files-options a { color: var(--gold-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.files-step {
    flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    font-size: 0.75rem; font-weight: 600; background: var(--ink); color: var(--gold);
}

/* ---------- Brief client : mise en page engageante ---------- */
.wrap.brief { max-width: 1240px; }
.brief-head, .brief-intro { margin-left: calc(250px + 2.5rem); max-width: 860px; }
.brief-layout { display: grid; grid-template-columns: 250px minmax(0, 860px); gap: 2.5rem; align-items: start; }
.brief-form { max-width: none; }
/* sommaire latéral */
.brief-nav {
    position: sticky; top: 7rem;
    padding: 1.3rem 0.9rem 1rem; border-radius: 22px;
    background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px);
    border: 1px solid rgba(138, 93, 12, 0.1); box-shadow: 0 20px 50px -32px rgba(120, 70, 20, 0.45);
}
.bn-title { padding: 0 0.6rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.bn-progress { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.6rem 0.9rem; }
.bn-bar, .bp-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(21, 25, 37, 0.08); overflow: hidden; }
.bn-bar span, .bp-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold-light), var(--gold), #e6a93f); transition: width 0.6s var(--ease); }
.bn-pct, .bp-text { font-size: 0.8rem; font-weight: 600; color: var(--ink); min-width: 2.6em; text-align: right; }
.bn-list { display: grid; gap: 0.1rem; }
.bn-list a {
    display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.6rem; border-radius: 12px;
    font-size: 0.84rem; line-height: 1.25; color: var(--ink-3);
    transition: background 0.2s ease, color 0.2s ease;
}
.bn-list a:hover { background: #fbf5ea; color: var(--ink); }
.bn-num {
    flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    font-size: 0.7rem; font-weight: 600; background: #fbf5ea; color: var(--gold-deep); border: 1px solid rgba(138, 93, 12, 0.12);
    transition: background 0.3s ease, color 0.3s ease;
}
.bn-list a.is-current { background: var(--gold-light); color: var(--ink); font-weight: 500; }
.bn-list a.is-done .bn-num { font-size: 0; background: linear-gradient(140deg, #fde7aa, #e8aa48); border-color: transparent; }
.bn-list a.is-done .bn-num::before { content: '✓'; font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.brief-progress-mobile { display: none; }
/* cartes des parties */
.brief-step {
    position: relative; overflow: hidden; scroll-margin-top: 7rem;
    transition: border-color 0.4s ease, box-shadow 0.5s var(--ease);
}
.brief-step.is-current { border-color: rgba(240, 195, 94, 0.7); box-shadow: 0 30px 70px -36px rgba(190, 130, 30, 0.55); }
.step-mark {
    position: absolute; right: -1.5rem; top: -1.8rem; font-size: 10rem; line-height: 1; pointer-events: none;
    color: var(--gold); opacity: 0.07; transform: rotate(-12deg); transition: opacity 0.4s ease, transform 0.8s var(--ease);
}
.brief-step.is-current .step-mark { opacity: 0.13; transform: rotate(-6deg); }
.brief-step legend { position: relative; z-index: 1; font-size: 1.45rem; gap: 0.9rem; }
.brief-step > *:not(legend):not(.step-mark) { position: relative; z-index: 1; }
.brief-num { position: relative; width: 48px; height: 48px; border-radius: 15px; font-size: 1.35rem; box-shadow: 0 12px 26px -14px rgba(190, 130, 30, 0.7); transition: background 0.3s ease; }
.brief-num-txt {
    position: absolute; right: -7px; bottom: -7px; width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center; font-size: 0.66rem; font-weight: 700;
    background: var(--ink); color: var(--gold); border: 2px solid var(--surface);
}
.brief-step.is-done .brief-num-txt { font-size: 0; background: #2f8a5b; color: #fff; }
.brief-step.is-done .brief-num-txt::before { content: '✓'; font-size: 0.75rem; }
/* bloc d'envoi final */
.brief-submit {
    flex-direction: column; align-items: center; text-align: center; gap: 1rem;
    margin-top: 0.8rem; padding: 2.4rem 2rem; border-radius: 24px; color: #fff;
    background:
        radial-gradient(60% 120% at 100% 100%, rgba(240, 195, 94, 0.35), transparent 60%),
        radial-gradient(40% 80% at 0% 0%, rgba(240, 195, 94, 0.12), transparent 60%),
        var(--ink);
    box-shadow: 0 40px 80px -40px rgba(21, 25, 37, 0.6);
}
.brief-submit .quote-faces img { width: 52px; height: 52px; border-color: var(--ink); }
.brief-submit .form-note { color: rgba(255, 255, 255, 0.65); text-align: center; }
.brief-submit .form-note a { color: var(--gold-light); }
@media (max-width: 1100px) {
    .brief-layout { grid-template-columns: 1fr; }
    .brief-head, .brief-intro { margin-left: 0; }
    .brief-nav { display: none; }
    .brief-progress-mobile {
        display: flex; align-items: center; gap: 0.8rem; position: sticky; top: 5.6rem; z-index: 5;
        padding: 0.7rem 1rem; border-radius: 999px;
        background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
        border: 1px solid rgba(138, 93, 12, 0.12); box-shadow: 0 14px 30px -20px rgba(120, 70, 20, 0.5);
    }
}
@media (max-width: 860px) {
    .brief-step legend { font-size: 1.2rem; }
    .step-mark { font-size: 7rem; }
    .brief-submit { padding: 2rem 1.3rem; }
}

/* ---------- Brief client : plus de couleur ---------- */
.client-hero {
    background:
        radial-gradient(50% 40% at 90% 10%, rgba(240, 195, 94, 0.28), transparent 70%),
        radial-gradient(45% 35% at 0% 60%, rgba(255, 211, 161, 0.35), transparent 70%),
        linear-gradient(180deg, #f3e6cc 0%, #f6efe2 30%, #f1e2c6 100%);
}
.client-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(138, 93, 12, 0.1) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
/* lettre d'introduction sur fond doré */
.brief-intro {
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
        linear-gradient(140deg, #fde7aa 0%, #f3c763 60%, #e8aa48 100%);
    border-color: transparent; box-shadow: var(--shadow-gold);
}
.brief-intro p { color: #4a3510; }
.brief-intro .brief-sign { color: var(--ink) !important; font-weight: 600; }
.brief-intro .quote-faces img { border-color: #fbe3a3; }
/* sommaire en bleu nuit et or */
.brief-nav { background: var(--ink); border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(21, 25, 37, 0.6); }
.bn-title { color: var(--gold); }
.bn-pct { color: #fff; }
.bn-bar { background: rgba(255, 255, 255, 0.12); }
.bn-list a { color: rgba(255, 255, 255, 0.62); }
.bn-list a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.bn-num { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: var(--gold-light); }
.bn-list a.is-current { background: rgba(240, 195, 94, 0.16); color: #fff; }
.bn-list a.is-current .bn-num { border-color: var(--gold); color: var(--gold); }
/* cartes crème avec un bandeau de couleur en tête */
.brief-step { background: #fffdf8; padding: 0 2.2rem 1.4rem; border-color: rgba(138, 93, 12, 0.12); }
.brief-step legend {
    width: calc(100% + 4.4rem); margin: 0 -2.2rem 1.6rem; padding: 1.1rem 2.2rem;
    border-bottom: 1px solid rgba(138, 93, 12, 0.1);
}
.brief-step:nth-of-type(3n+1) legend { background: linear-gradient(120deg, #fde7aa 0%, #f6d27f 100%); }
.brief-step:nth-of-type(3n+2) legend { background: linear-gradient(120deg, #fff1df 0%, #ffd9ad 100%); }
.brief-step:nth-of-type(3n) legend { background: linear-gradient(120deg, #1c2130 0%, var(--ink) 100%); color: #fff; border-bottom-color: transparent; }
.brief-step:nth-of-type(3n+1) .brief-num { background: #fff; }
.brief-step:nth-of-type(3n) .brief-num-txt { border-color: var(--ink); }
.brief-step .step-mark { top: 4.2rem; }
.brief-step:nth-of-type(3n) .step-mark { color: var(--gold-deep); }
/* champs blancs qui ressortent sur la crème */
.brief-step .field input, .brief-step .field textarea { background: #fff; border-color: rgba(138, 93, 12, 0.18); }
.brief-step .chips-select span, .brief-step .choice-card > span { background: #fff; border-color: rgba(138, 93, 12, 0.16); }
@media (max-width: 860px) {
    .brief-step { padding: 0 1.2rem 1rem; }
    .brief-step legend { width: calc(100% + 2.4rem); margin: 0 -1.2rem 1.3rem; padding: 0.9rem 1.2rem; }
}
/* rappel des fichiers sur la page de remerciement du brief */
.thanks-reminder {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem; max-width: 36rem; text-align: left;
    padding: 0.8rem 1.1rem; border-radius: 16px; font-size: 0.92rem; color: var(--ink-2);
    background: #fff8e8; border: 1px dashed rgba(138, 93, 12, 0.3);
}
.thanks-reminder i { flex: none; font-size: 1.3rem; color: var(--gold-deep); }
.thanks-reminder a { color: var(--gold-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
/* bloc d'envoi final : clairement la dernière étape */
.brief-submit { position: relative; gap: 0.6rem; padding: 2.8rem 2rem 2.2rem; border: 2px solid rgba(240, 195, 94, 0.35); }
.bs-badge {
    width: 64px; height: 64px; border-radius: 20px; margin-bottom: 0.4rem;
    display: grid; place-items: center; font-size: 1.8rem;
    background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink);
    box-shadow: 0 0 0 8px rgba(240, 195, 94, 0.15), var(--shadow-gold);
}
.bs-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.bs-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin-bottom: 0.6rem; }
.bs-status { width: 100%; max-width: 520px; margin-bottom: 0.6rem; }
.bs-missing-title, .bs-ready { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.95rem; }
.bs-missing-title { color: var(--gold-light); margin-bottom: 0.7rem; }
.bs-missing-title i { font-size: 1.2rem; }
.bs-missing { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
.bs-missing a {
    display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.85rem; color: #fff;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.bs-missing a:hover { background: rgba(240, 195, 94, 0.2); border-color: var(--gold); }
.bs-ready { padding: 0.75rem 1rem; border-radius: 14px; color: #fff; background: rgba(47, 138, 91, 0.25); border: 1px solid rgba(80, 190, 130, 0.45); }
.bs-ready i { font-size: 1.3rem; color: #6fdc9f; }
.bs-button { width: 100%; max-width: 420px; justify-content: center; padding: 1.2rem 1.8rem; font-size: 1.12rem; opacity: 0.85; }
.brief-submit.is-ready { border-color: var(--gold); }
.brief-submit.is-ready .bs-button { opacity: 1; animation: readyPulse 2.4s ease-in-out infinite; }
@keyframes readyPulse { 50% { box-shadow: 0 0 0 10px rgba(240, 195, 94, 0.18), 0 24px 60px -18px rgba(190, 130, 30, 0.6); } }
.bs-team { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.6rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.bs-team .quote-faces img { width: 34px; height: 34px; }
.brief-submit .form-note { margin-top: 0.2rem; }
/* copie du brief à télécharger */
.brief-copy {
    display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 1.6rem; text-align: left;
    padding: 0.9rem 1.4rem 0.9rem 0.9rem; border-radius: 18px; color: #fff; background: var(--ink);
    box-shadow: 0 20px 40px -20px rgba(21, 25, 37, 0.6); transition: transform 0.4s var(--ease);
}
.brief-copy:hover { transform: translateY(-2px); }
.brief-copy-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(140deg, #fde7aa, #e8aa48); color: var(--ink); }
.brief-copy > span:last-child { display: grid; line-height: 1.3; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.brief-copy strong { font-size: 1rem; font-weight: 600; color: #fff; }

/* ---------- Vidéo de présentation (accueil) ---------- */
.video-section { padding-top: 5rem; padding-bottom: 2rem; }
.video-accent { font-weight: 600; background: linear-gradient(transparent 62%, var(--gold-light) 62%); }
.video-frame {
    position: relative; margin-top: 2.5rem; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9;
    background: var(--ink); box-shadow: 0 60px 120px -50px rgba(70, 45, 10, 0.55), 0 0 0 1px rgba(138, 93, 12, 0.12);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 1rem;
    padding: 2.4rem 2.8rem; border: 0; cursor: pointer; font: inherit; color: #fff;
    background: linear-gradient(0deg, rgba(21, 25, 37, 0.55), transparent 45%);
    transition: background 0.3s ease;
}
.video-play:hover { background: linear-gradient(0deg, rgba(21, 25, 37, 0.65), transparent 50%); }
.video-play-icon {
    width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; color: var(--ink);
    background: linear-gradient(140deg, #fde7aa, #e8aa48); box-shadow: 0 0 0 12px rgba(240, 195, 94, 0.22), 0 24px 50px -16px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--ease);
}
.video-play:hover .video-play-icon { transform: scale(1.08); }
.video-play-text { display: grid; text-align: left; font-size: 1.3rem; font-weight: 600; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.video-play-text small { font-size: 0.9rem; font-weight: 400; opacity: 0.85; }
.video-frame.is-playing .video-play { display: none; }
@media (max-width: 860px) {
    .video-frame { border-radius: 18px; margin-top: 1.6rem; }
    .video-play { padding: 0.9rem; }
    .video-play-icon { width: 52px; height: 52px; font-size: 1.4rem; box-shadow: 0 0 0 7px rgba(240, 195, 94, 0.22), 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
    .video-play-text { display: none; }
}
