/* =========================================================
   LP Offre Noël 2026 — Mouratoglou Hotel & Resort
   Même charte que la LP offre-agence : fond blanc, texte noir,
   titres Old Standard TT, navy et toffee en accents.
   Statique : aucune dependance, aucun appel externe.
   ========================================================= */

/* ---------------- polices de marque ---------------- */

@font-face {
  font-family: 'Geometria';
  src: url('../fonts/geometria-light.woff2') format('woff2');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/geometria-medium.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/geometria-extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Old Standard TT';
  src: url('../fonts/oldstandard-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue:        #001937;
  --toffee:      #B4865F;
  --beige-soft:  #E4DFD1;
  --beige-light: #ECE9DF;
  --white:       #FFFFFF;
  --black:       #000000;
  --blue-menu:   #0A223F;   /* fond du menu, releve sur la creation Noel */
  /* toffee assombri pour le TEXTE sur fond clair : le toffee de la charte n'y
     atteint pas le contraste AA. Le toffee reste celui des fonds et des filets. */
  --toffee-text: #8A6440;

  --grey:        rgba(0, 25, 55, .78);   /* texte secondaire : le bleu de la charte, adouci */
  --line:        rgba(0, 25, 55, .16);

  --wrap: 1240px;
  --font-serif: 'Old Standard TT', Georgia, serif;
  --font-sans:  'Geometria', 'Segoe UI', system-ui, sans-serif;
}

/* ---------------- base ---------------- */

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--font-serif); line-height: 1.2; }
h2 { font-size: clamp(26px, 3vw, 35px); }
h3 { font-size: clamp(19px, 2vw, 24px); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap-narrow { max-width: 760px; }

.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-beige { background: var(--beige-light); }
.section-tight { padding: clamp(32px, 4vw, 48px) 0; }

.section-title { margin-bottom: 14px; }

/* sections ornees d'un groupe de boules suspendu au bord haut */
.section-deco { position: relative; overflow: hidden; }
.deco-section {
  position: absolute;
  top: 0;
  right: clamp(12px, 5vw, 96px);
  width: clamp(90px, 9vw, 130px);
  height: auto;
  pointer-events: none;
}
.deco-section--left { right: auto; left: clamp(12px, 5vw, 96px); }
.section-deco > .wrap { position: relative; }
/* sous 1100 px, les boules passeraient sur le texte : on les retire */
@media (max-width: 1100px) { .deco-section { display: none; } }
.lead { max-width: 68ch; margin-bottom: 30px; color: var(--grey); }
.lead strong { font-weight: 500; color: var(--blue); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 12px; top: 12px; z-index: 100;
  background: var(--blue); color: var(--white); padding: 10px 18px; text-decoration: none;
}
:focus-visible { outline: 2px solid var(--toffee); outline-offset: 3px; }

/* ---------------- boutons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--toffee); border-color: var(--toffee); }

.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.btn-sm { padding: 12px 22px; font-size: 12.5px; }
.btn-block { width: 100%; padding-block: 18px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* boutons poses sur le bleu du hero */
.on-blue .btn { border-color: var(--white); background: var(--white); color: var(--blue); }
.on-blue .btn:hover { background: var(--toffee); border-color: var(--toffee); color: var(--white); }
.on-blue .btn-ghost { background: transparent; color: var(--white); }
.on-blue .btn-ghost:hover { background: var(--white); color: var(--blue); }

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue-menu);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.brand { display: block; flex: none; }
.brand-logo { height: clamp(42px, 4.4vw, 58px); width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.site-nav a:not(.btn):hover { color: var(--toffee); }
.site-nav .btn { background: var(--toffee); border-color: var(--toffee); color: var(--white); }
.site-nav .btn:hover { background: var(--white); border-color: var(--white); color: var(--blue); }

/* selecteur de langue : deux segments carres, la langue active pleine en toffee */
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(180, 134, 95, .7);
}
.site-nav .lang-switch a,
.lang-switch span {
  display: block;
  min-width: 38px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.lang-switch span[aria-current] { background: var(--toffee); color: var(--white); }
.site-nav .lang-switch a { color: var(--beige-light); transition: background .2s, color .2s; }
.site-nav .lang-switch a:hover { background: rgba(180, 134, 95, .25); color: var(--white); }

/* barre d'ancres mobile : cachee sur ordinateur, ou le menu suffit */
.subnav { display: none; }

/* ---------------- hero ---------------- */

/* Reprend la creation : fond bleu, grand V un ton plus clair descendant
   du haut, boules suspendues de part et d'autre, texte centre. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--beige-light);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 34% 0;
  background: rgba(236, 233, 223, .045);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
/* boules de la creation, suspendues au bord haut */
.deco {
  position: absolute;
  top: 0;
  height: auto;
  pointer-events: none;
}
.deco-left  { left: clamp(0px, 4vw, 64px);  width: clamp(120px, 16vw, 220px); }
.deco-right { right: clamp(0px, 4vw, 64px); width: clamp(120px, 15vw, 210px); }

/* flocons epars, comme autour du titre de la creation */
.flocon { position: absolute; height: auto; opacity: .75; pointer-events: none; }
.flocon-1 { width: 22px; top: 34%; left: 19%; }
.flocon-2 { width: 16px; top: 62%; right: 18%; }
.flocon-3 { width: 14px; bottom: 14%; left: 30%; opacity: .5; }

.hero-inner {
  position: relative;
  padding-block: clamp(48px, 5.5vw, 84px) clamp(40px, 4vw, 56px);
}
.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--toffee);
}
/* la calligraphie de la creation signe la saison, au-dessus de la promesse */
.hero-noel {
  display: block;
  width: clamp(170px, 18vw, 240px);
  height: auto;
  margin: 0 auto 30px;
}
/* la promesse : c'est elle qui vend, en grand */
.hero h1 {
  margin-inline: auto;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  color: var(--white);
}
/* ce qu'on vend, pour qui, ou : en capitales Geometria, comme « DE NOËL » sur la creation */
.hero-sub {
  margin: 18px auto 24px;
  max-width: 90ch;
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--toffee);
}

/* les prix sont une information, pas des boutons : texte simple,
   separe par un filet toffee, sans cadre */
.hero-prix {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--beige-light);
}
.hero-prix li { padding: 0 22px; }
.hero-prix li + li { border-left: 1px solid var(--toffee); }
.hero-prix strong { font-weight: 500; font-size: 1.15em; color: var(--white); }

.hero-cta { margin-top: 28px; }
.hero-reassure,
.form-reassure {
  margin: 12px 0 0;
  font-size: 14px;
  letter-spacing: .04em;
}
.hero-reassure { color: rgba(236, 233, 223, .8); }
.form-reassure { text-align: center; color: var(--grey); }

@media (max-width: 560px) {
  .hero-prix { flex-direction: column; }
  .hero-prix li + li { border-left: 0; }
}


/* ---------------- les deux formules ---------------- */

.formules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}
.formule {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--toffee);
  background: var(--white);
}

.formule-intro { margin-bottom: 22px; font-size: 17px; color: var(--blue); }
/* le titre reprend la creation : serif, puis capitales toffee en Geometria */
.formule-title { margin-bottom: 20px; line-height: 1.05; }
.formule-kicker {
  display: block;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--blue);
}
.formule-name {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 48px);
  text-transform: uppercase;
  color: var(--toffee);
}
.prix {
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 10px 18px;
  background: var(--blue);
  color: var(--beige-light);
  font-size: 15px;
  letter-spacing: .03em;
}
.prix strong { font-weight: 500; font-size: 1.25em; color: var(--white); }
.inclus,
.option span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--toffee-text);
}

.option {
  margin-bottom: 30px;
  font-size: 16.5px;
  color: var(--blue);
}
.formule .btn { margin-top: auto; align-self: flex-start; }

/* ---------------- liste a puces ---------------- */

.check {
  list-style: none;
  margin: 0 0 clamp(30px, 4vw, 44px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px clamp(24px, 4vw, 48px);
}
.check--single { grid-template-columns: 1fr; margin-bottom: 24px; }
/* lecture par colonne : les trois arguments principaux a gauche, les plus a droite */
#resort .check { margin-top: 26px; grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
.check li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
}
.check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--toffee);
}

/* ---------------- photos du resort ---------------- */

.photos {
  list-style: none;
  margin: 0 0 clamp(34px, 4vw, 52px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.photos--2 { grid-template-columns: 1fr 1fr; }
.photos img {
  display: block;
  width: 100%;
  height: auto;          /* sinon l'attribut height de la balise neutralise aspect-ratio */
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------------- lien vers le site du resort ---------------- */

.more-link { margin: 0; }
.more-link a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--toffee);
  color: var(--blue);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
}
.more-link a:hover { color: var(--toffee); }

/* ---------------- encart d'appel ---------------- */

/* la photo du sapin et l'encart bleu, cote a cote, a hauteur egale */
.offre-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  max-width: 1040px;
  margin-inline: auto;
}
.offre-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 35%;
}
.offre-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(38px, 5vw, 64px) clamp(24px, 4vw, 64px);
  background: var(--blue);
  color: var(--beige-light);
  text-align: center;
}
.offre-mark {
  display: block;
  width: 42px;
  height: auto;
  margin: 0 auto 26px;
}
.offre-phrase {
  margin: 0 0 18px;
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.35;
  color: var(--white);
}
.offre-note {
  max-width: 56ch;
  margin: 0 auto 30px;
  font-size: 15px;
  color: rgba(236, 233, 223, .75);
}
.offre-card .btn {
  background: var(--toffee);
  border-color: var(--toffee);
  color: var(--white);
}
.offre-card .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

/* ---------------- infos pratiques ---------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
/* un + toffee qui devient - a l'ouverture */
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--toffee);
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--toffee); }
.faq details p { margin: 0 0 22px; max-width: 64ch; font-size: 16.5px; color: var(--blue); }

/* ---------------- telephone (a activer dans le HTML) ---------------- */

.contact-tel { margin: -14px 0 30px; color: var(--grey); }
.contact-tel a { color: var(--blue); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--toffee); }

/* ---------------- formulaire ---------------- */

.form { margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.grid-2 .field { margin-bottom: 0; }
.field-spaced { margin-top: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue);
}
.field abbr { color: var(--toffee-text); text-decoration: none; }
.facultatif { text-transform: none; letter-spacing: 0; color: var(--grey); }

/* la suite du processus, annoncee au-dessus du formulaire */
.etapes {
  list-style: none;
  counter-reset: etape;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.etapes li {
  counter-increment: etape;
  position: relative;
  padding: 18px 18px 18px 58px;
  background: var(--white);
  font-size: 15.5px;
  line-height: 1.45;
}
.etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--toffee);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
}
.etapes strong { display: block; font-weight: 500; }

/* les champs facultatifs, regroupes et annonces comme tels */
.optionnel {
  margin: 30px 0 18px;
  padding: 24px 22px 6px;
  border: 1px solid var(--line);
}
.optionnel legend {
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--toffee) 50%), linear-gradient(135deg, var(--toffee) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--toffee); }

/* compteur -/+ : boutons toffee carres de part et d'autre du champ */
.stepper { display: flex; }
.stepper input {
  flex: 1;
  min-width: 0;
  text-align: center;
  border-inline: 0;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn {
  flex: none;
  width: 52px;
  border: 1px solid var(--toffee);
  border-radius: 0;
  background: var(--toffee);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.stepper-btn:hover { background: var(--blue); border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #B4472F; }

.field-check { display: flex; gap: 11px; align-items: flex-start; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--toffee); }
.field-check label { margin: 0; font-size: 15.5px; letter-spacing: 0; text-transform: none; color: var(--grey); line-height: 1.5; }

.form-legal { margin: 0 0 24px; font-size: 14px; color: var(--grey); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.is-error { color: #A33A22; }

.form-done { padding: 30px 26px; border: 1px solid var(--toffee); background: var(--white); }
.form-done h3 { margin-bottom: 8px; }
.form-done p { margin: 0; color: var(--grey); }

/* ---------------- pied de page ---------------- */

.site-footer {
  background: var(--blue);
  color: rgba(236, 233, 223, .8);
  padding: 40px 0 36px;
  font-size: 13.5px;
}
.footer-logo { height: 34px; width: auto; display: block; margin-bottom: 18px; }
.footer-links { margin: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--toffee); }

/* ---------------- responsive ---------------- */

/* sur ecran etroit, les boules restent en haut, au-dessus du texte */
@media (max-width: 760px) {
  .deco-left  { left: -18px;  width: 110px; }
  .deco-right { right: -18px; width: 100px; }
  .hero-inner { padding-top: 110px; }
  .flocon-1 { top: 22%; left: 40%; }
  .flocon-2, .flocon-3 { display: none; }
}

@media (max-width: 860px) {
  .offre-split { grid-template-columns: minmax(0, 1fr); }
  .offre-card .btn { white-space: normal; text-align: center; }
  .offre-photo { height: 300px; min-height: 0; }
  .site-nav > a:not(.btn) { display: none; }
  /* les liens du menu passent dans une barre defilante, collee sous le header */
  .subnav {
    display: flex;
    gap: 6px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a {
    flex: none;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .45);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--beige-light);
    transition: background .2s, color .2s;
  }
  .subnav a.is-active { background: var(--white); border-color: var(--white); color: var(--blue); }
  .header-inner { min-height: 72px; }
  html { scroll-padding-top: 130px; }
  .formules { grid-template-columns: 1fr; }
  .check { grid-template-columns: 1fr; }
  #resort .check { grid-auto-flow: row; grid-template-rows: none; }
  .photos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; gap: 10px; }
  /* le prix tient sur une ligne : texte un peu plus petit, sans retour */
  .formules { grid-template-columns: minmax(0, 1fr); }
  .formule { padding: 26px 20px; }
  .prix { white-space: nowrap; padding: 9px 12px; font-size: 13px; }
  .hero-cta { white-space: normal; text-align: center; }
  .photos { grid-template-columns: 1fr; }
  .site-nav .btn { padding: 10px 14px; font-size: 11.5px; }
  .site-nav { gap: 12px; }
  .hide-mobile { display: none; }
  .brand-logo { height: 42px; }
  .site-nav .lang-switch a, .lang-switch span { min-width: 32px; padding: 7px 8px; font-size: 11px; }
}
