/* NetVD - styles communs (index.html + contact.html) */
:root{
  /* Neutrals with a faint cool bias toward the blue accent */
  --ground:#fbfbfd;
  --surface:#ffffff;
  --surface-2:#f5f5f7;
  --ink:#1d1d1f;
  --ink-soft:#3a3a3c;
  --muted:#6e6e73;
  --line:#e6e6ea;
  --accent:#0071e3;
  --accent-ink:#0058b6;
  --shadow:0 2px 6px rgba(0,0,0,.04), 0 14px 40px rgba(20,20,40,.07);
  --shadow-hover:0 4px 12px rgba(0,0,0,.06), 0 24px 60px rgba(20,20,40,.12);
  --radius:22px;
  --radius-sm:14px;
  --maxw:1080px;
  --pad:clamp(20px,5vw,40px);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
}
@media (prefers-color-scheme: dark){
  :root{
    --ground:#000000;
    --surface:#151517;
    --surface-2:#1c1c1f;
    --ink:#f5f5f7;
    --ink-soft:#d6d6d8;
    --muted:#98989d;
    --line:#2a2a2e;
    --accent:#2997ff;
    --accent-ink:#5aacff;
    --shadow:0 2px 6px rgba(0,0,0,.5), 0 18px 50px rgba(0,0,0,.55);
    --shadow-hover:0 4px 12px rgba(0,0,0,.6), 0 28px 70px rgba(0,0,0,.7);
  }
}
/* Explicit theme toggles must win over the media query */
:root[data-theme="light"]{
  --ground:#fbfbfd;--surface:#ffffff;--surface-2:#f5f5f7;--ink:#1d1d1f;--ink-soft:#3a3a3c;
  --muted:#6e6e73;--line:#e6e6ea;--accent:#0071e3;--accent-ink:#0058b6;
  --shadow:0 2px 6px rgba(0,0,0,.04), 0 14px 40px rgba(20,20,40,.07);
  --shadow-hover:0 4px 12px rgba(0,0,0,.06), 0 24px 60px rgba(20,20,40,.12);
}
:root[data-theme="dark"]{
  --ground:#000000;--surface:#151517;--surface-2:#1c1c1f;--ink:#f5f5f7;--ink-soft:#d6d6d8;
  --muted:#98989d;--line:#2a2a2e;--accent:#2997ff;--accent-ink:#5aacff;
  --shadow:0 2px 6px rgba(0,0,0,.5), 0 18px 50px rgba(0,0,0,.55);
  --shadow-hover:0 4px 12px rgba(0,0,0,.6), 0 28px 70px rgba(0,0,0,.7);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font);
  background:var(--ground);color:var(--ink);
  line-height:1.5;font-size:17px;letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
::selection{background:var(--accent);color:#fff}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}

.wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

/* ---------- Nav ---------- */
header.nav{
  position:sticky;top:0;z-index:50;
  background:color-mix(in srgb,var(--ground) 82%,transparent);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid transparent;transition:border-color .3s;
}
header.nav.scrolled{border-bottom-color:var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:56px}
.brand{display:inline-flex;align-items:center}
/* Full wordmark logo. Two artworks: dark "net" for light grounds, light "net"
   for dark grounds. Exactly one is shown, swapped with the theme. */
.brand-logo{height:25px;width:auto;display:block;transition:opacity .2s ease}
.brand:hover .brand-logo{opacity:.82}
@media(max-width:420px){.brand-logo{height:22px}}
.brand-logo-dark{display:none}
@media (prefers-color-scheme: dark){
  .brand-logo-light{display:none}.brand-logo-dark{display:block}
}
:root[data-theme="dark"] .brand-logo-light{display:none}
:root[data-theme="dark"] .brand-logo-dark{display:block}
:root[data-theme="light"] .brand-logo-light{display:block}
:root[data-theme="light"] .brand-logo-dark{display:none}
.nav-links{display:flex;align-items:center;gap:clamp(14px,3vw,30px);margin-left:auto}
.nav-links a.navlink{font-size:14.5px;color:var(--muted);transition:color .2s}
.nav-links a.navlink:hover{color:var(--ink)}
.nav-actions{display:flex;align-items:center;gap:12px;margin-left:clamp(14px,3vw,30px)}
/* Hamburger button, hidden on desktop, shown at the mobile breakpoint */
.burger{
  display:none;position:relative;width:40px;height:40px;flex:0 0 auto;
  border:0;background:transparent;cursor:pointer;border-radius:10px;-webkit-tap-highlight-color:transparent
}
.burger:hover{background:var(--surface-2)}
.burger span{
  position:absolute;left:10px;right:10px;height:2px;border-radius:2px;background:var(--ink);
  transition:transform .3s cubic-bezier(.16,1,.3,1), opacity .2s ease
}
.burger span:nth-child(1){top:14px}
.burger span:nth-child(2){top:19px}
.burger span:nth-child(3){top:24px}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(5px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
/* 780px et non 640 : depuis l'ajout du lien Accueil, les 6 liens ne tiennent
   plus sur une ligne en dessous de ~780px et debordaient horizontalement. */
@media(max-width:780px){
  .burger{display:block}
  .nav-links{
    position:absolute;top:100%;left:0;right:0;margin:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:color-mix(in srgb,var(--ground) 96%,transparent);
    -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
    border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    padding:6px var(--pad) 14px;
    opacity:0;transform:translateY(-10px);pointer-events:none;
    transition:opacity .25s ease, transform .25s cubic-bezier(.16,1,.3,1)
  }
  .nav-links.open{opacity:1;transform:none;pointer-events:auto}
  .nav-links a.navlink{
    display:block;font-size:17px;color:var(--ink);
    padding:14px 4px;border-bottom:1px solid var(--line)
  }
  .nav-links a.navlink:last-child{border-bottom:0}
}
.lang{
  display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;
  font-size:12.5px;font-weight:600;background:var(--surface)
}
.lang button{
  border:0;background:transparent;color:var(--muted);
  padding:5px 11px;cursor:pointer;font:inherit;letter-spacing:.02em;transition:.2s
}
.lang button[aria-pressed="true"]{background:var(--accent);color:#fff}

/* ---------- Hero ---------- */
.hero{padding:clamp(72px,13vw,150px) 0 clamp(40px,7vw,80px);text-align:center}
.eyebrow{
  display:inline-block;font-size:13px;font-weight:600;letter-spacing:.04em;
  color:var(--accent);text-transform:uppercase;margin-bottom:22px
}
h1{
  font-size:clamp(38px,7.2vw,74px);line-height:1.04;font-weight:700;
  letter-spacing:-.03em;text-wrap:balance;margin-bottom:22px
}
h1 .grad{color:var(--accent)}
.lede{
  font-size:clamp(18px,2.4vw,23px);color:var(--muted);line-height:1.45;
  max-width:40ch;margin:0 auto 34px;text-wrap:balance;letter-spacing:-.015em
}
/* Paragraphe d'accroche de l'accueil : justifie, donc elargi a 58ch (en dessous
   d'environ 45 caracteres par ligne la justification creuse des trous) et
   text-wrap:wrap pour annuler le "balance" ci-dessus, qui raccourcit les lignes.
   Volontairement limite a .hero : le .lede de contact.html ne fait que 2 lignes,
   le justifier etirerait la premiere. Repli drapeau en colonne etroite. */
.hero .lede{
  max-width:58ch;text-wrap:wrap;
  text-align:justify;text-justify:inter-word;hyphens:auto
}
@media (max-width:640px){
  .hero .lede{text-align:left;hyphens:manual}
}
.cta-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
/* Utilise aussi bien sur des <a> que sur des <button> : il faut donc neutraliser
   les styles par defaut du navigateur (bordure, police, fond), sinon un <button>
   s'affiche avec le liseré gris du systeme. La bordure transparente garantit que
   les variantes pleine et fantome ont exactement la meme hauteur. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:999px;font-size:16px;font-weight:500;
  font-family:inherit;line-height:1.25;text-align:center;text-decoration:none;
  border:1px solid transparent;background:none;color:inherit;cursor:pointer;
  -webkit-appearance:none;appearance:none;
  transition:transform .18s ease, background .2s, box-shadow .2s;will-change:transform
}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-ink);transform:translateY(-1px)}
.btn-ghost{color:var(--accent);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface-2);transform:translateY(-1px)}
.btn .arrow{transition:transform .2s}
.btn:hover .arrow{transform:translateX(3px)}

/* ---------- Sections ---------- */
section{padding:clamp(56px,9vw,110px) 0;scroll-margin-top:64px}
.sec-head{max-width:640px;margin:0 auto clamp(36px,5vw,60px);text-align:center}
h2{font-size:clamp(28px,4.6vw,44px);font-weight:650;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
h2+.sub{margin-top:14px;color:var(--muted);font-size:clamp(16px,2vw,19px);text-wrap:balance}
.kicker{
  display:block;font-size:13px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;
  color:var(--accent);margin-bottom:12px
}

/* ---------- Work / portfolio ---------- */
.work-grid{display:grid;gap:22px;grid-template-columns:1fr}
@media(min-width:760px){.work-grid{grid-template-columns:1fr 1fr}}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;transition:transform .3s ease, box-shadow .3s ease;
  display:flex;flex-direction:column
}
.card.feature{grid-column:1/-1}
@media(min-width:760px){
  .card.feature{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch}
  /* Carte esseulee en fin de grille : occupe les 2 colonnes mais garde
     la largeur d'une seule, centree (gap 22px, d'ou le retrait de 11px). */
  .card.solo{grid-column:1/-1;width:calc(50% - 11px);margin-inline:auto}
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.card-media{
  position:relative;min-height:300px;
  background:
    radial-gradient(120% 120% at 20% 10%, #eaf3ff 0%, transparent 55%),
    linear-gradient(160deg,#f3f6ff, #eef1f8);
  display:flex;align-items:center;justify-content:center;padding:34px
}
@media (prefers-color-scheme: dark){
  .card-media{background:
    radial-gradient(120% 120% at 20% 10%, #10233f 0%, transparent 55%),
    linear-gradient(160deg,#141a26,#0f1420)}
}
:root[data-theme="dark"] .card-media{background:
    radial-gradient(120% 120% at 20% 10%, #10233f 0%, transparent 55%),
    linear-gradient(160deg,#141a26,#0f1420)}
:root[data-theme="light"] .card-media{background:
    radial-gradient(120% 120% at 20% 10%, #eaf3ff 0%, transparent 55%),
    linear-gradient(160deg,#f3f6ff,#eef1f8)}
/* App tile mock inside feature media */
.app-tile{
  width:118px;height:118px;border-radius:27px;display:grid;place-items:center;
  background:linear-gradient(150deg,#0a84ff,#30c8ff);
  box-shadow:0 18px 40px rgba(10,132,255,.4);color:#fff
}
.app-tile svg{width:64px;height:64px}
/* Real app icon (Fridgego) */
.app-icon-img{
  width:clamp(150px,26vw,236px);height:auto;aspect-ratio:1;
  border-radius:23%;display:block;
  box-shadow:0 26px 60px rgba(20,10,50,.34), 0 3px 8px rgba(0,0,0,.18);
  transition:transform .35s cubic-bezier(.16,1,.3,1)
}
.card.feature:hover .app-icon-img{transform:scale(1.04)}
/* Full-bleed website screenshot inside a card media (Helvet). */
.card-media.shot{padding:0;overflow:hidden;min-height:0;aspect-ratio:16/9}
.shot-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:top center;
  transition:transform .5s cubic-bezier(.16,1,.3,1)
}
.card:hover .shot-img{transform:scale(1.045)}
.card-body{padding:clamp(24px,3.4vw,38px);display:flex;flex-direction:column;gap:12px;flex:1}
.card-body h3{font-size:clamp(21px,2.6vw,27px);font-weight:650;letter-spacing:-.02em}
.card-body p{color:var(--muted);font-size:15.5px;line-height:1.55}
.pill{
  align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.03em;
  padding:5px 12px;border-radius:999px;background:var(--surface-2);color:var(--ink-soft)
}
.card-body strong{font-weight:600;color:var(--ink-soft)}
/* Feature list inside the featured card */
.feats{list-style:none;display:flex;flex-direction:column;gap:9px;margin-top:2px}
.feats li{
  position:relative;padding-left:26px;color:var(--muted);
  font-size:14.5px;line-height:1.45;letter-spacing:-.005em
}
.feats li::before{
  content:"";position:absolute;left:0;top:.32em;width:15px;height:15px;border-radius:50%;
  background:color-mix(in srgb,var(--accent) 14%,transparent);
  /* checkmark */
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/></svg>") center/contain no-repeat;
}
.feats li::after{
  content:"";position:absolute;left:3.6px;top:.55em;width:8px;height:4.5px;
  border-left:1.9px solid var(--accent);border-bottom:1.9px solid var(--accent);
  transform:rotate(-45deg)
}
/* Actions row: official App Store badge + text link */
.card-actions{
  margin-top:auto;padding-top:6px;
  display:flex;align-items:center;gap:clamp(14px,2.5vw,22px);flex-wrap:wrap
}
.appstore{display:inline-block;line-height:0;border-radius:9px;transition:transform .2s ease, opacity .2s}
.appstore:hover{transform:translateY(-1px);opacity:.85}
.appstore .badge{height:48px;width:auto}
/* Exactly one badge is ever visible: black on light grounds, white on dark.
   Every rule below is scoped through .appstore so specificity stays even. */
.appstore .badge-dark{display:block}
.appstore .badge-light{display:none}
@media (prefers-color-scheme: dark){
  .appstore .badge-dark{display:none}
  .appstore .badge-light{display:block}
}
:root[data-theme="dark"] .appstore .badge-dark{display:none}
:root[data-theme="dark"] .appstore .badge-light{display:block}
:root[data-theme="light"] .appstore .badge-dark{display:block}
:root[data-theme="light"] .appstore .badge-light{display:none}
.card-link{color:var(--accent);font-weight:500;font-size:15.5px;display:inline-flex;align-items:center;gap:6px}
.card-link .arrow{transition:transform .2s}
.card:hover .card-link .arrow{transform:translateX(3px)}

/* ---------- Services ---------- */
.services{background:var(--surface-2)}
/* 2 colonnes (donc 2x2) depuis l'ajout de la 4e carte "IA" : a 3 colonnes la
   quatrieme se retrouvait seule sur sa ligne, et a 4 colonnes les cartes
   devenaient trop etroites pour leur description. */
.svc-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:720px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
.svc{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:clamp(24px,3vw,32px);box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:12px;transition:transform .3s, box-shadow .3s
}
.svc:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}
.svc .ico{
  width:46px;height:46px;border-radius:12px;display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)
}
.svc .ico svg{width:24px;height:24px}
.svc h3{font-size:19px;font-weight:600;letter-spacing:-.01em}
.svc p{color:var(--muted);font-size:15px;line-height:1.55}

/* Encart "sur mesure", sous les 3 services.
   Le texte est justifie avec cesure automatique pour former un vrai bloc
   rectangulaire (bords gauche ET droit alignes). La largeur est bornee en ch
   pour garder des lignes lisibles : au dela de ~70 caracteres l'oeil se perd.
   Sous 640px on repasse en drapeau : justifier une colonne etroite creuse de
   grands trous entre les mots. */
.usecase{
  margin-top:clamp(28px,4vw,44px);
  max-width:72ch;margin-left:auto;margin-right:auto;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(26px,4vw,46px);box-shadow:var(--shadow)
}
.usecase h3{
  font-size:clamp(21px,2.8vw,27px);font-weight:600;letter-spacing:-.02em;
  line-height:1.25;margin-bottom:16px;text-wrap:balance
}
.usecase p{
  color:var(--ink-soft);font-size:16.5px;line-height:1.65;margin-bottom:14px;
  text-align:justify;text-justify:inter-word;
  -webkit-hyphens:auto;hyphens:auto
}
.usecase p:last-of-type{margin-bottom:24px}
@media(max-width:640px){
  .usecase p{text-align:left;-webkit-hyphens:manual;hyphens:manual;font-size:16px}
}
/* Sur la page contact l'encart suit le formulaire : il lui faut sa propre
   respiration avant le pied de page (le padding-bottom de .contact-wrap ne
   couvre que la grille du dessus). */
.usecase-contact{margin-bottom:clamp(56px,9vw,110px)}

/* ---------- Pricing ---------- */
.price-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:640px){.price-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.price-grid{grid-template-columns:repeat(4,1fr)}}
.price{
  position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:clamp(22px,2.6vw,28px);box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:12px;transition:transform .3s, box-shadow .3s
}
.price:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}
.price.featured{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.price .tag{
  position:absolute;top:-10px;left:clamp(22px,2.6vw,28px);
  font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:#fff;background:var(--accent);padding:4px 10px;border-radius:999px;white-space:nowrap
}
.price h3{font-size:17px;font-weight:600;letter-spacing:-.01em}
.price .amount{
  font-size:clamp(25px,3vw,30px);font-weight:700;letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;line-height:1.15;color:var(--ink)
}
.price .amount .from{display:block;font-size:12px;font-weight:600;letter-spacing:.05em;
  text-transform:uppercase;color:var(--muted);margin-bottom:2px}
.price .desc{color:var(--muted);font-size:14.5px;line-height:1.55}
.price .feats{margin-top:auto;padding-top:4px}
.price-extra{display:grid;gap:16px;grid-template-columns:1fr;margin-top:20px}
@media(min-width:640px){.price-extra{grid-template-columns:repeat(2,1fr)}}
.xtra{
  background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:18px clamp(18px,2.2vw,24px);display:flex;align-items:baseline;gap:14px;flex-wrap:wrap
}
.xtra .amount{font-size:20px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.xtra .txt{flex:1 1 200px;min-width:0}
.xtra h3{font-size:15px;font-weight:600;display:inline}
.xtra p{color:var(--muted);font-size:14px;line-height:1.5;margin-top:2px;
  text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto}
.price-note{margin-top:22px;font-size:13.5px;line-height:1.6;color:var(--muted);
  max-width:620px;margin-left:auto;margin-right:auto;
  text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto}
/* ⚠️ .price .desc n'est volontairement PAS justifie : dans la grille a 4 colonnes
   une description ne fait que ~24 caracteres par ligne (mesure a 1280px), et en
   dessous de ~45 la justification creuse des trous entre les mots. On garde le
   drapeau et on equilibre les lignes a la place. */
.price .desc{text-wrap:pretty}
@media(max-width:640px){
  .xtra p,.price-note{text-align:left;-webkit-hyphens:manual;hyphens:manual}
}
.price-cta{margin-top:26px;text-align:center}

/* ---------- About ---------- */
/* Le conteneur reste centre pour la rangee de chiffres ; seuls les paragraphes
   passent en justifie (demande explicite : bloc rectangulaire, bords gauche ET
   droit alignes). La cesure automatique evite les grands trous entre les mots,
   d'autant que le texte est grand. Sous 640px on repasse en drapeau : justifier
   une colonne etroite creuserait des rivieres blanches. */
.about{max-width:720px;margin:0 auto;text-align:center}
.about p{
  font-size:clamp(18px,2.4vw,22px);line-height:1.6;color:var(--ink-soft);letter-spacing:-.01em;
  text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto
}
.about p+p{margin-top:22px}
@media(max-width:640px){
  .about p{text-align:left;-webkit-hyphens:manual;hyphens:manual}
}
.stats{display:flex;justify-content:center;gap:clamp(28px,6vw,72px);margin-top:48px;flex-wrap:wrap}
.stat .n{font-size:clamp(30px,4vw,44px);font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.stat .l{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-top:4px}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--line);padding:clamp(48px,7vw,80px) 0 44px}
.foot-top{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;align-items:flex-start}
.foot-brand{display:flex;flex-direction:column;gap:12px;max-width:300px}
.foot-brand .brand{font-size:18px}
.foot-brand p{color:var(--muted);font-size:14.5px;line-height:1.5}
.foot-contact{display:flex;flex-direction:column;gap:10px}
.foot-contact .lbl{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600}
.foot-note{font-size:13.5px;color:var(--muted)}
.foot-bottom{
  margin-top:48px;padding-top:24px;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;
  font-size:13px;color:var(--muted)
}
.foot-bottom .links{display:flex;gap:20px;flex-wrap:wrap}
.foot-bottom a:hover{color:var(--ink)}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none;transition:none}
  .btn,.card,.svc{transition:none}
}

/* ---------- Contact page ---------- */
.foot-contact a.foot-form{font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--accent)}
.foot-contact a.foot-form:hover{text-decoration:underline}
/* ---------- Pages d'information (Confidentialite, Conditions, Assistance) ----------
   Colonne de lecture unique, meme convention typographique que .about p et
   .usecase p : justifie + cesure, repli en drapeau sous 640px. */
.legal{max-width:74ch;margin:0 auto;padding-bottom:clamp(56px,9vw,110px)}
.legal h2{
  font-size:clamp(20px,2.4vw,25px);font-weight:650;letter-spacing:-.02em;line-height:1.25;
  margin:clamp(34px,4.6vw,46px) 0 12px;text-wrap:balance
}
.legal h2:first-child{margin-top:0}
.legal p{
  color:var(--muted);font-size:16.5px;line-height:1.65;margin-bottom:12px;
  text-align:justify;text-justify:inter-word;hyphens:auto
}
.legal a{color:var(--accent);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--accent) 35%,transparent)}
.legal a:hover{color:var(--accent-ink);border-bottom-color:currentColor}
.legal strong{color:var(--ink-soft);font-weight:600}
.legal ul{list-style:none;margin:2px 0 14px;padding:0}
.legal li{
  position:relative;padding-left:20px;color:var(--muted);
  font-size:16.5px;line-height:1.6;margin-bottom:9px
}
.legal li::before{
  content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;
  border-radius:50%;background:var(--accent)
}
.legal .upd{
  margin:clamp(34px,4.6vw,46px) 0 0;padding-top:18px;border-top:1px solid var(--line);
  font-size:14.5px;text-align:left
}
.legal .legal-cta{margin-top:22px;text-align:left}
.legal .legal-cta .btn{text-decoration:none;border-bottom:0;color:#fff}
@media (max-width:640px){
  .legal p,.legal li{text-align:left;hyphens:manual}
}

.contact-hero{padding:clamp(52px,8vw,88px) 0 clamp(24px,3vw,36px);text-align:center}
.contact-hero h1{font-size:clamp(32px,5.2vw,52px);font-weight:680;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}
.contact-hero .lede{margin:18px auto 0;max-width:600px;font-size:clamp(17px,2vw,20px);line-height:1.55;color:var(--muted)}
.contact-wrap{display:grid;gap:clamp(22px,3vw,34px);grid-template-columns:1fr;padding-bottom:clamp(56px,9vw,110px)}
@media(min-width:900px){.contact-wrap{grid-template-columns:.85fr 1.15fr;align-items:start}}

.contact-aside{display:flex;flex-direction:column;gap:18px}
.aside-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:clamp(22px,2.6vw,28px);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px
}
.aside-card h2{font-size:18px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.aside-card p{color:var(--muted);font-size:15px;line-height:1.55}
@media(min-width:900px){.contact-aside{position:sticky;top:76px}}

form.contact-form{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:clamp(22px,3vw,34px);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:18px
}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:14px;font-weight:600;letter-spacing:-.005em}
.field .hint{font-size:12.5px;color:var(--muted);font-weight:400}
.field input,.field select,.field textarea{
  font:inherit;font-size:15.5px;color:var(--ink);background:var(--ground);
  border:1px solid var(--line);border-radius:11px;padding:12px 14px;width:100%;
  transition:border-color .2s, box-shadow .2s, background .2s;appearance:none;-webkit-appearance:none
}
.field textarea{min-height:150px;resize:vertical;line-height:1.5}
.field select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;background-size:18px;padding-right:40px
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);background:var(--surface);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 15%,transparent)
}
.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:.75}
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:#d1342f}
.field .err{font-size:13px;color:#d1342f;display:none}
.field.invalid .err{display:block}
.field-row{display:grid;gap:18px;grid-template-columns:1fr}
@media(min-width:620px){.field-row{grid-template-columns:1fr 1fr}}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-foot{display:flex;flex-direction:column;gap:12px}
.form-foot .btn{align-self:flex-start}
.form-foot .legal{font-size:12.5px;color:var(--muted);line-height:1.5}
.btn[disabled]{opacity:.55;pointer-events:none}
.form-msg{
  display:none;border-radius:11px;padding:14px 16px;font-size:15px;line-height:1.5;
  border:1px solid transparent
}
.form-msg.show{display:block}
.form-msg.ok{color:#0a6c3d;background:#e8f7ef;border-color:#b7e6cd}
.form-msg.ko{color:#8f2420;background:#fdeceb;border-color:#f5c4c1}
@media (prefers-color-scheme: dark){
  .form-msg.ok{color:#7ce0ab;background:#0d2a1c;border-color:#1d4a33}
  .form-msg.ko{color:#ffa8a3;background:#2c1211;border-color:#5a2320}
}
:root[data-theme="dark"] .form-msg.ok{color:#7ce0ab;background:#0d2a1c;border-color:#1d4a33}
:root[data-theme="dark"] .form-msg.ko{color:#ffa8a3;background:#2c1211;border-color:#5a2320}
:root[data-theme="light"] .form-msg.ok{color:#0a6c3d;background:#e8f7ef;border-color:#b7e6cd}
:root[data-theme="light"] .form-msg.ko{color:#8f2420;background:#fdeceb;border-color:#f5c4c1}

/* ---------- Refus de la mesure d'audience (page Confidentialité) ---------- */
.optout {
  margin: 22px 0 6px; padding: 20px 22px; border-radius: var(--r-md, 18px);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.optout h3 { font-size: 1rem; margin-bottom: 6px; }
.optout p { font-size: 15px; margin-bottom: 14px; }
.optout .btn { border-bottom: 0; }
#optoutEtat { font-size: 14.5px; font-weight: 600; margin: 12px 0 0; color: var(--accent-ink); }
