/* onfaitlepont.fr : direction « Le carnet de route » (maquette retenue le 20/10/2026).
   Identité « Carte postale » : bleu soir, pêche, crème, brique ; Bodoni Moda italique et Nunito Sans (hébergées ici). */

@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/bodoni-moda-italic-700-latin.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-sans-latin.woff2) format("woff2"); }

:root {
  --bleu: #1D3557; --peche: #FFB38A; --peche-clair: #FFE6D6; --creme: #FFF5EA; --carte: #FFFBF6;
  --trait: #EEDFCF; --rail: #E8D3BF; --brique: #C4492D; --gris: #5E6578; --gris-clair: #E9EEF5;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--bleu); font: 16px/1.45 "Nunito Sans", "Avenir Next", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--brique); }
a:hover { color: var(--bleu); }
:focus-visible { outline: 3px solid var(--brique); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.serif { font-family: "Bodoni Moda", Didot, "Bodoni 72", serif; font-style: italic; font-weight: 700; }
.muet { color: var(--gris); }
.page { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* En-tête */
.entete { height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--trait); }
.logo { display: flex; align-items: baseline; gap: 5px; color: var(--bleu); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.logo .serif { font-size: 20px; letter-spacing: 0; }
.entete-lien { color: var(--bleu); font-size: 14px; font-weight: 700; text-decoration: none; padding: 12px 0; }
.pastille-aff { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 9px; border-radius: 99px; background: var(--peche-clair); white-space: nowrap; }
.logo, .entete-lien { white-space: nowrap; }
/* Sur un petit écran, la pastille laisse la place au logo : le bandeau « Publicité » des pages voyage la remplace. */
@media (max-width: 439px) { .pastille-aff { display: none; } }

/* Titre d'un carnet */
.titre { padding: 26px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.surtitre { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.destination { margin: 0; font-size: clamp(46px, 14vw, 60px); line-height: 1; }
.dates { font-size: 18px; font-weight: 700; }
.mosaique { display: flex; gap: 8px; height: 230px; padding: 0 20px; }
.mosaique .grande { flex: 2; }
.mosaique .colonne { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mosaique .colonne > * { flex: 1; }
.photo { position: relative; border-radius: 16px; overflow: hidden; background: var(--peche-clair); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.virt { position: absolute; right: 8px; bottom: 8px; background: rgba(29, 53, 87, .72); color: var(--creme); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.colonne .virt { right: 6px; bottom: 6px; font-size: 9px; padding: 2px 6px; }
.accroche { margin: 0; padding: 18px 20px 0; font-size: 17px; }

/* Publicité : bandeau des pages avec des liens partenaires, et mention sous chaque lien affilié. */
.pub { margin: 0 20px 18px; padding: 10px 14px; border-radius: 12px; background: var(--peche-clair); font-size: 13px; line-height: 1.45; }
.pub a { font-weight: 800; }
.aff { font-size: 12px; color: var(--gris); margin-top: -4px; }
.corps .bouton + .aff { text-align: center; margin-top: 2px; }

/* Bloc prix (bleu soir) */
.prix { margin: 18px 20px 6px; padding: 16px 18px; border-radius: 18px; background: var(--bleu); color: var(--creme); display: flex; flex-direction: column; gap: 12px; }
.prix-haut { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.montant { font-size: 34px; font-weight: 800; line-height: 1.1; }
.prix-haut .muet-clair { font-size: 13px; text-align: right; opacity: .9; }
.options { display: flex; gap: 8px; }
.option { flex: 1; min-height: 56px; border-radius: 12px; border: 1.5px solid rgba(255, 245, 234, .4); background: transparent; color: var(--creme); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; }
.option b { font-size: 17px; }
.option span { font-size: 12px; }
.option[aria-pressed="true"] { background: var(--peche); border-color: var(--peche); color: var(--bleu); }
.depart { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 50px; padding: 0 6px 0 14px; border-radius: 12px; background: rgba(255, 245, 234, .12); font-weight: 700; }
.depart select { appearance: none; -webkit-appearance: none; border: 0; border-radius: 10px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFB38A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center; color: var(--peche); font: inherit; font-weight: 800; min-height: 44px; padding: 0 30px 0 10px; text-align: right; cursor: pointer; }
.depart select option { color: var(--bleu); background: #FFFFFF; }
.depart .ville-fixe { color: var(--peche); font-weight: 800; padding-right: 8px; }
.prix .petit { margin: 0; font-size: 12px; opacity: .85; }

/* Le fil du carnet */
.fil { padding-top: 30px; display: flex; flex-direction: column; }
.jour { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 16px; padding: 0 20px; font-weight: 400; }
.jour:first-child { margin-top: 0; }
.jour .serif { font-size: 34px; line-height: 1.1; }
.jour .etiquette { font-size: 14px; font-weight: 700; color: var(--gris); }
.etape { display: grid; grid-template-columns: 58px 18px minmax(0, 1fr); column-gap: 10px; padding: 0 16px 0 20px; }
.heure { font-size: 13px; font-weight: 800; line-height: 1.3; padding-top: 3px; text-align: right; }
.rail { position: relative; display: flex; justify-content: center; }
.rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--rail); }
.point { position: relative; margin-top: 5px; width: 12px; height: 12px; border-radius: 99px; background: var(--creme); border: 2.5px solid var(--bleu); }
.point.etoile { background: var(--peche); }
.point.bientot { border-color: #B9A693; }
.corps { min-width: 0; padding-bottom: 28px; display: flex; flex-direction: column; gap: 6px; }
/* Bloc propre à une durée (8 ou 10 jours) : même mise en page que son parent. */
.corps > [data-opt] { display: flex; flex-direction: column; gap: 6px; }
.compte > [data-opt] { display: flex; flex-direction: column; gap: 10px; }
.ligne-titre { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.t { font-size: 17px; font-weight: 800; line-height: 1.3; }
.prix-pastille { flex: none; font-size: 13px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--peche-clair); white-space: nowrap; }
.prix-pastille.gratuit { background: var(--gris-clair); }
.detail { font-size: 14px; color: var(--gris); }
.detail:empty { display: none; }
.marque { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--brique); text-transform: uppercase; }
.lien { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 44px; color: var(--brique); font-size: 15px; font-weight: 800; text-decoration: none; }
.lien svg { flex: none; }
.vignette { height: 170px; margin-top: 6px; border-radius: 14px; }
.confort { margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; }
.confort li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--trait); }
.confort a { color: var(--bleu); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.confort b { display: flex; align-items: center; white-space: nowrap; }

/* Boutons */
.bouton { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--peche); color: var(--bleu); font: inherit; font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.bouton:hover { color: var(--bleu); filter: brightness(.97); }
.bouton.contour { background: transparent; border: 1.5px solid var(--bleu); }
.bouton.fonce { background: var(--bleu); color: var(--creme); }
.corps .bouton { margin-top: 6px; }

/* Le compte */
.compte { margin: 22px 20px 0; padding-top: 18px; border-top: 2px solid var(--bleu); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.compte h2 { margin: 0; font-size: 26px; }
.ligne { display: flex; justify-content: space-between; gap: 12px; }
.ligne.total { padding-top: 10px; border-top: 1px dashed #D9BFA7; font-size: 18px; }
.compte .petit { margin: 0; font-size: 12px; color: var(--gris); }
.villes summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-weight: 800; cursor: pointer; list-style: none; }
.villes summary::-webkit-details-marker { display: none; }
.villes summary::after { content: "+"; font-size: 20px; }
.villes[open] summary::after { content: "–"; }
.villes ul { margin: 0 0 6px; padding: 0; list-style: none; }
.villes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--trait); }
.actions { margin: 26px 20px 0; display: flex; gap: 10px; }
.actions > * { flex: 1; }

/* Pied de page */
.pied { margin-top: 34px; padding: 28px 20px 34px; background: var(--peche-clair); display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.5; }
.pied p { margin: 0; }
.pied .logo { font-size: 14px; }
.pied .logo .serif { font-size: 24px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.pied nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* Accueil */
.intro { padding: 26px 20px 8px; display: flex; flex-direction: column; gap: 8px; }
.intro h1 { margin: 0; font-size: clamp(40px, 11vw, 50px); line-height: 1.02; }
.intro p { margin: 4px 0 0; font-size: 17px; }
.titre-section { margin: 0; padding: 0 20px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reels { padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.defile { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.defile::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: none; width: 148px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; color: #FFFFFF; text-decoration: none; scroll-snap-align: start; background: var(--bleu); }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel-texte { position: absolute; left: 10px; right: 10px; bottom: 30px; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.reel-texte .serif { font-size: 23px; line-height: 1.05; overflow-wrap: anywhere; }
.reel-texte span:last-child { font-size: 13px; font-weight: 800; line-height: 1.25; }
.reel .nouveau { position: absolute; left: 8px; top: 8px; }
/* Badge tout en bas à droite, comme sur les vidéos (règle de Samuel) : le lieu et les dates passent au-dessus. */
.reel .virt { right: 6px; bottom: 6px; font-size: 9px; padding: 2px 6px; }
.reel.tous { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px; color: var(--creme); }
.reel.tous b { font-size: 16px; line-height: 1.3; }
.reel.tous span { font-size: 13px; opacity: .85; }
.reel:hover { color: #FFFFFF; }
.choix-ville { margin: 26px 20px 0; padding: 16px; border-radius: 18px; background: var(--bleu); color: var(--creme); display: flex; flex-direction: column; gap: 12px; }
.choix-ville h2 { margin: 0; font-size: 16px; font-weight: 800; }
.choix-ville p { margin: 0; font-size: 12px; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid rgba(255, 245, 234, .4); background: transparent; color: var(--creme); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--peche); border-color: var(--peche); color: var(--bleu); }
.etape.accueil { grid-template-columns: 66px 18px minmax(0, 1fr); padding-left: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 8px; border-radius: 99px; background: var(--peche-clair); color: var(--bleu); text-transform: uppercase; }
.tag.petit-prix { background: var(--bleu); color: var(--creme); }
.tag.plaisir { background: var(--brique); color: var(--creme); }
.tag.nouveau { background: var(--peche); }
.nom-voyage { color: var(--bleu); text-decoration: none; font-size: 30px; line-height: 1.15; }
.prix-voyage { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.prix-voyage > span { display: flex; flex-direction: column; line-height: 1.2; }
.prix-voyage b { font-size: 22px; }
.prix-voyage .muet { font-size: 13px; }
.bientot .t { font-size: 17px; }
.suivre { margin: 26px 20px 0; padding: 22px 20px; border-radius: 20px; background: var(--peche-clair); display: flex; flex-direction: column; gap: 12px; }
.suivre h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.suivre p { margin: 0; font-size: 15px; }
.suivre .actions { margin: 0; }
.vide { padding: 0 20px; font-size: 16px; }

/* Pages de texte (mentions, confidentialité, 404) */
.texte { padding: 26px 20px 10px; }
.texte h1 { margin: 10px 0 18px; font-size: 40px; line-height: 1.1; }
.texte h2 { margin: 26px 0 8px; font-size: 17px; }
.texte p { margin: 0 0 10px; }
.retour { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: none; }
