/*
 * Page de présentation de l'offre — la seule page destinée aux gérants de
 * camping qui ne connaissent pas encore Campdesk.
 *
 * Feuille autonome, chargée par elle seule (templates/home/index.html.twig) :
 * ni app.css ni dashboard.css ne l'accompagnent. C'est la même règle que pour
 * le back-office — trois directions visuelles distinctes, aucun habillage
 * partagé. Les pages de compte, les pages légales et la page d'erreur de la
 * plateforme la partagent : elles sont la même vitrine.
 *
 * La direction (refonte de novembre 2026) : du blanc, la photo au centre, une
 * seule police, une seule couleur d'action — l'école des places de marché de
 * l'hébergement plutôt que celle des maquettes sur papier crème. Le vert du
 * logo porte le texte et les boutons ; son orange ne sert qu'aux étiquettes.
 */

/*
 * Outfit, la grotesque la plus proche du nom dessiné dans le logo, en police
 * variable : une seule requête pour les graisses de 400 à 700.
 * SIL OFL 1.1, licence dans assets/fonts/LICENSE-outfit-OFL.txt.
 */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/outfit-variable-3BR0lLl.woff2") format("woff2");
}

/*
 * L'orange est trop clair pour du texte sur fond clair : les liens et les
 * étiquettes prennent un orange brûlé lisible.
 */
:root {
  --ink: #0b271b;
  --ink-soft: #3f4c46;
  --ink-mute: #5c6862;
  --paper: #fff;
  /* Le gris des sections qui se détachent, sans teinte crème. */
  --surface: #f7f7f5;
  --paper-alt: #eeeeea;
  --white: #fff;
  --accent: #fe9003;
  --accent-ink: #a14d00;
  --accent-light: #ffa733;
  --accent-tint: rgba(254, 144, 3, .14);
  /* Fond et texte des étiquettes (« Option », « 30 jours offerts »). */
  --tag-bg: #fff3e2;
  --tag-ink: #7a3a00;
  /* Les disponibilités, en vert : « libre ». */
  --free: #146b45;
  --line: #ebebe8;
  --line-strong: #d9d9d5;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 39, 27, .16);
  --shell: 1280px;
  /* La couleur d'un site de camping dans les maquettes de la page : le vert
     forêt, la première des teintes proposées au gérant. */
  --site: #1f7a5a;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* Une seule police : les anciens noms restent des alias pour les pages de
     compte et les pages légales. */
  --brand: var(--sans);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Hauteur de la barre collante, mesurée sur la page : une rangée en grand
     écran, deux dès que les liens descendent sous le logo. Elle sert de marge
     haute au défilement vers une ancre — sans elle, la section visée se
     rangerait sous la barre. */
  --topbar-height: 73px;
}

/* Sans script, les liens descendent d'une rangée sous 660 px et la barre
   grandit d'autant ; avec le menu, elle garde sa rangée unique. */
@media (max-width: 660px) {
  :root { --topbar-height: 86px; }
  body.has-site-menu { --topbar-height: 62px; }
}

/* Les liens du menu mènent aux sections de la page : on les rejoint en
   défilant, pour garder le fil de là d'où l'on vient. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 1rem);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* Le parcours au clavier doit rester visible : app.css n'est pas là pour le
   fournir. */
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.final :focus-visible { outline-color: var(--accent-light); }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }
/* Haut et bas seulement : .section partage souvent son élément avec .shell,
   et un raccourci complet remettrait ses côtés à zéro. */
.section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.section--surface { background: var(--surface); }
.section--rule { border-top: 1px solid var(--line); }

h1, h2, h3 { margin: 0; font-family: var(--brand); font-weight: 600; }
.h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.lede { margin: 22px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 36ch; text-wrap: pretty; }
.body { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; text-wrap: pretty; }
.muted { color: var(--ink-mute); }

/* Une étiquette orange : « Option », « 30 jours offerts ». */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* La coche des listes, dessinée en CSS : pas d'image à charger. */
.ticks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .32em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

/* boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ink); color: var(--white); }
/* Éclaircir un vert presque noir ne se verrait pas : le survol passe à un
   vert franc. */
.btn--primary:hover { background: #17432f; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: rgba(11, 39, 27, .04); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-alt); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; font-size: 15px; padding: 0 20px; }

/* barre de navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
/* Le logo tient la gauche, les liens et le bouton se rangent à droite. */
.topbar .brand { margin-right: auto; flex: none; }
/* Le logo garde sa taille : faute de place, c'est la liste des liens qui
   défile, pas le logo qui rétrécit. */
.brand__logo { display: block; height: 34px; width: auto; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); flex: none; white-space: nowrap; }
.nav .nav__cta { display: none; }
.topbar__actions { display: flex; align-items: center; gap: 14px; flex: none; }

/* Bouton du menu : il n'existe qu'en petit écran, et seulement si le script
   tourne — d'où le `hidden` du gabarit et cet affichage tenu par le marqueur du
   corps de page. Une déclaration `display` l'emporterait sur `hidden` seul. */
.topbar__burger {
  display: none;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.topbar__burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

/* Ouvert, les trois barres deviennent une croix : le même bouton referme. */
.topbar.is-open .topbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.is-open .topbar__burger span:nth-child(2) { opacity: 0; }
.topbar.is-open .topbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/*
 * Barre étroite, script en service : une seule rangée — logo, action, bouton —
 * et les sections s'ouvrent dans un panneau sous la barre, comme sur le site
 * public d'un camping.
 *
 * Le repli sans script, lui, garde les liens dans la barre : ils descendent
 * d'une rangée et défilent à l'horizontale plutôt que de s'empiler.
 *
 * 1100 px : en dessous, les six liens et le bouton ne tiennent plus sur la
 * rangée ; le menu passe alors dans le panneau.
 */
@media (max-width: 1100px) {
  .has-site-menu .topbar__burger { display: flex; }

  .has-site-menu .nav {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border-radius: var(--radius);
    /* Opaque : le panneau se pose sur le contenu de la page. */
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(10, 16, 14, .18);
  }

  .has-site-menu .topbar.is-open .nav { display: flex; }

  /* Dans le panneau, chaque section est une ligne pleine largeur. */
  .has-site-menu .nav a {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .has-site-menu .nav a:hover { background: rgba(11, 39, 27, .06); text-decoration: none; }
}

/* Repli sans script : les liens restent dans la barre, sur une deuxième rangée
   qui défile. Empilés, ils la porteraient à 200 px de haut — collante, elle
   mangerait un quart de l'écran d'un téléphone en permanence. */
@media (max-width: 660px) {
  .topbar__inner { flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .brand__logo { height: 28px; }
  .nav { order: 3; flex-basis: 100%; gap: 18px; }

  /* Le menu en service reprend la rangée unique. */
  .has-site-menu .topbar__inner { flex-wrap: nowrap; gap: 12px; }
  .has-site-menu .nav { flex-basis: auto; }
}

/*
 * Sur téléphone, comme sur la maquette : logo resserré, bouton « Créer mon
 * site » gardé dans la barre, menu en bouton rond. Le tout tient en 340 px.
 * Plus étroit encore (sous 360 px), le bouton passe dans les liens — en
 * dernière ligne du panneau, ou au bout de la rangée qui défile sans script.
 */
@media (max-width: 480px) {
  .topbar .brand__logo { height: 24px; }
  .topbar__actions { gap: 8px; }
  .topbar__cta { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .has-site-menu .topbar__burger { width: 44px; height: 44px; border: 1px solid var(--line-strong); gap: 4px; }
  .topbar__burger span { width: 16px; }
  .topbar.is-open .topbar__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .topbar.is-open .topbar__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 359px) {
  .topbar__cta { display: none; }
  .nav .nav__cta { display: block; font-weight: 600; }

  .has-site-menu .nav .nav__cta {
    margin-top: 6px;
    text-align: center;
    color: var(--white);
    background: var(--ink);
  }

  .has-site-menu .nav .nav__cta:hover { background: #17432f; }
}

/* ---------------------------------------------------------------------------
 * L'accueil, section par section.
 * ------------------------------------------------------------------------- */

/* Ouverture : le titre à gauche, la couverture d'un site à droite.

   Le rembourrage est déclaré haut et bas séparément, jamais en raccourci :
   .hero et .shell vivent sur le même élément, et un `padding` complet y
   remettrait les côtés à zéro. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-size: 14px;
  font-weight: 500;
}
.hero__badge b { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 600; }
.hero__actions { margin-top: 30px; }

/* La couverture d'un site généré, en grand : photo, nom, barre de recherche.
   Un aperçu : il ne sert à rien de le lire à voix haute (aria-hidden dans le
   gabarit), seule la photo porte un texte de remplacement. */
.cover { position: relative; padding-bottom: 40px; }
.cover__media { position: relative; aspect-ratio: 4 / 3.1; border-radius: 24px; overflow: hidden; background: #dfe6e0; }
.cover__media img { width: 100%; height: 100%; object-fit: cover; }
.cover__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .45) 100%); }
.cover__url {
  position: absolute; z-index: 1; top: 20px; left: 20px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  font-size: 13px; font-weight: 500;
}
.dot { flex: none; width: 20px; height: 20px; border-radius: 999px; background: var(--site); }
.cover__caption { position: absolute; z-index: 1; left: 32px; bottom: 60px; right: 32px; color: var(--white); }
.cover__stars { font-size: 15px; letter-spacing: .1em; }
.cover__name { margin-top: 4px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.cover__season { margin-top: 6px; font-size: 15px; opacity: .92; }
.cover__search {
  position: absolute; left: 32px; right: 32px; bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cover__field { padding: 4px 22px; font-size: 14px; color: var(--ink-mute); }
.cover__field + .cover__field { border-left: 1px solid var(--line); }
.cover__field b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }
.cover__go { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 999px; background: var(--site); }
.cover__go svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.cover__price {
  position: absolute; right: -16px; top: 84px;
  width: 220px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--ink-mute);
}
.cover__price b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.cover__price b span { font-size: 15px; font-weight: 400; color: var(--ink-mute); }
.cover__free { display: flex; gap: 6px; margin-top: 8px; font-weight: 500; color: var(--free); }
.cover__free::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 999px; background: #1f9d63; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .cover__price { display: none; }
}
@media (max-width: 640px) {
  .hero__actions .btn { display: flex; width: 100%; }
  .cover__media { aspect-ratio: auto; height: 320px; }
  .cover__caption { left: 18px; bottom: 50px; }
  .cover__search { left: 14px; right: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .cover__field { padding: 2px 14px; }
  .cover__field--type { display: none; }
  .cover__go { width: 44px; height: 44px; }
}

/* Le bandeau de preuve sous l'ouverture. */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
  list-style: none;
}
.proof__list li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-mute); }
.proof__list b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.icon { flex: none; width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .proof__list { grid-template-columns: minmax(0, 1fr); } }

/* Les exemples : trois campings comme trois annonces. */
.examples__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 32px; }
.swatches { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.swatch { width: 28px; height: 28px; border-radius: 999px; }
.swatch.is-current { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.swatch--forest { background: #1f7a5a; }
.swatch--ocean { background: #1d6a8c; }
.swatch--slate { background: #44546a; }
.swatch--terracotta { background: #b5643c; }
.swatch--lavender { background: #7a6aa8; }
.swatch--wheat { background: #c49a3a; }

.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.listing { font-size: 15px; }
.listing__media { position: relative; aspect-ratio: 1 / .95; border-radius: var(--radius); overflow: hidden; }
.listing__media img { width: 100%; height: 100%; object-fit: cover; }
.listing__url {
  position: absolute; top: 14px; left: 14px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px; font-weight: 500;
}
.listing__url .dot { width: 14px; height: 14px; }
.listing--forest { --site: #1f7a5a; }
.listing--ocean { --site: #1d6a8c; }
.listing--terracotta { --site: #b5643c; }
.listing__title { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 16px; font-weight: 600; }
.listing__title span { font-weight: 500; white-space: nowrap; }
.listing__meta { margin-top: 2px; color: var(--ink-mute); }
.listing__offer { margin-top: 6px; }
.listing__offer strong { font-weight: 600; }

/* Sur téléphone, les annonces défilent à l'horizontale, comme sur les
   plateformes : la suivante dépasse pour inviter au geste. */
@media (max-width: 760px) {
  .listings {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: calc(-1 * clamp(20px, 3vw, 40px));
    margin-right: calc(-1 * clamp(20px, 3vw, 40px));
    padding: 0 clamp(20px, 3vw, 40px);
    scroll-padding: 0 clamp(20px, 3vw, 40px);
  }
  .listings::-webkit-scrollbar { display: none; }
  .listing { scroll-snap-align: start; }
}

/* Trois étapes. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.step { padding: 32px; border-radius: var(--radius); background: var(--surface); }
.step__num { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 18px; font-weight: 600; }
.step__title { margin-top: 24px; font-size: 22px; }
.step__text { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-mute); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .step__num { grid-row: span 2; width: 36px; height: 36px; font-size: 16px; }
  .step__title { margin-top: 4px; font-size: 18px; }
  .step__text { margin-top: 4px; font-size: 15px; }
}

/* Les rubriques du site, chacune avec un morceau d'écran. */
.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.page-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.page-card--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 28px; }
.page-card__title { font-size: 20px; }
.page-card__text { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-mute); }
.page-card .shot { font-size: 13px; }
@media (max-width: 960px) {
  .pages { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .page-card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .pages { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .page-card { padding: 20px; }
  .page-card--wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .page-card .shot { display: none; }
}

/* Les morceaux d'écran : décor (aria-hidden), en HTML pour rester nets. */
.shot-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 70px 70px; gap: 6px; border-radius: 10px; overflow: hidden; }
.shot-photos img { width: 100%; height: 100%; object-fit: cover; }
.shot-photos img:first-child { grid-row: span 2; }
.shot-list { display: flex; flex-direction: column; gap: 8px; }
.shot-dates { display: flex; gap: 8px; margin-bottom: 4px; }
.shot-dates span { flex: 1; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; line-height: 1.35; }
.shot-dates small { display: block; font-size: inherit; color: var(--ink-mute); }
.shot-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.shot-row b { font-weight: 600; }
.shot-row span { color: var(--ink-mute); }
.shot-row em { font-style: normal; font-weight: 600; color: var(--free); white-space: nowrap; }
.shot-row--full { opacity: .55; }
.shot-row--full em { color: var(--ink); }
.shot-cal__month { margin-bottom: 8px; font-weight: 600; }
.shot-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 12px; text-align: center; }
.shot-cal__grid span { padding: 5px 0; border-radius: 6px; background: #eef6f1; }
.shot-cal__grid .day-name { padding: 0; background: none; color: var(--ink-mute); }
.shot-cal__grid .is-taken { background: var(--paper-alt); color: #77817c; text-decoration: line-through; }
.shot-cal__grid .is-picked { background: var(--site); color: var(--white); }
.shot-cal__grid .is-between { background: #d4ebdf; }
.shot-events { display: flex; flex-direction: column; gap: 10px; }
.shot-event { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.shot-event__date { width: 44px; padding: 4px 0; border-radius: var(--radius-sm); background: var(--tag-bg); color: var(--tag-ink); font-size: 11px; line-height: 1.2; text-align: center; }
.shot-event__date b { display: block; font-size: 16px; }
.shot-event span { color: var(--ink-mute); }
.shot-event strong { display: block; font-weight: 600; color: var(--ink); }
.shot-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.shot-table div { display: grid; grid-template-columns: 1.6fr 1fr 1fr; padding: 8px 12px; }
.shot-table div + div { border-top: 1px solid var(--line); }
.shot-table div:first-child { background: var(--surface); font-weight: 600; }

/* Le logiciel : l'écran « Aujourd'hui », dans un cadre vert. La police est
   celle de l'espace de gestion, pour que la capture lui ressemble. */
.app { margin-top: 40px; padding: 40px 40px 0; border-radius: 20px; background: var(--ink); overflow: hidden; }
.app__screen {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 360px;
  border-radius: 14px 14px 0 0;
  background: #f7f6f2;
  color: #13261d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}
.app__nav { display: flex; flex-direction: column; gap: 4px; padding: 20px 16px; border-right: 1px solid #e4e2db; background: var(--white); border-radius: 14px 0 0 0; }
.app__nav img { height: 18px; width: auto; align-self: flex-start; margin-bottom: 16px; }
.app__nav-group { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #5a6861; }
.app__nav span { padding: 6px 8px; border-radius: 6px; }
.app__nav .is-current { background: var(--accent-tint); font-weight: 600; }
.app__main { padding: 24px 28px; }
.app__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.app__head b { font-size: 20px; }
.app__head span, .app__row span, .app__due-sub { color: #5a6861; }
.app__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.app__panel { padding: 14px; border: 1px solid #e4e2db; border-radius: var(--radius-sm); background: var(--white); }
.app__panel-title { margin-bottom: 8px; font-weight: 600; }
.app__row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; }
.app__row + .app__row { border-top: 1px solid #eee; }
.app__due { font-size: 26px; font-weight: 700; }
.app__due-sub { margin-top: 4px; }
.app__plan { margin-top: 16px; padding: 14px; border: 1px solid #e4e2db; border-radius: var(--radius-sm); background: var(--white); font-size: 12px; }
.app__plan-grid { display: grid; grid-template-columns: 130px repeat(14, minmax(0, 1fr)); row-gap: 6px; align-items: center; margin-top: 10px; }
.bar { padding: 3px 6px; border-radius: 4px; background: var(--site); color: var(--white); white-space: nowrap; overflow: hidden; }
.bar--airbnb { background: var(--accent); color: var(--ink); }
.bar--booking { background: #1d6a8c; }
@media (max-width: 860px) {
  .app { padding: 18px 18px 0; border-radius: 18px; }
  .app__screen { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__nav, .app__plan, .app__panel--departures { display: none; }
  .app__main { padding: 16px; }
  .app__cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.feature__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 12px; font-size: 17px; }
.feature__text { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-mute); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }

/* Côté vacancier : le téléphone et le récapitulatif, puis le texte. */
.guest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.guest__visual { position: relative; height: 600px; }
.guest .ticks { margin-top: 28px; }
.phone {
  position: absolute; left: 20px; top: 0;
  width: 290px; height: 600px;
  padding: 10px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(11, 39, 27, .22);
}
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--white); }
.phone__cover { position: relative; height: 260px; }
.phone__cover img { width: 100%; height: 100%; object-fit: cover; }
.phone__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .5)); }
.phone__caption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: var(--white); font-size: 12px; }
.phone__caption b { display: block; margin-top: 2px; font-size: 22px; font-weight: 600; line-height: 1.1; }
.phone__body { padding: 16px 18px; }
.phone__panel { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.phone__price-row { display: flex; justify-content: space-between; align-items: baseline; }
.phone__price { font-size: 20px; font-weight: 600; }
.phone__price span { font-size: 13px; font-weight: 400; color: var(--ink-mute); }
.phone__free { font-size: 12px; font-weight: 600; color: var(--free); }
.phone__dates { display: flex; gap: 6px; margin-top: 10px; font-size: 12px; }
.phone__dates span { flex: 1; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.phone__lead { margin-top: 16px; font-size: 16px; font-weight: 600; }
.phone__text { margin-top: 4px; font-size: 13px; color: var(--ink-mute); }
.phone__cta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 18px; border-top: 1px solid var(--line); background: var(--white); font-size: 12px; color: var(--ink-mute); }
.phone__cta b { display: block; font-size: 14px; color: var(--ink); }
.book { padding: 10px 16px; border-radius: var(--radius-sm); background: var(--site); color: var(--white); font-size: 14px; font-weight: 600; }

.recap {
  position: absolute; right: 0; top: 150px;
  width: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 40px rgba(11, 39, 27, .12);
  font-size: 14px;
}
.recap__label { font-size: 13px; color: var(--ink-mute); }
.recap__title { margin-top: 6px; font-size: 20px; font-weight: 600; }
.recap__sub { margin-top: 2px; color: var(--ink-mute); }
.recap__lines { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.recap__line { display: flex; justify-content: space-between; gap: 12px; }
.recap__total { display: flex; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.recap__cta { margin-top: 18px; padding: 13px; border-radius: var(--radius-sm); background: var(--site); color: var(--white); text-align: center; font-size: 15px; font-weight: 600; }

@media (max-width: 960px) {
  /* Comme sur la maquette mobile : le titre et le chapô, le récapitulatif,
     puis la liste. Le texte se défait de sa colonne pour s'intercaler. */
  .guest { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guest__text { display: contents; }
  .guest .h2 { order: 1; }
  .guest .body { order: 2; }
  .guest__visual { order: 3; height: auto; margin-top: 24px; }
  .guest .ticks { order: 4; }
  .phone { display: none; }
  .recap { position: static; width: auto; max-width: 420px; box-shadow: none; }
}

/* Tarif : l'abonnement en avant, l'option à côté, au même niveau. */
.pricing__head { max-width: 640px; margin: 0 auto; text-align: center; }
.pricing__head .body { margin-left: auto; margin-right: auto; }
.pricing { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; max-width: 1040px; margin: 48px auto 0; }
.pricing__side { display: flex; flex-direction: column; gap: 24px; }
.price-card { display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 40px); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.price-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.price-card__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 16px; }
.price-card__amount b { font-size: clamp(44px, 5.5vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price-card__per { font-size: 18px; color: var(--ink-mute); }
.price-card__note { margin-top: 8px; font-size: 15px; color: var(--ink-mute); }
.price-card .ticks { margin-top: 28px; font-size: 15px; gap: 10px; }
.price-card .btn { margin-top: 32px; }
.price-card__fine { margin: 14px 0 0; font-size: 13px; text-align: center; color: var(--ink-mute); }

.addon { flex: 1; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.addon__title { font-size: 16px; }
.addon__price { margin-top: 14px; font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.addon__note { margin-top: 6px; font-size: 14px; color: var(--ink-mute); }
.addon__text { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.addon__systems { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.addon__systems li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; }
.addon__systems .addon__systems-other { border: 1px dashed #a9b0ac; color: var(--ink-mute); }
.extra { padding: 24px 32px; border-radius: var(--radius); background: var(--surface); font-size: 14px; }
.extra b { display: block; font-size: 15px; font-weight: 600; }
.extra p { margin: 4px 0 0; color: var(--ink-mute); }
.extra p + p { margin-top: 14px; color: var(--ink); }
@media (max-width: 860px) { .pricing { grid-template-columns: minmax(0, 1fr); gap: 14px; } .pricing__side { gap: 14px; } }

/* Les questions, en accordéon natif. */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 64px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin: 6px 4px 0 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq p { margin: -8px 0 24px; font-size: 16px; line-height: 1.6; color: var(--ink-mute); max-width: 70ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq summary { font-size: 16px; padding: 18px 0; } }

/* L'appel final, sur une photo : le seul fond sombre de la page. */
.final { position: relative; display: flex; align-items: center; min-height: 380px; border-radius: 24px; overflow: hidden; color: var(--white); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(11, 39, 27, .92) 0%, rgba(11, 39, 27, .78) 50%, rgba(11, 39, 27, .2) 100%); }
.final__body { position: relative; z-index: 2; max-width: 620px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); }
.final__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.final__note { font-size: 15px; color: rgba(255, 255, 255, .85); }
@media (max-width: 640px) {
  .final::before { background: rgba(11, 39, 27, .84); }
  .final__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .pricing__head { text-align: left; }
}

/* pied de page : clair, comme le reste de la page. */
.footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-top: 44px; padding-bottom: 40px; }
.footer a { color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.footer .brand__logo { height: 26px; }
.footer__links--legal { flex-basis: 100%; gap: 10px 20px; padding-top: 22px; border-top: 1px solid #e3e3df; font-size: 13px; }
.footer__links--legal a { color: var(--ink-mute); }
/* Les photos d'illustration sont sous licence CC BY : le crédit accompagne
   l'image partout où elle est réutilisée. */
.footer__credit { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.5; max-width: 90ch; }
.footer__credit a { color: var(--ink-mute); }

/* Pages légales : un document à lire, pas une vitrine. Une colonne étroite,
   des titres sobres, la date de la version en tête. */
.topbar__actions--end { margin-left: auto; }
.legal-page { max-width: 760px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(44px, 6vw, 76px); }
.legal-page__title { font-family: var(--brand); font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.legal-page__updated { color: var(--ink-mute); font-size: 15px; margin: 0 0 28px; }
.legal-page__pending {
  margin: 0 0 28px;
  padding: 12px 16px;
  border: 1px solid rgba(163, 109, 20, .35);
  border-radius: var(--radius-sm);
  background: rgba(214, 158, 46, .12);
  color: #6b4a0d;
  font-size: 15px;
}
.legal-page__body { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.legal-page__body h2 { font-family: var(--brand); font-size: 24px; color: var(--ink); margin: 36px 0 10px; }
.legal-page__body h3 { font-size: 17px; color: var(--ink); margin: 22px 0 6px; }
.legal-page__body p,
.legal-page__body ul { margin: 0 0 12px; }
.legal-page__body ul { padding-left: 22px; }
.legal-page__body li + li { margin-top: 4px; }
.legal-page__body a { color: var(--accent-ink); }
.legal-page__body .legal-page__missing { color: #8a5a0b; font-style: italic; }
.legal-page__table { overflow-x: auto; margin: 0 0 16px; }
.legal-page__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-page__table th,
.legal-page__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); }
.legal-page__table th { color: var(--ink); font-weight: 600; }
.legal-page__table code { font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap; }

/* Sur téléphone, trois colonnes réduisaient le nom et l'explication à une
   poignée de lettres par ligne : chaque cookie devient un bloc, le nom en
   tête, la durée annoncée par son intitulé. */
@media (max-width: 560px) {
  .legal-page__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal-page__table table,
  .legal-page__table tbody,
  .legal-page__table tr,
  .legal-page__table td { display: block; }
  .legal-page__table tr { padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
  .legal-page__table td { padding: 2px 0; border: 0; }
  .legal-page__table td:first-child { margin-bottom: 4px; }
  .legal-page__table td[data-label]::before { content: attr(data-label) " : "; font-weight: 600; color: var(--ink); }
  .legal-page__table code { white-space: normal; overflow-wrap: anywhere; }
}

/* Pages de compte : connexion, inscription, mot de passe… Une carte blanche
   centrée sur le fond papier, les champs à la mesure des boutons. */
/* Le pied de page reste en bas de l'écran, même sous une carte courte. */
body:has(> .account-page) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.account-page { flex: 1 0 auto; width: 100%; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(44px, 7vw, 88px); }
.account-card {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(11, 39, 27, .07);
}
.account-card__title { font-size: clamp(28px, 4vw, 34px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 10px; text-wrap: balance; }
.account-card p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.account-card .account-card__note { font-size: 15px; color: var(--ink-mute); }
.account-card form { margin-top: 24px; }
.account-card .account-card__links { display: flex; flex-direction: column; gap: 6px; margin: 22px 0 0; font-size: 15px; }
.account-card .account-card__switch {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  text-align: center;
}
.account-card__error,
.account-flash--error {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(163, 49, 42, .3);
  border-radius: var(--radius-sm);
  background: rgba(163, 49, 42, .07);
  color: #8e2a24;
  font-size: 15px;
}
.account-flash {
  max-width: 480px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.account-flash--success { border: 1px solid rgba(23, 67, 47, .25); background: rgba(23, 67, 47, .07); color: #17432f; }
.account-flash--error { margin: 0 auto 18px; }
.account-flash--warning { border: 1px solid rgba(163, 109, 20, .35); background: rgba(214, 158, 46, .12); color: #6b4a0d; }
/* Une étiquette sans style à elle garde au moins le cadre neutre. */
.account-flash:not(.account-flash--success, .account-flash--error, .account-flash--warning) { border: 1px solid var(--line-strong); background: var(--white); }

/* Les champs. Symfony rend chaque ligne en <div> : libellé, erreurs, champ. */
.field + .field { margin-top: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="hidden"]) {
  display: block;
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.field input:not([type="checkbox"]):hover { border-color: rgba(11, 39, 27, .3); }
.field input:not([type="checkbox"]):focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-tint); }
.field input:disabled { color: var(--ink-mute); cursor: not-allowed; }
.account-card .field__help { margin: 6px 0 0; font-size: 13px; color: var(--ink-mute); }
/* Les erreurs d'un champ, en liste au-dessus de lui ; celles d'une case, sous
   elle (form_errors). */
.account-card form ul { margin: 0 0 6px; padding: 0; list-style: none; color: #8e2a24; font-size: 14px; }
.account-card .field ul + input:not([type="checkbox"]) { border-color: rgba(163, 49, 42, .55); }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field--split { grid-template-columns: 1fr; } }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check label { margin: 0; font-weight: 400; line-height: 1.5; cursor: pointer; }
.field--check a { text-decoration: underline; text-underline-offset: .15em; }
.field--check input[type="checkbox"] {
  appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  background: var(--surface);
  border: 1px solid rgba(11, 39, 27, .3);
  border-radius: 6px;
  cursor: pointer;
}
.field--check input[type="checkbox"]::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--white);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transition: transform .12s ease-in-out;
}
.field--check input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
.field--check input[type="checkbox"]:checked::before { transform: scale(1); }
.account-card .btn--block { margin-top: 26px; cursor: pointer; font-family: inherit; }

/* L'écran d'acceptation des conditions : les deux documents en vis-à-vis, puis
   la case dans son propre cadre, qui se colore une fois cochée. */
.account-card--terms .account-card__note { margin-bottom: 20px; }
.account-card--terms form { margin-top: 12px; }
.account-card--terms .btn--block { margin-top: 4px; }
.account-card--terms .account-card__switch { margin-top: 18px; padding-top: 0; border-top: 0; }
.account-card--terms .account-card__switch a { color: var(--ink-mute); }
.terms-docs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.terms-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.terms-doc:hover { text-decoration: none; background: var(--surface); border-color: rgba(11, 39, 27, .3); }
.terms-doc:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-tint); }
.terms-doc__icon {
  flex: none;
  display: grid;
  place-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent-ink);
  background: var(--accent-tint);
  border-radius: 9px;
}
.terms-doc__label { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.terms-doc__arrow { flex: none; color: var(--ink-mute); transition: transform .15s ease; }
.terms-doc:hover .terms-doc__arrow { transform: translate(2px, -2px); }
/* Tout le cadre répond au clic : le libellé s'étend sur lui. */
.field--consent {
  position: relative;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.field--consent label::after { content: ""; position: absolute; inset: 0; }
.field--consent input[type="checkbox"] { background: var(--white); }
.field--consent:hover { border-color: rgba(11, 39, 27, .3); }
.field--consent:has(+ ul) { border-color: rgba(163, 49, 42, .55); }
.field--consent:has(input:checked) { background: var(--accent-tint); border-color: var(--accent); }
.field--consent:has(input:focus-visible) { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-tint); }
.account-card--terms form .field--consent + ul { margin: 8px 0 14px; }

/* Page d'erreur de la plateforme : le code en grand, une phrase, deux issues. */
.error-page { max-width: 640px; margin: 0 auto; padding-top: clamp(8px, 4vw, 40px); text-align: center; }
.error-page__code { margin: 0 0 6px; font-family: var(--brand); font-weight: 600; font-size: clamp(72px, 14vw, 128px); line-height: 1; color: var(--accent); }
.error-page__title { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.error-page__text { margin: 0 auto; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 48ch; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Le message sur les cookies, en bas de l'écran : il informe sans rien masquer
   d'important ni bloquer la page, et se ferme d'un geste. */
.cookie-notice:not([hidden]) {
  position: fixed;
  inset: auto 16px max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(11, 39, 27, .24);
  font-size: 15px;
  line-height: 1.5;
}
.cookie-notice__text { flex: 1 1 280px; margin: 0; }
.cookie-notice__text a { color: var(--accent-light); }
.cookie-notice__close {
  flex: none;
  padding: 8px 18px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.cookie-notice__close:hover { background: var(--paper-alt); }
.cookie-notice__close:focus-visible,
.cookie-notice__text a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.footer__links--legal { font-size: 13px; }

/* L'inscription et la connexion, en deux colonnes (platform/_split_layout) :
   le formulaire à gauche, sur le blanc et sans cadre ; à droite, une photo et
   quelques mots. */
.split { display: flex; min-height: 100vh; min-height: 100dvh; }
.split__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; padding: 20px clamp(20px, 4vw, 48px) 16px; }
.split__main .brand__logo { height: 28px; }
.split__body { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 460px; margin: 0 auto; padding: 8px 0; }
.split__body .account-flash { width: 100%; }
.account-card--flat { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.account-card--flat .field input:not([type="checkbox"]):not([type="hidden"]) { background: var(--white); border-color: #c9ccc9; }
.account-card--flat .account-card__title { margin-bottom: 6px; font-size: clamp(28px, 3vw, 32px); letter-spacing: -.02em; }
/* Le formulaire tient dans la hauteur d'un écran d'ordinateur portable
   (720 px utiles pour l'inscription) : sans défilement, le bouton reste en
   vue. */
.account-card--flat .account-card__note { margin-bottom: 0; }
.account-card--flat form { margin-top: 16px; }
.account-card--flat .field + .field { margin-top: 10px; }
.account-card--flat .field label { margin-bottom: 4px; font-size: 14px; }
.account-card--flat .field input:not([type="checkbox"]):not([type="hidden"]) { padding: 10px 12px; }
.account-card--flat .field__help { margin-top: 4px; font-size: 12px; }
.account-card--flat .field--check label { font-size: 14px; }
.account-card--flat .btn--block { margin-top: 6px; }
.account-card--flat .account-card__switch { margin-top: 16px; padding-top: 14px; }
.account-card--flat .account-card__links { margin-top: 16px; font-size: 14px; }
.account-card--flat .account-card__error { margin: 16px 0 0; }
.split__aside { flex: 1 1 0; min-width: 0; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.split__aside > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__aside::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(11, 39, 27, .1) 0%, rgba(11, 39, 27, .85) 75%); }
.split__pitch { position: relative; z-index: 2; padding: 0 56px 64px; }
.split__kicker { margin: 0; font-size: 14px; font-weight: 600; color: #ffd19a; }
.split__title { margin: 10px 0 0; max-width: 18ch; font-size: 32px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.split__pitch .ticks { margin-top: 24px; }
.ticks--light li::before { border-color: var(--white); }
/* Les mentions légales restent à portée de chaque page, même sans pied. */
.split__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.split__legal a { color: var(--ink-mute); }
/* Sur un écran étroit, la photo prendrait toute la hauteur sous le
   formulaire : elle s'efface, le formulaire reste seul. */
@media (max-width: 960px) {
  .split__aside { display: none; }
  .split__main { padding-top: 20px; }
  .split__body { padding: 32px 0 40px; justify-content: flex-start; }
}

/* Les pages de compte se posent sur le gris : la carte blanche s'en détache. */
body:has(> .account-page) { background: var(--surface); }

/* Safari / Firefox sans backdrop-filter : fond plus opaque. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: rgba(255, 255, 255, .97); }
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
  /* Le saut redevient net : la marge haute, elle, reste due. */
  html { scroll-behavior: auto; }
}

/* Pages dédiées (templates/landing) : une page par recherche d'un gérant.
   L'accroche de l'accueil en plus sobre, puis un texte à lire, à la mesure
   des pages légales mais à la taille du texte de l'accueil. */
.landing__crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: 14px; color: var(--ink-mute); }
.landing__crumbs a { color: inherit; }
.landing__crumbs a:hover { color: var(--ink); }
.landing__hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.landing__hero .h1 { max-width: 18ch; margin-top: 22px; }
.landing__hero .h1:first-child { margin-top: 0; }
.landing__hero .lede { max-width: 54ch; }
.landing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.landing__body { max-width: 760px; margin-left: max(0px, calc((100% - var(--shell)) / 2)); padding-bottom: clamp(48px, 7vw, 88px); font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.landing__body h2 { margin: 48px 0 12px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.landing__body h2:first-child { margin-top: 0; }
.landing__body p { margin: 0 0 16px; text-wrap: pretty; }
.landing__body a { color: var(--accent-ink); }
.landing__body .ticks { margin: 20px 0 24px; font-size: 17px; }
.landing__final { padding-bottom: clamp(48px, 7vw, 96px); }


/* L'index « Notre savoir-faire » : une carte par article, toute cliquable. */
.know-how { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.know-how__card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(16px, 3vw, 28px); align-items: center; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.know-how__card:hover { border-color: var(--ink); box-shadow: 0 6px 20px rgba(11, 39, 27, .08); }
.landing__body .know-how__title { margin: 0 0 8px; font-size: clamp(20px, 2vw, 24px); }
.landing__body .know-how__excerpt { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--ink-mute); }
.know-how__more { font-size: 15px; font-weight: 600; color: var(--accent-ink); }
.know-how__photo { width: 100%; height: 100%; min-height: 180px; object-fit: cover; object-position: center 75%; }
.know-how__text { padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) 0; }
@media (max-width: 660px) {
  .know-how__card { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .know-how__photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .know-how__text { padding: 20px; }
}

/* La photo de l'article, à droite de l'accroche ; dessous sur écran étroit. */
.landing__hero--photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.landing__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 75%; border-radius: 24px; }
@media (max-width: 860px) {
  .landing__hero--photo { grid-template-columns: minmax(0, 1fr); }
}

/*
 * Le sélecteur de langue de la plateforme (platform/_locale_switcher.html.twig) :
 * l'accueil, l'inscription, la connexion, le mot de passe oublié. Un drapeau
 * dans la barre, la liste des autres langues dessous, alignée à droite pour
 * ne pas déborder de l'écran d'un téléphone.
 */
.flag {
  width: 22px;
  height: 15px;
  flex: none;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 2px;
}
.flag-sprite { display: none; }

.locale-switcher { position: relative; flex: none; }
.locale-switcher > summary { list-style: none; cursor: pointer; }
.locale-switcher > summary::-webkit-details-marker { display: none; }
.locale-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.locale-switcher__current:hover,
.locale-switcher[open] > .locale-switcher__current { background: rgba(11, 39, 27, .06); }
.locale-switcher__current:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.locale-switcher .chevron { width: 10px; height: 6px; transition: transform .15s ease; }
.locale-switcher[open] .chevron { transform: rotate(180deg); }
.locale-switcher__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(10, 16, 14, .18);
}
.locale-switcher__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  border-radius: 6px;
}
.locale-switcher__list a:hover,
.locale-switcher__list a:focus-visible { background: rgba(11, 39, 27, .06); text-decoration: none; }

/* Pages en deux colonnes : le logo à gauche, le sélecteur en face. */
.split__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

@media (max-width: 480px) {
  .topbar .locale-switcher__current { min-height: 44px; padding: 0 8px; }
}

