/* =========================================================
   LP Kick-off 2027 — Mouratoglou Hotel & Resort
   Charte du resort : Cobalt / Toffee / Beige, Geometria + Old Standard TT.
   Statique : aucune dependance, polices auto-hebergees.
   ========================================================= */

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

:root {
  --blue:        #001937;
  --toffee:      #B4865F;
  --toffee-light:#C79B76;
  --beige-soft:  #E4DFD1;
  --beige-light: #ECE9DF;
  --white:       #FFFFFF;
  --black:       #000000;

  --grey:        #4A4A4A;
  --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: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  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, 36px); }
h3 { font-size: clamp(19px, 2vw, 23px); }

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

.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-tight { padding: clamp(30px, 4vw, 46px) 0; }
.section-beige { background: var(--beige-light); }
.section-blue { background: var(--blue); color: var(--beige-light); }
.section-blue h2, .section-blue h3 { color: var(--white); }

.section-title { margin-bottom: 14px; }
.lead { max-width: 66ch; margin-bottom: 34px; color: var(--grey); }
.section-blue .lead { color: rgba(236, 233, 223, .78); }
.lead-center { margin-inline: auto; }
.center { text-align: center; }
.muted { margin: 22px 0 0; color: var(--grey); font-size: 15px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--toffee);
}

.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-toffee { background: var(--toffee); border-color: var(--toffee); color: var(--white); }
.btn-toffee:hover { background: var(--toffee-light); border-color: var(--toffee-light); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }
.section-blue .btn-ghost { color: var(--white); border-color: var(--white); }
.section-blue .btn-ghost:hover { background: var(--white); color: var(--blue); }
.btn-sm { padding: 12px 20px; font-size: 12.5px; }
.btn-block { width: 100%; padding-block: 18px; white-space: normal; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------------- bandeau + header ---------------- */

.topbar { background: var(--toffee); color: var(--white); font-size: 13px; letter-spacing: .04em; }
.topbar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding-block: 8px; text-align: center; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: block; }
.brand-logo { height: clamp(44px, 4.6vw, 62px); width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.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 .nav-tel { color: var(--toffee); letter-spacing: .04em; }
.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); }

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

.hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 40%;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,25,55,.88) 0%, rgba(0,25,55,.62) 48%, rgba(0,25,55,.15) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin-bottom: 18px; }
.hero-sub { max-width: 46ch; font-size: 18px; color: rgba(255,255,255,.88); }

.price {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 14px;
  margin: 26px 0 22px; padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.price-from { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--toffee); padding-bottom: 10px; }
.price-num { font-size: clamp(48px, 6vw, 72px); font-weight: 200; line-height: .95; }
.price-num small { font-size: .32em; font-weight: 300; }
.price-unit { font-size: 14.5px; line-height: 1.35; color: rgba(255,255,255,.85); padding-bottom: 6px; }

.hero-incl { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 15.5px; }
.hero-incl li { position: relative; padding-left: 26px; }
.hero-incl li::before { content: '✓'; position: absolute; left: 0; color: var(--toffee); font-weight: 500; }

.hero-cta-mobile { display: none; }
@media (max-width: 900px) { .hero-cta-mobile { display: flex; margin: 0 0 24px; } }

.hero-rating { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.85); }
.stars { color: var(--toffee); letter-spacing: 2px; margin-right: 6px; }
.hero-rating strong { font-weight: 500; color: var(--white); }

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

.form-card {
  background: var(--white);
  color: var(--black);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  border-top: 4px solid var(--toffee);
}
.form-title { font-size: clamp(24px, 2.4vw, 30px); color: var(--blue); margin-bottom: 4px; }
.form-intro { font-size: 14.5px; color: var(--grey); margin-bottom: 18px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.grid-2 .field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.field abbr { color: var(--toffee); text-decoration: none; }
.optional { text-transform: none; letter-spacing: 0; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
}
.field textarea { resize: vertical; min-height: 64px; }
.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% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--toffee); }
.field [aria-invalid="true"] { border-color: #B4472F; }

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

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

.form-reassure { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--grey); }
.form-status { margin: 8px 0 0; font-size: 14.5px; min-height: 1.2em; }
.form-status.is-error { color: #A33A22; }

.form-done { padding: 28px 22px; border: 1px solid var(--toffee); }
.form-done h3 { margin-bottom: 8px; color: var(--blue); }
.form-done p { margin: 0; color: var(--grey); }

/* ---------------- chiffres ---------------- */

.atouts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); text-align: center; }
.atout-num { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 200; line-height: 1; color: var(--blue); }
.atout-num .unit { font-size: .42em; margin: 0 3px; }
.atout-label { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .04em; color: var(--grey); }

/* ---------------- pourquoi ici ---------------- */


.pourquoi { background: linear-gradient(180deg, var(--white) 0%, var(--beige-light) 100%); }
.pourquoi-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pourquoi-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.pourquoi-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; }
.pourquoi-list li { padding-left: 22px; border-left: 2px solid var(--toffee); }
.pourquoi-list h3 { color: var(--blue); margin-bottom: 4px; font-size: clamp(18px, 1.8vw, 21px); }
.pourquoi-list p { margin: 0; font-size: 15.5px; color: var(--grey); }

@media (max-width: 900px) {
  .pourquoi-inner { grid-template-columns: 1fr; }
  .pourquoi-photo img { aspect-ratio: 3 / 2; }
}

/* ---------------- forfait ---------------- */

.incl { list-style: none; margin: 0 0 clamp(40px, 5vw, 60px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.incl li { padding: 26px 22px; background: var(--beige-light); border-top: 3px solid var(--toffee); }
.incl h3 { margin-bottom: 8px; color: var(--blue); }
.incl p { margin: 0; font-size: 15px; color: var(--grey); line-height: 1.55; }

.offre-card {
  max-width: 880px; margin-inline: auto;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 64px);
  background: var(--blue); color: var(--beige-light); text-align: center;
}
.offre-mark { display: block; width: 40px; height: auto; margin: 0 auto 22px; }
.offre-phrase { margin: 0 0 16px; font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: var(--white); }
.offre-note { max-width: 56ch; margin: 0 auto 28px; font-size: 15px; color: rgba(236, 233, 223, .75); }
.offre-card .btn { background: var(--toffee); border-color: var(--toffee); }
.offre-card .btn:hover { background: var(--white); border-color: var(--white); color: var(--blue); }

/* ---------------- programme ---------------- */

.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); counter-reset: s; }
.steps li { padding: 28px 24px; border: 1px solid rgba(236, 233, 223, .22); }
.step-day { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--toffee); }
.steps h3 { margin-bottom: 10px; font-size: clamp(22px, 2.2vw, 27px); }
.steps p { margin: 0; font-size: 15.5px; color: rgba(236, 233, 223, .8); }

/* ---------------- espaces ---------------- */

.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); margin-bottom: 32px; }
.room { padding: 24px 0 0; border-top: 1px solid var(--line); }
.room-size { display: block; font-size: clamp(36px, 4vw, 50px); font-weight: 200; line-height: 1; color: var(--toffee); margin-bottom: 10px; }
.room-size small { font-size: .4em; margin-left: 3px; }
.room h3 { color: var(--blue); margin-bottom: 6px; }
.room p { margin: 0; color: var(--grey); font-size: 15.5px; }

.photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------- preuve ---------------- */

.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.proof > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.quotes { display: grid; gap: 28px; }
.quote { margin: 0; padding-left: 18px; border-left: 2px solid var(--toffee); }
.quote p { margin: 0 0 8px; font-family: var(--font-serif); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--blue); }
.quote footer { font-size: 13px; color: var(--grey); }
.quote footer span { color: var(--black); font-weight: 500; }

/* ---------------- acces ---------------- */

.access { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.access li { padding: 20px; border: 1px solid var(--line); }
.access strong { display: block; font-weight: 200; font-size: clamp(26px, 2.8vw, 34px); color: var(--blue); line-height: 1.1; margin-bottom: 6px; }
.access span { font-size: 14.5px; color: var(--grey); }

/* ---------------- faq ---------------- */

.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); margin-top: 20px; }
.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-sans); font-size: 26px; font-weight: 200; color: var(--toffee); }
.faq[open] summary::after { content: '–'; }
.faq p { margin: 0 0 20px; color: var(--grey); font-size: 15.5px; }

/* ---------------- relance finale ---------------- */

.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.brochure-link { margin: 26px 0 0; font-size: 14px; }
.brochure-link a { color: rgba(236, 233, 223, .85); text-underline-offset: 4px; text-decoration-color: var(--toffee); }
.brochure-link a:hover { color: var(--toffee); }

/* ---------------- footer ---------------- */

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

/* ---------------- barre mobile ---------------- */

.sticky-cta { display: none; }

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

@media (max-width: 1080px) {
  .site-nav a:not(.btn):not(.nav-tel) { display: none; }
  .incl { grid-template-columns: 1fr 1fr; }
  .photos { grid-template-columns: 1fr 1fr; }
  .access { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(0,25,55,.82) 0%, rgba(0,25,55,.94) 60%); }
  .steps { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}

@media (max-width: 640px) {
  .site-nav .nav-tel { display: none; }
  .header-inner { min-height: 68px; }
  .brand-logo { height: 40px; }
  .site-nav .btn { padding: 10px 14px; font-size: 11.5px; }
  .topbar { font-size: 12px; }
  .topbar-sep { display: none; }
  .hero-incl { grid-template-columns: 1fr; }
  .grid-2, .incl, .rooms, .access { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }

  .sticky-cta {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { padding: 14px 10px; font-size: 13px; }
  .site-footer { padding-bottom: calc(34px + 76px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta { transition: none; }
}

/* ---------------- selecteur de langue ---------------- */

.site-nav .lang-switch {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 12px;
  letter-spacing: .1em;
}
.site-nav .lang-switch:hover { border-color: var(--toffee); }
@media (max-width: 640px) {
  .site-nav { gap: 12px; }
}
/* toujours visible, y compris quand les autres liens du menu sont masques */
.site-nav a.lang-switch:not(.btn) { display: inline-block; }

/* ---------------- tennis & padel ---------------- */

.hero-option {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  margin: 0 0 18px; padding: 10px 14px;
  border: 1px solid rgba(180, 134, 95, .6);
  color: var(--white); font-size: 14.5px; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.hero-option:hover { background: rgba(180, 134, 95, .18); border-color: var(--toffee); }
.hero-option-tag {
  padding: 2px 8px; background: var(--toffee); color: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}

.tennis { background: var(--beige-soft); }
.tennis-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tennis-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.tennis .check { grid-template-columns: 1fr; margin-bottom: 30px; }

.field-option {
  margin: 6px 0 10px; padding: 12px 12px;
  background: var(--beige-light); border-left: 3px solid var(--toffee);
}
.field-option label { color: var(--blue); }
.field-option strong { font-weight: 500; }

@media (max-width: 900px) {
  .tennis-inner { grid-template-columns: 1fr; }
  .tennis-photo img { aspect-ratio: 4 / 3; }
}

.check { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 22px; font-size: 15.5px; }
.check li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--toffee); }

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

.hero-simple {
  display: flex; align-items: center;
  min-height: clamp(460px, 72vh, 680px);
}
.hero-simple .hero-bg { object-position: 50% 35%; }
.hero-simple::before {
  background: linear-gradient(90deg, rgba(0,25,55,.9) 0%, rgba(0,25,55,.7) 50%, rgba(0,25,55,.35) 100%);
}
.hero-simple .hero-pitch { max-width: 680px; padding-block: clamp(48px, 7vw, 96px); }
.hero-simple h1 { margin-bottom: 14px; }
.hero-simple .hero-sub {
  max-width: none; margin-bottom: 28px;
  font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.3;
  color: var(--white);
}
.hero-price {
  display: inline-block; margin: 0 0 30px; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.3);
  font-size: 17px; color: rgba(255,255,255,.88);
}
.hero-price strong { font-weight: 500; color: var(--toffee); font-size: 1.15em; }

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

.devis-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.devis-pitch { padding-top: 10px; }
.devis-pitch .hero-incl { color: var(--beige-light); }
.devis-call { margin: 26px 0 0; }
.devis-section .brochure-link { text-align: left; }

/* galerie a trois photos */
.photos--3 { grid-template-columns: repeat(3, 1fr); }
.photos--3 img { aspect-ratio: 1 / 1; }

@media (max-width: 900px) {
  .devis-inner { grid-template-columns: 1fr; }
  .hero-simple::before { background: rgba(0,25,55,.78); }
}
@media (max-width: 640px) {
  .photos--3 { grid-template-columns: 1fr; }
  .photos--3 img { aspect-ratio: 4 / 3; }
  .hero-simple .btn { width: 100%; }
}

/* ---------------- compteurs − / + (comme le formulaire officiel) ---------------- */

.stepper { display: flex; }
.stepper input {
  text-align: center; border-left: 0; border-right: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn {
  flex: none; width: 44px;
  border: 1px solid var(--toffee); background: var(--toffee); color: var(--white);
  font-family: var(--font-sans); font-size: 20px; line-height: 1; cursor: pointer;
}
.stepper-btn:hover { background: var(--toffee-light); border-color: var(--toffee-light); }
.stepper input[aria-invalid="true"] { border-color: #B4472F; border-left: 1px solid #B4472F; border-right: 1px solid #B4472F; }
.field-check + .field-check { margin-top: -4px; }

/* titre suivi directement de la liste */
.pourquoi-text .section-title { margin-bottom: 28px; }

/* ---------------- espaces : caracteristiques et trio ---------------- */

.check--2 { grid-template-columns: 1fr 1fr; gap: 10px clamp(24px, 4vw, 48px); margin: 8px 0 clamp(36px, 4vw, 52px); }
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.trio img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.trio h3 { color: var(--blue); margin-bottom: 8px; font-size: clamp(19px, 1.8vw, 22px); }
.trio p { margin: 0; font-size: 15px; color: var(--grey); line-height: 1.6; }

/* ---------------- video ---------------- */

.video {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--blue); cursor: pointer; overflow: hidden;
}
.video img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: .82; transition: opacity .2s, transform .4s; }
.video:hover img { opacity: .7; transform: scale(1.02); }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--toffee);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.video-play::after {
  content: ''; position: absolute; left: 31px; top: 24px;
  border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--white);
}
.video-label {
  position: absolute; left: 0; right: 0; bottom: 16px; text-align: center;
  color: var(--white); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; }
  .check--2 { grid-template-columns: 1fr; }
}

/* ---------------- restauration et hebergement ---------------- */

.section-soft { background: var(--beige-soft); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 28px; }
.duo-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 22px; }
.duo-item h3 { color: var(--blue); margin-bottom: 10px; }
.duo-item p { color: var(--grey); font-size: 15.5px; }
.duo-item .check { margin-bottom: 0; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* la carte formulaire est blanche, meme posee sur une section bleue */
.section-blue .form-card .form-title,
.section-blue .form-card h3 { color: var(--blue); }

@media (max-width: 640px) {
  /* photos des salles : carrousel horizontal plutot qu'une longue colonne */
  .photos--3 {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -24px; padding-inline: 24px; scrollbar-width: none;
  }
  .photos--3::-webkit-scrollbar { display: none; }
  .photos--3 li { flex: 0 0 82%; scroll-snap-align: center; }
  .photos--3 img { aspect-ratio: 4 / 3; }

  /* acces : 2 x 2 */
  .access { grid-template-columns: 1fr 1fr; gap: 10px; }
  .access li { padding: 14px; }
  .access strong { font-size: 24px; }
  .access span { font-size: 13px; }
}

.rooms-text { max-width: 66ch; margin: 0 0 18px; font-size: 16.5px; }
.rooms-text strong { font-weight: 500; color: var(--blue); }
#espaces .lead { margin-bottom: 10px; }

/* cartes du forfait allegees : titre + une ligne */
.incl--light li { padding: 20px 20px 18px; }
.incl--light h3 { margin-bottom: 4px; }
.incl--light p { font-size: 14.5px; }
@media (max-width: 640px) {
  .incl.incl--light { grid-template-columns: 1fr 1fr; gap: 10px; }
  .incl--light li { padding: 14px 14px 12px; }
  .incl--light h3 { font-size: 18px; }
  .incl--light p { font-size: 13.5px; line-height: 1.45; }
}

/* ---------------- section formulaire : formulaire large et centre ---------------- */

.devis-inner { display: block; max-width: 920px; }
.devis-head { text-align: center; margin-bottom: 30px; }
.devis-head .lead { margin: 0 auto; }
.devis-head .lead a { color: var(--toffee); text-decoration: none; font-weight: 500; white-space: nowrap; }
.devis-head .lead a:hover { text-decoration: underline; }
.devis-section .form-card { padding: clamp(22px, 4vw, 44px); }
.devis-section .form-card .grid-2 { gap: 18px; }
.devis-section .btn-block { max-width: 420px; margin: 8px auto 0; display: flex; }

/* selecteur de date */
.field input[type="date"] { min-height: 46px; color: var(--black); }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }

/* mobile : un seul jeu de CTA. La barre du bas (Appeler + devis) suffit,
   le bouton de l'en-tete ferait doublon. Le hero a deja son propre bouton. */
@media (max-width: 640px) {
  .site-nav .btn { display: none; }
}

/* prix du hero : le montant en grand */
.hero-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  max-width: 560px; line-height: 1.35;
}
.hero-price strong {
  font-size: clamp(44px, 5.4vw, 66px); font-weight: 200; line-height: 1;
  color: var(--white); letter-spacing: -.01em;
}
@media (max-width: 640px) {
  .hero-price { font-size: 15px; }
}
.hero-price strong small { font-size: .34em; font-weight: 300; letter-spacing: 0; color: var(--toffee); }

/* petits ecrans (360 px) : les boutons passent a la ligne au lieu de deborder */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .offre-card .btn { width: 100%; }
}
