/* gravitybrand.agency
   Direction : CLAIR ET DEMONSTRATIF, calee sur le modele getmysocial.com.
   Le principe : beaucoup de sections courtes, chacune une idee et un visuel qui MONTRE.
   Densite visee : ~58 mots par ecran. Corps a 18px. Fond blanc, un seul accent sature.
   Garde-fous : voir CLAUDE.md. Contrainte Meta : aucun montant, aucun symbole monetaire. */

:root {
  --bg:       #FFFFFF;
  --bg-soft:  #F4F6F5;
  --bg-deep:  #0B3B33;   /* le bandeau plein, pour respirer */
  --ink:      #14171A;
  --ink-2:    #5A6260;
  --line:     #E4E8E6;
  --brand:    #0E7C66;   /* un seul accent, sature */
  --brand-d:  #0A5F4E;
  --brand-p:  #E7F3EF;   /* la teinte pale du meme accent */

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --wide: 72rem;
  --r:    14px;   /* rayon des cartes */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

/* ---------- typo ---------- */
h1, h2, h3 { margin: 0 0 .5em; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 8.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; }

p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 32rem; }
a { color: var(--brand); text-underline-offset: .16em; }
a:hover { color: var(--brand-d); }
strong { font-weight: 700; }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-p);
  padding: .45rem .85rem; border-radius: 999px; margin: 0 0 1.1rem;
}

/* ---------- structure ---------- */
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3.25rem, 9vw, 5.5rem) 0; }
.center { text-align: center; }
.center .lede, .center p { margin-left: auto; margin-right: auto; }
/* Les titres aussi : .hero h1 borne sa largeur a 14ch, et text-align ne
   centre que le texte DANS la boite, pas la boite dans son parent. */
.center h1, .center h2 { margin-left: auto; margin-right: auto; }
.center .lede { max-width: 34rem; }

/* ---------- en-tete ---------- */
.masthead { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .masthead { backdrop-filter: blur(8px); } }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 62px; }
.wordmark { font-size: 1.06rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.wordmark span { color: var(--brand); }
.nav { display: flex; gap: .3rem; align-items: center; flex-wrap: nowrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .55rem .6rem; min-height: 44px; display: inline-flex; align-items: center;
  white-space: nowrap; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.here { color: var(--ink); font-weight: 700; }

/* ---------- boutons, en pilule ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.9rem; border-radius: 999px;
  font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  background: var(--brand); color: #fff; border: 2px solid var(--brand);
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease; }
.btn:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.center .btn-row { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem); }
.hero-grid { display: grid; gap: clamp(2rem, 6vw, 3.5rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { font-size: 1.2rem; }
.hero-art { justify-self: center; width: 100%; max-width: 19rem; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-art { justify-self: end; max-width: 21rem; }
}

/* ---------- cartes de benefices ---------- */
.cards { display: grid; gap: 1rem; margin-top: 2.25rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg-soft); border-radius: var(--r); padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--line); }
.card .card-art { width: 100%; height: auto; display: block; margin-bottom: 1rem;
  border-radius: 9px; background: #fff; border: 1px solid var(--line); }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- les trois etapes, chacune montree ---------- */
.steps3 { display: grid; gap: 2.5rem; margin-top: 2.5rem; counter-reset: st; }
@media (min-width: 56rem) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { counter-increment: st; }
.step .step-art { width: 100%; height: auto; display: block; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--bg-soft); margin-bottom: 1.15rem; }
.step-n { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-family: var(--mono); font-size: .8rem; font-weight: 600; margin-bottom: .7rem; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- bandeau plein ---------- */
.band { background: var(--bg-deep); color: #fff; }
.band h2 { color: #fff; }
.band p { color: #C6DAD4; }
.band .kicker { background: rgba(255,255,255,.13); color: #9FD9C8; }
.band .btn { background: #fff; color: var(--bg-deep); border-color: #fff; }
.band .btn:hover { background: #E7F3EF; border-color: #E7F3EF; color: var(--bg-deep); }
.band-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .1rem; }
@media (min-width: 46rem) { .band-list { grid-template-columns: repeat(2, 1fr); gap: .1rem 2.5rem; } }
.band-list li { display: flex; gap: .8rem; align-items: baseline;
  padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.14);
  font-weight: 600; font-size: 1.02rem; }
.band-list li::before { content: "\2713"; color: #6FD3B2; font-size: .9em; flex: none; }
.band-list em { font-style: normal; font-weight: 400; color: #A9C8C0; font-size: .9em; }

/* ---------- preuve ---------- */
/* Bandeau de suggestion de langue. Discret par construction : il propose,
   il ne bloque pas, et il disparait des que la personne a tranche. */
/* Bandeau de consentement. Refuser doit etre aussi simple qu'accepter
   (exigence CNIL) : les deux boutons ont donc le meme poids visuel, seule la
   couleur les distingue. Le bandeau ne bloque pas la page. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem;
  padding: 1rem 1.4rem; background: var(--bg-deep); color: #EAF3F0;
  font-size: .95rem; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
.consent p { margin: 0; flex: 1 1 20rem; }
.consent a { color: #9FD9C8; }
.consent button { padding: .55rem 1.2rem; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.consent-yes { background: var(--brand); color: #fff; }
.consent-yes:hover { background: #12A183; }
.consent-no { background: rgba(255,255,255,.14); color: #EAF3F0; }
.consent-no:hover { background: rgba(255,255,255,.24); }
@media (max-width: 540px) { .consent p { flex-basis: 100%; } .consent button { flex: 1; } }

.langbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
  padding: .8rem 1.2rem; background: var(--brand-p); border-bottom: 1px solid var(--line);
  font-size: .95rem; }
.langbar p { margin: 0; flex: 1 1 16rem; color: var(--ink); }
.langbar-yes { display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  white-space: nowrap; }
.langbar-yes:hover { background: var(--brand-d); }
.langbar-no { padding: .45rem .8rem; border: 0; background: none; color: var(--ink-2);
  font: inherit; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.langbar-no:hover { color: var(--ink); }
@media (max-width: 480px) { .langbar { font-size: .9rem; } .langbar p { flex-basis: 100%; } }

.embed { max-width: 44rem; margin: 2rem auto 0; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; background: var(--bg); }
.embed iframe { display: block; width: 100%; border: 0; background: var(--bg); }
@media (max-width: 640px) { .embed iframe { height: 900px; } }

.slot { border: 2px dashed var(--line); border-radius: var(--r); background: var(--bg-soft);
  padding: 2rem 1.5rem; margin-top: 1.5rem; text-align: center; }
.slot .slot-title { font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-size: 1rem; }
.slot p { color: var(--ink-2); font-size: .95rem; margin: 0 auto; max-width: 30rem; }

.reg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  background: var(--brand-p); border-radius: 999px; padding: .7rem 1.3rem; margin-top: .3rem; }
.reg .reg-k { font-size: .74rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-d); }
.reg .reg-v { font-family: var(--mono); font-size: .95rem; color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 44rem; margin: 1.75rem auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 11px; margin-bottom: .6rem;
  background: var(--bg); }
.faq details[open] { background: var(--bg-soft); }
.faq summary { cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative;
  font-weight: 700; list-style: none; min-height: 44px; display: flex; align-items: center;
  font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; color: var(--brand);
  font-size: 1.35rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.2rem 1.15rem; color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- formulaire ---------- */
.form { max-width: 25rem; margin: 1.5rem auto 0; text-align: left; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.field input { width: 100%; min-height: 52px; padding: .8rem 1rem;
  font-family: var(--font); font-size: 1rem;
  border: 1px solid var(--line); border-radius: 11px; background: var(--bg-soft); color: var(--ink); }
.field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field .hint { font-size: .87rem; color: var(--ink-2); margin: .3rem 0 0; }

/* ---------- pied ---------- */
.foot { background: var(--bg-soft); border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem; font-size: .93rem; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; }
.foot a { color: var(--ink-2); text-decoration: none; display: flex; align-items: center;
  padding: .35rem 0; min-height: 44px; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .legal { color: var(--ink-2); margin-top: 1.5rem; max-width: 48rem; font-size: .82rem; }

/* ---------- pages legales ---------- */
.doc { max-width: 36rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.doc dl { margin: 1.1rem 0; }
.doc dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 1rem; }
.doc dd { margin: .15rem 0 0; }
.note { background: var(--brand-p); border-radius: var(--r); padding: 1.2rem 1.35rem;
  margin: 1.75rem 0; }
.note p:last-child { margin-bottom: 0; }

/* ---------- dessins ---------- */
.d-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-thin { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; }
.d-fill { fill: #fff; }
.d-soft { fill: var(--bg-soft); }
.d-pale { fill: var(--brand-p); }
.d-brand{ fill: var(--brand); }
.d-white{ fill: #fff; }
.d-tag  { font-family: var(--mono); font-size: 7.5px; fill: var(--ink-2); letter-spacing: .04em; }
.d-txt  { font-family: var(--font); font-size: 9px; fill: var(--ink); font-weight: 600; }

/* ---------- accessibilite ---------- */
.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff;
  padding: .8rem 1.2rem; z-index: 100; }
.skip:focus { left: 0; top: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 34rem) {
  .nav a { padding: .55rem .45rem; font-size: .9rem; }
  .foot .cols { gap: .5rem 2.5rem; }
}
