/* Concepts A, B et C de l'étude (versions 5, 6 et 7 de la relecture) : socle commun et un thème par concept. Isolé sous
   .tpl-c : aucune règle ne sort de la relecture. Polices auto-hébergées (SIL OFL, public/fonts/LICENSES.txt). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-wght-italic.woff2') format('woff2');
}

.tpl-c {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100svh;
  overflow-x: clip;
}
.tpl-c--a {
  --c-bg: #faf8f4;
  --c-alt: #f5f1eb;
  --c-card: #fff;
  --c-text: #14304a;
  --c-muted: #4b5f72;
  --c-line: #dfd8cc;
  --c-cta: #b5431f;
  --c-cta-hover: #973617;
  --c-on-cta: #fff;
  --c-title: 'Manrope', system-ui, sans-serif;
  --c-title-weight: 800;
}
.tpl-c--b {
  --c-bg: #0f0f10;
  --c-alt: #19191b;
  --c-card: #19191b;
  --c-text: #f3e8dd;
  --c-muted: #c9bfb5;
  --c-line: #34343a;
  --c-cta: #f3e8dd;
  --c-cta-hover: #fff;
  --c-on-cta: #0f0f10;
  --c-title: 'Playfair Display', Georgia, serif;
  --c-title-weight: 500;
}
.tpl-c--c {
  --c-bg: #f5f1eb;
  --c-alt: #ebe5da;
  --c-card: #fff;
  --c-text: #20392f;
  --c-muted: #4d6157;
  --c-line: #d6cfc1;
  --c-cta: #24443a;
  --c-cta-hover: #17302a;
  --c-on-cta: #fff;
  --c-title: 'Manrope', system-ui, sans-serif;
  --c-title-weight: 800;
}
.tpl-c *,
.tpl-c *::before,
.tpl-c *::after {
  box-sizing: border-box;
}
.tpl-c :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.tpl-c a {
  color: inherit;
}
.tpl-c h1,
.tpl-c h2,
.tpl-c h3 {
  font-family: var(--c-title);
  font-weight: var(--c-title-weight);
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
  margin: 0;
  line-height: 1.15;
}
.tpl-c p,
.tpl-c ul,
.tpl-c ol,
.tpl-c dl,
.tpl-c dd {
  margin: 0;
  padding: 0;
}
.tpl-c ul,
.tpl-c ol {
  list-style: none;
}
.tpl-c img {
  display: block;
  max-width: 100%;
}

.c-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.c-narrow {
  max-width: 760px;
}
.c-section {
  padding: 72px 0;
}
.c-alt {
  background: var(--c-alt);
}
.c-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.c-h2 {
  font-size: 36px;
}
.c-h3 {
  font-size: 20px;
}
.c-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.c-muted {
  color: var(--c-muted);
}
.c-small {
  font-size: 14px;
}
.c-strong {
  font-weight: 700;
}
.c-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.c-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.c-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 24px;
}

/* Boutons */
.tpl-c a.c-btn,
.tpl-c .f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  background: var(--c-cta);
  color: var(--c-on-cta);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.tpl-c a.c-btn:hover,
.tpl-c .f-btn:hover {
  background: var(--c-cta-hover);
}
.tpl-c a.c-btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.c-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* En-tête permanent : logo, téléphone, un seul bouton. Sur mobile, la barre du bas prend le relais. */
.c-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.c-header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.c-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 800;
}
.tpl-c a.c-brand {
  color: inherit;
  text-decoration: none;
}
/* En-tête allégé (13/11/2026) : logo et nom plus petits, deux petits boutons de téléphone, un par agence. */
.c-brand img {
  width: 36px;
  height: 36px;
}
.c-brand span {
  font-size: 15px;
}
.c-header-phones {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tpl-c a.c-header-phone-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--c-text);
  border-radius: 10px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.c-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.c-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Héros photo plein écran */
.c-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 11rem);
  overflow: hidden;
  background: #14304a;
  color: #fff;
}
.tpl-c .c-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.c-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.18) 100%);
}
.c-hero-body {
  position: relative;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 48px;
}
.c-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}
.c-hero h1 {
  font-size: 56px;
}
.c-hero .c-eyebrow {
  color: #fff;
}
.c-hero-lead {
  font-size: 19px;
}
.c-hero-price {
  font-size: 18px;
}
.c-hero-price strong {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}
.tpl-c .c-hero a.c-btn2 {
  color: #fff;
}
/* Version A : badge de réassurance humaine sous le prix. Fond sombre translucide : lisible sur n'importe quelle photo. */
.tpl-c .c-hero .c-badge-human {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.tpl-c .c-hero .c-badge-human svg {
  flex: none;
}
/* Version A sur mobile : le prix « à partir de » passe de 32 à 38 px, pour qu'il saute aux yeux avant le bouton. */
@media (max-width: 820px) {
  .tpl-c--a .c-hero-price strong {
    font-size: 38px;
  }
}
/* Téléphone du héros (page réelle) : lien discret sous le bouton de devis, cible tactile de 48 px. */
.tpl-c .c-hero a.c-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tpl-c--b .c-hero-img {
  object-position: center 78%;
}
.c-call-label {
  display: none;
}

/* Bloc offre, prix et départs */
.c-offer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}
.c-price {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}
.c-ticks li {
  position: relative;
  padding-left: 28px;
  margin-top: 8px;
}
.c-ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 800;
}
.c-crosses li {
  position: relative;
  padding-left: 28px;
  margin-top: 8px;
}
.c-crosses li::before {
  content: '–';
  position: absolute;
  left: 4px;
  font-weight: 800;
}
.c-table-wrap {
  overflow-x: auto;
}
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.c-table th,
.c-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.c-table th {
  font-size: 14px;
  color: var(--c-muted);
}

/* Programme jour par jour et étapes */
.c-days li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}

/* Conseillère */
.c-advisor {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.tpl-c .c-avatar {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.c-avatar-empty {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  padding: 10px;
  border: 1.5px dashed var(--c-muted);
  border-radius: 50%;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  color: var(--c-muted);
}
.c-slot {
  border: 1.5px dashed var(--c-muted);
  border-radius: 14px;
  padding: 24px;
  color: var(--c-muted);
}
.c-quote {
  font-family: var(--c-title);
  font-size: 22px;
  line-height: 1.35;
}

/* Contact et formulaires */
.c-contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}
.tpl-c .f-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.tpl-c .f-stack {
  grid-template-columns: minmax(0, 1fr);
}
.tpl-c .f-wide {
  grid-column: 1 / -1;
}
.tpl-c .f-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.tpl-c .f-field input,
.tpl-c .f-field textarea,
.tpl-c .f-field select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-muted);
  border-radius: 8px;
  background: var(--c-bg);
  color: var(--c-text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.tpl-c .f-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-muted);
}
.tpl-c .f-check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
}
/* Réassurance sous le bouton d'envoi : cadenas et phrase, 14 px minimum, contraste de la couleur secondaire du gabarit. */
.tpl-c .f-reassure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted);
}
.tpl-c .f-reassure svg {
  flex: none;
  margin-top: 2px;
}
/* Mobile : le message facultatif disparaît (prénom, nom, e-mail, mobile et période suffisent). */
@media (max-width: 820px) {
  .tpl-c .f-hide-sm {
    display: none;
  }
}
.tpl-c .f-note {
  font-size: 14px;
  color: var(--c-muted);
}

/* Accordéons natifs (<details>) : FAQ et blocs de référence (11/11/2026). Chevron qui pivote, questions de 60 px au moins. */
.c-acc-list {
  display: grid;
  border-top: 1px solid var(--c-line);
}
.c-faq details,
.c-acc {
  border-bottom: 1px solid var(--c-line);
}
.c-faq summary,
.c-acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.c-faq summary::-webkit-details-marker,
.c-acc > summary::-webkit-details-marker {
  display: none;
}
.c-faq summary::after,
.c-acc > summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.c-faq details[open] > summary::after,
.c-acc[open] > summary::after {
  transform: rotate(-135deg) translateY(-3px);
}
.c-faq details p {
  max-width: 62ch;
  padding-bottom: 22px;
  line-height: 1.7;
  color: var(--c-muted);
}
.c-acc-body {
  max-width: 62ch;
  padding-bottom: 22px;
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .c-faq summary::after,
  .c-acc > summary::after {
    transition: none;
  }
}
/* Titre d'un accordéon avec vignette (programme de la version A). */
.c-acc-thumb {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tpl-c .c-acc-thumb-img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
}
/* Garanties : noms toujours visibles, détail dans un accordéon. */
.c-guarantees-names {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}
/* Étapes clés (version C) : liste épurée, numéro, étape, durée. */
.c-keysteps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line);
}
.c-keysteps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.c-keysteps .c-step-num {
  margin: 0;
}
.c-keysteps strong {
  display: block;
  font-size: 18px;
  line-height: 1.3;
}
.c-keysteps .c-muted {
  font-size: 15px;
}
.c-keysteps-nights {
  font-weight: 700;
  white-space: nowrap;
}

/* B : frise et deux façons de vivre le voyage */
.c-frieze {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.c-frieze li {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.tpl-c .c-frieze-img {
  width: 100%;
  aspect-ratio: 3 / 4;
}
.c-frieze-text {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  color: #fff;
}
.c-frieze-text p:first-child {
  font-family: var(--c-title);
  font-size: 22px;
  line-height: 1.2;
}
.c-way-price {
  font-family: var(--c-title);
  font-size: 34px;
  line-height: 1.15;
}
.tpl-c--b .c-hero h1 {
  font-size: 72px;
}
.c-prose {
  font-family: var(--c-title);
  font-size: 22px;
  line-height: 1.5;
}
.c-prose + .c-prose {
  margin-top: 18px;
}
.c-big-rating {
  font-family: var(--c-title);
  font-size: 44px;
  line-height: 1.1;
}

/* C : héros humain, cartes d'offres, étapes */
.c-human {
  padding: 48px 0;
}
.c-human-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;
}
.c-human h1 {
  font-size: 48px;
}
.c-human-photo {
  overflow: hidden;
  border-radius: 16px;
}
.tpl-c .c-human-img {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.c-team-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 24px;
  border: 1.5px dashed var(--c-muted);
  border-radius: 16px;
  text-align: center;
  color: var(--c-muted);
}
.c-rating-band {
  background: var(--c-cta);
  color: #fff;
  padding: 16px 0;
}
.c-rating-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  font-weight: 700;
}
.c-offer-card {
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.tpl-c .c-offer-img {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.c-offer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.c-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--c-cta);
  color: var(--c-on-cta);
  font-weight: 800;
}

/* Barre fixe mobile : téléphone puis devis, après le bouton du héros, masquée sur le formulaire */
.c-sticky {
  display: none;
}
@media (max-width: 820px) {
  .tpl-c {
    font-size: 16px;
  }
  .c-wrap {
    padding: 0 16px;
  }
  .c-section {
    padding: 48px 0;
  }
  .c-h2 {
    font-size: 28px;
  }
  .c-grid2,
  .c-grid3,
  .c-offer,
  .c-contact,
  .c-human-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .c-header {
    position: static;
  }
  .c-header-in {
    min-height: 52px;
    gap: 8px;
  }
  .c-brand {
    gap: 8px;
  }
  .c-brand img {
    width: 30px;
    height: 30px;
  }
  .c-brand span {
    font-size: 14px;
  }
  .tpl-c a.c-header-phone-sm {
    padding: 0 10px;
    font-size: 13px;
  }
  .c-hide-sm {
    display: none !important;
  }
  /* Liens téléphone dans le texte : cible tactile de 44 px au moins (audit du 11/11/2026). */
  .tpl-c a[href^='tel:'] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .c-header-phone {
    min-width: 48px;
    justify-content: center;
  }
  .c-hero {
    min-height: 0;
  }
  .c-hero-body {
    padding-top: 150px;
    padding-bottom: 24px;
  }
  .tpl-c--b .c-hero-body {
    padding-top: 84px;
  }
  .tpl-c--b .c-hero-logo {
    width: 48px;
    height: 48px;
  }
  .c-hero-inner {
    gap: 14px;
  }
  .tpl-c--a .c-hero + .c-section {
    padding-top: 24px;
  }
  /* En-tête mobile : « Appeler » en contour, pour ne pas concurrencer le bouton de devis du héros (audit du 11/11/2026). */
  .tpl-c a.c-call-cta {
    gap: 8px;
    padding: 0 18px;
    border: 1.5px solid var(--c-text);
    border-radius: 10px;
    background: transparent;
    color: var(--c-text);
  }
  .c-call-label {
    display: inline;
  }
  .c-hero h1 {
    font-size: 34px;
  }
  .tpl-c--b .c-hero h1 {
    font-size: 44px;
  }
  .c-hero-lead {
    font-size: 17px;
  }
  .c-hero-price strong {
    font-size: 32px;
  }
  .c-hero .c-actions a {
    width: 100%;
  }
  .c-human {
    padding: 28px 0;
  }
  .c-human h1 {
    font-size: 32px;
  }
  .c-team-slot {
    min-height: 180px;
  }
  .c-frieze {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c-frieze-text p:first-child {
    font-size: 18px;
  }
  .c-advisor {
    flex-direction: column;
  }
  .c-quote,
  .c-prose {
    font-size: 19px;
  }
  .tpl-c .f-form {
    padding: 20px;
  }
  .c-sticky {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--c-card);
    border-top: 1px solid var(--c-line);
    transition: transform 0.2s ease, visibility 0.2s;
  }
  .c-sticky.is-hidden {
    transform: translateY(100%);
    visibility: hidden;
  }
  .tpl-c .c-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
  }
  .tpl-c .c-sticky-call {
    border: 1.5px solid var(--c-text);
    color: var(--c-text);
  }
  .tpl-c .c-sticky-quote {
    background: var(--c-cta);
    color: var(--c-on-cta);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-sticky {
    transition: none;
  }
}

/* Formulaire réel : erreurs de saisie et message d'échec d'envoi. */
.tpl-c .f-error {
  font-size: 14px;
  font-weight: 700;
  color: #a4001d;
}
.tpl-c .f-field input[aria-invalid='true'],
.tpl-c .f-field textarea[aria-invalid='true'] {
  border-color: #a4001d;
}
.tpl-c .f-alert {
  padding: 14px;
  border: 1.5px solid #a4001d;
  border-radius: 8px;
  font-size: 15px;
}
.tpl-c .f-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Carrousel du hero (toutes les versions) : les photos sont superposées et fondues, la première est chargée avec le hero. */
.c-carousel {
  touch-action: pan-y;
}
.c-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.c-carousel-slide.is-active {
  opacity: 1;
}
.c-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .c-carousel-slide {
    transition: none;
  }
}
