/* Ty Avel : chambres d'hôtes dans une longère de granit à Cancale (fictive). Le blanc de chaux des murs,
   l'ardoise du toit, le bleu des volets et le jaune d'un ciré pour ce qu'on choisit. Newsreader, un romain
   de lecture à tailles optiques, pour les titres et les noms ; Karla pour le texte. Le grand moment :
   à l'ouverture, les volets s'ouvrent sur la baie. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("/fonts/karla-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --chaux: #f3f2ee;
  --lin: #e8e5dd;
  --papier: #fbfaf7;
  --ligne: #d6d2c8;
  --ardoise: #252a2f;
  --gris: #5b6066;
  --volet: #3c6a8a;
  --volet-fonce: #2c5370;
  --sur-volet: #ffffff;
  --cire: #e0ad2e;
  --sur-cire: #252a2f;
  --algue: #4f6e57;
  --alerte: #a33a25;
  --tableau: #2b3137;
  --craie: #efece5;
  --granit-1: #8f897e;
  --granit-2: #6f6a61;
  --ph-fond: #dcd8ce;
  --ombre: 0 26px 60px -34px rgba(37, 42, 47, 0.5);

  --kit-bg: var(--chaux);
  --kit-surface: var(--papier);
  --kit-fg: var(--ardoise);
  --kit-line: var(--ligne);
  --kit-accent: var(--volet);
  --muted: var(--gris);
  --kit-radius: 8px;
  --champ-rayon: 8px;
  --pastille-choisie: var(--volet);
  --pastille-choisie-texte: var(--sur-volet);
  --erreur: var(--alerte);

  --titre: "Newsreader", "Iowan Old Style", Georgia, serif;
  --texte: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gouttiere: clamp(16px, 4vw, 44px);
}
:root[data-theme="dark"] {
  --chaux: #15191c;
  --lin: #1a1f23;
  --papier: #1e2428;
  --ligne: #333b41;
  --ardoise: #ece9e2;
  --gris: #a4a9ae;
  --volet: #8db5d3;
  --volet-fonce: #6d9abb;
  --sur-volet: #10161b;
  --cire: #f0c14b;
  --algue: #8fc39e;
  --alerte: #f29b84;
  --tableau: #20262b;
  --granit-1: #57534c;
  --granit-2: #403d38;
  --ph-fond: #262c31;
  --ombre: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  --erreur-sombre: var(--alerte);
}

/* ---------- Base ---------- */
html {
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.62;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--titre);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.04;
}
h1 {
  font-size: clamp(2.8rem, 1.8rem + 4vw, 5rem);
}
h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
}
h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem);
}
[tabindex="-1"]:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--volet);
  outline-offset: 3px;
}
.conteneur {
  width: min(1240px, 100% - 2 * var(--gouttiere));
  margin-inline: auto;
}
.lien {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--volet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.lien:hover {
  text-decoration-thickness: 2px;
}
.aide {
  color: var(--gris);
  font-size: 0.92rem;
}
.note {
  color: var(--gris);
  font-size: 0.88rem;
  margin-top: 18px;
}
.section__tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 56px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section__tete p {
  color: var(--gris);
  max-width: 52ch;
}
@media (max-width: 820px) {
  .section__tete {
    grid-template-columns: 1fr;
  }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--kit-ease);
}
.btn--plein {
  background: var(--volet);
  color: var(--sur-volet);
}
.btn--plein:hover {
  background: var(--volet-fonce);
}
.btn--ligne {
  border-color: color-mix(in srgb, var(--ardoise) 35%, transparent);
  color: var(--ardoise);
  background: transparent;
}
.btn--ligne:hover {
  border-color: var(--ardoise);
}
.btn--large {
  min-height: 54px;
  padding: 0 30px;
  font-size: 1.04rem;
}
.btn--danger {
  background: var(--alerte);
  color: #fff;
}
[data-theme="dark"] .btn--danger {
  color: #1d0e0a;
}
.btn:disabled,
.btn.is-inactif {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.is-attente {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-attente::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--sur-volet);
  border-right-color: transparent;
  animation: tourne 0.8s linear infinite;
}
@keyframes tourne {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--chaux) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.entete.is-compact {
  border-bottom-color: var(--ligne);
}
.entete__in {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  transition: min-height 0.3s var(--kit-ease);
}
.entete.is-compact .entete__in {
  min-height: 64px;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ardoise);
}
.marque__signe {
  width: 32px;
  height: 32px;
  flex: none;
}
.marque__volet {
  fill: var(--volet);
}
.marque__lames {
  stroke: var(--chaux);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.marque__nom {
  display: grid;
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 420;
  line-height: 1;
}
.marque__nom small {
  font-family: var(--texte);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gris);
  margin-top: 4px;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  transition: background-color 0.2s ease;
}
.nav a:hover {
  background: color-mix(in srgb, var(--ardoise) 7%, transparent);
}
.nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--volet) 14%, transparent);
}
.entete__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.entete__dispo {
  min-height: 42px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ligne);
  background: var(--papier);
  color: var(--ardoise);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--kit-ease);
}
.menu-ouvert .burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-ouvert .burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu-mobile {
  border-top: 1px solid var(--ligne);
  padding: 8px var(--gouttiere) 24px;
}
.menu-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.menu-mobile a {
  display: block;
  padding: 12px 0;
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.7rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ligne);
}
@media (max-width: 1019px) {
  .nav {
    display: none;
  }
  .burger {
    display: grid;
  }
  .entete__actions {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .entete__dispo {
    display: none;
  }
  .marque__nom small {
    display: none;
  }
}

/* ---------- Ouverture : les volets s'ouvrent sur la baie ---------- */
.ouverture {
  padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.ouverture__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.ouverture__texte {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.ouverture__lieu {
  color: var(--gris);
  font-weight: 500;
}
.ouverture__titre {
  font-size: clamp(5rem, 3rem + 9vw, 10.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 0.86;
  margin-left: -0.04em;
}
.ouverture__sens {
  font-family: var(--titre);
  font-size: 1.35rem;
  color: var(--gris);
  margin-top: -6px;
}
.ouverture__sens em {
  color: var(--ardoise);
}
.ouverture__chapo {
  font-size: 1.12rem;
  max-width: 42ch;
}
.ouverture__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 8px;
}
.motion .ouverture__texte > * {
  animation: monte 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.motion .ouverture__texte > :nth-child(2) {
  animation-delay: 0.08s;
}
.motion .ouverture__texte > :nth-child(3) {
  animation-delay: 0.16s;
}
.motion .ouverture__texte > :nth-child(4) {
  animation-delay: 0.24s;
}
.motion .ouverture__texte > :nth-child(5) {
  animation-delay: 0.32s;
}
@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.croisee {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.croisee figcaption {
  font-family: var(--titre);
  font-style: italic;
  color: var(--gris);
  font-size: 1.02rem;
  text-align: center;
}
/* L'embrasure de granit, le dormant peint en blanc, les petits bois, et deux volets à lames. */
.croisee__embrasure {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  padding: 22px;
  border-radius: 3px;
  perspective: 1500px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 64%, rgba(0, 0, 0, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 86%, rgba(255, 255, 255, 0.14) 0 1.5px, transparent 2.5px),
    linear-gradient(135deg, var(--granit-1), var(--granit-2));
  background-size:
    23px 19px,
    31px 27px,
    17px 23px,
    auto;
  box-shadow: var(--ombre);
}
.croisee__vue {
  position: relative;
  height: 100%;
  border: 9px solid #f6f5f1;
  overflow: hidden;
  background: var(--ph-fond);
}
[data-theme="dark"] .croisee__vue {
  border-color: #d9d6cf;
}
.croisee__vue .ph {
  height: 100%;
}
.croisee__vue::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(#f6f5f1, #f6f5f1) center / 7px 100% no-repeat,
    linear-gradient(#f6f5f1, #f6f5f1) center 38% / 100% 7px no-repeat;
}
[data-theme="dark"] .croisee__vue::after {
  background:
    linear-gradient(#d9d6cf, #d9d6cf) center / 7px 100% no-repeat,
    linear-gradient(#d9d6cf, #d9d6cf) center 38% / 100% 7px no-repeat;
}
.croisee__ombre {
  position: absolute;
  inset: 0;
  background: #12171b;
  opacity: 0;
}
.volet {
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: calc(50% - 22px);
  border: 5px solid var(--volet-fonce);
  background:
    linear-gradient(to bottom, transparent 47%, var(--volet-fonce) 47% 53%, transparent 53%) 0 0 / 100% 100%,
    repeating-linear-gradient(to bottom, var(--volet) 0 13px, color-mix(in srgb, var(--volet-fonce) 85%, #000) 13px 15px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transform: rotateY(0deg);
  backface-visibility: visible;
}
[data-theme="dark"] .volet {
  --volet: #4f7d9d;
  --volet-fonce: #3a6584;
}
.volet--g {
  left: 22px;
  transform-origin: left center;
}
.volet--d {
  right: 22px;
  transform-origin: right center;
}
.volet--g::after,
.volet--d::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 18px;
  margin-top: -9px;
  border-radius: 2px;
  background: #22313b;
}
.volet--g::after {
  right: 6px;
}
.volet--d::after {
  left: 6px;
}
:root:not(.motion) .volet--g {
  transform: rotateY(-118deg);
}
:root:not(.motion) .volet--d {
  transform: rotateY(118deg);
}
.motion .volet--g {
  animation: volet-g 2.2s cubic-bezier(0.55, 0.04, 0.22, 1) 0.75s both;
}
.motion .volet--d {
  animation: volet-d 2.2s cubic-bezier(0.55, 0.04, 0.22, 1) 0.9s both;
}
@keyframes volet-g {
  0% {
    transform: rotateY(0deg);
  }
  12% {
    transform: rotateY(4deg);
  }
  100% {
    transform: rotateY(-118deg);
  }
}
@keyframes volet-d {
  0% {
    transform: rotateY(0deg);
  }
  12% {
    transform: rotateY(-4deg);
  }
  100% {
    transform: rotateY(118deg);
  }
}
.motion .croisee__ombre {
  animation: jour 2.6s ease 1s both;
}
@keyframes jour {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 0;
  }
}
.motion .croisee figcaption {
  animation: monte 0.9s ease 2.6s backwards;
}
@media (max-width: 860px) {
  .ouverture__in {
    grid-template-columns: 1fr;
  }
  .croisee {
    order: -1;
  }
  .croisee__embrasure {
    width: min(62%, 300px);
    padding: 16px;
  }
  .croisee__embrasure .volet {
    top: 16px;
    bottom: 16px;
    width: calc(50% - 16px);
  }
  .croisee__embrasure .volet--g {
    left: 16px;
  }
  .croisee__embrasure .volet--d {
    right: 16px;
  }
}

/* ---------- La maison ---------- */
.maison {
  padding: clamp(64px, 9vw, 130px) 0;
  background: var(--lin);
}
.maison__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.maison__photos {
  position: relative;
  padding: 0 14% 18% 0;
}
.maison__ph {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.maison__ph2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  outline: 8px solid var(--lin);
}
.maison__texte {
  display: grid;
  gap: 20px;
}
.maison__texte > p:not(.maison__mot) {
  color: var(--gris);
  font-size: 1.04rem;
}
.maison__mot {
  font-family: var(--titre);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.2;
  padding-left: 18px;
  border-left: 3px solid var(--cire);
}
.maison__mot span {
  display: block;
  font-family: var(--texte);
  font-style: normal;
  font-size: 0.92rem;
  color: var(--gris);
  margin-top: 6px;
}
.maison__infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 6px 0 0;
}
.maison__infos dt {
  font-weight: 700;
}
.maison__infos dd {
  margin: 0;
  color: var(--gris);
  font-size: 0.94rem;
}
@media (max-width: 860px) {
  .maison__in {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .maison__infos {
    grid-template-columns: 1fr;
  }
}

/* ---------- Les chambres ---------- */
.chambres {
  padding: clamp(64px, 9vw, 130px) 0;
}
.chambres__grille {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.carte-chambre {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}
.carte-chambre__photo {
  overflow: hidden;
  border-radius: 6px;
}
.carte-chambre__photo .ph {
  aspect-ratio: 4 / 5;
}
.carte-chambre:hover .ph img.is-loaded {
  transform: scale(1.03);
  transition: transform 1.2s var(--kit-ease);
}
.carte-chambre__corps {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}
.carte-chambre__etage {
  font-size: 0.88rem;
  color: var(--gris);
}
.carte-chambre h3 {
  font-style: italic;
  font-size: clamp(2rem, 1.5rem + 1.2vw, 2.6rem);
}
.carte-chambre__corps > p:not([class]) {
  font-size: 0.97rem;
}
.carte-chambre__faits {
  font-size: 0.9rem;
  color: var(--gris);
}
.carte-chambre__prix strong {
  font-family: var(--titre);
  font-size: 1.45rem;
  font-weight: 500;
}
@media (max-width: 1099px) {
  .chambres__grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
}
@media (max-width: 560px) {
  .chambres__grille {
    grid-template-columns: 1fr;
  }
}

/* ---------- Les repas ---------- */
.repas {
  padding-top: clamp(40px, 6vw, 90px);
}
.repas__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.matin {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.matin__ph {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}
.matin__texte {
  display: grid;
  gap: 14px;
}
.matin__texte > p {
  color: var(--gris);
}
.matin__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.matin__liste li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--ligne);
}
.ardoise {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--tableau);
  color: var(--craie);
  box-shadow:
    inset 0 0 0 10px #6b5844,
    inset 0 0 0 12px #4e3f31,
    var(--ombre);
}
.ardoise h2 {
  font-style: italic;
  color: var(--craie);
}
.ardoise__date {
  opacity: 0.75;
  font-size: 0.95rem;
}
.ardoise__plats {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
}
.ardoise__plats li {
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.2;
  padding: 12px 0;
  border-top: 1px dashed rgba(239, 236, 229, 0.3);
}
.ardoise__plats li small {
  display: block;
  font-family: var(--texte);
  font-style: normal;
  font-size: 0.8rem;
  opacity: 0.7;
}
.ardoise__prix {
  font-weight: 700;
  margin-top: 4px;
}
.ardoise__note {
  font-size: 0.92rem;
  opacity: 0.8;
}
.bandeau {
  position: relative;
  height: clamp(260px, 42vw, 560px);
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--ph-fond);
}
.bandeau__ph {
  position: absolute;
  inset: 0;
  height: 100%;
  transform: scale(1.14);
  will-change: transform;
}
@media (max-width: 1023px) {
  .repas__in {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .matin {
    grid-template-columns: 1fr;
  }
}

/* ---------- Les marées ---------- */
.marees {
  padding-top: clamp(64px, 9vw, 130px);
}
.maree {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  grid-template-areas:
    "jours jours"
    "graphe infos";
  gap: 20px clamp(24px, 4vw, 56px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: 10px;
  background: var(--papier);
  border: 1px solid var(--ligne);
}
.maree__jours {
  grid-area: jours;
}
.maree__graphe {
  grid-area: graphe;
  min-width: 0;
}
.maree__courbe {
  display: block;
  width: 100%;
  height: clamp(170px, 22vw, 260px);
  overflow: visible;
}
.maree__eau-haut {
  stop-color: color-mix(in srgb, var(--volet) 45%, transparent);
}
.maree__eau-bas {
  stop-color: color-mix(in srgb, var(--volet) 5%, transparent);
}
.maree__ligne {
  fill: none;
  stroke: var(--volet);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}
.maree__grille line {
  stroke: var(--ligne);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.maree__maintenant line {
  stroke: var(--cire);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}
.maree__maintenant circle {
  fill: var(--cire);
  stroke: var(--papier);
  stroke-width: 3;
}
.maree__heures {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gris);
  margin-top: 8px;
}
.maree__infos {
  grid-area: infos;
  display: grid;
  gap: 16px;
  align-content: start;
}
.maree__coef {
  display: grid;
  gap: 2px;
}
.maree__coef span {
  color: var(--gris);
  font-size: 0.9rem;
}
.maree__coef strong {
  font-family: var(--titre);
  font-size: 3.4rem;
  font-weight: 350;
  line-height: 1;
}
.maree__evenements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.maree__evenements li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ligne);
  font-size: 0.95rem;
}
.maree__evenements li span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.maree__conseil {
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cire) 18%, transparent);
  border-left: 3px solid var(--cire);
}
.bandeau--parcs {
  height: clamp(220px, 34vw, 480px);
}
@media (max-width: 860px) {
  .maree {
    grid-template-columns: 1fr;
    grid-template-areas:
      "jours"
      "graphe"
      "infos";
  }
}

/* ---------- Le carnet ---------- */
.carnet {
  padding: clamp(64px, 9vw, 130px) 0;
}
.carnet__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.carnet__item {
  display: grid;
  gap: 14px;
  align-content: start;
}
.carnet__ph {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}
.carnet__texte {
  display: grid;
  gap: 6px;
}
.carnet__texte h3 {
  font-style: italic;
}
.carnet__distance {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--volet);
}
.carnet__texte > p:last-child {
  color: var(--gris);
  font-size: 0.95rem;
}
@media (max-width: 1023px) {
  .carnet__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .carnet__liste {
    grid-template-columns: 1fr;
  }
}

/* ---------- Dernier appel ---------- */
.final {
  padding: clamp(70px, 10vw, 140px) 0;
  background: var(--lin);
  text-align: center;
}
.final__in {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.final h2 {
  font-style: italic;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem);
  max-width: 16ch;
}
.final p {
  color: var(--gris);
  max-width: 48ch;
}
.final .btn {
  margin-top: 8px;
}

/* ---------- Pied ---------- */
.pied {
  padding: clamp(52px, 7vw, 84px) 0 26px;
  border-top: 1px solid var(--ligne);
}
.pied__in {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.pied__marque {
  display: grid;
  gap: 14px;
  align-content: start;
}
.pied p {
  color: var(--gris);
  margin-bottom: 8px;
}
.pied__titre {
  font-family: var(--texte);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.pied__liens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pied__liens a {
  color: var(--gris);
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--ligne);
  font-size: 0.9rem;
}
.pied__bas p {
  margin: 0;
}
.pied .signe-binuxlabs {
  opacity: 1;
  color: var(--gris);
}
@media (max-width: 900px) {
  .pied__in {
    grid-template-columns: 1fr 1fr;
  }
  .pied__marque {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .pied__in {
    grid-template-columns: 1fr;
  }
}

/* ---------- Champs, groupes ---------- */
.formulaire {
  display: grid;
  gap: 16px;
}
.formulaire--deux {
  grid-template-columns: 1fr 1fr;
}
.champ--large {
  grid-column: 1 / -1;
}
.champ > span small,
legend small {
  font-weight: 400;
  color: var(--gris);
}
.champ select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 15px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
@media (max-width: 600px) {
  .formulaire--deux {
    grid-template-columns: 1fr;
  }
}
.groupe {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.groupe legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 10px;
}
.voyageurs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.voyageurs__ligne {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.quantite output {
  font-family: var(--titre);
  font-size: 1.3rem;
}
.fleche {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ligne);
  background: var(--papier);
  color: var(--ardoise);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}
.fleche svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fleche:hover:not(:disabled) {
  background: color-mix(in srgb, var(--volet) 10%, var(--papier));
}
.fleche:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---------- Disponibilités : le planning ---------- */
.dispo {
  padding: clamp(32px, 5vw, 60px) 0 clamp(80px, 10vw, 130px);
}
.dispo__tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 56px;
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.dispo__tete h1 {
  font-style: italic;
  font-weight: 330;
  font-size: clamp(3rem, 2rem + 4vw, 5.6rem);
}
.dispo__tete p {
  color: var(--gris);
  max-width: 50ch;
}
@media (max-width: 820px) {
  .dispo__tete {
    grid-template-columns: 1fr;
  }
}
.etape {
  display: grid;
  gap: 18px;
}
.etape__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
}
.etape__tete h2 {
  font-style: italic;
}
.etape__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.planning__barre {
  display: flex;
  align-items: center;
  gap: 14px;
}
.planning__plage {
  font-family: var(--titre);
  font-size: 1.35rem;
  font-style: italic;
  flex: 1;
  text-align: center;
}
.planning__cadre {
  overflow-x: auto;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  background: var(--papier);
  scrollbar-width: thin;
}
.planning {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  min-width: 960px;
}
.planning col.planning__col-chambre {
  width: 170px;
}
.planning thead th {
  padding: 12px 0 8px;
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--gris);
  text-align: center;
  border-bottom: 1px solid var(--ligne);
  line-height: 1.2;
}
.planning thead th.is-we {
  background: color-mix(in srgb, var(--cire) 7%, transparent);
}
.planning thead th .planning__num {
  display: block;
  font-family: var(--titre);
  font-size: 1.32rem;
  color: var(--ardoise);
}
.planning thead th.is-auj .planning__num {
  text-decoration: underline;
  text-decoration-color: var(--cire);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.planning thead th .planning__mois {
  display: block;
  color: var(--volet);
  font-weight: 700;
  min-height: 1.2em;
}
.planning th[scope="row"],
.planning thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--papier);
  text-align: left;
  padding: 10px 14px;
  border-right: 1px solid var(--ligne);
}
.planning th[scope="row"] {
  font-weight: 400;
  border-bottom: 1px solid color-mix(in srgb, var(--ligne) 60%, transparent);
}
.planning th[scope="row"] strong {
  display: block;
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 450;
  line-height: 1.1;
}
.planning th[scope="row"] span {
  font-size: 0.8rem;
  color: var(--gris);
}
.planning tr.is-voulue th[scope="row"] {
  box-shadow: inset 3px 0 0 var(--cire);
}
.planning td {
  padding: 7px 1px;
  border-bottom: 1px solid color-mix(in srgb, var(--ligne) 60%, transparent);
}
.planning td.is-we {
  background: color-mix(in srgb, var(--cire) 7%, transparent);
}
.planning tbody tr:last-child td,
.planning tbody tr:last-child th {
  border-bottom: 0;
}
.nuit {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--algue);
  background: color-mix(in srgb, var(--algue) 11%, transparent);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.25s var(--kit-ease);
}
.nuit:hover {
  background: color-mix(in srgb, var(--algue) 22%, transparent);
}
.nuit--prise {
  color: transparent;
  background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--gris) 22%, transparent) 5px 6px);
  cursor: not-allowed;
}
.nuit--prise:hover {
  background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--gris) 22%, transparent) 5px 6px);
}
.nuit--fermee {
  color: var(--gris);
  font-weight: 500;
  font-size: 0.7rem;
  background: color-mix(in srgb, var(--gris) 14%, transparent);
  cursor: not-allowed;
}
.nuit--mienne {
  background: var(--volet);
  color: var(--sur-volet);
  cursor: default;
}
.nuit--passee {
  visibility: hidden;
}
.nuit.is-apercu {
  background: color-mix(in srgb, var(--cire) 45%, transparent);
  color: var(--sur-cire);
}
.nuit.is-choisie {
  background: var(--cire);
  color: var(--sur-cire);
}
.nuit.is-choisie.is-premiere,
.nuit.is-choisie.is-derniere {
  transform: scale(1.04);
}
.nuit:focus-visible {
  outline-offset: 1px;
}
.planning__legende {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.86rem;
  color: var(--gris);
}
.planning__legende li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pastille-legende {
  width: 18px;
  height: 14px;
  border-radius: 3px;
}
.pastille-legende--libre {
  background: color-mix(in srgb, var(--algue) 22%, transparent);
}
.pastille-legende--prise {
  background: repeating-linear-gradient(135deg, transparent 0 3px, var(--gris) 3px 4px);
  opacity: 0.6;
}
.pastille-legende--fermee {
  background: color-mix(in srgb, var(--gris) 22%, transparent);
}
.pastille-legende--mienne {
  background: var(--volet);
}
.choix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--lin);
}
.choix__texte {
  flex: 1 1 320px;
  font-size: 1.02rem;
}
.choix__texte strong {
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
}
.choix__texte .alerte {
  display: block;
  color: var(--alerte);
  font-weight: 600;
  font-size: 0.94rem;
}
.choix__total {
  font-family: var(--titre);
  font-size: 1.9rem;
  white-space: nowrap;
}

/* Demande */
.demande {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.demande__corps {
  display: grid;
  gap: 26px;
}
.billet {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 22px 22px 24px;
  background: var(--papier);
  border-radius: 10px;
  box-shadow: var(--ombre);
}
.billet::before,
.billet::after {
  content: "";
  position: absolute;
  top: var(--encoche, 132px);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--chaux);
}
.billet::before {
  left: -10px;
}
.billet::after {
  right: -10px;
}
.billet__photo {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}
.billet__photo .ph {
  aspect-ratio: 16 / 7;
}
.billet__nom {
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px dashed var(--ligne);
}
.billet__dates {
  color: var(--gris);
  font-size: 0.95rem;
}
.billet__lignes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  font-size: 0.93rem;
}
.billet__lignes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.billet__lignes li span:first-child {
  color: var(--gris);
}
.billet__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--ligne);
  font-weight: 700;
}
.billet__total strong {
  font-family: var(--titre);
  font-size: 1.9rem;
  font-weight: 500;
}
.billet__arrhes {
  font-size: 0.86rem;
  color: var(--gris);
}
@media (max-width: 920px) {
  .demande {
    grid-template-columns: 1fr;
  }
  .billet {
    position: relative;
    top: 0;
    order: -1;
  }
}

/* Envoyée */
.envoyee {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 760px;
}
.envoyee h2 {
  font-style: italic;
  font-weight: 330;
  font-size: clamp(3rem, 2rem + 4vw, 5.2rem);
}
.envoyee > p {
  color: var(--gris);
  font-size: 1.05rem;
}
.statut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lin);
  font-weight: 700;
  font-size: 0.95rem;
}
.statut::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cire);
}
.motion .statut.is-attente::before {
  animation: pouls 1.2s ease-in-out infinite;
}
.statut.is-confirmee::before {
  background: var(--algue);
}
.statut.is-annulee::before {
  background: var(--alerte);
}
@keyframes pouls {
  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }
}
.mot-hote {
  position: relative;
  margin: 0;
  width: 100%;
  padding: 26px 28px 22px;
  background: var(--papier);
  border-radius: 4px;
  box-shadow: var(--ombre);
  transform: rotate(-0.6deg);
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.45;
}
.mot-hote::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 90px;
  height: 22px;
  margin-left: -45px;
  background: color-mix(in srgb, var(--cire) 55%, transparent);
  transform: rotate(2deg);
}
.mot-hote small {
  display: block;
  margin-top: 10px;
  font-family: var(--texte);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--gris);
}
.envoyee__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Mon séjour ---------- */
.sejour {
  padding: clamp(32px, 5vw, 60px) 0 clamp(80px, 10vw, 130px);
}
.sejour__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.sejour__tete h1 {
  font-style: italic;
  font-weight: 330;
}
.sejour__choix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dossier {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.dossier__gauche {
  display: grid;
  gap: 18px;
}
.dossier__photo .ph {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}
.dossier__droite {
  display: grid;
  gap: 22px;
}
.dossier__droite h2 {
  font-style: italic;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem);
}
.dossier__dates {
  font-size: 1.12rem;
}
.dossier__ref {
  color: var(--gris);
  font-size: 0.92rem;
}
.dossier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.dossier__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.dossier__liste li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ligne);
}
.dossier__liste li span:first-child {
  color: var(--gris);
}
.dossier__liste li strong {
  text-align: right;
}
.fil {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-height: 44vh;
  overflow-y: auto;
}
.fil li {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--lin);
}
.fil li.is-moi {
  justify-self: end;
  background: var(--volet);
  color: var(--sur-volet);
}
.fil li small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 4px;
}
.fil li.is-ecrit {
  font-style: italic;
  color: var(--gris);
}
.fil:empty {
  display: none;
}
.vide {
  display: grid;
  gap: 16px;
  justify-items: start;
  max-width: 620px;
}
.vide h2 {
  font-style: italic;
}
.vide p {
  color: var(--gris);
}
.vide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .dossier {
    grid-template-columns: 1fr;
  }
  .dossier__photo .ph {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- Fenêtres ---------- */
dialog.kit-dialog.fenetre {
  background: var(--papier);
  border-radius: 12px;
}
dialog.kit-dialog.fenetre[open] {
  display: flex;
  flex-direction: column;
}
.fenetre__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 6px;
}
.fenetre__tete h2 {
  font-style: italic;
  font-size: 2rem;
}
.fenetre__fermer {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ligne);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.fenetre__corps {
  padding: 12px 24px 22px;
  display: grid;
  gap: 16px;
  overflow-y: auto;
}
.fenetre__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.texte-courant {
  display: grid;
  gap: 10px;
}
.texte-courant p {
  color: var(--gris);
}

/* ---------- Page introuvable ---------- */
.egare {
  padding: clamp(40px, 7vw, 100px) 0 clamp(70px, 10vw, 130px);
}
.egare__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.egare__photo .ph {
  aspect-ratio: 3 / 2;
  border-radius: 6px;
}
.egare__texte {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.egare h1 {
  font-style: italic;
  font-weight: 330;
}
.egare p {
  color: var(--gris);
  max-width: 42ch;
}
.egare__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 820px) {
  .egare__in {
    grid-template-columns: 1fr;
  }
}
.fil li.is-moi small {
  opacity: 0.95;
}
