/* Page /secret/ : Secret Travel & Tour (Koh Lanta).
   Page autonome, identité de l'affiche, sans le header ni le footer Zwald.
   Polices auto-hébergées (RGPD), subset latin uniquement : la page est en anglais.
   Rôles : Sniglet pour le nom du logo, Concert One pour les titres,
   Kaushan Script pour les légendes manuscrites, Open Sans pour tout le reste. */

@font-face {
  font-family: 'Sniglet';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sniglet-400-normal-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Concert One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/concert-one-400-normal-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kaushan-script-400-normal-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/open-sans-variable-normal-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/open-sans-variable-italic-latin.woff2) format('woff2');
}

:root {
  --bg: #0A4C44;
  --yellow: #F2C230;
  --yellow-hover: #FFD24D;
  --on-yellow: #0B2F2A;
  --green-ink: #0A5E52;
  --paper: #FBF8F1;
  --ink: #17322E;
  --ink-soft: #4A625D;
  --line: #8A9A96;
  --error: #A3261B;
  --soft: rgba(255, 255, 255, .84);
  --muted: rgba(255, 255, 255, .66);
  --rule: rgba(255, 255, 255, .16);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

/* Haut de page et formulaire sur papier crème, catalogue et bas de page sur le vert de l'affiche. */
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 'Open Sans', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
img { display: block; max-width: 100%; }
fieldset { border: 0; min-width: 0; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Bandeau d'aperçu : jamais affiché en production */
.draft { background: var(--yellow); color: var(--on-yellow); font-size: 14px; padding: 10px 20px; }
.draft summary { cursor: pointer; font-weight: 700; }
.draft ul { margin: 8px 0 4px 20px; columns: 2 260px; }

/* Marque */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: clamp(46px, 13vw, 58px); height: auto; flex-shrink: 0; }
.brand-name {
  display: block;
  font-family: 'Sniglet', sans-serif;
  font-size: min(20px, 4.4vw);
  line-height: 1;
  white-space: nowrap;
  color: var(--bg);
  /* Le logo de l'affiche est un Sniglet épaissi. */
  -webkit-text-stroke: .045em currentColor;
}
.brand-place {
  display: flex; align-items: center; gap: 7px;
  margin-top: 5px;
  font-weight: 600; font-size: 10.5px; letter-spacing: .3em; color: var(--bg);
}
.brand-place::after { content: ""; width: 26px; height: 2px; background: var(--green-ink); }

/* Polaroïds, comme sur l'affiche */
.pol { position: relative; background: #fff; padding: 8px 8px 36px; box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.pol img { width: 100%; height: 100%; object-fit: cover; }
.pol figcaption {
  position: absolute; right: 12px; bottom: 7px;
  font-family: 'Kaushan Script', cursive; font-size: 18px; line-height: 1; color: var(--green-ink);
}
.pol figcaption.left { right: auto; left: 12px; }
.pol-empty { display: grid; place-items: center; }
.pol-empty span {
  display: grid; place-items: center; width: 100%; height: 100%;
  border: 1px dashed #C9D2CF;
  font-family: 'Kaushan Script', cursive; font-size: 16px; color: #7F918D;
}

/* Haut de page */
h1 { font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 40px; line-height: 1.04; margin-top: 12px; max-width: 13ch; color: var(--bg); }
h1 em { font-style: normal; color: var(--green-ink); }
.lead { margin-top: 12px; max-width: 38ch; color: var(--ink-soft); font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.hero .btn { background: var(--bg); color: #fff; }
.hero .btn:hover { background: var(--green-ink); }
.more {
  display: inline-flex; align-items: center; min-height: 48px;
  font-weight: 700; color: var(--bg); text-decoration: none; border-bottom: 2px solid var(--bg);
}
.facts { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 44ch; }
.hero-photo { width: calc(100% + 40px); max-width: none; height: 300px; margin: 26px -20px 0; object-fit: cover; object-position: 50% 52%; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 0; border-radius: 6px;
  background: var(--yellow); color: var(--on-yellow);
  font: 700 16px/1.2 'Open Sans', sans-serif; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--yellow-hover); }
.nojs-cta { margin-top: 20px; }
.js .nojs-cta, .no-js .ask { display: none; }

/* Formulaire */
.ask { position: relative; background: #fff; color: var(--ink); border: 1.5px solid #E2DCCD; border-radius: 10px; padding: 18px 16px; margin-top: 18px; }
.ask-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ask h2 { font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 22px; line-height: 1.1; }
.clear {
  border: 0; background: none; color: var(--ink-soft);
  font: 600 13px 'Open Sans', sans-serif; text-decoration: underline; cursor: pointer;
  min-height: 44px; padding: 0 2px;
}
.field { margin-top: 14px; }
.field > label, .field > legend, .field .lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row > .field { margin-top: 14px; }
/* Voyageurs : une ligne par tranche d'âge, libellé à gauche et compteur à droite. */
.row-3 { display: block; margin-top: 6px; }
.row-3 > .field { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.row-3 > .field > label { margin: 0; }
.row-3 .step { width: 140px; flex-shrink: 0; }
.ages { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.seats:empty { display: none; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--bg); flex-shrink: 0; }
.ask input[type="text"], .ask input[type="date"], .ask input[type="time"], .ask select {
  width: 100%; height: 48px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--ink);
  font: 16px 'Open Sans', sans-serif;
  appearance: none; -webkit-appearance: none;
}
.ask select {
  padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317322E' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat;
}
.ask [aria-invalid="true"] { border-color: var(--error); }
.hint { font-size: 13px; color: var(--ink-soft); margin-top: 5px; }
.err { font-size: 14px; font-weight: 600; color: var(--error); margin-top: 6px; }
.date-other { margin-top: 10px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.ask > .seg-3 { margin-top: 12px; }
.seg label { position: relative; display: block; }
.seg label + label { border-left: 1.5px solid var(--line); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 46px; padding: 0 4px; font-weight: 600; font-size: 14.5px; text-align: center; cursor: pointer; }
.seg input:checked + span { background: var(--bg); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -3px; }

.step { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; }
.step button {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 0; background: none; color: var(--green-ink);
  font-size: 22px; cursor: pointer; touch-action: manipulation;
}
.step input {
  width: 100%; min-width: 0; height: 44px; border: 0; background: none; text-align: center;
  font: 600 16px 'Open Sans', sans-serif; color: var(--ink); -moz-appearance: textfield;
}
.step input::-webkit-inner-spin-button, .step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.send { width: 100%; margin-top: 18px; }
.note { font-size: 13px; color: var(--ink-soft); margin-top: 8px; text-align: center; }

/* Catalogue sur le vert de l'affiche */
.band { background: var(--bg); color: #fff; padding: 6px 0 36px; }
.transfer-text { margin-top: 16px; max-width: 46ch; color: var(--soft); }
.included { margin-top: 14px; max-width: 46ch; font-weight: 600; color: #fff; }
.band .sec > .get { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.else { margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--soft); }
.else b { color: #fff; font-weight: 600; }
.else a { color: var(--yellow); font-weight: 700; }
.sec { padding: 40px 0 6px; }
.brush {
  display: inline-block; margin-left: -8px;
  padding: 12px 30px 14px 22px;
  background: url(/images/secret/brush.webp) center / 100% 100% no-repeat;
}
.brush h2 { font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 25px; line-height: 1; letter-spacing: .02em; }
.brush p { margin-top: 3px; font-size: 13px; color: var(--soft); }

.get { color: var(--yellow); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.get::after { content: "\00a0\2192"; }

/* position: relative garde les textes .sr des cartes à l'intérieur de la rangée : sans ça,
   ils se placent loin à droite, élargissent la page et le téléphone passe en affichage ordinateur. */
.rail {
  position: relative; display: flex; gap: 16px; min-width: 0;
  margin: 20px -20px 0; padding: 6px 20px 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 74%; scroll-snap-align: start; }
.card .pol { height: 200px; padding: 7px; }
.card:nth-child(odd) .pol { transform: rotate(-1.5deg); }
.card:nth-child(even) .pol { transform: rotate(1.5deg); }
.card h3 { margin-top: 16px; font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 21px; line-height: 1.15; }
.card p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.card .info { font-size: 13.5px; color: var(--muted); }
.card .get { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; }

/* Formulaire, qui on est, où nous trouver : sur papier */
.ask-sec { padding: 40px 0 10px; scroll-margin-top: 12px; }
.ask-sec h2, .find h2 { font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--bg); }
.ask-sec > div > p { margin-top: 8px; max-width: 42ch; color: var(--ink-soft); }
.find { padding: 40px 0 44px; }
.find p { color: var(--ink-soft); }
.find h2 + p { margin-top: 8px; }
.maps {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; margin-top: 10px;
  font-weight: 700; color: var(--bg); text-decoration: none; border-bottom: 2px solid var(--bg);
}

/* Clin d'œil à Zwald */
.zwald { padding: 32px 0; background: #F1EBDD; color: var(--ink); }
.zwald h2 { font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 26px; line-height: 1.1; }
.zwald p { margin-top: 8px; max-width: 46ch; color: var(--ink-soft); }
.zwald a {
  display: inline-block; margin-top: 14px; padding: 8px 0;
  color: var(--green-ink); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.zwald a::after { content: " \2192"; }

.foot { padding: 24px 0 calc(32px + var(--safe-bottom)); background: var(--bg); font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.foot a { text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.foot-name { font-family: 'Concert One', sans-serif; font-size: 18px; color: #fff; }
.foot-legal { margin-top: 10px; font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

@media (min-width: 900px) {
  .wrap { padding: 0 48px; }
  .top { padding: 20px 0; }
  .brand img { width: 64px; }
  .brand-name { font-size: 24px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 20px 0 56px; }
  h1 { font-size: 60px; }
  .facts { font-size: 15px; }
  .hero-photo { width: 100%; height: 560px; margin: 0; border-radius: 2px; object-position: 50% 40%; }
  .band { padding: 10px 0 56px; }
  .ask-sec { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; padding: 64px 0 20px; }
  .ask { margin-top: 0; padding: 22px 22px; }
  .find { padding: 56px 0; }

  .sec { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 48px; align-items: start; padding: 56px 0 10px; }
  .sec > .brush { grid-row: 1 / 3; }
  /* Sur grand écran, souris sans défilement horizontal : la rangée devient une grille. */
  .rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin: 0; padding: 6px 4px 18px; overflow: visible; }
  .zwald { padding: 44px 0; }

}

/* Cartes de /secret/ : « Get a price » et « Learn more » côte à côte */
.card .links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 2px; }
.card .links .get { margin-top: 0; }
.learn { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--yellow); line-height: 1.2; }
.learn:hover { color: var(--yellow); }

/* La carte entière est cliquable : le lien du titre s'étend sur la photo et le texte (::after),
   « Get a price » et « Learn more » restent au-dessus, avec leur propre cible. */
.card-hit { position: relative; }
.card-hit .card-link { color: inherit; text-decoration: none; }
.card-hit .card-link::after { content: ""; position: absolute; inset: 0; }
.card-hit .links a { position: relative; z-index: 1; }
.card-hit:hover .card-link { color: var(--yellow); }
.card-hit .card-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 2px; }

/* Pages d'excursion /tours/<id>/ : la même affiche, lue comme un programme de journée. */
.page .back { font-weight: 700; font-size: 14px; color: var(--bg); text-decoration: none; border-bottom: 2px solid var(--yellow); white-space: nowrap; }
.page h1 { max-width: 16ch; }
.page .facts { font-weight: 600; color: var(--green-ink); }
.page-pol { width: calc(100% + 40px); max-width: none; margin: 26px -20px 0; padding: 10px 10px 44px; transform: rotate(-1.2deg); }
.page-pol img { height: 300px; }
.page-pol figcaption { font-size: 22px; }
.page .intro { padding: 34px 0 40px; max-width: 64ch; }
.page .intro p { color: var(--ink-soft); font-size: 17px; }
.page .intro p + p { margin-top: 14px; }
.page .band { padding-top: 4px; }
.page .plan { margin-top: 22px; max-width: 62ch; list-style: none; border-top: 1px solid var(--rule); }
.page .plan li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.page .plan .when { font-family: 'Concert One', sans-serif; font-size: 20px; line-height: 1.2; color: var(--yellow); white-space: nowrap; }
.page .plan .what { color: var(--soft); }
.page .pricebox { display: grid; gap: 28px; }
.page .incl ul { margin-top: 14px; max-width: 56ch; padding-left: 18px; color: var(--soft); }
.page .incl li + li { margin-top: 6px; }
.page .incl h3 { margin-top: 26px; font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 19px; color: #fff; }
.page .incl .get { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; }
/* Le post-it : un vrai bout de papier posé sur l'affiche, le seul objet avec une ombre. */
.note-park { align-self: start; max-width: 320px; padding: 22px 22px 24px; background: var(--yellow); color: var(--on-yellow); transform: rotate(1.6deg); box-shadow: 0 12px 22px rgba(0, 0, 0, .28); }
.note-title { font-family: 'Kaushan Script', cursive; font-size: 26px; line-height: 1.1; }
.note-park p + p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.note-park .note-small { font-size: 13px; color: #4A3F0E; }
.page .faq-sec { padding: 40px 0 10px; }
.page .faq-sec h2 { font-family: 'Concert One', sans-serif; font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--bg); }
.page .q-list { margin-top: 10px; max-width: 70ch; }
.page .q { border-bottom: 1px solid #DDD6C6; }
.page .q summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.page .q summary::-webkit-details-marker { display: none; }
.page .q summary::after { content: "+"; float: right; font-family: 'Concert One', sans-serif; font-size: 22px; color: var(--green-ink); }
.page .q[open] summary::after { content: "\2212"; }
.page .q p { padding: 0 0 16px; max-width: 62ch; color: var(--ink-soft); }
.page .others-band { margin-top: 34px; padding-bottom: 30px; }
.page .others-band .card p { max-width: 36ch; }
.page .card-photo { display: block; text-decoration: none; }
.page .card-link { color: #fff; text-decoration: none; }
.page .card-link:hover { color: var(--yellow); }
.page .others-band .else { margin-top: 18px; border-bottom: 0; }
.page .find { padding: 40px 0 44px; }
@media (min-width: 900px) {
  .page-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 24px 0 0; }
  .page-pol { width: 100%; margin: 0; }
  .page-pol img { height: 390px; }
  .page .pricebox { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
  .page .plan li { grid-template-columns: 90px 1fr; }
}
