/* =========================================================
   AI Portal — Design system « Claude »
   Crème chaude · accent terracotta · sérif éditorial
   Light + Dark automatiques (prefers-color-scheme)
   ========================================================= */

:root {
  color-scheme: light;

  /* Surfaces chaudes */
  --bg:        #FAF9F5;
  --bg-alt:    #F0EEE6;
  --card:      #FFFFFF;
  --ink-bg:    #1F1E1B;   /* section sombre « book cloth » */
  --ink-fg:    #F4F2EC;   /* texte sur fond sombre */
  --ink-fg-2:  #B9B4A7;
  --header-bg: rgba(250,249,245,.82);
  --header-bg2: rgba(250,249,245,.94);

  /* Texte */
  --ink:    #1A1915;
  --body:   #3D3A34;
  --muted:  #6B675E;
  --faint:  #8C887E;

  /* Accent unique (terracotta / clay) */
  --clay:      #C15F3C;   /* fond des boutons / bordures */
  --clay-deep: #A54D2E;   /* survol bouton */
  --clay-text: #A54D2E;   /* texte & icônes accent (bon contraste sur crème) */
  --clay-soft: #F2E5DD;   /* tuiles d'icônes */

  /* Marques */
  --c-claude:  #C15F3C;
  --c-chatgpt: #0E8C6A;
  --c-gemini:  #3B6FE0;
  --tile-claude-bg:  #F6E7DF; --tile-claude-bd:  #ECD6CB;
  --tile-chatgpt-bg: #E1F0EA; --tile-chatgpt-bd: #CDE7DC;
  --tile-gemini-bg:  #E3ECFB; --tile-gemini-bd:  #D2E0F7;

  /* Lignes & ombres */
  --line:   #E4E0D6;
  --line-2: #D7D2C6;
  --shadow:    0 1px 2px rgba(26,25,21,.04), 0 10px 30px -18px rgba(26,25,21,.18);
  --shadow-lg: 0 2px 4px rgba(26,25,21,.05), 0 24px 50px -24px rgba(26,25,21,.30);

  --r: 14px;
  --r-lg: 22px;
  --max: 1120px;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Dark mode (automatique) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --bg:        #1A1916;
    --bg-alt:    #211F1B;
    --card:      #26241F;
    --ink-bg:    #100F0C;
    --ink-fg:    #F4F2EC;
    --ink-fg-2:  #B0AB9F;
    --header-bg: rgba(26,25,22,.78);
    --header-bg2: rgba(26,25,22,.92);

    --ink:    #F4F1E8;
    --body:   #CFCABB;
    --muted:  #A39E91;
    --faint:  #847F73;

    --clay:      #C15F3C;
    --clay-deep: #D2785A;   /* survol : éclaircit sur fond sombre */
    --clay-text: #E89B78;   /* accent lisible sur fond sombre */
    --clay-soft: #38271F;

    --c-claude:  #E89B78;
    --c-chatgpt: #2FB389;
    --c-gemini:  #6E9BFF;
    --tile-claude-bg:  #36261E; --tile-claude-bd:  #4A3328;
    --tile-chatgpt-bg: #163029; --tile-chatgpt-bd: #214B40;
    --tile-gemini-bg:  #1C2740; --tile-gemini-bd:  #2C3D63;

    --line:   rgba(255,255,255,.10);
    --line-2: rgba(255,255,255,.18);
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 12px 32px -18px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 28px 56px -24px rgba(0,0,0,.85);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;            /* garde-fou anti-débordement horizontal (sans casser sticky) */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
img, svg { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -.012em; line-height: 1.12; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 760px; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.alt { background: var(--bg-alt); }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.eyebrow { display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-text); margin-bottom: 16px; }
.section__title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.section__lead { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* ---------- Icônes ---------- */
.icon { width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--xs { width: 1rem; height: 1rem; }
.icon--check { width: 1.15rem; height: 1.15rem; stroke-width: 2.4; }
.icon--star { fill: currentColor; stroke: none; color: var(--clay-text); }
.brandmark { fill: currentColor; stroke: none; width: 1.5rem; height: 1.5rem; }
.accent, .accent-text { color: var(--clay-text); }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn--sm { padding: 10px 17px; font-size: .92rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-deep); }

.btn--outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.btn--light { background: transparent; border-color: rgba(255,255,255,.32); color: var(--ink-fg); }
.btn--light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line); background: var(--header-bg2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__mark { color: var(--clay-text); width: 1.4rem; height: 1.4rem; }
.brand__name { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); }

.nav { display: flex; gap: 30px; }
.nav a { font-size: .96rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-right: -8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(60px, 12vw, 140px); text-align: center; }
.hero__inner { max-width: 820px; margin-inline: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--body); background: var(--card); border: 1px solid var(--line); padding: 7px 16px 7px 12px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 28px; white-space: nowrap; max-width: 100%; }
.hero__title { font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.06; }
.hero__lead { font-size: clamp(1.06rem, 2vw, 1.3rem); color: var(--muted); max-width: 660px; margin: 24px auto 0; line-height: 1.6; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero__trust { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; font-size: .92rem; color: var(--muted); flex-wrap: wrap; }
.hero__trust strong { color: var(--ink); }
.rating { display: inline-flex; gap: 2px; }

/* ---------- Logos ---------- */
.logos { border-block: 1px solid var(--line); }
.logos__inner { padding-block: 38px; text-align: center; }
.logos__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.logos__row { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 56px); flex-wrap: wrap; }
.logos__row li { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.logos__div { width: 1px; height: 26px; background: var(--line-2); }
.logo { width: 1.55rem; height: 1.55rem; }
.logo--claude  { color: var(--c-claude); }
.logo--chatgpt { color: var(--c-chatgpt); }
.logo--gemini  { color: var(--c-gemini); }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-alt); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured { border-color: var(--clay); box-shadow: 0 2px 4px rgba(193,95,60,.10), 0 24px 50px -24px rgba(193,95,60,.5); }

.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--clay); color: #fff; font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .04em; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.plan__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.plan__logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line); flex: none; }
.plan__logo.logo--claude  { color: var(--c-claude);  background: var(--tile-claude-bg);  border-color: var(--tile-claude-bd); }
.plan__logo.logo--chatgpt { color: var(--c-chatgpt); background: var(--tile-chatgpt-bg); border-color: var(--tile-chatgpt-bd); }
.plan__logo.logo--gemini  { color: var(--c-gemini);  background: var(--tile-gemini-bg);  border-color: var(--tile-gemini-bd); }
.plan__logo .brandmark { width: 1.5rem; height: 1.5rem; }
.plan__name { font-size: 1.3rem; }
.plan__by { font-family: var(--sans); font-size: .88rem; color: var(--faint); margin-top: 1px; }

.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font-family: var(--serif); font-size: 2.9rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.plan__period { font-family: var(--sans); color: var(--muted); font-size: .98rem; }
.plan__terms { font-size: .92rem; color: var(--body); margin-top: 10px; }
.plan__terms strong { color: var(--ink); font-weight: 600; }
.plan__compare { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.plan__compare s { color: var(--faint); }
.plan__compare .accent { font-weight: 600; }

.plan__list { display: flex; flex-direction: column; gap: 13px; margin: 22px 0 26px; }
.plan__list li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; color: var(--body); }
.plan__list .icon { margin-top: 2px; }
.plan .btn { margin-top: auto; }

.assurances { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; }
.assurances li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--muted); }
.assurances .icon { color: var(--clay-text); width: 1.15rem; height: 1.15rem; }

/* ---------- Bundle ---------- */
.bundle { margin-top: 28px; display: grid; grid-template-columns: 1.55fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.bundle__main { padding: clamp(28px, 4vw, 46px); }
.bundle__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 6px; }
.bundle__lead { color: var(--muted); margin: 12px 0 20px; max-width: 460px; }
.bundle__list { display: flex; flex-direction: column; gap: 11px; }
.bundle__list li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; color: var(--body); }
.bundle__list .icon { margin-top: 2px; }
.bundle__aside { padding: clamp(28px, 4vw, 46px); background: var(--bg-alt); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.bundle__aside .plan__price { margin-top: 4px; }
.bundle__aside .btn { margin-top: 18px; }

/* ---------- Features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: var(--clay-soft); color: var(--clay-text); margin-bottom: 18px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* ---------- Étapes ---------- */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--clay); color: var(--clay-text); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 18px; flex: none; }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Témoignages ---------- */
.quote { display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow); }
.quote blockquote { font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-text); font-family: var(--sans); font-weight: 600; font-size: .92rem; flex: none; }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-family: var(--serif); font-size: 1.14rem; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--clay-text); transition: transform .3s ease; flex: none; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { padding: 0 4px 22px; color: var(--muted); max-width: 64ch; }

/* ---------- CTA sombre ---------- */
.cta { background: var(--ink-bg); color: var(--ink-fg); padding-block: clamp(64px, 9vw, 120px); border-block: 1px solid var(--line); }
.cta__inner { text-align: center; }
.cta__title { color: var(--ink-fg); font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.cta__lead { color: var(--ink-fg-2); font-size: 1.12rem; margin: 16px auto 0; max-width: 540px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 44px; padding-bottom: 44px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: .94rem; max-width: 300px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.footer__col a { display: block; color: var(--muted); font-size: .94rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--faint); font-size: .84rem; }
.footer__legal { max-width: 720px; line-height: 1.5; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .plans, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
  .steps__grid { grid-template-columns: 1fr; gap: 16px; }
  .step { display: flex; align-items: flex-start; gap: 18px; }
  .step__num { margin-bottom: 0; }
  .bundle { grid-template-columns: 1fr; }
  .bundle__aside { border-left: none; border-top: 1px solid var(--line); }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .section { padding-block: clamp(56px, 14vw, 80px); }

  /* Menu mobile en panneau déroulant */
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    z-index: 40; max-height: calc(100dvh - 64px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); box-shadow: var(--shadow-lg); }
  .nav a { padding: 15px 2px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .plans, .grid-3 { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }              /* Recommandé en premier sur mobile */
  .plan__amount { font-size: 2.6rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 22px 16px; }

  .logos__div { display: none; }
  .logos__row { gap: 14px 22px; }
  .logos__row li { font-size: 1.2rem; }

  .hero__cta .btn, .cta__actions .btn { width: 100%; }   /* CTA pleine largeur, faciles à toucher */
}

@media (max-width: 360px) {
  .brand__name { font-size: 1rem; }
  .btn--sm { padding: 9px 14px; font-size: .88rem; }
  .pill { font-size: .78rem; padding: 6px 13px 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Pages internes (légal / support)
   ========================================================= */
.nav-back { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-back:hover { color: var(--ink); }

.page { padding-block: clamp(44px, 7vw, 88px); }
.page__head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .94rem; font-weight: 500; margin-bottom: 26px; transition: color .2s; }
.back:hover { color: var(--ink); }
.back .icon { width: 1.05rem; height: 1.05rem; }
.page__title { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
.page__updated { color: var(--faint); font-size: .9rem; margin-top: 12px; }
.page__lead { color: var(--muted); font-size: 1.12rem; margin-top: 14px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); margin-top: 44px; }
.prose h3 { font-size: 1.12rem; margin-top: 26px; }
.prose p { color: var(--body); margin-top: 13px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; margin-top: 13px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { color: var(--body); margin-top: 7px; line-height: 1.7; }
.prose a { color: var(--clay-text); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose address { font-style: normal; color: var(--body); line-height: 1.8; }
.note-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-top: 26px; font-size: .94rem; color: var(--muted); }
.note-box strong { color: var(--ink); }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.support-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow); }
.support-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.support-card p { color: var(--muted); font-size: .96rem; margin-top: 4px; }
.support-card a { color: var(--clay-text); font-weight: 600; }
.form { max-width: 620px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field label { font-size: .92rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px; transition: border-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); }
.form .btn { margin-top: 22px; }
.form__hint { font-size: .86rem; color: var(--faint); margin-top: 14px; text-align: center; }

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

/* Confirmation de paiement (merci.html) */
.confirm { text-align: center; max-width: 640px; margin-inline: auto; }
.confirm__badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-text); margin: 0 auto 22px; }
.confirm__badge .icon { width: 1.7rem; height: 1.7rem; stroke-width: 2.2; }
.confirm__title { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
.confirm__lead { color: var(--muted); font-size: 1.12rem; margin-top: 14px; }
.confirm__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.order { max-width: 520px; margin: clamp(36px, 5vw, 52px) auto 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.order__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.order__row:last-child { border-bottom: none; }
.order__row dt { color: var(--muted); }
.order__row dd { color: var(--ink); font-weight: 600; text-align: right; }
.order__ref { font-size: .88rem; font-weight: 500; color: var(--body); word-break: break-all; }
.badge-paid { display: inline-flex; align-items: center; gap: 6px; color: var(--clay-text); font-weight: 600; }
.badge-paid .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.6; }

.confirm-steps { margin-top: clamp(48px, 7vw, 76px); }
.confirm-note { max-width: 560px; margin: clamp(32px, 5vw, 44px) auto 0; }

@media (max-width: 640px) {
  .confirm__actions .btn { width: 100%; }
}
