/* ============================================================
   Save Time — Landing theme (charte 2026 : toile claire, encre, citron, violet)
   Vanilla CSS. Tokens alignés sur Charte-reseaux/GUIDE-RESEAUX.md.
   ============================================================ */

/* ---- Fonts (self-hosted, variables) ---- */
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/Unbounded.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink: #121410;
  --citron: #c8f03c;
  --violet: #6d5bd0;
  --lavande: #c4b5fd;
  --toile: #f3f4ef;
  --toile-2: #eaece3;
  --white: #ffffff;
  --red: #c0392b;

  --bg-0: var(--toile-2);
  --bg-1: var(--toile);
  --surface: #ffffff;
  --line: rgba(18, 20, 16, 0.12);
  --line-soft: rgba(18, 20, 16, 0.07);
  --heading: var(--ink);
  --txt-soft: rgba(18, 20, 16, 0.68);
  --txt-muted: rgba(18, 20, 16, 0.5);
  --shadow: 0 18px 44px -26px rgba(18, 20, 16, 0.38);
  --shadow-lg: 0 34px 80px -34px rgba(18, 20, 16, 0.5);
  --grid: linear-gradient(rgba(18,20,16,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18,20,16,.045) 1px, transparent 1px);

  --logo-dot: var(--violet);
  --logo-ring: var(--citron);
  --tick: var(--violet);

  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1180px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--txt-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--citron); color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---- Helpers ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 820px; }
.section { padding: 6.5rem 0; position: relative; overflow: hidden; }
.bg-0 { background: var(--bg-0); }
.bg-1 { background-color: var(--bg-1); background-image: var(--grid); background-size: 36px 36px; }
.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;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: .6rem; }

.eyebrow {
  font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .12em;
  font-size: .74rem; font-weight: 800; color: var(--txt-muted); margin: 0;
  display: inline-flex; align-items: center; gap: .65em;
}
.eyebrow::before {
  content: ''; width: .8em; height: .8em; border-radius: 50%; flex-shrink: 0;
  background: var(--citron); box-shadow: inset 0 0 0 .15em var(--ink);
}
.title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--txt-soft); }
.rule-accent::after {
  content: ''; display: block; width: 3rem; height: 5px; margin-top: 1.1rem; border-radius: 999px;
  background: var(--citron); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.rule-accent + .lead { margin-top: 1.25rem; }
.rule-accent--center { text-align: center; }
.rule-accent--center::after { margin-left: auto; margin-right: auto; }
.text-accent { color: var(--violet); }

/* ---- Logo (SVG inline, voir savetime_logo()) ---- */
.logo { display: inline-flex; align-items: center; color: var(--ink); line-height: 0; }
.logo svg { height: 2rem; width: auto; display: block; }
.logo--lg svg { height: 2.75rem; }

/* ---- Cartes ---- */
.glass { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.glass-hover { transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.glass-hover:hover { transform: translateY(-4px); border-color: rgba(18,20,16,.28); box-shadow: var(--shadow-lg); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 9999px; padding: .95rem 1.7rem; font-weight: 800; font-size: .95rem; letter-spacing: .005em; transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease; cursor: pointer; border: 0; }
.btn--primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 28px -14px rgba(18,20,16,.7); }
.btn--primary::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--citron); flex-shrink: 0; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(18,20,16,.75); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--sm { padding: .65rem 1.2rem; font-size: .88rem; }

/* ---- Header ---- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, border-color .3s ease; padding: .6rem 0; background: transparent; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(243,244,239,.88); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav { display: none; gap: 2rem; }
.nav a { font-size: .92rem; font-weight: 700; color: var(--txt-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header__actions { display: none; align-items: center; gap: 1.25rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .25rem; font-size: .85rem; font-weight: 800; }
.lang-switch a, .lang-switch span.sep { color: var(--txt-muted); text-transform: uppercase; }
.lang-switch a:hover { color: var(--violet); }
.lang-switch a.is-active { color: var(--ink); }
.burger { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.burger span { display: block; position: relative; width: 1.5rem; height: 1rem; }
.burger span i { position: absolute; left: 0; height: 2px; width: 1.5rem; background: var(--ink); border-radius: 2px; transition: all .3s; }
.burger span i:nth-child(1) { top: 0; }
.burger span i:nth-child(2) { top: .45rem; }
.burger span i:nth-child(3) { top: .9rem; }
.site-header.is-open .burger i:nth-child(1) { top: .45rem; transform: rotate(45deg); }
.site-header.is-open .burger i:nth-child(2) { opacity: 0; }
.site-header.is-open .burger i:nth-child(3) { top: .45rem; transform: rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); }
.site-header.is-open .mobile-menu { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 0; }
.mobile-menu nav a { padding: .65rem .5rem; color: var(--ink); border-radius: 8px; font-weight: 700; }
.mobile-menu nav a:hover { background: rgba(18,20,16,.05); }

/* ---- Hero ---- */
.hero { position: relative; display: flex; align-items: center; min-height: 92vh; overflow: hidden; background-color: var(--toile); background-image: var(--grid); background-size: 44px 44px; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding-top: 7rem; padding-bottom: 5rem; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; margin-top: 1.25rem; }
.hero__subtitle { margin-top: 1.5rem; max-width: 36rem; }
.hero__cta { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; }
.hero__stats { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.hero__stats li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 700; color: var(--txt-soft); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--citron); box-shadow: inset 0 0 0 2px var(--ink); display: inline-block; flex-shrink: 0; }
.hero__visual { position: relative; display: none; }
.hero__card { position: relative; aspect-ratio: 4/5; border-radius: 1.75rem; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Carte de marque (sans photo) : symbole Save·Time sur encre, halo citron */
.hero__card--marque { background: radial-gradient(75% 60% at 50% 42%, rgba(200,240,60,.18), transparent 70%), var(--ink); border-color: var(--ink); }
.hero__card--marque .hero__symbole { position: absolute; left: 19%; top: 14%; width: 62%; height: auto; overflow: visible; }
.hero__card-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,20,16,.9) 4%, rgba(18,20,16,.12) 42%, transparent 70%); }
.hero__caption { position: absolute; inset: auto 0 0 0; padding: 1.5rem; color: var(--white); }
.hero__caption .name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: var(--white); }
.hero__caption .role { margin-top: .3rem; font-size: .9rem; }
.hero__caption .text-accent { color: var(--citron); }
.hero__role-txt { color: rgba(255,255,255,.75); }
.hero__badge { position: absolute; right: -1rem; top: 2rem; border-radius: 1.1rem; padding: .8rem 1.1rem; text-align: center; background: var(--citron); border: 1.5px solid var(--ink); }
.hero__badge .num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
.hero__badge .num.text-accent { color: var(--ink); }
.hero__badge .sub { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(18,20,16,.7); }
.scroll-hint { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: none; z-index: 2; }
.scroll-hint .mouse { width: 1.5rem; height: 2.25rem; border: 1.5px solid rgba(18,20,16,.3); border-radius: 9999px; display: flex; justify-content: center; }
.scroll-hint .mouse i { width: 3px; height: .5rem; margin-top: .4rem; background: var(--violet); border-radius: 9999px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity:1 } 50% { transform: translateY(6px); opacity:.4 } }

/* ---- Halos ---- */
.halo { position: absolute; border-radius: 9999px; filter: blur(110px); pointer-events: none; z-index: 0; }
.halo--lavande { background: var(--lavande); opacity: .6; }
.halo--citron { background: var(--citron); opacity: .42; }
.halo--a { width: 560px; height: 560px; top: -14%; right: -8%; animation: floatHalo 11s ease-in-out infinite; }
.halo--b { width: 480px; height: 480px; bottom: -18%; left: -10%; animation: floatHalo2 13s ease-in-out infinite; }
@keyframes floatHalo { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(30px,-20px) scale(1.08) } }
@keyframes floatHalo2 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(-25px,25px) scale(1.12) } }

/* ---- Marquee ---- */
/* Bande encre : les logos clients sont blancs. */
.band { background: var(--ink); padding: 2.5rem 0; }
.band__label { text-align: center; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--citron); margin-bottom: 1.5rem; }
.marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; width: max-content; align-items: center; gap: 4rem; animation: marquee 32s linear infinite; }
.marquee--gallery { gap: 1.25rem; animation-duration: 46s; }
.marquee__logo { display: flex; height: 8rem; width: 20rem; align-items: center; justify-content: center; opacity: .75; transition: opacity .3s; }
.marquee__logo:hover { opacity: 1; }
.marquee__logo img { max-height: 7rem; width: auto; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---- Section heading ---- */
.sec-head { max-width: 44rem; position: relative; }
.sec-head .title { margin-top: .9rem; }
.sec-head .lead { margin-top: 1.5rem; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Services ---- */
.filters { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { border-radius: 9999px; padding: .55rem 1.05rem; font-size: .86rem; font-weight: 800; color: var(--txt-soft); background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: all .25s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cards { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { border-radius: 1.25rem; padding: 1.5rem; display: flex; flex-direction: column; }
.card__icon { width: 3rem; height: 3rem; border-radius: .9rem; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--citron); margin-bottom: 1.25rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; }
.card__line { display: inline-block; width: 2rem; height: 4px; border-radius: 999px; background: var(--citron); box-shadow: inset 0 0 0 1px var(--ink); margin: .6rem 0 0; }
.card ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .375rem; font-size: .875rem; color: var(--txt-soft); }
.card ul li { display: flex; gap: .5rem; }
.card ul li span.b { color: var(--violet); font-weight: 800; }
.synergy { margin-top: 3rem; text-align: center; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.is-hidden { display: none !important; }

/* ---- Method ---- */
.steps { position: relative; margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.steps__line { display: none; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 2.75rem; letter-spacing: -.03em; }
.step h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.step p { margin-top: .5rem; font-size: .9rem; color: var(--txt-soft); }

/* ---- Pricing ---- */
.plans { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
.plan { position: relative; border-radius: 1.75rem; padding: 1.85rem; display: flex; flex-direction: column; height: 100%; }
.plan--featured { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); color: rgba(255,255,255,.78); --tick: var(--citron); }
.plan--featured h3, .plan--featured .plan__price .amount { color: var(--white); }
.plan--featured .plan__tagline, .plan--featured .plan__features { color: rgba(255,255,255,.75); }
.plan--featured .plan__price .from, .plan--featured .plan__price .per { color: rgba(255,255,255,.55); }
.plan--featured .plan__inc { color: var(--citron); }
.plan--featured .text-accent { color: var(--citron); }
.plan--featured .btn--primary { background: var(--citron); color: var(--ink); }
.plan--featured .btn--primary::before { background: var(--ink); }
.plan__tag { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--citron); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 9999px; padding: .25rem .8rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.plan h3 { font-size: 1.4rem; }
.plan__tagline { margin-top: .5rem; min-height: 2.75rem; font-size: .9rem; color: var(--txt-soft); }
.plan__price { margin-top: 1.25rem; display: flex; align-items: flex-end; gap: .25rem; flex-wrap: wrap; }
.plan__price .from { font-size: .75rem; color: var(--txt-muted); }
.plan__price .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan__price .per { padding-bottom: .25rem; font-size: .875rem; color: var(--txt-muted); }
.plan__price .tbd { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.plan__inc { margin-top: 1.25rem; font-size: .875rem; font-weight: 800; color: var(--violet); }
.plan__features { margin-top: 1rem; flex: 1; display: flex; flex-direction: column; gap: .625rem; font-size: .9rem; color: var(--txt-soft); }
.plan__features li { display: flex; gap: .625rem; }
.plan__features svg { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; color: var(--tick); }
.plan .btn { margin-top: 1.75rem; }
.plan__note { margin: 2rem auto 0; max-width: 42rem; text-align: center; font-size: .78rem; color: var(--txt-muted); }

/* ---- Work ---- */
.work-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.case { border-radius: 1.75rem; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.case__cover { position: relative; height: 13rem; overflow: hidden; }
.case__cover img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.case:hover .case__cover img.bg { transform: scale(1.05); }
.case__cover-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,20,16,.8), rgba(18,20,16,.1) 55%, rgba(18,20,16,.3)); }
.case__logo { position: absolute; left: 1rem; top: 1rem; height: 2.25rem; }
.case__logo img { height: 100%; width: auto; object-fit: contain; }
.case__sector { position: absolute; right: 1rem; top: 1rem; background: var(--ink); color: var(--citron); border-radius: 9999px; padding: .28rem .8rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.case__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.case__body h3 { font-size: 1.3rem; }
.case__body p { margin-top: .75rem; font-size: .9rem; color: var(--txt-soft); }

/* ---- Gallery ---- */
.gallery-head { margin-top: 5rem; margin-bottom: 1.75rem; max-width: 42rem; }
.gallery-head h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.gallery-head p { margin-top: .5rem; font-size: .9rem; color: var(--txt-soft); }
.gfig { position: relative; aspect-ratio: 4/5; width: 13rem; flex-shrink: 0; overflow: hidden; border-radius: 1.1rem; border: 1px solid var(--line); background: var(--surface); }
.gfig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gfig:hover img { transform: scale(1.05); }
.gfig figcaption { position: absolute; inset: auto 0 0 0; padding: .5rem .75rem; font-size: .75rem; font-weight: 700; color: #fff; background: linear-gradient(0deg, rgba(18,20,16,.8), transparent); opacity: 0; transition: opacity .3s; }
.gfig:hover figcaption { opacity: 1; }

/* ---- Why ---- */
.why-grid { position: relative; margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.why-item { border-radius: 1.25rem; padding: 1.75rem; height: 100%; }
.why-item .n { font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.why-item h3 { margin-top: .75rem; font-size: 1.05rem; }
.why-item p { margin-top: .5rem; font-size: .9rem; color: var(--txt-soft); }

/* ---- FAQ ---- */
.faq { margin-top: 3rem; display: flex; flex-direction: column; gap: .75rem; }
.faq__item { border-radius: 1.1rem; overflow: hidden; box-shadow: none; }
.faq__item.is-open { border-color: rgba(18,20,16,.3); box-shadow: var(--shadow); }
.faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; background: transparent; border: 0; cursor: pointer; }
.faq__q span.q { font-family: var(--font-sans); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.faq__q .plus { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; flex-shrink: 0; border-radius: 9999px; background: var(--ink); color: var(--citron); font-size: 1.15rem; font-weight: 700; transition: transform .3s; }
.faq__item.is-open .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 1.5rem 1.25rem; font-size: 1rem; color: var(--txt-soft); }

/* ---- Contact ---- */
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact__info h3 { font-size: 1rem; margin-top: 2.5rem; }
.contact__info ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; }
.contact__info .lbl { display: block; color: var(--txt-muted); font-weight: 600; }
.contact__info a, .contact__info .val { color: var(--ink); font-weight: 800; }
.contact__info a:hover { color: var(--violet); }
.form { border-radius: 1.75rem; padding: 1.75rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-top: 1rem; }
.field:first-child { margin-top: 0; }
.form .row .field { margin-top: 0; } /* fields side-by-side stay top-aligned */
.form .row + .row, .form .row + .field { margin-top: 1rem; }
.field label { display: block; margin-bottom: .375rem; font-size: .875rem; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border-radius: .85rem; border: 1px solid var(--line); background: var(--toile);
  padding: .75rem 1rem; color: var(--ink); font-family: inherit; font-weight: 600; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(18,20,16,.38); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); background: var(--white); box-shadow: 0 0 0 4px rgba(109,91,208,.15); }
.field select option { color: #111; }
.form .btn { margin-top: 1.5rem; width: 100%; }
.form__hint { margin-top: .75rem; text-align: center; font-size: .75rem; color: var(--txt-muted); }
.form__msg { margin-top: 1rem; border-radius: .85rem; padding: .75rem 1rem; font-size: .875rem; font-weight: 700; }
.form__msg--ok { background: rgba(200,240,60,.35); color: var(--ink); }
.form__msg--err { background: rgba(192,57,43,.12); color: #9b2c20; }

/* ---- Footer (encre : le logo passe en version sombre) ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 3.5rem 0; --logo-dot: var(--citron); --line-soft: rgba(255,255,255,.1); }
.site-footer .logo { color: var(--white); }
.site-footer .lang-switch a, .site-footer .lang-switch span.sep { color: rgba(255,255,255,.45); }
.site-footer .lang-switch a.is-active { color: var(--white); }
.site-footer .lang-switch a:hover { color: var(--citron); }
/* Réseaux sociaux (pastilles rondes sur encre) */
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: var(--white); transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease); }
.social a:hover { background: var(--citron); border-color: var(--citron); color: var(--ink); transform: translateY(-2px); }
.social svg { width: 1.15rem; height: 1.15rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer__brand p { margin-top: 1rem; max-width: 18rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.footer h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--citron); }
.footer ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--white); }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: .75rem; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: var(--citron); }

/* ---- Legal pages ---- */
.legal { background-color: var(--bg-1); }
.legal h1 { font-size: clamp(1.75rem,3.6vw,2.6rem); margin-top: .75rem; }
.legal .intro { margin-top: 1.5rem; }
.legal .updated { margin-top: .75rem; font-size: .875rem; color: var(--txt-muted); }
.legal section { margin-top: 2.25rem; }
.legal section h2 { font-size: 1.25rem; }
.legal section h2 + .rule { display: block; width: 2rem; height: 4px; border-radius: 999px; background: var(--citron); box-shadow: inset 0 0 0 1px var(--ink); margin-top: .6rem; }
.legal section p { margin-top: 1rem; color: var(--txt-soft); }
.legal-header { position: sticky; top: 0; z-index: 50; background: rgba(243,244,239,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.legal-header__back { font-size: .9rem; font-weight: 700; color: var(--txt-soft); }
.legal-header__back:hover { color: var(--ink); }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(150%);
  z-index: 60; width: calc(100% - 2rem); max-width: 720px; border-radius: 1.25rem;
  padding: 1.1rem 1.35rem; display: none; gap: 1.25rem; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); transition: transform .4s var(--ease);
}
.cookie-banner.is-visible { display: flex; transform: translateX(-50%) translateY(0); }
.cookie-banner__text { flex: 1; min-width: 220px; font-size: .86rem; color: var(--txt-soft); }
.cookie-banner__text strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: .95rem; margin-bottom: .25rem; }
.cookie-banner__text a { color: var(--violet); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-shrink: 0; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: row; align-items: center; }
}
@media (min-width: 768px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: block; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .nav, .header__actions { display: flex; }
  .burger { display: none; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps__line { display: block; position: absolute; left: 0; right: 0; top: 1.6rem; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { display: block; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
}
@media (max-width: 420px) {
  .form .row { grid-template-columns: 1fr; }
  .form .row .field + .field { margin-top: 1rem; }
}

/* ============================================================
   Motion design (vanilla) — tout est coupé par prefers-reduced-motion plus bas.
   ============================================================ */

/* Barre de progression de lecture, sous le header */
.scroll-progress { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--citron); box-shadow: 0 0 0 1px rgba(18,20,16,.08); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }

/* Symbole qui se dessine : anneau puis coche (logo du header + carte du hero) */
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
.site-header .logo svg path:nth-of-type(1) { stroke-dasharray: 240; stroke-dashoffset: 240; animation: drawStroke 1.1s var(--ease) .15s forwards; }
.site-header .logo svg path:nth-of-type(2) { stroke-dasharray: 90; stroke-dashoffset: 90; animation: drawStroke .6s var(--ease) .95s forwards; }
.hero__symbole .sym-ring { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawStroke 1.4s var(--ease) .5s forwards; }
.hero__symbole .sym-check { stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawStroke .7s var(--ease) 1.5s forwards; }
.hero__card--marque .hero__symbole { animation: symFloat 7s ease-in-out 2.4s infinite; }
@keyframes symFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.hero__card--marque::before { content: ''; position: absolute; left: 50%; top: 44%; width: 46%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%,-50%) scale(.6); border: 2px solid rgba(200,240,60,.5); opacity: 0; animation: ringPulse 3.2s ease-out 2.2s infinite; pointer-events: none; }
@keyframes ringPulse { 0% { opacity: .7; transform: translate(-50%,-50%) scale(.9) } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.6) } }

/* Carte du hero : légère inclinaison 3D sous la souris (JS règle --rx / --ry) */
.hero__visual { perspective: 1200px; }
.hero__card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); will-change: transform; }
.hero__badge { animation: badgeFloat 6s ease-in-out infinite; }
@keyframes badgeFloat { 0%,100% { transform: translateY(0) rotate(0) } 50% { transform: translateY(-8px) rotate(-2deg) } }

/* Titre du hero : les mots montent un par un (découpage en JS) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .w > i { display: inline-block; font-style: normal; transform: translateY(110%); animation: wordUp .9s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * 70ms); }
@keyframes wordUp { to { transform: none; } }

/* Traits citron qui s'étirent à l'apparition des titres */
.reveal .rule-accent::after, .reveal.rule-accent::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .35s; }
.reveal .rule-accent--center::after { transform-origin: center; }
.reveal.is-in .rule-accent::after, .reveal.is-in.rule-accent::after { transform: scaleX(1); }

/* Méthode : la ligne se trace quand les étapes arrivent */
.steps__line { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-in .steps__line { transform: scaleX(1); }

/* Cartes : halo lavande qui suit la souris (JS règle --mx / --my) */
.glass-hover { position: relative; }
.glass-hover:hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(196,181,253,.28), transparent 60%); }
.card__icon { transition: transform .45s var(--ease), background .3s; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

/* Boutons : le point citron grossit au survol */
.btn--primary::before { transition: transform .35s var(--ease); }
.btn--primary:hover::before { transform: scale(1.7); }

/* Marquees : pause au survol */
.marquee-mask:hover .marquee { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee, .halo, .scroll-hint .mouse i { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .site-header .logo svg path, .hero__symbole path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .hero__card--marque .hero__symbole, .hero__card--marque::before, .hero__badge { animation: none; }
  .hero__card--marque::before { display: none; }
  .hero__card { transform: none; transition: none; }
  .hero h1 .w > i { transform: none; animation: none; }
  .reveal .rule-accent::after, .reveal.rule-accent::after, .steps__line { transform: none; transition: none; }
  .glass-hover:hover { background-image: none; }
}
