/* ============================================================
   WinWinTrip — feuille de style partagée (sous-pages)
   Réutilise les tokens de design de la home (index.html)
   ============================================================ */
:root {
  --teal: #40c2b3;
  --teal-dark: #2EA89A;
  --teal-light: #e8f8f5;
  --gold: #fcbf30;
  --gold-dark: #e5a91a;
  --gold-light: #fef6dc;
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --ink-4: #94A3B8;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-2: #F7F9FC;
  --bg-3: #EEF2F8;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; letter-spacing: -0.5px;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-img {
  height: 34px; width: auto; display: block;
  object-fit: contain;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* === PAGE HEADER === */
.page-hero {
  position: relative;
  padding: 56px 0 36px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(64,194,179,0.12) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 20%, rgba(252,191,48,0.08) 0%, transparent 60%);
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 900; letter-spacing: -1.4px;
  line-height: 1.08;
}
.page-hero .page-sub {
  margin-top: 14px;
  font-size: 17px; color: var(--ink-3);
  max-width: 640px;
}
.page-hero .updated {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 100px;
}

/* === DOC CONTENT === */
.doc { padding: 40px 0 64px; flex: 1; }
.doc-wrap { max-width: 820px; margin: 0 auto; }
.doc h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  margin: 38px 0 14px; color: var(--ink);
  scroll-margin-top: 80px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 17px; font-weight: 800; color: var(--ink-2);
  margin: 24px 0 10px;
}
.doc p { color: var(--ink-2); margin-bottom: 14px; font-size: 15.5px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; color: var(--ink-2); font-size: 15.5px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.doc .lead {
  font-size: 16.5px; color: var(--ink-3); line-height: 1.7;
  margin-bottom: 24px;
}
.doc .todo {
  display: inline-block;
  background: var(--gold-light); color: var(--gold-dark);
  border: 1px dashed var(--gold-dark);
  border-radius: 6px; padding: 1px 8px;
  font-size: 13px; font-weight: 700;
}
.doc .callout {
  background: var(--teal-light); border: 1px solid var(--teal);
  border-radius: 12px; padding: 16px 18px; margin: 22px 0;
  color: var(--ink-2); font-size: 14.5px;
}
.doc a { font-weight: 600; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  transition: all .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px -5px rgba(64,194,179,0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(64,194,179,0.6);
}
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-3); }

/* === CONTACT === */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 48px; align-items: start;
}
.contact-aside h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.contact-aside p { color: var(--ink-3); font-size: 15.5px; margin-bottom: 24px; }
.contact-info { list-style: none; margin: 0; padding: 0; }
.contact-info li {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
}
.contact-info .ci-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--teal-light); color: var(--teal);
  display: grid; place-items: center;
}
.contact-info .ci-icon svg { width: 20px; height: 20px; }
.contact-info .ci-label {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ink-4); margin-bottom: 3px;
}
.contact-info .ci-value { font-size: 15px; color: var(--ink-2); font-weight: 600; }

.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--ink-2); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 15px;
  color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(64,194,179,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 12px; color: var(--ink-4); margin-top: 6px; }
/* honeypot — hidden from humans, catches bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  display: none; margin-top: 4px; margin-bottom: 16px;
  padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal); }
.form-status.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.contact-card .btn-primary { width: 100%; justify-content: center; }
.contact-card .btn-primary[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.form-consent { font-size: 12.5px; color: var(--ink-4); margin-top: 14px; text-align: center; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
}

/* === FOOTER === */
footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: auto;
}
.footer-mini {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo { font-size: 15px; flex-shrink: 0; }
.footer-logo .logo-mark { width: 28px; height: 28px; border-radius: 7px; }
.footer-logo .logo-mark svg { width: 15px; height: 15px; }
.footer-links {
  display: flex; gap: 22px; flex-wrap: wrap;
  flex: 1; justify-content: center;
}
.footer-links a {
  color: var(--ink-3); font-size: 13px; font-weight: 500;
  transition: color .2s;
}
.footer-links a:hover { color: var(--teal); text-decoration: none; }
.footer-social {
  display: flex; gap: 14px; align-items: center; flex-shrink: 0;
}
.footer-social a {
  color: var(--ink-3); display: inline-flex; align-items: center;
  transition: color .2s;
}
.footer-social a:hover { color: var(--teal); }
.footer-social svg { width: 20px; height: 20px; display: block; }
.footer-support {
  gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: var(--teal); color: #fff !important;
  font-size: 13px; font-weight: 600;
}
.footer-support svg { width: 16px; height: 16px; }
.footer-support:hover { color: #fff !important; filter: brightness(1.08); }
.footer-meta {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: 12px;
  flex-basis: 100%; width: 100%;
  padding-top: 14px; margin-top: 4px;
  border-top: 1px solid var(--line, rgba(0,0,0,.08));
}
.footer-meta .dot { opacity: 0.5; }
@media (max-width: 720px) {
  .footer-mini { justify-content: center; text-align: center; gap: 16px; }
  .footer-links { gap: 14px 18px; justify-content: center; }
  .footer-links a { font-size: 12.5px; }
  .footer-social { justify-content: center; }
}
