/* ═══════════════════════════════════════════════════════════
   TRIAL GESTION PRIVÉE — Entretien découverte
   Charte Groupe TRIAL : signature TRIAL Gestion Privée #409293 · Manrope / Inter
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tgp: #409293;          /* signature */
  --tgp-deep: #325558;     /* profond */
  --tgp-light: #D4E8E8;    /* claire */
  --accent: #C56337;       /* terracotta */
  --accent-plus: #E69256;  /* orange */
  --graphite: #4A4E55;
  --ink: #26393B;
  --bg: #FFFFFF;
  --bg-soft: #F4F9F9;
  --line: #DCE7E7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(50, 85, 88, .12);
  --font-title: "Manrope", "Aptos", "Calibri", system-ui, sans-serif;
  --font-body: "Inter", "Aptos", "Calibri", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-title); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--tgp-deep); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--tgp-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent-plus); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tgp); margin-bottom: .9rem;
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-title); font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-plus); transform: translateY(-1px); }
.btn-ghost { color: var(--tgp-deep); border-color: var(--tgp); background: transparent; }
.btn-ghost:hover { background: var(--tgp-light); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }

/* ── En-tête ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--graphite); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--tgp); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 38px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--tgp-light) 100%);
  padding: clamp(56px, 9vw, 110px) 0;
}
/* Écho du cercle et du coup de pinceau du logo */
.hero::before {
  content: ""; position: absolute; right: -140px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 2px solid rgba(64, 146, 147, .25);
}
.hero::after {
  content: ""; position: absolute; right: 8%; bottom: -60px;
  width: 360px; height: 120px; border-radius: 60% 40% 70% 30% / 70% 60% 40% 30%;
  background: var(--tgp); opacity: .08; transform: rotate(-12deg);
}
.hero .wrap > * { min-width: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.promises { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.promises li {
  display: inline-flex; align-items: center; gap: .45em;
  background: #fff; color: var(--tgp-deep); font-weight: 600; font-size: .92rem;
  padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line);
}
.promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tgp); }

.ticket {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px; border-top: 6px solid var(--tgp);
}
.ticket h2 { font-size: 1.35rem; }
.ticket dl { margin: 18px 0 24px; display: grid; gap: 14px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.ticket dt { color: var(--graphite); }
.ticket dd { margin: 0; overflow-wrap: anywhere; font-family: var(--font-title); font-weight: 700; color: var(--ink); text-align: right; }
.ticket .btn { width: 100%; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--tgp); box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { margin: 0; font-size: .97rem; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--tgp-light); color: var(--tgp-deep);
}
.icon svg { width: 24px; height: 24px; }

/* ── Étapes ──────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding-top: 70px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 800; font-size: 1.3rem;
  background: var(--tgp); color: #fff;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 68px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--tgp) 0 8px, transparent 8px 14px); opacity: .45;
}
.steps p { margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
}

/* ── Réservation ─────────────────────────────────────────── */
.booking { background: linear-gradient(180deg, var(--tgp-light) 0%, var(--bg-soft) 100%); }
.booking .section-head { margin-inline: auto; text-align: center; }
.booking .promises { justify-content: center; margin: 0 0 28px; }
.notice {
  max-width: 760px; margin: 0 auto 28px; display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .95rem;
}
.notice strong { color: var(--accent); }
.notice p { margin: 0; }
.booking-cta { text-align: center; }
.booking-note { margin: 14px 0 0; font-size: .95rem; color: var(--graphite); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-title); font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--tgp); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-right: 44px; }

/* ── Bandeau final ───────────────────────────────────────── */
.cta-band { background: var(--tgp-deep); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }

/* ── Pied de page ────────────────────────────────────────── */
.site-footer { background: #1F3436; color: rgba(255, 255, 255, .78); padding: 48px 0 32px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer strong { color: #fff; font-family: var(--font-title); }
.site-footer a { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ── Pages légales ───────────────────────────────────────── */
.legal { max-width: 820px; padding: 56px 0 88px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.todo { background: #FDF0E6; color: var(--accent); font-weight: 600; padding: 0 .3em; border-radius: 4px; }
