/* Table Assurée, styles du site v3 (4 décembre 2026)
   Refonte premium : esthétique épurée type grande tech (Apple, Microsoft, Tesla).
   Aucune ressource externe : polices système, icônes SVG en ligne.
   Palette restreinte : vert profond de la marque, neutres froids, blanc.
   L'orange de la marque ne subsiste que dans le logo. */

:root {
  --vert: #1e5c3f;
  --vert-profond: #17492f;
  --vert-nuit: #0a2a1b;
  --encre: #1d1d1f;
  --gris: #6e6e73;
  --gris-clair: #86868b;
  --ligne: #d2d2d7;
  --ligne-douce: rgba(0, 0, 0, 0.07);
  --fond: #ffffff;
  --fond-alt: #f5f5f7;
  --fond-vert: #eef4f0;
  --fond-orange: #f5f5f7;
  --rouge-doux: #f7ecec;
  --rouge: #9c3232;
  --rayon: 20px;
  --ombre: 0 4px 24px rgba(0, 0, 0, 0.04);
  --ombre-forte: 0 12px 40px rgba(0, 0, 0, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--fond);
  color: var(--encre);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--vert-profond); color: #fff; }

a { color: var(--vert); text-decoration: none; }
a:hover { color: var(--vert-profond); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--vert);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--vert-nuit); color: #fff;
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- En-tête ---------- */

.site-header {
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--ligne-douce);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  font-size: 19px;
  font-weight: 700;
  color: var(--encre);
  letter-spacing: -0.4px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo:hover { color: var(--encre); text-decoration: none; }
.logo .logo-mark {
  width: 28px; height: 28px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo .logo-mark img { width: 28px; height: 28px; display: block; border-radius: 7px; }
.logo span { color: var(--vert); font-weight: 700; }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--encre);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  padding: 7px 11px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: rgba(0, 0, 0, 0.045); color: var(--encre); text-decoration: none; }
.main-nav a.actif { color: var(--vert-profond); font-weight: 600; }
.main-nav a.nav-cta {
  background: var(--vert);
  color: #fff;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  margin-left: 12px;
  transition: background 0.15s ease;
}
.main-nav a.nav-cta:hover { background: var(--vert-profond); color: #fff; }

/* Sélecteur de langue FR / EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  padding: 2px;
  flex: none;
  background: #fff;
}
.lang-switch button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: var(--gris);
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button.actif { background: var(--vert-profond); color: #fff; }
.lang-switch button:not(.actif):hover { color: var(--encre); }

.nav-toggle {
  display: none;
  margin-left: 4px;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--encre);
  line-height: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Structure ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 22px; }

section.bloc { padding: 96px 0 8px; }
section.bloc:last-of-type { padding-bottom: 96px; }
section.bloc .entete-section { text-align: center; max-width: 780px; margin: 0 auto 8px; }
section.bloc p.intro { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }

.bande-alt { background: var(--fond-alt); }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gris-clair);
  margin-bottom: 14px;
  text-align: center;
}
.wrap-narrow .eyebrow, .aligne-gauche .eyebrow { text-align: left; }

h1 {
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--encre);
}
h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--encre);
}
h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; color: var(--encre); }

p { margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--gris); line-height: 1.5; font-weight: 400; }
.petit { font-size: 14px; color: var(--gris-clair); }
.source { font-size: 13px; color: var(--gris-clair); margin-top: 12px; }

ul.inclus, ul.simple { padding-left: 2px; margin-bottom: 12px; list-style: none; }
ul.inclus li, ul.simple li {
  margin-bottom: 13px;
  padding-left: 30px;
  position: relative;
}
ul.inclus li::before, ul.simple li::before {
  content: "";
  position: absolute; left: 1px; top: 4px;
  width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5c3f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  background: var(--vert);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--vert-profond); color: #fff; text-decoration: none; }
.btn.secondaire {
  background: transparent;
  color: var(--vert);
  border: 1px solid var(--vert);
}
.btn.secondaire:hover { background: var(--vert); color: #fff; }
.btn.bloc { display: block; width: 100%; }
.btn[disabled], .btn.desactive { opacity: 0.5; pointer-events: none; }

.lien-fleche { font-weight: 500; }
.lien-fleche::after { content: " ›"; }

/* ---------- Héros (pleine largeur, vert nuit) ---------- */

.hero {
  background:
    radial-gradient(1100px 520px at 50% -180px, rgba(64, 145, 102, 0.38) 0%, rgba(64, 145, 102, 0) 62%),
    linear-gradient(180deg, #0d3320 0%, var(--vert-nuit) 78%);
  color: #fff;
  text-align: center;
  padding: 118px 22px 104px;
}
.hero .hero-inner { max-width: 880px; margin: 0 auto; }
.hero .badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 26px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(46px, 7vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: #8fd0a8; }
.hero .lead { color: rgba(255, 255, 255, 0.78); max-width: 700px; margin: 0 auto 8px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin: 30px 0 38px;
}
.hero-points span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points span::before {
  content: "";
  width: 15px; height: 15px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd0a8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.hero .btn {
  background: #fff;
  color: var(--vert-nuit);
  padding: 16px 32px;
  font-size: 17px;
}
.hero .btn:hover { background: #e8f0ea; color: var(--vert-nuit); }
.hero .btn.secondaire {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.hero .btn.secondaire:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.hero-note { font-size: 14.5px; color: rgba(255, 255, 255, 0.62); margin-top: 22px; }
.hero-note a { color: #fff; }

/* ---------- Cartes et encadrés ---------- */

.carte {
  background: var(--fond);
  border: 1px solid var(--ligne-douce);
  border-radius: var(--rayon);
  padding: 32px 30px;
  box-shadow: var(--ombre);
  margin-bottom: 18px;
}
.bande-alt .carte { background: #fff; }

.grille-3 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px 0 10px;
}
.grille-3 .carte { margin-bottom: 0; }
.grille-2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px 0 10px;
}
.grille-2 .carte { margin-bottom: 0; }

.etape-num {
  display: block;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(30, 92, 63, 0.22);
  margin-bottom: 16px;
}

.chiffre {
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 700;
  color: var(--encre);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.carte-centre { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.carte-centre .source { text-align: center; }

.encadre-prix {
  text-align: center;
  max-width: 820px;
  margin: 30px auto 8px;
  padding: 14px 0 6px;
}
.encadre-prix .prix {
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 700;
  color: var(--encre);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 10px 0 14px;
}
.encadre-prix .prix small { font-size: 0.42em; font-weight: 600; color: var(--gris); letter-spacing: -0.01em; }

.alerte-verte {
  background: var(--fond-vert);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 26px 0;
  font-size: 16px;
}

/* ---------- Tableau de comparaison ---------- */

.tableau-scroll { overflow-x: auto; margin: 30px 0 10px; }
table.comparaison {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 15.5px;
  min-width: 620px;
}
table.comparaison th, table.comparaison td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ligne);
  vertical-align: top;
}
table.comparaison thead th {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gris-clair);
  border-bottom: 1px solid var(--ligne);
}
table.comparaison tr.nous { background: var(--fond-vert); font-weight: 600; }
table.comparaison tr.nous td:first-child { color: var(--vert-profond); }
table.comparaison tr:last-child td { border-bottom: none; }

/* ---------- FAQ (accordéon natif, lignes fines) ---------- */

.faq-liste { max-width: 840px; margin: 30px auto 0; }
.faq-item { border-bottom: 1px solid var(--ligne); }
.faq-item:first-child { border-top: 1px solid var(--ligne); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 4px;
  font-weight: 600;
  font-size: 18px;
  color: var(--encre);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gris-clair);
  border-bottom: 2px solid var(--gris-clair);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open ] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item .faq-corps { padding: 0 4px 24px; color: #3a3a3c; max-width: 760px; }
.faq-item .faq-corps p:last-child { margin-bottom: 0; }

/* ---------- Formulaires ---------- */

.form-carte {
  background: var(--fond);
  border: 1px solid var(--ligne-douce);
  border-radius: var(--rayon);
  padding: 36px 32px;
  box-shadow: var(--ombre);
  margin: 26px 0;
}
.form-carte label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris);
  margin: 20px 0 7px;
}
.form-carte label:first-of-type { margin-top: 0; }
.form-carte input,
.form-carte select,
.form-carte textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  background: #fff;
  color: var(--encre);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-carte input:focus,
.form-carte select:focus,
.form-carte textarea:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 4px rgba(30, 92, 63, 0.13);
  outline: none;
}
.form-carte .row { display: flex; gap: 14px; }
.form-carte .row > div { flex: 1; }
.form-carte .aide { font-size: 13px; color: var(--gris-clair); margin-top: 6px; }
.form-carte .btn { margin-top: 26px; }

.etapes-inscription { counter-reset: etapes; margin: 26px 0; }
.etapes-inscription li {
  list-style: none;
  margin-bottom: 18px;
  padding-left: 48px;
  position: relative;
}
.etapes-inscription li::before {
  counter-increment: etapes;
  content: counter(etapes);
  position: absolute;
  left: 0; top: -2px;
  color: var(--vert);
  font-weight: 700;
  width: 32px; height: 32px;
  line-height: 30px;
  text-align: center;
  border: 1.5px solid var(--vert);
  border-radius: 50%;
  font-size: 15px;
  background: #fff;
}

.message-merci {
  display: none;
  background: var(--fond-vert);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 26px 0;
}
.message-merci.visible { display: block; }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--fond-alt);
  color: var(--gris);
  margin-top: 0;
  padding: 52px 0 30px;
  font-size: 14px;
  border-top: 1px solid var(--ligne-douce);
}
.site-footer a { color: #424245; }
.site-footer a:hover { color: var(--encre); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.site-footer h3 { color: var(--encre); font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal {
  border-top: 1px solid var(--ligne);
  margin-top: 34px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--gris-clair);
}

/* ---------- Démo (parcours de réservation) ---------- */

.demo { max-width: 480px; margin: 0 auto; }
.demo .demo-nav { display: flex; gap: 4px; margin: 28px 0 18px; background: var(--fond-alt); border-radius: 999px; padding: 4px; }
.demo .demo-nav button {
  flex: 1; padding: 9px 2px; font-size: 12px; font-weight: 600;
  border: none; background: transparent; border-radius: 999px;
  cursor: pointer; color: var(--gris); font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.demo .demo-nav button.active { background: #fff; color: var(--encre); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10); }
.demo .screen { display: none; }
.demo .screen.active { display: block; animation: fondu 0.25s ease; }
@keyframes fondu { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.demo .card {
  background: #fff; border-radius: 24px; padding: 28px 24px;
  box-shadow: var(--ombre-forte);
  border: 1px solid var(--ligne-douce);
}
.demo .resto-name { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.demo .resto-sub { color: var(--gris-clair); font-size: 14px; margin: 3px 0 18px; }
.demo label { display: block; font-size: 13px; font-weight: 600; color: var(--gris); margin: 16px 0 7px; }
.demo input, .demo select {
  width: 100%; padding: 13px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--ligne); border-radius: 12px; background: #fff; color: var(--encre);
}
.demo input:focus, .demo select:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 4px rgba(30, 92, 63, 0.13);
  outline: none;
}
.demo .row { display: flex; gap: 10px; }
.demo .row > div { flex: 1; }
.demo .btn { display: block; width: 100%; padding: 15px; margin-top: 22px; font-size: 16px; }
.demo .btn.secondary { background: #fff; color: var(--vert); border: 1px solid var(--vert); }
.demo .btn.secondary:hover { background: var(--vert); color: #fff; }
.demo .note { font-size: 13px; color: var(--gris-clair); margin-top: 13px; line-height: 1.5; }
.demo .check {
  width: 60px; height: 60px; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--fond-vert);
  display: flex; align-items: center; justify-content: center;
}
.demo .check svg { width: 28px; height: 28px; }
.demo h2.screen-title { font-size: 21px; font-weight: 700; margin-bottom: 6px; color: var(--encre); letter-spacing: -0.02em; }
.demo .summary { background: var(--fond-alt); border-radius: 14px; padding: 16px 18px; margin: 16px 0; font-size: 15px; line-height: 1.7; }
.demo .summary b { color: var(--vert-profond); }
.demo .deposit-box { background: var(--fond-alt); border-radius: 16px; padding: 20px; margin-top: 18px; }
.demo .deposit-box .amount { font-size: 25px; font-weight: 700; color: var(--encre); letter-spacing: -0.02em; }
.demo .deposit-box p { font-size: 14.5px; line-height: 1.55; margin-top: 7px; color: #3a3a3c; }
.demo .phone { background: #101012; border-radius: 40px; padding: 11px; max-width: 350px; margin: 0 auto; box-shadow: var(--ombre-forte); }
.demo .phone-screen { background: #f2f2f4; border-radius: 30px; padding: 18px 12px 22px; min-height: 430px; }
.demo .phone-head { text-align: center; font-size: 13px; font-weight: 600; color: var(--gris); padding-bottom: 11px; border-bottom: 1px solid var(--ligne); margin-bottom: 13px; }
.demo .sms { max-width: 84%; padding: 10px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.demo .sms.in { background: #fff; border-bottom-left-radius: 5px; }
.demo .sms.out { background: var(--vert); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.demo .sms .when { display: block; font-size: 11px; font-weight: 600; opacity: 0.55; margin-bottom: 4px; }
.demo .table-list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.demo .table-list td { padding: 12px 6px; border-bottom: 1px solid var(--ligne-douce); vertical-align: top; }
.demo .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.demo .pill.ok { background: var(--fond-vert); color: var(--vert-profond); }
.demo .pill.wait { background: #f3ece1; color: #7a5518; }
.demo .pill.none { background: var(--rouge-doux); color: var(--rouge); }
.demo .alert-box { background: var(--fond-vert); border-radius: 14px; padding: 17px 19px; margin-top: 18px; font-size: 14.5px; line-height: 1.6; }
.demo .step-hint { text-align: center; font-size: 13px; color: var(--gris-clair); margin-top: 16px; }

/* ---------- Écrans plus larges ---------- */

@media (min-width: 720px) {
  .grille-3 { flex-direction: row; }
  .grille-3 .carte { flex: 1 1 0; }
  .grille-2 { flex-direction: row; }
  .grille-2 .carte { flex: 1 1 0; }
  .site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(251, 251, 253, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--ligne-douce);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    gap: 2px;
  }
  .main-nav.ouvert { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 16px; }
  .main-nav a.nav-cta { margin: 10px 0 0; text-align: center; }
  .header-inner { position: relative; }
  .lang-switch { margin-left: auto; }
  .form-carte .row { flex-direction: column; gap: 0; }
  section.bloc { padding-top: 64px; }
  section.bloc:last-of-type { padding-bottom: 64px; }
  .hero { padding: 84px 20px 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
