/* ——— L'Albatros — Saint-Hilaire-de-Riez ——— */

:root {
  --sable: #f8f3e9;        /* fond — sable clair */
  --coquille: #fffdf7;     /* cartes */
  --encre: #22343c;        /* texte — ardoise océan */
  --encre-2: #5c6f77;      /* texte secondaire */
  --maree: #2a6b66;        /* vert-bleu Atlantique */
  --corail: #dd6448;       /* accent — le lampadaire orange ! */
  --corail-fonce: #c2523a;
  --trait: #e6ddcb;
  --ombre: 0 2px 24px rgba(34, 52, 60, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font: 17px/1.65 "Karla", system-ui, -apple-system, sans-serif;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 .4em;
}

img { max-width: 100%; display: block; }
a { color: var(--maree); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ——— Header ——— */
header.top {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(22px, 4vw, 48px);
}
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font-family: "Fraunces", Georgia, serif; font-size: 22px; font-weight: 600;
  text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.marque svg { width: 30px; height: 30px; }
nav.liens { display: flex; gap: 26px; }
nav.liens a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  text-shadow: 0 1px 10px rgba(0,0,0,.45); opacity: .95; }
nav.liens a:hover, nav.liens a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { nav.liens { display: none; } }

/* ——— Héro ——— */
.hero {
  position: relative; min-height: min(92vh, 780px);
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero picture, .hero img.fond {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(200deg, rgba(20,35,42,0) 30%, rgba(20,35,42,.72) 82%);
}
.hero-inner { padding: 0 clamp(22px, 4vw, 48px) clamp(30px, 6vh, 64px); max-width: 780px; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 600; margin-bottom: 6px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero .sous {
  font-size: clamp(18px, 2.3vw, 23px); margin: 0 0 18px; font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,.35); max-width: 34ch; text-wrap: balance;
}
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.badge {
  background: rgba(255, 253, 247, .16); border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
  color: #fff; padding: 6px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16.5px; text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-corail { background: var(--corail); color: #fff; box-shadow: 0 6px 22px rgba(221,100,72,.38); }
.btn-corail:hover { background: var(--corail-fonce); }
.btn-blanc { background: rgba(255,253,247,.92); color: var(--encre); }
.btn-blanc:hover { background: #fff; }
.btn-maree { background: var(--maree); color: #fff; }
.btn-maree:hover { background: #235b57; }

/* ——— Sections ——— */
section { padding: clamp(56px, 9vw, 96px) 0; }
.eyebrow {
  color: var(--corail); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: 13px; margin: 0 0 10px;
}
h2 { font-size: clamp(30px, 4.4vw, 44px); }
.intro { color: var(--encre-2); max-width: 62ch; font-size: 18px; }
.intro b { color: var(--encre); }

/* Galerie */
.galerie { display: grid; gap: 14px; margin-top: 38px;
  grid-template-columns: repeat(12, 1fr); }
.carte {
  position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: var(--ombre); background: var(--coquille);
}
.carte img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carte:hover img { transform: scale(1.025); }
.carte figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(20,35,42,.62));
  color: #fff; font-weight: 700; font-size: 15px;
}
.carte { margin: 0; }
.c-sejour  { grid-column: span 7; aspect-ratio: 16 / 10; }
.c-loggia  { grid-column: span 5; grid-row: span 2; aspect-ratio: auto; }
.c-chambre { grid-column: span 4; aspect-ratio: 4 / 4.4; }
.c-sdb     { grid-column: span 3; aspect-ratio: 4 / 4.4; }
.c-plage   { grid-column: span 12; aspect-ratio: 21 / 8; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr 1fr; }
  .c-sejour, .c-plage { grid-column: span 2; aspect-ratio: 16/10; }
  .c-loggia { grid-column: span 1; grid-row: auto; aspect-ratio: 3/4; }
  .c-chambre, .c-sdb { grid-column: span 1; aspect-ratio: 3/4; }
}

/* ——— Bande plage ——— */
.bande {
  position: relative; padding: clamp(90px, 16vw, 170px) 0;
  color: #fff; text-align: center; isolation: isolate;
}
.bande img.fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bande::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24,42,50,.38); }
.bande h2 { font-size: clamp(30px, 5vw, 52px); text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.bande p { font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* ——— Équipements ——— */
.equip-grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px; margin-top: 34px;
}
.equip {
  background: var(--coquille); border: 1px solid var(--trait); border-radius: 12px;
  padding: 18px 18px 16px; display: flex; gap: 13px; align-items: flex-start;
}
.equip svg { width: 26px; height: 26px; flex: none; color: var(--maree); margin-top: 2px; }
.equip b { display: block; font-size: 16.5px; }
.equip span { color: var(--encre-2); font-size: 14.5px; line-height: 1.45; display: block; margin-top: 2px; }

/* ——— Avis ——— */
.avis {
  margin-top: 60px; background: var(--coquille); border: 1px solid var(--trait);
  border-radius: 16px; padding: 34px clamp(22px, 4vw, 44px);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  box-shadow: var(--ombre);
}
.note { font-family: "Fraunces", Georgia, serif; font-size: 44px; font-weight: 600; line-height: 1; }
.etoiles { color: var(--corail); letter-spacing: 2px; font-size: 19px; }
.avis p { margin: 6px 0 0; color: var(--encre-2); }

/* ——— Contact ——— */
.contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; }
@media (max-width: 820px) { .contact-grille { grid-template-columns: 1fr; } }

form .champ { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--trait); background: var(--coquille);
  font: inherit; color: var(--encre);
}
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--maree) 45%, transparent);
  outline-offset: 2px;
}
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.notice { border-radius: 10px; padding: 12px 16px; font-weight: 700; margin-bottom: 18px; }
.notice.ok { background: #e5f2e9; color: #22623c; border: 1px solid #bfdfca; }
.notice.err { background: #fbe9e4; color: #93361f; border: 1px solid #f0c4b7; }

.infos-pratiques { display: grid; gap: 14px; align-content: start; }
.info { display: flex; gap: 13px; align-items: flex-start; }
.info svg { width: 24px; height: 24px; flex: none; color: var(--corail); margin-top: 3px; }
.info b { font-size: 16.5px; }
.info span { color: var(--encre-2); font-size: 15px; display: block; }

/* ——— Pied ——— */
footer {
  background: var(--encre); color: #cfdade;
  padding: 40px 0 34px; font-size: 14.5px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: #fff; }
footer .marque-pied { font-family: "Fraunces", Georgia, serif; font-size: 19px; color: #fff; }
