/* =============================================
   LA HAUTE MURAILLE — Styles principaux
   ============================================= */

:root {
  --vert: #23A455;
  --vert-dark: #1a7d3e;
  --vert-light: #e8f7ee;
  --marine: #4054B2;
  --or: #F5C61C;
  --texte: #1A1A1A;
  --texte-light: #555555;
  --gris: #AAAAAA;
  --fond: #F4F6F8;
  --blanc: #ffffff;
  --bordure: #CFD8DE;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  font-size: 16px;
}

/* ── Typographie ── */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
  color: var(--texte);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
  font-size: 1.3rem;
}

a {
  color: var(--vert);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--vert-dark);
}

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

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

/* ── Boutons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--vert);
  color: var(--blanc);
}

.btn-primary:hover {
  background: var(--vert-dark);
  color: var(--blanc);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 164, 85, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--vert);
  border: 2px solid var(--vert);
}

.btn-outline:hover {
  background: var(--vert);
  color: var(--blanc);
}

.btn-gold {
  background: var(--or);
  color: var(--texte);
}

.btn-gold:hover {
  background: #d4a917;
}

/* ── Bouton "copier l'email" ── */
.email-cta-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.email-cta-row .btn {
  flex: 1;
  text-align: center;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  border: 2px solid var(--vert);
  background: transparent;
  color: var(--vert);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.copy-email-btn:hover {
  background: var(--vert);
  color: var(--blanc);
}

.copy-email-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.copy-email-btn.on-dark {
  border-color: white;
  color: white;
}

.copy-email-btn.on-dark:hover {
  background: white;
  color: var(--vert);
}

.copy-email-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 0.4rem;
  border-radius: 6px;
  border: none;
  background: var(--vert-light);
  color: var(--vert);
  font-size: 0.85rem;
  cursor: pointer;
  vertical-align: middle;
  transition: background var(--transition), color var(--transition);
}

.copy-email-inline:hover {
  background: var(--vert);
  color: var(--blanc);
}

.copy-email-inline.on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ccc;
}

.copy-email-inline.on-dark:hover {
  background: var(--vert);
  color: var(--blanc);
}

/* ── Titre de section ── */
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--vert);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--texte-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ══════════════════════════════════
   HEADER & NAVIGATION
══════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanc);
  border-bottom: 1px solid var(--bordure);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-inner nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Sélecteur de langue */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: none;
  border: 1px solid var(--bordure);
  border-radius: 20px;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--texte);
  transition: border-color 0.2s;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn:hover {
  border-color: var(--vert);
}

.lang-btn img {
  display: block;
  border-radius: 2px;
}

.lang-code {
  letter-spacing: 0.03em;
}

.lang-arrow {
  font-size: 0.6rem;
  color: var(--gris);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  min-width: 80px;
  overflow: hidden;
  z-index: 9999;
}

.lang-menu.open {
  display: block;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texte);
  font-family: 'Lato', sans-serif;
  transition: background 0.15s;
}

.lang-item img {
  display: block;
  border-radius: 2px;
}

.lang-item:hover {
  background: var(--vert-light);
  color: var(--vert);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.site-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--texte);
  line-height: 1.2;
}

.site-logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--texte-light);
  font-family: 'Lato', sans-serif;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texte);
  transition: all var(--transition);
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: var(--vert);
  background: var(--vert-light);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::after {
  content: ' ▾';
  font-size: 0.7em;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 6px;
  background: transparent;
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 15px;
}

.dropdown-menu-inner {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  overflow: hidden;
}

.dropdown-menu-inner li {
  display: block !important;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 400;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--vert-light);
}

.nav-cta {
  background: var(--vert) !important;
  color: var(--blanc) !important;
}

.nav-cta:hover {
  background: var(--vert-dark) !important;
  color: var(--blanc) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--texte);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 100%);
  overflow: hidden;
  /* Force un calque de rendu dédié : évite un bug d'affichage Chromium où
     de grandes sections restent mal peintes (blanches/tronquées) jusqu'à
     un redimensionnement ou un zoom qui force un nouveau rendu complet. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--blanc);
}

.hero-badge {
  display: inline-block;
  background: rgba(35, 164, 85, 0.9);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--blanc);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════
   CARDS CHAMBRES
══════════════════════════════════ */
.chambres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.chambre-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.chambre-card-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.chambre-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.chambre-card:hover .chambre-card-img img {
  transform: scale(1.04);
}

.chambre-card-body {
  padding: 0.75rem 0.25rem 0;
  text-align: center;
}

.chambre-card-body h3 {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  margin: 0;
}

/* ══════════════════════════════════
   PAGE CHAMBRE DÉTAIL
══════════════════════════════════ */
.page-hero {
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  /* Voir note dans .hero : force un calque de rendu dédié pour éviter les
     bugs d'affichage lors du chargement. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem 0;
}

.page-hero-content h1 {
  color: white;
}

.page-hero-content p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.chambre-detail {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.chambre-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.chambre-gallery img {
  border-radius: var(--radius);
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.chambre-gallery img:first-child {
  grid-column: 1 / -1;
  height: 320px;
}

.chambre-sidebar {
  background: var(--fond);
  border-radius: 12px;
  padding: 2rem;
  position: sticky;
  top: 90px;
  border: 1px solid var(--bordure);
  /* position:sticky à l'intérieur d'une grille est une cause connue de bugs
     de rendu Chromium (contenu mal peint tant qu'un repaint n'est pas forcé) ;
     ce calque de rendu dédié évite le problème. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.chambre-tarif {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bordure);
}

.chambre-tarif .prix {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--vert);
}

.chambre-tarif .prix-label {
  color: var(--texte-light);
  font-size: 0.9rem;
}

.services-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.services-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bordure);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.services-list li::before {
  content: '✓';
  color: var(--vert);
  font-weight: 700;
}

/* ══════════════════════════════════
   SECTION ATOUTS
══════════════════════════════════ */
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}

@media (max-width: 768px) {
  .atouts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

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

.atout-item {
  text-align: center;
  padding: 1rem;
}

.atout-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.atout-icon-img {
  font-size: 0;
  margin: 0 auto 1.25rem;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.atout-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.atout-item:hover .atout-icon-img img {
  transform: scale(1.06);
}

.atout-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--vert);
}

.atout-item p {
  color: var(--texte-light);
  font-size: 0.9rem;
}

/* ══════════════════════════════════
   ACTUALITÉS
══════════════════════════════════ */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.actu-card {
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--bordure);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.actu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.actu-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.actu-date {
  font-size: 0.8rem;
  color: var(--gris);
  margin-bottom: 0.5rem;
}

.actu-ville {
  display: inline-block;
  background: var(--vert-light);
  color: var(--vert);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.actu-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.actu-card p {
  color: var(--texte-light);
  font-size: 0.9rem;
}

/* Bouton "En savoir plus" toujours aligné en bas de carte, quelle que soit
   la longueur du texte au-dessus (grâce à la carte en colonne flex). */
.actu-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.5rem;
}

.contact-item-text strong {
  display: block;
  margin-bottom: 0.2rem;
}

.contact-item-text a {
  color: var(--vert);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}


.contact-form {
  background: var(--fond);
  padding: 2rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--blanc);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(35, 164, 85, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-msg {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: none;
}

.form-msg.success {
  background: var(--vert-light);
  color: var(--vert-dark);
  display: block;
}

.form-msg.error {
  background: #fde8e8;
  color: #c0392b;
  display: block;
}

/* ══════════════════════════════════
   NOS CHAMBRES (liste + tarifs)
══════════════════════════════════ */
.tarifs-desktop {
  display: block;
}

.tarifs-mobile {
  display: none;
}

.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.tarifs-table th {
  background: var(--vert);
  color: white;
  padding: 1rem;
  text-align: left;
}

.tarifs-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--bordure);
}

.tarifs-table tr:hover td {
  background: var(--vert-light);
}

/* Cartes tarifs (mobile) */
.tarifs-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.tarif-card {
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--blanc);
  box-shadow: var(--shadow);
}

.tarif-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.tarif-card-nom {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texte);
}

.tarif-card-sous {
  display: block;
  font-size: 0.82rem;
  color: var(--texte-light);
  margin-top: 0.2rem;
}

.tarif-card-prix {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--vert);
  white-space: nowrap;
  text-align: right;
}

.tarif-card-prix span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--texte-light);
  display: block;
}

.tarif-card-infos {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--texte-light);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tarif-card-btn {
  width: 100%;
  text-align: center;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: #1a2a1f;
  color: #ccc;
  padding: 4rem 0 2rem;
  /* Isole le pied de page dans son propre calque de rendu : évite qu'un bug
     d'affichage plus haut sur la page (voir .chambre-sidebar) ne fasse
     apparaître son contenu mal placé ou tronqué. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 60px;
}

.footer-logo-text {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--vert);
}

.footer-col p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid #2d3d2f;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #777;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: #888;
}

.footer-bottom a:hover {
  color: var(--vert);
}

/* ══════════════════════════════════
   PAGES LÉGALES
══════════════════════════════════ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--vert);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--vert);
  font-size: 1.2rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--texte-light);
}

/* ══════════════════════════════════
   BREADCRUMB
══════════════════════════════════ */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--texte-light);
}

.breadcrumb a {
  color: var(--texte-light);
}

.breadcrumb a:hover {
  color: var(--vert);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */

/* ── Tablette paysage ── */
@media (max-width: 1024px) {
  .chambres-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .chambre-detail {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
  }
}

/* ── Tablette portrait ── */
@media (max-width: 900px) {
  .chambre-detail {
    grid-template-columns: 1fr;
  }

  .chambre-sidebar {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {

  /* Header : logo plus petit, téléphone icône seulement */
  .header-inner {
    height: 60px;
  }

  .site-logo img {
    height: 50px !important;
  }

  .header-right {
    gap: 0.5rem;
  }

  .nav-cta {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .nav-cta .cta-text {
    display: none;
  }

  .nav-cta .cta-icon {
    font-size: 1.2rem;
  }

  /* Navigation burger */
  nav ul {
    display: none;
  }

  .burger {
    display: flex;
  }

  nav.open>ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--blanc);
    padding: 1.5rem;
    gap: 0.4rem;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  nav.open ul li {
    width: 100%;
  }

  nav.open ul a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  nav.open .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--vert-light);
    padding-left: 1rem;
    margin-top: 0.25rem;
  }

  /* Hero */
  .hero {
    min-height: 55vh;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Page hero chambres */
  .page-hero {
    height: 220px;
  }

  /* Grille chambres */
  .chambres-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Galerie chambre détail */
  .chambre-gallery {
    grid-template-columns: 1fr;
  }

  .chambre-gallery img {
    height: 200px;
  }

  .chambre-gallery img:first-child {
    height: 240px;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .section-subtitle {
    margin-bottom: 2rem;
  }

  /* Tableau tarifs : masqué sur mobile */
  .tarifs-desktop {
    display: none;
  }

  .tarifs-mobile {
    display: block;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Contact */
  .contact-map iframe {
    height: 220px;
  }
}

/* ── Petit mobile ── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  /* Header : téléphone icon seulement */
  .nav-cta .cta-text {
    display: none;
  }

  /* 1 colonne pour les chambres */
  .chambres-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    min-height: 45vh;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  /* Page hero */
  .page-hero {
    height: 180px;
  }

  /* Chambre sidebar */
  .chambre-tarif .prix {
    font-size: 2rem;
  }

  /* Actualités */
  .actu-grid {
    grid-template-columns: 1fr;
  }

  /* Boutons côte à côte sur mobile */
  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ══════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 4px solid var(--vert);
  border-left: 1px solid var(--bordure);
  border-right: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(35, 164, 85, 0.15);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Lato', sans-serif;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform: translateY(150%);
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vert);
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--texte-light);
  line-height: 1.5;
}

.cookie-text a {
  text-decoration: underline;
  color: var(--vert);
}

.cookie-text a:hover {
  color: var(--vert-dark);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--vert);
  color: var(--blanc);
  border: 1px solid var(--vert);
}

.cookie-btn-accept:hover {
  background: var(--vert-dark);
  border-color: var(--vert-dark);
}

.cookie-btn-refuse {
  background: var(--vert-light);
  color: var(--vert-dark);
  border: 1px solid var(--vert-light);
}

.cookie-btn-refuse:hover {
  background: #d4f0df;
}

.cookie-btn-settings {
  background: transparent;
  color: var(--texte-light);
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0.5rem;
}

.cookie-btn-settings:hover {
  color: var(--vert);
}

/* Preferences panel inside banner */
.cookie-preferences {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--bordure);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.cookie-pref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.cookie-pref-label {
  font-weight: 600;
  color: var(--texte);
}

.cookie-pref-desc {
  font-size: 0.75rem;
  color: var(--texte-light);
  display: block;
}

/* Switch styling */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gris);
  transition: .3s;
  border-radius: 20px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked+.cookie-slider {
  background-color: var(--vert);
}

input:checked+.cookie-slider:before {
  transform: translateX(18px);
}

input:disabled+.cookie-slider {
  background-color: #cbd5e1;
  cursor: not-allowed;
}

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    padding: 1.2rem;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}