/* =========================================================
   LP Commission agence 12 % — Mouratoglou Hotel & Resort
   Calee sur les blocs du site : 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;

  --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: 124px; }

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, 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-title { margin-bottom: 14px; }
.lead { max-width: 68ch; margin-bottom: 30px; color: var(--grey); }
.gold { 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; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------- 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);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 108px;
}
.brand { display: block; }
.brand-logo { height: clamp(50px, 5.4vw, 74px); 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); }

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

/* Le bleu occupe toute la largeur ; la creation, elle, reste dans le conteneur. */
.hero { background: var(--blue); }
.hero-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-top: 20px;
}
.hero-crea img {
  display: block;
  width: 100%;
  height: auto;   /* largeur pleine du conteneur : l'alignement des CTA en depend */
}

/* Alignes sur le bord gauche du texte de la creation, mesure image par image.
   Le pourcentage porte sur .hero-inner, qui a exactement la largeur de l'image. */
.hero-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 24px 34px 7.24%;
}

/* ---------------- l'offre ---------------- */

/* L'offre est un encart, pas un paragraphe : bloc bleu centre sur le blanc. */
.offre-card {
  max-width: 880px;
  margin-inline: auto;
  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);
}

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

.photos {
  list-style: none;
  margin: 0 0 clamp(34px, 4vw, 52px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}
.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); }

/* ---------------- atouts 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;
}
.atouts li { padding: 6px 8px; }
.atout-num {
  display: block;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 200;
  line-height: 1;
  color: var(--blue);
}
.atout-num .unit { font-size: .45em; margin-left: 2px; }
.atout-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--grey);
}

/* ---------------- bandeau image ---------------- */

.band { position: relative; margin: 0; }
.band img {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 460px);
  object-fit: cover;
}

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

.proof-photo { margin: 0 0 clamp(24px, 3vw, 36px); }
.proof-photo img {
  display: block;
  width: 100%;
  height: auto;          /* sinon l'attribut height de la balise neutralise aspect-ratio */
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* les avis restent discrets : petits, sous la photo */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.quote { margin: 0; padding-left: 16px; border-left: 2px solid var(--toffee); }
.quote p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; color: var(--grey); }
.quote footer { font-size: 12.5px; color: var(--grey); }
.quote footer span { color: var(--black); }

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

.form { margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.field { margin-bottom: 18px; }
.grid-2 .field,
.grid-3 .field { margin-bottom: 0; }

/* un peu d'air avant la fourchette de budget */
.field-spaced { margin-top: 38px; }

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

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  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: 104px; }
.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); }
.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: 14.5px; letter-spacing: 0; text-transform: none; color: var(--grey); line-height: 1.5; }

.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 ---------------- */

@media (max-width: 860px) {
  .site-nav a:not(.btn) { display: none; }
  .atouts { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .photos { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 700px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .band img { height: clamp(220px, 56vw, 300px); }
}

/* bande de chiffres, plus compacte qu'une section normale */
.section-tight { padding: clamp(32px, 4vw, 48px) 0; }

/* trois photos de front */
.photos--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .photos--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .photos--3 { grid-template-columns: 1fr; }
}

/* ---------------- liste a puces de l'accompagnement ---------------- */

.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 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);
}

@media (max-width: 1000px) {
  .hero-bar { padding-left: 10.46%; }
}
@media (max-width: 860px) {
  .check { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-bar { padding-left: 11.22%; padding-right: 11.22%; }
  .hero-bar .btn { width: 100%; }
}
