/*
  ═══════════════════════════════════════════════════════════════════════
  AUBERGE CHEZ TONTON — FEUILLE DE STYLE
  ═══════════════════════════════════════════════════════════════════════
  Un site réalisé par Webastide — Création de sites web · webastide.fr
  Antoine Lachaize · © 2026 Webastide
  ───────────────────────────────────────────────────────────────────────
  Ce fichier gère TOUT le design : couleurs, polices, espaces, tailles,
  et l'adaptation aux mobiles.

  Tu n'as pas besoin de tout comprendre. Les réglages les plus utiles sont
  regroupés tout en haut, dans la partie VARIABLES : change une couleur là,
  elle change partout sur le site.

  Cherche [MODIF] pour trouver les endroits personnalisables.
  ═══════════════════════════════════════════════════════════════════════
*/


/* ═══════════════════════════════════════════════════════════════════════
   VARIABLES — LES COULEURS ET RÉGLAGES PRINCIPAUX
   ═══════════════════════════════════════════════════════════════════════
   [MODIF] Change les codes couleur ici (format #RRGGBB).
   Pour trouver de nouvelles couleurs : https://coolors.co
   La palette évoque le terroir occitan : terre cuite, ocre, olive, pierre.
*/
:root {
  /* Couleurs d'accent */
  --terracotta:  #C0563A;   /* Rouge brique — boutons, accents, liens */
  --terracotta-f:#993F27;   /* Terracotta foncé — survol des boutons */
  --ocre:        #D19A4C;   /* Ocre doré — prix, étoiles, détails */
  --olive:       #6B7A4A;   /* Vert olive — touches naturelles */
  --bois:        #8A5A3B;   /* Brun bois — titres secondaires */

  /* Fonds et textes */
  --creme:       #FAF6F0;   /* Fond principal, très clair */
  --creme-2:     #F1E9DD;   /* Fond des sections alternées */
  --blanc:       #FFFFFF;   /* Fond des cartes */
  --encre:       #2B2420;   /* Texte principal (brun très foncé) */
  --encre-2:     #6B6058;   /* Texte secondaire (brun grisé) */
  --sombre:      #241D19;   /* Fond de la section café-théâtre */

  /* Mise en page */
  --largeur:     1200px;    /* Largeur max du contenu */
  --radius:      16px;      /* Arrondi des coins */
  --radius-sm:   10px;

  /* Ombres (de la plus discrète à la plus marquée) */
  --ombre-1: 0 1px 2px rgba(43, 36, 32, .04), 0 4px 16px rgba(43, 36, 32, .06);
  --ombre-2: 0 2px 4px rgba(43, 36, 32, .05), 0 12px 32px rgba(43, 36, 32, .10);
  --ombre-3: 0 24px 60px rgba(43, 36, 32, .16);

  /* Polices (chargées depuis Google Fonts dans index.html) */
  --titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --texte: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Vitesse des animations */
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}


/* ═══════════════════════════════════════════════════════════════════════
   BASES
   ═══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;   /* Décale les ancres pour ne pas passer sous la navbar */
}

body {
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terracotta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta-f); }

/* Contour visible au clavier (accessibilité) : ne pas supprimer */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Le lien "Aller au contenu", visible seulement à la touche Tab */
.lien-evitement {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--terracotta);
  color: var(--blanc);
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top var(--transition);
}
.lien-evitement:focus { top: 0; color: var(--blanc); }

/* Conteneur centré */
.wrap {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 28px;
}


/* ═══════════════════════════════════════════════════════════════════════
   TYPOGRAPHIE COMMUNE
   ═══════════════════════════════════════════════════════════════════════ */

/* Le petit mot en majuscules au-dessus des grands titres */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
/* Le petit trait décoratif avant le surtitre */
.surtitre::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--terracotta);
}
.surtitre--clair { color: var(--ocre); }
.surtitre--clair::before { background: var(--ocre); }

/* Les grands titres de section */
.titre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--encre);
  margin-bottom: 20px;
}
.titre--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.titre--clair { color: var(--creme); }

.soustitre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  margin: 70px 0 30px;
}
.soustitre--clair { color: var(--creme); }

/* En-tête de section centré (surtitre + titre + intro) */
.entete {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.entete .surtitre { justify-content: center; }
.entete__intro { font-size: 1.1rem; color: var(--encre-2); }
.section--sombre .entete__intro { color: #C6B9AC; }

/* Lien avec une flèche qui avance au survol */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--terracotta);
}
.lien-fleche::after {
  content: "→";
  transition: transform var(--transition);
}
.lien-fleche:hover::after { transform: translateX(5px); }
.lien-fleche--clair { color: var(--creme); }
.lien-fleche--clair:hover { color: var(--ocre); }


/* ═══════════════════════════════════════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--texte);
  font-weight: 600;
  font-size: .98rem;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition);
}

/* La petite icône à l'intérieur d'un bouton (le combiné du téléphone) */
.btn__icone {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Bouton plein (action principale) */
.btn--plein {
  background: var(--terracotta);
  color: var(--blanc);
  box-shadow: 0 6px 20px rgba(192, 86, 58, .3);
}
.btn--plein:hover {
  background: var(--terracotta-f);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(192, 86, 58, .38);
}

/* Bouton contour clair (sur fond sombre ou photo) */
.btn--clair {
  background: rgba(255, 255, 255, .08);
  color: var(--blanc);
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
}
.btn--clair:hover {
  background: var(--blanc);
  color: var(--encre);
  border-color: var(--blanc);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════════════════
   BARRE DE NAVIGATION
   ═══════════════════════════════════════════════════════════════════════
   Transparente au-dessus de la photo d'accueil, elle devient crème dès
   qu'on fait défiler (classe "est-defile" ajoutée par le JavaScript).
*/
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 8px 0;
}
.nav__inner {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 28px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* État "défilé" : fond crème + ombre */
.nav.est-defile {
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(43, 36, 32, .08), 0 8px 30px rgba(43, 36, 32, .06);
}

/* Logo.
   Le z-index le maintient AU-DESSUS du panneau du menu mobile, qui couvre
   tout l'écran. Sans lui, le logo passerait sous le panneau et disparaîtrait
   quand le menu est ouvert. */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blanc);
  position: relative;
  z-index: 1100;
}
.nav__logo-mark { font-size: 1.6rem; }
.nav__logo-img { height: 44px; width: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__logo-text strong {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -.01em;
}
.nav__logo-text em {
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}
/*
  Le logo passe en foncé dès que le fond derrière lui devient clair :
  soit parce qu'on a défilé (barre crème), soit parce que le menu mobile est
  ouvert (panneau crème plein écran). Sans ça, il resterait blanc sur clair.
*/
.nav.est-defile .nav__logo,
.nav.a-menu-ouvert .nav__logo { color: var(--encre); }

/* Liens */
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a {
  color: var(--blanc);
  font-weight: 500;
  font-size: .97rem;
  position: relative;
}
/* Le petit trait qui apparaît sous le lien au survol */
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav.est-defile .nav__menu a { color: var(--encre); }
.nav__menu a:hover { color: var(--terracotta); }

/* Le bouton téléphone dans la navbar */
.nav__cta {
  background: var(--terracotta);
  color: var(--blanc) !important;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(192, 86, 58, .3);
}
.nav__cta:hover { background: var(--terracotta-f); transform: translateY(-1px); }

/* Bouton hamburger (caché sur ordinateur) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--blanc);
  border-radius: 3px;
  transition: all var(--transition);
}
.nav.est-defile .nav__burger span,
.nav__burger[aria-expanded="true"] span { background: var(--encre); }
/* Le hamburger se transforme en croix quand le menu est ouvert */
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════════════════════════
   ACCUEIL (grande image)
   ═══════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;      /* Toute la hauteur de l'écran */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanc);
  padding: 130px 28px 190px;
  overflow: hidden;
}

/*
  [MODIF] L'IMAGE DE FOND DE L'ACCUEIL
  Remplace l'adresse url('...') par : url('../images/accueil.jpg')
  (le "../" est important : il veut dire "remonter d'un dossier")
  Le linear-gradient au-dessus est le voile sombre qui rend le texte lisible.
  Assombris ou éclaircis en changeant les valeurs .78 / .45 (entre 0 et 1).
*/
.hero__media {
  position: absolute;
  inset: 0;
  background-color: #241D19;  /* fond sombre immédiat : le texte reste lisible avant l'image */
  background-image:
    linear-gradient(to bottom, rgba(36, 29, 25, .70) 0%, rgba(36, 29, 25, .45) 45%, rgba(36, 29, 25, .88) 100%),
    url('../images/accueil.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* Léger zoom lent à l'arrivée sur la page */
  animation: zoom-lent 18s ease-out forwards;
}
@keyframes zoom-lent {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero__contenu { position: relative; z-index: 2; max-width: 820px; }

.hero__kicker {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: 22px;
}

.hero__titre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
}
.hero__titre span { display: block; }
/* La deuxième ligne du titre, en italique ocre */
.hero__titre-accent {
  font-style: italic;
  color: var(--ocre);
}

.hero__texte {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 580px;
  margin: 0 auto 38px;
  color: #E8DED2;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Le bandeau des 3 chiffres, en bas de l'accueil */
.hero__preuves {
  position: absolute;
  bottom: 74px;
  z-index: 2;
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 100px;
  padding: 6px;
}
.preuve {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 32px;
  position: relative;
}
/* Le petit séparateur vertical entre les chiffres */
.preuve + .preuve::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255, 255, 255, .2);
}
.preuve__valeur {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}
.preuve__valeur small { font-size: .8rem; opacity: .6; font-weight: 400; }
.preuve__label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}

/* La souris animée en bas de l'écran */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  z-index: 2;
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span {
  width: 3px; height: 7px;
  background: var(--blanc);
  border-radius: 3px;
  animation: molette 1.8s infinite;
}
@keyframes molette {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  70%  { opacity: 0; transform: translateY(11px); }
  100% { opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════ */

.section { padding: 110px 0; }
.section--creme { background: var(--creme-2); }
.section--sombre { background: var(--sombre); color: var(--creme); }


/* ─── Présentation en deux colonnes (texte + photo) ─────────────────── */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 100px;
}
.duo__texte p { color: var(--encre-2); margin-bottom: 18px; }
.duo__texte .lien-fleche { margin-top: 8px; }

.duo__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-3);
  position: relative;
}
.duo__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s ease;
}
.duo__image:hover img { transform: scale(1.04); }


/* ─── Les 3 atouts ──────────────────────────────────────────────────── */
.atouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 100px;
}
.atout {
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--ombre-1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.atout:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-2);
}
/*
  L'icône de l'atout : un carré de couleur crème avec le dessin (SVG) centré
  dedans. Le SVG prend automatiquement la couleur terracotta grâce à
  "color" + "stroke: currentColor" (défini dans le HTML).
*/
.atout__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: var(--creme-2);
  color: var(--terracotta);
  border-radius: 16px;
  margin-bottom: 22px;
}
.atout__icone svg {
  width: 28px;
  height: 28px;
  display: block;
}
.atout h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.atout p { color: var(--encre-2); font-size: .97rem; }


/* ─── La carte (le menu) ────────────────────────────────────────────── */
.carte {
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius);
  padding: 60px;
  box-shadow: var(--ombre-2);
}
.carte__entete { text-align: center; margin-bottom: 50px; }
.carte__entete .surtitre { justify-content: center; }
.carte__note { color: var(--encre-2); font-size: .95rem; font-style: italic; }

.carte__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.carte__cat {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--terracotta);
  padding-bottom: 12px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--creme-2);
}
.carte__liste { list-style: none; }

/*
  Une spécialité. Il n'y a plus de prix : le nom est mis en avant, avec une
  petite étiquette "Maison" à côté. Le trait crème à gauche donne du rythme.
*/
.plat {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0 14px 18px;
  border-left: 2px solid var(--creme-2);
  transition: border-color var(--transition);
}
.plat:hover { border-left-color: var(--terracotta); }

.plat__nom {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--encre);
}

/* L'étiquette "Maison" */
.plat__tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(192, 86, 58, .09);
  border: 1px solid rgba(192, 86, 58, .2);
  padding: 4px 11px;
  border-radius: 100px;
  white-space: nowrap;
}
/* Variante verte, pour "Race à viande" */
.plat__tag--olive {
  color: var(--olive);
  background: rgba(107, 122, 74, .1);
  border-color: rgba(107, 122, 74, .25);
}

.plat__desc {
  flex-basis: 100%;   /* La description passe toujours à la ligne */
  font-size: .92rem;
  color: var(--encre-2);
  margin: 0;
}
.carte__pied { text-align: center; margin-top: 50px; }


/* ─── Billetterie Billetweb ─────────────────────────────────────────── */
.billetterie {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--ombre-3);
}
.billetterie__cadre {
  width: 100%;
  /* [MODIF] Si la billetterie apparaît coupée en bas, augmente cette valeur
     (par exemple 1200px). */
  min-height: 950px;
  border: 0;
  border-radius: var(--radius-sm);
  display: block;
}


/* ─── Galerie simple (3 photos en ligne) ────────────────────────────── */
.galerie-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.galerie-simple figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-2);
}
.galerie-simple img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s ease;
}
.galerie-simple figure:hover img { transform: scale(1.07); }


/* ─── Encart de réservation (fond bois) ─────────────────────────────── */
.encart {
  background: linear-gradient(135deg, var(--bois), #6E452C);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  margin-top: 70px;
  color: var(--blanc);
}
.encart h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.encart p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: #EFE2D4;
}
.encart__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ─── Chambres ──────────────────────────────────────────────────────── */
/*
  Les 4 chambres, en grille 2 x 2.
  Le format 4/3 (paysage) correspond aux photos prises au téléphone : on évite
  ainsi de recadrer une photo horizontale dans un cadre vertical, ce qui
  couperait les côtés de la pièce.
*/
.chambres {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto 55px;
}
.chambre {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-2);
}
.chambre img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s ease;
}
.chambre:hover img { transform: scale(1.06); }
/* L'étiquette avec le nom, posée en bas de la photo */
.chambre figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(36, 29, 25, .75);
  backdrop-filter: blur(6px);
  color: var(--blanc);
  font-family: var(--titre);
  font-size: .92rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
}

.chambres__texte {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--encre-2);
}
.chambres__texte p { margin-bottom: 16px; }

.equipements {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 70px;
}
.equipements li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .95rem;
  font-weight: 500;
  box-shadow: var(--ombre-1);
  transition: border-color var(--transition);
}
.equipements li:hover { border-color: rgba(192, 86, 58, .35); }

/* La pastille crème qui contient l'icône de l'équipement */
.equipement__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: var(--creme-2);
  color: var(--terracotta);
  border-radius: 10px;
}
.equipement__icone svg { width: 19px; height: 19px; display: block; }

/* Deux blocs côte à côte : distances + Booking */
.duo-bas {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.proximite {
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--ombre-1);
}
.proximite h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--bois);
  margin-bottom: 18px;
}
.proximite ul { list-style: none; }
.proximite li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(138, 90, 59, .18);
  color: var(--encre-2);
  font-size: .95rem;
}
.proximite li:last-child { border-bottom: none; }
.proximite li span:last-child {
  font-weight: 700;
  color: var(--terracotta);
  white-space: nowrap;
}

.booking {
  background: linear-gradient(135deg, var(--bois), #6E452C);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--blanc);
  display: flex;
  flex-direction: column;
}
.booking__note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.booking__chiffre {
  flex-shrink: 0;
  width: 72px; height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanc);
  color: var(--bois);
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.8rem;
  border-radius: 14px;
}
.booking__mention { font-family: var(--titre); font-weight: 600; font-size: 1.2rem; }
.booking__sous { font-size: .85rem; color: #E5D6C6; }
.booking h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.booking > p { color: #EFE2D4; margin-bottom: auto; padding-bottom: 26px; }
.booking__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}


/* ─── Galerie ───────────────────────────────────────────────────────── */
.galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.galerie__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-1);
  transition: opacity .3s ease, transform .3s ease;
}
.galerie__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s ease;
}
.galerie__item:hover img { transform: scale(1.08); }
/* ─── Avis ──────────────────────────────────────────────────────────── */
.note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius);
  padding: 34px 44px;
  max-width: 540px;
  margin: 0 auto 50px;
  box-shadow: var(--ombre-1);
  flex-wrap: wrap;
}
.note__chiffre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--terracotta);
}
.note__etoiles { color: var(--ocre); font-size: 1.3rem; letter-spacing: 3px; }
.note__texte { color: var(--encre-2); font-size: .95rem; }

.avis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.avis__carte {
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--ombre-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.avis__carte:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-2);
}
.avis__etoiles {
  color: var(--ocre);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.avis__carte blockquote {
  font-size: 1.02rem;
  color: var(--encre);
  margin-bottom: 24px;
  flex: 1;
}
/* Les guillemets français autour de l'avis */
.avis__carte blockquote::before { content: "« "; color: var(--ocre); }
.avis__carte blockquote::after  { content: " »"; color: var(--ocre); }
.avis__carte footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--creme-2);
}
.avis__avatar {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: var(--blanc);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}
.avis__nom { font-weight: 600; font-size: .95rem; }


/* ─── Contact ───────────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: stretch;
}
.contact__infos { display: flex; flex-direction: column; gap: 20px; }
.contact__bloc {
  background: var(--blanc);
  border: 1px solid rgba(138, 90, 59, .1);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--ombre-1);
}
.contact__bloc h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--bois);
  margin-bottom: 14px;
}
/* La pastille de l'icône (adresse, horaires, téléphone) */
.contact__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--creme-2);
  color: var(--terracotta);
  border-radius: 10px;
}
.contact__icone svg { width: 18px; height: 18px; display: block; }
.contact__bloc address {
  font-style: normal;
  color: var(--encre-2);
  line-height: 1.8;
}
.contact__bloc p { color: var(--encre-2); }

.horaires { list-style: none; }
.horaires li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(138, 90, 59, .16);
  font-size: .94rem;
  color: var(--encre-2);
}
.horaires li:last-child { border-bottom: none; }
.horaires li span:first-child { font-weight: 600; color: var(--encre); }
.horaires li span:last-child { text-align: right; }
/* La mention "et le soir dès 18h", en plus discret */
.horaires em {
  font-style: normal;
  color: var(--terracotta);
  font-weight: 600;
  white-space: nowrap;
}
.horaires .ferme { color: #B0473A; font-weight: 500; }

.contact__carte {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-2);
  min-height: 480px;
}
.contact__carte iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}


/* ═══════════════════════════════════════════════════════════════════════
   PIED DE PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.pied {
  background: var(--sombre);
  color: #B8ABA0;
  padding-top: 70px;
}
.pied__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 55px;
}
.pied__logo {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--creme);
  margin-bottom: 12px;
}
.pied h4 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--creme);
  margin-bottom: 14px;
}
.pied__texte { line-height: 1.9; font-size: .95rem; }
.pied__texte a { color: var(--ocre); }
.pied__texte a:hover { color: var(--blanc); }
.pied__liens { display: flex; flex-direction: column; gap: 8px; }
.pied__liens a { color: #B8ABA0; font-size: .95rem; }
.pied__liens a:hover { color: var(--ocre); }

.pied__bas {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 28px;
  text-align: center;
  font-size: .87rem;
  color: #9A8E82;
}


/* ═══════════════════════════════════════════════════════════════════════
   ANIMATIONS D'APPARITION AU DÉFILEMENT
   ═══════════════════════════════════════════════════════════════════════
   Les blocs marqués de la classe "reveal" dans index.html montent
   doucement quand ils entrent à l'écran. C'est js/script.js qui déclenche.
*/
/*
  SÉCURITÉ IMPORTANTE : par défaut, tout le contenu est VISIBLE.
  L'animation ne s'active que si le JavaScript a réussi à démarrer (il ajoute
  alors la classe "js-anim" à la page).
  Pourquoi : si on cachait les blocs directement en CSS, la moindre erreur de
  JavaScript rendrait le site entièrement blanc. Ici, dans le pire des cas,
  le site s'affiche simplement sans animation.
*/
.reveal { opacity: 1; transform: none; }

.js-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-anim .reveal.est-visible {
  opacity: 1;
  transform: none;
}

/*
  Respecte le réglage système "réduire les animations".
  Certaines personnes en ont besoin (vertiges, migraines).
*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .js-anim .reveal { opacity: 1 !important; transform: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTES (jusqu'à 980px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {

  .section { padding: 80px 0; }

  /* La présentation passe en une colonne (texte au-dessus, photo dessous) */
  .duo {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 70px;
  }
  .duo__image img { aspect-ratio: 16 / 10; }

  /* Les grilles à 3-4 colonnes passent à 2.
     (les chambres sont déjà en 2 colonnes, rien à faire pour elles) */
  .atouts,
  .galerie-simple,
  .galerie,
  .avis,
  .equipements {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Ces blocs passent en une colonne */
  .duo-bas,
  .contact {
    grid-template-columns: 1fr;
  }

  .carte { padding: 40px 32px; }
  .carte__cols { gap: 40px; }

  .contact__carte { min-height: 380px; }
  .contact__carte iframe { min-height: 380px; }

  .pied__cols { grid-template-columns: 1fr 1fr; gap: 36px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   LE MENU HAMBURGER (en dessous de 900px)
   ═══════════════════════════════════════════════════════════════════════
   On bascule tôt, dès 900px : entre 680 et 900px les liens de la barre
   étaient à l'étroit et "Café-Théâtre" se coupait sur deux lignes.
   Mieux vaut un menu hamburger propre qu'une barre tassée.
*/
@media (max-width: 900px) {

  .nav__burger { display: flex; }

  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--creme);
    /* Caché par défaut, hors de l'écran, à droite */
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  }
  /* La classe "est-ouvert" est ajoutée par le JavaScript au clic */
  .nav__menu.est-ouvert { transform: translateX(0); }

  .nav__menu a,
  .nav.est-defile .nav__menu a {
    color: var(--encre);
    font-family: var(--titre);
    font-size: 1.5rem;
    font-weight: 600;
  }
  .nav__menu a:not(.nav__cta)::after { display: none; }
  .nav__cta,
  .nav.est-defile .nav__cta {
    color: var(--blanc) !important;
    font-size: 1.05rem !important;
    font-family: var(--texte) !important;
    margin-top: 10px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILES (jusqu'à 680px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {

  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }

  /* ── Accueil ── */
  .hero { padding: 120px 20px 170px; }
  .hero__actions .btn { width: 100%; }

  /* Le bandeau des chiffres passe en pleine largeur */
  .hero__preuves {
    bottom: 60px;
    left: 20px; right: 20px;
    border-radius: var(--radius);
    justify-content: space-around;
    padding: 4px;
  }
  .preuve { padding: 12px 8px; flex: 1; }
  .preuve__valeur { font-size: 1.25rem; }
  .preuve__label { font-size: .62rem; }

  .hero__scroll { display: none; }

  /* ── Toutes les grilles passent en une seule colonne ── */
  .atouts,
  .galerie-simple,
  .chambres,
  .galerie,
  .avis,
  .equipements,
  .carte__cols {
    grid-template-columns: 1fr;
  }

  .chambres { gap: 12px; }

  .carte { padding: 32px 22px; }
  .carte__cols { gap: 36px; }
  .carte__pied .btn { width: 100%; }

  .encart { padding: 38px 24px; }
  .encart__actions .btn { width: 100%; }

  .booking { padding: 30px 24px; }
  .booking__actions { flex-direction: column; align-items: stretch; }
  .booking__actions .btn { width: 100%; }
  .booking__actions .lien-fleche { justify-content: center; }

  .proximite { padding: 28px 24px; }

  .note { flex-direction: column; text-align: center; padding: 30px 24px; }

  .contact__bloc { padding: 24px; }

  .pied__cols { grid-template-columns: 1fr; gap: 32px; }
}

/* Crédit du concepteur en pied de page (marque Webastide) */
.pied__credit { margin-top: 8px; font-size: .84rem; color: #9A8E82; }
.pied__credit strong { color: #A99E93; font-weight: 600; }
.pied__credit a { color: var(--ocre); text-decoration: none; }
.pied__credit a:hover { color: var(--blanc); }
