/* =========================================================
   Maison du Coué : surcharge de thème
   Base : design system des Meublés de Luchon (style.css)
   Palette : tout en verts (forêt + prairie), pas d'orange.
   ========================================================= */

:root {
  --brand:        #2f6b4f;   /* vert forêt (titres, sections, liens) */
  --brand-dark:   #1e4a37;
  --brand-2:      #5c9a7a;
  --brand-tint:   #e9f2ec;
  --brand-tint-2: #f2f8f4;

  /* L'accent (boutons d'action) reste dans le vert : une prairie plus
     lumineuse que le vert forêt, pour ressortir sans jurer. */
  --accent:       #3f9256;
  --accent-dark:  #2f7241;

  --shadow-sm: 0 2px 8px rgba(30, 74, 55, .07);
  --shadow:    0 10px 30px rgba(30, 74, 55, .11);
  --shadow-lg: 0 24px 60px rgba(30, 74, 55, .17);
}

/* Boutons principaux : ombres vertes (les valeurs d'origine étaient corail) */
.btn--primary { box-shadow: 0 8px 20px rgba(47, 107, 79, .30); }
.btn--primary:hover { box-shadow: 0 12px 26px rgba(47, 107, 79, .40); }
.nav__cta .btn--primary:hover { box-shadow: 0 6px 16px rgba(47, 107, 79, .28); }

/* --- Hero : bouton secondaire lisible sur n'importe quelle photo --- */
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .85);
  background: rgba(18, 38, 28, .28);
  backdrop-filter: blur(2px);
}
.hero .btn--ghost:hover {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}

/* --- Bandeau « Vérifier mes dates » (façon barre de recherche Superhôte) ---
   Réutilisé sur l'accueil (dans le hero, flottant sur la photo) et sur la
   page Réserver (dans une section normale, au-dessus du moteur). Grille façon
   Les Meublés de Luchon (3 colonnes égales + bouton en bout, jamais en
   dessous) plutôt qu'un flex qui écrasait la largeur du bandeau. */
.superhote-search {
  display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: end;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.2rem 1.4rem; box-shadow: var(--shadow-lg);
}
.superhote-search__field { display: flex; flex-direction: column; gap: .35rem; }
.superhote-search__field label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted);
}
.superhote-search__field input {
  border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff;
  width: 100%; height: 48px; box-sizing: border-box;
}
.superhote-search__field input:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.superhote-search .btn { justify-content: center; gap: .6rem; white-space: nowrap; height: 48px; }
.superhote-search .btn svg { width: 20px; height: 20px; flex: none; }
/* À partir de 561 px, le bouton reste TOUJOURS au bout du bandeau, sur la même
   ligne que les 3 champs (jamais en dessous). */
@media (min-width: 561px) {
  .superhote-search { grid-template-columns: 1fr 1fr 1fr auto; }
}

.hero__search { width: 100%; max-width: 880px; }

/* Micro-preuves sous le formulaire dates/voyageurs (accueil + Réserver) */
.search-proofs {
  list-style: none; margin: .9rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .3rem 1.4rem;
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.search-proofs li { display: flex; align-items: center; gap: .4rem; }
.search-proofs li::before { content: "\2713"; color: var(--accent); font-weight: 800; }
.search-proofs--hero { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.search-proofs--hero li::before { color: #bfe0cc; }

/* --- Hero : voile vert dégradé, texte blanc lisible sans noyer la photo --- */
.hero__media img { object-position: 32% center; }
.hero__media::after {
  background:
    linear-gradient(180deg, rgba(18,38,28,.28) 0%, rgba(18,38,28,.34) 40%, rgba(18,38,28,.74) 100%),
    linear-gradient(78deg, rgba(18,38,28,.62) 0%, rgba(18,38,28,.20) 48%, rgba(18,38,28,.02) 78%);
}
.hero__sub { color: #f2f7f3; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero__badges { text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* =========================================================
   Pied de page : 4 colonnes équilibrées + bandeau partenaires
   ========================================================= */
.footer-grid {
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.footer__brand .btn--primary { display: inline-flex; }
.footer__brand img {
  height: 60px; width: auto; margin-bottom: 1rem;
  background: #fff; padding: 7px; border-radius: 14px;
}
.footer__brand p { max-width: 34ch; font-size: .95rem; line-height: 1.7; }
.site-footer .footer-links li { margin: .55rem 0; }
.site-footer .footer-links a { transition: color .15s, padding .15s; }
.site-footer .footer-links a:hover { padding-left: 3px; }
.footer-contact li { line-height: 1.55; }
.footer-contact a[href^="mailto:"] { overflow-wrap: anywhere; }

.footer-partners {
  display: flex; align-items: center; gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-partners__label {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #8fb0a4; font-weight: 700;
}
.footer-partners__logos { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.footer-partners__logos a {
  display: inline-flex; background: #fff; border-radius: 10px;
  padding: 6px 10px; transition: transform .15s;
}
.footer-partners__logos a:hover { transform: translateY(-2px); }
.footer-partners__logos img { height: 34px; width: auto; display: block; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Icônes réseaux sociaux du pied de page */
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.10); display: grid; place-items: center;
  transition: background .2s, transform .15s;
}
.footer__social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; color: #fff; }

/* =========================================================
   Moteur de réservation Superhôte V2 (connect.superhote.com)
   Hauteur mesurée en chargeant l'URL directement (document.scrollHeight, avec
   et sans dates pré-remplies) le 23/09/2026, selon la largeur réelle de l'iframe :
     - 1116 px : 4459 px   - 940 px : 4854 px   - 700 px : 5110 px
     -  500 px : 5989 px   - 343 px : 6385 px
   Le moteur ne prévient pas la page de sa hauteur (aucun postMessage) : on fixe
   donc une hauteur par palier, avec ~100 px de marge pour absorber les variations
   de contenu côté SuperHote. Fond transparent : aucun bloc visible sous l'iframe.
   ========================================================= */
.booking-engine {
  border: 0; display: block; width: 100%;
  background: transparent; box-shadow: none; border-radius: 0;
  height: 4560px;
}
@media (max-width: 1179px) { .booking-engine { height: 4960px; } }
@media (max-width: 1003px) { .booking-engine { height: 5210px; } }
@media (max-width: 763px)  { .booking-engine { height: 6100px; } }
@media (max-width: 560px)  { .booking-engine { height: 6500px; } }
@media (max-width: 380px)  { .booking-engine { height: 6700px; } }

/* =========================================================
   « La visite en photos » : grand carrousel plein cadre
   (réutilise le JS data-slider et la lightbox .gallery__item)
   ========================================================= */
.visite { max-width: 960px; margin: 0 auto; }
.visite__slider {
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.visite__slider .card__slide { aspect-ratio: auto; }         /* neutralise .gallery__item{aspect-ratio:1} */
.visite__slide { position: relative; margin: 0; border-radius: 0; overflow: hidden; cursor: zoom-in; }
.visite__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visite__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.2rem .95rem;
  font-size: .95rem; color: #fff; line-height: 1.45;
  background: linear-gradient(180deg, transparent, rgba(15,32,24,.82));
}
.visite__hint {
  position: absolute; top: .9rem; right: .9rem; z-index: 3;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: rgba(15,32,24,.55);
  padding: .35rem .7rem; border-radius: 999px;
  backdrop-filter: blur(3px); pointer-events: none;
}
.visite__slider .card__arrow {
  width: 46px; height: 46px; background: rgba(255,255,255,.92);
  color: var(--brand-dark); opacity: 1; box-shadow: var(--shadow-sm);
}
.visite__slider .card__arrow:hover { background: #fff; }
.visite__nav { display: flex; justify-content: center; margin-top: 1rem; }
.visite__dots { position: static; }
.visite__dots .card__dot { background: var(--line); }
.visite__dots .card__dot[aria-current="true"] { background: var(--brand); }
@media (max-width: 640px) {
  .visite__slider { aspect-ratio: 4 / 3; }
  .visite__slide figcaption { font-size: .85rem; padding-top: 2rem; }
}

/* Liens sous la carte (Itinéraire / fiche Google) */
.map-links { display: flex; gap: 1.25rem; margin-top: .8rem; font-size: .95rem; flex-wrap: wrap; }
.map-links a {
  color: var(--brand); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.map-links a:hover { color: var(--brand-2); }

/* Diaporama dans un bloc split (accueil, activités) : neutralise le carré de .gallery__item */
.diapo .card__slide { aspect-ratio: auto; margin: 0; }
.diapo .card__slide,
.diapo .gallery__item { cursor: zoom-in; }
.split__media .diapo { aspect-ratio: 4 / 3; }

/* Repère de distance dans les cartes d'activités */
.act__acces { display: flex; align-items: center; gap: .4rem; }
.act__acces svg { width: 15px; height: 15px; flex: none; }
.act__more { margin: .6rem 0 0; }

/* Responsive : sur petit écran, les paires de champs (dates du formulaire de
   contact, mois/année du dépôt d'avis) passent l'une sous l'autre. Sinon la
   largeur mini des <input> pousse la page en débordement horizontal. */
@media (max-width: 560px) {
  .review-form__row { grid-template-columns: 1fr; }
}
/* garde-fou : rien ne doit provoquer de scroll horizontal sur mobile */
@media (max-width: 560px) { body { overflow-x: hidden; } }

/* style.css contient deux blocs @media 980px : le second remet toutes les
   grilles en 1 colonne, y compris sur tablette. On rétablit 2 colonnes pour
   les grilles de cartes entre 561 et 980 px (services, activités, features). */
@media (min-width: 561px) and (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Sélecteur de langue : entrées pas encore traduites (EN / ES) */
.langfloat__menu { min-width: 172px; }
.langfloat__menu a,
.langfloat__menu span {
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
}
.langfloat__menu span[aria-disabled="true"] {
  padding: .5rem .7rem; border-radius: 8px; font-weight: 600; font-size: .88rem;
  color: var(--muted); cursor: not-allowed;
}
.langfloat__menu span[aria-disabled="true"] small {
  margin-left: auto; font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--brand-2);
  background: var(--brand-tint); border-radius: 999px; padding: .12rem .4rem;
}
