/* ============================================================
   Landing page
   ============================================================ */

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(1.25rem, 3.5vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
}

.hero-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.9vw, 4rem);
  max-width: 24ch;
}

.br-wide {
  display: none;
}

@media (min-width: 980px) {
  .br-wide {
    display: inline;
  }
}

.hero-lead {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: var(--encre-doux);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.hero-note {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--brume);
  max-width: 42ch;
  font-size: 0.85rem;
  color: var(--encre-doux);
}



/* ---------- les deux choix ---------- */
.choice-grid {
  display: grid;
  gap: 0.75rem;
}

.choice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon body"
    "meta meta";
  gap: 0.9rem 1rem;
  min-height: 128px;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: var(--r-panneau);
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.choice--studio {
  background: var(--studio);
  color: var(--papier);
  border-top: 4px solid var(--signal);
}

.choice--distance {
  background: var(--soleil);
  color: var(--encre);
  border-top: 4px solid var(--encre);
}

@media (hover: hover) {
  .choice:hover {
    transform: translateY(-3px);
  }
  .choice--studio:hover {
    background: var(--studio-2);
  }
  .choice--distance:hover {
    background: #f5b34e;
  }
}

.choice-icon {
  grid-area: icon;
  align-self: start;
  display: block;
  width: 28px;
  height: 28px;
  margin-top: 0.1rem;
}

.choice-body {
  grid-area: body;
}

.choice-title {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  font-stretch: 88%;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.choice-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  opacity: 0.82;
  max-width: 32ch;
}

.choice-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
}

.choice--studio .choice-meta {
  border-top: 1px solid rgba(244, 245, 242, 0.22);
}

.choice--distance .choice-meta {
  border-top: 1px solid rgba(22, 27, 24, 0.22);
}

.choice-price {
  font-size: 0.85rem;
  font-weight: 600;
}

.choice-price b {
  font-weight: 800;
  font-size: 0.95rem;
}

.choice-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pilule);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.choice--studio .choice-cta {
  background: var(--papier);
  color: var(--studio);
}

.choice--distance .choice-cta {
  background: var(--encre);
  color: var(--soleil);
}

/* ---------- comment ça marche ---------- */
.steps {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--studio);
  color: var(--papier);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--encre-doux);
  font-size: 0.94rem;
  max-width: 34ch;
}

.step-tag {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--brume);
  border-radius: var(--r-pilule);
  font-size: 0.74rem;
  color: var(--encre-doux);
}

/* ---------- grille tarifaire ---------- */
.tarif-list {
  border-top: 1px solid var(--brume);
}

.tarif {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--brume);
  align-items: center;
}

.tarif-head {
  grid-column: 1 / -1;
}

.tarif-head h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-pilule);
  background: var(--studio);
  color: var(--papier);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tarif-desc {
  margin-top: 0.35rem;
  max-width: 48ch;
  font-size: 0.9rem;
  color: var(--encre-doux);
}

.tarif-duree {
  font-size: 0.84rem;
  color: var(--encre-doux);
  white-space: nowrap;
}

.tarif-prix {
  text-align: right;
  white-space: nowrap;
}

.tarif-prix strong {
  font-size: 1.3rem;
  font-stretch: 88%;
  letter-spacing: -0.02em;
}

.tarif-heure {
  display: block;
  font-size: 0.76rem;
  color: var(--encre-doux);
}

.tarif-cta {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  justify-self: start;
}

.tarif--best {
  background: var(--papier-2);
  margin-inline: -1rem;
  padding-inline: 1rem;
}

@media (min-width: 900px) {
  .tarif {
    grid-template-columns: 1.5fr 0.6fr auto auto;
    gap: 2rem;
    padding-block: 1.35rem;
  }
  .tarif-head {
    grid-column: auto;
  }
  .tarif-cta {
    grid-column: auto;
    margin-top: 0;
  }
}

.tarif-note {
  margin-top: 1.25rem;
  max-width: 62ch;
  font-size: 0.82rem;
  color: var(--encre-doux);
}

/* ---------- exemple concret ---------- */
.section.case {
  background: var(--studio);
  color: var(--papier);
  border-top: 0;
}

.case-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .case-inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
}

.case h2 {
  max-width: 15ch;
}

.case-lead {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: rgba(244, 245, 242, 0.84);
  font-size: 1.02rem;
}

.case-lead strong {
  color: var(--soleil);
  font-weight: 700;
}

.case-lead + .case-lead {
  margin-top: 0.9rem;
}

.rundown {
  border-top: 1px solid rgba(244, 245, 242, 0.24);
}

.rundown li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(244, 245, 242, 0.16);
  font-size: 0.9rem;
  color: rgba(244, 245, 242, 0.9);
}

.rundown time {
  color: var(--soleil);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--brume);
}

.faq details {
  border-bottom: 1px solid var(--brume);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 56px;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--encre-doux);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 1.2rem;
  max-width: 66ch;
  color: var(--encre-doux);
  font-size: 0.94rem;
}

/* ---------- appel final ---------- */
.final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.final h2 {
  max-width: 18ch;
}

/* ---------- entrée orchestrée (un seul moment) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-inner > * {
    opacity: 0;
    transform: translateY(14px);
  }
  .js.ready .hero-inner > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js.ready .hero-inner > *:nth-child(2) {
    transition-delay: 0.12s;
  }
}

/* ---------- écrans courts (iPhone SE, 667 px de haut) ----------
   Objectif : les deux choix restent au-dessus de la ligne de flottaison.
   Le rappel « heure de Lomé » reste visible ; les horaires d'ouverture
   figurent déjà dans le pied de page et dans le parcours de réservation. */
@media (max-height: 760px) and (max-width: 979px) {
  .hero {
    padding-block: 0.5rem 1.25rem;
  }
  .hero-inner {
    gap: 0.85rem;
  }
  .hero h1 {
    font-size: 1.95rem;
  }
  .hero-lead {
    margin-top: 0.6rem;
    font-size: 0.94rem;
    line-height: 1.45;
  }
  .hero-note {
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    font-size: 0.78rem;
  }
  .note-hours {
    display: none;
  }
  .choice-grid {
    gap: 0.5rem;
  }
  .choice {
    min-height: 0;
    padding: 0.75rem 1rem 0.7rem;
    gap: 0.4rem 0.85rem;
  }
  .choice-title {
    font-size: 1.05rem;
  }
  .choice-sub {
    margin-top: 0.15rem;
    font-size: 0.82rem;
  }
  .choice-meta {
    padding-top: 0.45rem;
  }
  .choice-cta {
    min-height: 34px;
  }
}
