/* gpa-usa.fr -- habillage V12-devanture, teinte 343 (rose/berry), Yeseva One (marque/titres)
   + Public Sans (corps). Composé depuis les gabarits V12-devanture-pack, préfixes régénérés
   "gus-". Mode de capture : contact d'abord (adapté depuis "appel d'abord" : aucun numéro de
   téléphone n'existe pour ce site en pré-vente, règle dure du parc -- la place du numéro est
   tenue par un CTA de contact direct + promesse de réponse rapide). */

@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/yeseva-one.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-variable.woff2") format("woff2-variations");
}

:root {
  /* palette OKLCH -- fiche d'habillage Design-Familles/_habillages/gpa-usa.fr.md */
  --gus-paper:      oklch(0.97 0.008 343);
  --gus-surface:    oklch(0.93 0.015 343);
  --gus-surface-2:  oklch(0.90 0.018 343);
  --gus-ink:        oklch(0.20 0.020 343);
  --gus-accent:     oklch(0.52 0.150 343);
  --gus-accent-d:   oklch(0.40 0.140 343);
  --gus-accent-l:   oklch(0.68 0.110 343);
  --gus-line:       oklch(0.88 0.010 343);
  --gus-field-line: oklch(0.50 0.050 343);
  --gus-ok:         oklch(0.55 0.110 150);

  --gus-radius: 3px;
  --header-h: 64px;
  --font-brand: "Yeseva One", Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gus-paper);
  color: var(--gus-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gus-accent-d); }
a:hover { color: var(--gus-accent); }
.gus-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.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;
}
.gus-skip {
  position: absolute; left: -999px; top: 0; background: var(--gus-ink); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.gus-skip:focus { left: 12px; top: 12px; }

h1, h2, h3 {
  font-family: var(--font-brand);
  font-weight: 400;
  line-height: 1.12;
  color: var(--gus-ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); overflow-wrap: break-word; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

/* bandeau d'auvent -- signature graphique V12, en tête et pied de page */
.gus-awning {
  height: 10px;
  background: repeating-linear-gradient(
    90deg, var(--gus-accent) 0 40px, var(--gus-accent-l) 40px 80px
  );
}

/* topbar */
.gus-topbar { background: var(--gus-ink); color: #f3e7ee; font-size: 0.85rem; }
.gus-topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; flex-wrap: wrap; }
.gus-topbar a { color: #fff; text-decoration: underline; }

/* header */
.gus-header { position: sticky; top: 0; z-index: 100; background: var(--gus-paper); border-bottom: 1px solid var(--gus-line); }
.gus-header-in { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.gus-logo { font-family: var(--font-brand); font-size: 1.3rem; color: var(--gus-ink); text-decoration: none; margin-right: auto; white-space: nowrap; }
.gus-nav { display: none; }
.gus-nav-list { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; align-items: center; }
.gus-nav-list > li > a, .gus-nav-drop-btn {
  font-size: 0.88rem; text-decoration: none; color: var(--gus-ink); background: var(--gus-paper); border: none;
  font-family: var(--font-body); cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.gus-nav-drop { position: relative; }
.gus-nav-sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--gus-line); border-radius: var(--gus-radius);
  min-width: 280px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); display: none; flex-direction: column;
}
.gus-nav-drop:hover .gus-nav-sub, .gus-nav-drop:focus-within .gus-nav-sub { display: flex; }
.gus-nav-sub li a { display: block; padding: 8px 10px; border-radius: var(--gus-radius); text-decoration: none; color: var(--gus-ink); }
.gus-nav-sub li a:hover { background: var(--gus-surface); }
.gus-burger { background: none; border: 1px solid var(--gus-line); border-radius: var(--gus-radius); padding: 8px; display: inline-flex; flex-direction: column; gap: 4px; }
.gus-burger-bar { width: 20px; height: 2px; background: var(--gus-ink); display: block; }
.gus-cta-header { white-space: nowrap; padding: 10px 16px; font-size: 0.9rem; flex: none; }
.gus-cta-header-full { display: none; }
.gus-cta-header-short { display: inline; }

@media (min-width: 900px) {
  .gus-nav { display: block; }
  .gus-burger { display: none; }
  .gus-cta-header-full { display: inline; }
  .gus-cta-header-short { display: none; }
}
@media (max-width: 899px) {
  .gus-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--gus-paper); padding: 16px 24px; overflow: auto; transform: translateX(100%); transition: transform .2s ease; }
  .gus-nav.is-open { transform: translateX(0); }
  .gus-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .gus-nav-sub { position: static; display: none; box-shadow: none; border: none; padding-left: 12px; }
  .gus-nav-drop.is-open .gus-nav-sub { display: flex; }
}

/* buttons */
.gus-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  padding: 13px 22px; border-radius: var(--gus-radius); text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1.1;
}
.gus-btn-accent { background: var(--gus-accent); color: #fff; }
.gus-btn-accent:hover { background: var(--gus-accent-d); color: #fff; }
.gus-btn-ghost { background: var(--gus-paper); color: var(--gus-accent-d); border-color: var(--gus-accent-d); }
.gus-btn-ghost:hover { background: var(--gus-accent-l); color: var(--gus-ink); }
.sec-ink .gus-btn-ghost, .gus-cta-band .gus-btn-ghost, .gus-merci .gus-btn-ghost {
  background: var(--gus-ink); color: #fff; border-color: #fff;
}
.sec-ink .gus-btn-ghost:hover, .gus-cta-band .gus-btn-ghost:hover, .gus-merci .gus-btn-ghost:hover {
  background: #fff; color: var(--gus-ink); border-color: #fff;
}

/* sections & fond alterné */
.gus-band { padding: 40px 0; }
@media (max-width: 480px) { .gus-band { padding: 30px 0; } }
.gus-band-alt { background: var(--gus-surface); }
.gus-band-alt2 { background: var(--gus-surface-2); }
.sec-ink { background: var(--gus-ink); color: #f3e7ee; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink a:not(.gus-btn) { color: #f6c9dc; }

/* hero */
.gus-hero { padding: 40px 0 48px; }
.gus-kicker { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--gus-accent-d); font-weight: 700; margin: 0 0 10px; }
.gus-lede { font-size: 1.1rem; color: oklch(0.32 0.02 343); max-width: 62ch; }
.gus-hero-grid { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .gus-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 28px; } }
.gus-hero-panel {
  order: -1; background: #fff; border: 1px solid var(--gus-line); border-radius: 8px; padding: 18px;
  box-shadow: 0 10px 30px rgba(90, 20, 45, 0.08);
}
@media (min-width: 960px) { .gus-hero-panel { order: 0; padding: 24px; } }
.gus-hero-panel .gus-form { gap: 10px; }
.gus-hero-panel .gus-field input, .gus-hero-panel .gus-field select { padding: 9px 11px; }

/* bande de preuve (4 chiffres, fond ink) */
.gus-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 8px; }
@media (min-width: 700px) { .gus-proof-grid { grid-template-columns: repeat(4, 1fr); } }
.gus-proof-num { font-family: var(--font-brand); font-size: clamp(1.6rem, 3vw, 2.2rem); display: block; color: var(--gus-accent-l); }
.gus-proof-label { font-size: 0.9rem; color: #e9cfdb; }

/* forms */
.gus-form { display: grid; gap: 14px; }
.gus-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.gus-field input, .gus-field textarea, .gus-field select {
  width: 100%; font: inherit; padding: 11px 12px; border-radius: var(--gus-radius);
  border: 1.5px solid var(--gus-field-line); background: #fff; color: var(--gus-ink);
}
.gus-field input:focus, .gus-field textarea:focus, .gus-field select:focus {
  outline: 3px solid var(--gus-accent-l); outline-offset: 1px;
}
.gus-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gus-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; }
.gus-consent input { width: auto; margin-top: 3px; }
.gus-reassure { font-size: 0.85rem; color: oklch(0.4 0.02 343); margin: 4px 0 0; }
.sec-ink .gus-reassure, .gus-cta-band .gus-reassure { color: #ecd6e0; }

/* two-up / cards */
.gus-two-up { display: grid; gap: 32px; }
@media (min-width: 860px) { .gus-two-up { grid-template-columns: 1fr 1fr; } }
.gus-cards-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .gus-cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gus-cards-4 { grid-template-columns: repeat(4, 1fr); } }
.gus-card { background: #fff; border: 1px solid var(--gus-line); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.gus-card h3 { font-size: 1.05rem; }
.gus-card h3 a { text-decoration: none; color: var(--gus-ink); }
.gus-card-link { font-size: 0.9rem; font-weight: 700; text-decoration: none; }

.gus-content-narrow { max-width: 760px; }
.gus-content-block { margin-bottom: 28px; }
.gus-content-block table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.95rem; }
.gus-content-block th, .gus-content-block td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--gus-line); vertical-align: top; }
.gus-content-block thead th { background: var(--gus-surface); font-family: var(--font-body); font-weight: 700; }
.gus-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.gus-check li { padding-left: 26px; position: relative; }
.gus-check li::before { content: "✓"; position: absolute; left: 0; color: var(--gus-accent-d); font-weight: 700; }

/* FAQ */
.gus-faq { display: block; }
.gus-faq-item { border-bottom: 1px solid var(--gus-line); padding: 14px 0; }
.gus-faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; }
.gus-faq-item summary::-webkit-details-marker { display: none; }
.gus-faq-item summary::before { content: "+ "; color: var(--gus-accent-d); }
.gus-faq-item[open] summary::before { content: "– "; }
.gus-faq-a { padding-top: 10px; }

/* breadcrumb */
.gus-breadcrumb { font-size: 0.85rem; color: oklch(0.45 0.02 343); margin-bottom: 14px; }
.gus-breadcrumb a { color: oklch(0.45 0.02 343); text-decoration: underline; }
.gus-breadcrumb .sep { margin: 0 6px; }

/* stapes / déroulé */
.gus-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .gus-etapes { grid-template-columns: repeat(4, 1fr); } }
.gus-etape { position: relative; padding-top: 40px; }
.gus-etape-num {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-brand); font-size: 1.6rem; color: var(--gus-accent-l);
}
.gus-etape h3 { font-size: 1.02rem; color: #fff; }
.gus-etape p { font-size: 0.92rem; color: #e9cfdb; }

/* simulateur -- module signature */
.gus-sim { background: #fff; border: 1px solid var(--gus-line); border-radius: 10px; padding: 26px; display: grid; gap: 18px; }
.gus-sim-fields { display: grid; gap: 16px; }
@media (min-width: 700px) { .gus-sim-fields { grid-template-columns: 1fr 1fr; } }
.gus-sim-out {
  background: var(--gus-ink); color: #fff; border-radius: 8px; padding: 20px; text-align: center;
}
.gus-sim-out-value { font-family: var(--font-brand); font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--gus-accent-l); display: block; margin-bottom: 6px; }
.gus-sim-out-note { font-size: 0.85rem; color: #e9cfdb; }

/* blog */
.gus-blog-list { display: grid; gap: 14px; }
.gus-blog-item { border-bottom: 1px solid var(--gus-line); padding-bottom: 14px; }
.gus-blog-date { font-size: 0.8rem; color: oklch(0.45 0.02 343); margin: 0 0 3px; }
.gus-blog-item h2 { font-size: 1.1rem; margin: 0 0 4px; }
.gus-blog-item p { margin: 0; font-size: 0.92rem; }
.gus-blog-item h2 a { text-decoration: none; color: var(--gus-ink); }
.gus-article-body h2 { margin-top: 1.4em; }

/* CTA final */
.gus-cta-band { background: var(--gus-ink); color: #fff; }
.gus-cta-band h2 { color: #fff; }

/* footer */
.gus-footer { background: var(--gus-ink); color: #e9cfdb; padding: 40px 0 0; }
.gus-footer-cols { display: grid; gap: 28px; padding-bottom: 24px; }
@media (min-width: 760px) { .gus-footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.gus-footer-brand { font-family: var(--font-brand); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.gus-footer a { color: #f6c9dc; }
.gus-footer-h { font-weight: 700; color: #fff; margin-bottom: 8px; }
.gus-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-sources { font-size: 0.78rem; color: #cbaebb; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 14px; margin-top: 10px; }
.foot-sources a { color: #cbaebb; }
.gus-copy { font-size: 0.8rem; color: #b98fa0; padding: 14px 0 22px; }

.gus-merci { text-align: center; padding: 70px 0; }

/* accessibilité : focus visible générique */
a:focus-visible, button:focus-visible { outline: 3px solid var(--gus-accent-l); outline-offset: 2px; }
