:root {
  --red: #FF385C;
  --red-dark: #E31C5F;
  --green: #16A34A;
  --green-dark: #15803D;
  --ink: #17171A;
  --gray-700: #484848;
  --gray-500: #767676;
  --gray-200: #E8E8EA;
  --gray-100: #F5F5F6;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17,17,17,.06), 0 8px 24px rgba(17,17,17,.06);
  --shadow-glow: 0 0 0 1px rgba(255,56,92,.15), 0 8px 20px rgba(255,56,92,.28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-200);
}
.btn--ghost:hover { border-color: var(--gray-500); }
.btn--outline {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover { background: rgba(255,56,92,.06); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__name { font-weight: 800; font-size: 16px; }
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .2px;
  box-shadow: 0 0 16px rgba(255,56,92,.55), 0 0 2px rgba(255,56,92,.8);
}
.logo--sm { width: 32px; height: 32px; font-size: 11px; border-radius: 10px; }
.nav__links {
  display: none;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-700);
}
.nav__links a:hover { color: var(--ink); }
@media (min-width: 860px) {
  .nav__links { display: flex; }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.nav__login {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}
.nav__login:hover { color: var(--red); }

/* Menu mobile (checkbox hack, sans JS) */
.nav__toggle-input { display: none; }
.nav__toggle {
  display: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}
.nav__toggle::before {
  content: "☰";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink);
}
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 8px 24px 16px;
}
.nav__mobile a {
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-top: 1px solid var(--gray-200);
}
.nav__mobile a:first-child { border-top: none; }

@media (max-width: 859px) {
  .nav__login { display: none; }
  .nav__toggle { display: block; }
  #navToggle:checked ~ .nav__actions .nav__toggle::before { content: "✕"; }
  #navToggle:checked ~ .nav__mobile { display: flex; }
}

/* Hero */
.hero { padding: 64px 0 80px; }
.hero__inner {
  display: grid;
  gap: 48px;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; }
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--red-dark);
  background: rgba(255,56,92,.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 { font-size: clamp(32px, 5vw, 48px); }
.hero__lead { font-size: 18px; color: var(--gray-700); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 4px; }

/* Hero mock dashboard */
.hero__visual { display: flex; justify-content: center; }
.mock {
  width: 100%;
  max-width: 460px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.mock__header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock__logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 10px; line-height: 1;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255,56,92,.5);
}
.mock__title { font-weight: 800; font-size: 15px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.mock__stats--4 { grid-template-columns: repeat(2, 1fr); }
.mock__stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  border: 1px solid var(--gray-200);
}
.mock__stat strong { display: block; font-size: 14px; }
.mock__stat span { font-size: 10px; color: var(--gray-500); }
.mock__stat--accent strong { color: var(--red); }
.mock__list { display: flex; flex-direction: column; gap: 8px; }
.mock__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
}
.mock__item--today { border-color: rgba(255,56,92,.4); box-shadow: 0 0 0 1px rgba(255,56,92,.12); }
.mock__item strong { display: block; font-size: 13px; margin-bottom: 3px; }
.mock__meta { font-size: 10px; color: var(--gray-500); margin-top: 4px; }
.mock__badge {
  font-size: 10px;
  font-weight: 700;
  color: #0B67C2;
  background: #E7F1FC;
  padding: 2px 8px;
  border-radius: 999px;
}
.mock__badge--today { color: var(--red-dark); background: rgba(255,56,92,.12); }
.mock__badge--waiting { color: #6D28D9; background: #EDE9FE; }
.mock__amount { font-weight: 800; font-size: 13px; white-space: nowrap; }

/* Schema : la fenêtre des 14 jours, visualisée */
.timeline-card { margin-top: 28px; }
.timeline-card h3 { font-size: 17px; margin-bottom: 28px; text-align: center; }
.schema {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.schema__step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
.schema__step:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--gray-200);
  z-index: 1;
}
.schema__step.schema__step--safe::before {
  background: var(--green);
  height: 6px;
  top: 23px;
  border-radius: 999px;
}
.schema__icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  font-size: 22px;
  margin-bottom: 12px;
}
.schema__icon--warn { background: #FFF6E5; border-color: #E8A100; }
.schema__icon--danger { background: rgba(255,56,92,.1); border-color: var(--red); }
.schema__step strong { display: block; font-size: 13px; margin-bottom: 3px; }
.schema__label { font-size: 12px; color: var(--gray-500); line-height: 1.3; }
.schema__zone {
  margin: 22px 0 0;
  background: rgba(22,163,74,.08);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
}
.schema__zone strong { color: var(--green-dark); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--gray-100); }
.section h2 { font-size: clamp(26px, 3.6vw, 34px); }
.section__lead { font-size: 17px; max-width: 62ch; }

.cards { display: grid; gap: 20px; margin-top: 32px; }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .cards--2 { grid-template-columns: 1fr 1fr; }
}

/* Banner */
.banner { background: var(--red); padding: 56px 0; }
.banner__text {
  margin: 0;
  text-align: center;
  color: var(--white);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 38px);
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card__icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 15px; margin-bottom: 0; }

.callout {
  margin-top: 28px;
  border-left: 4px solid var(--red);
  background: rgba(255,56,92,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
}
.callout p { margin: 0; color: var(--ink); font-weight: 600; }

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; }

/* Aperçu d'une fiche AirCover */
.detail-mock {
  margin-top: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.detail-mock__alert {
  background: #FFF6E5;
  color: #8A5300;
  border: 1px solid #F2D399;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 18px;
}
.detail-mock__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-mock__top strong { font-size: 18px; }
.detail-mock__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .detail-mock__grid { grid-template-columns: 1.3fr 1fr; }
}
.detail-mock__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray-500);
  margin: 16px 0 6px;
}
.detail-mock__label:first-child { margin-top: 0; }
.detail-mock__text { font-size: 14px; color: var(--gray-700); margin: 0; }
.detail-mock__file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.detail-mock__side {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px;
  align-self: start;
}
.detail-mock__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 8px 0;
  border-top: 1px solid var(--gray-200);
}
.detail-mock__row:first-child { border-top: none; padding-top: 0; }
.detail-mock__row span { color: var(--gray-500); }
.detail-mock__row strong { font-weight: 700; text-align: right; }

/* Pricing */
.free-card {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--red);
  box-shadow: var(--shadow-glow);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.free-card__tag {
  display: inline-block;
  background: rgba(255,56,92,.1);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.free-card__price { font-size: 56px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.free-card__desc { font-size: 16px; margin-bottom: 26px; }
#tarifs h2, #tarifs .section__lead { text-align: center; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--red);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; font-size: 15px; }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--gray-200); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer p { font-size: 13px; color: var(--gray-500); margin: 0; }
.footer__copy { margin-top: 8px; }
