/**
 * L'Hôtel des Pins — Site officiel de démonstration
 * Conçu par La Brig'ads Hébergements · 0 % commission · Zéro dépendance externe
 */

:root {
  --h-fond: #FBF7F2;
  --h-fond-doux: #F4ECE3;
  --h-carte: #FFFFFF;
  --h-texte: #241A15;
  --h-texte-doux: #6B584E;
  --h-bord: #E5D6C7;
  --h-bord-fort: #D1BDAA;
  
  --h-terracotta: #BF360C;
  --h-terracotta-hover: #D84315;
  --h-or: #E88923;
  --h-vert-pin: #1E3A2F;
  --h-vert-clair: #EBF2EE;
  
  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --rayon-s: 6px;
  --rayon-m: 12px;
  --rayon-l: 20px;
  --ombre: 0 4px 20px rgba(36, 26, 21, 0.06);
  --ombre-hover: 0 10px 30px rgba(36, 26, 21, 0.12);
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--h-fond);
  color: var(--h-texte);
  font-family: var(--f-texte);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Bandeau démonstration */
.bandeau-demo {
  background: var(--h-vert-pin);
  color: #E2ECEE;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(232, 137, 35, 0.3);
}

.bandeau-demo p {
  margin: 0;
}

.bandeau-demo a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.15s;
}

.bandeau-demo a:hover {
  color: var(--h-or);
}

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

/* En-tête */
.h-entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--h-bord);
}

.h-entete-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}

.h-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--h-texte);
}

.h-logo-icone {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.h-logo-texte {
  display: flex;
  flex-direction: column;
}

.h-logo-nom {
  font-family: var(--f-titre);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--h-vert-pin);
  line-height: 1.1;
}

.h-logo-lieu {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h-terracotta);
  margin-top: 2px;
}

.h-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.h-nav a {
  text-decoration: none;
  color: var(--h-texte);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--rayon-s);
  transition: color 0.15s, background-color 0.15s;
}

.h-nav a:hover {
  color: var(--h-terracotta);
  background: rgba(191, 54, 12, 0.06);
}

.h-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  background: var(--h-terracotta);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 8px;
  border: 1px solid var(--h-terracotta);
  box-shadow: 0 4px 14px rgba(191, 54, 12, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
}

.h-bouton:hover {
  background: var(--h-terracotta-hover);
  border-color: #BF360C;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(191, 54, 12, 0.4);
}

.h-bouton--secondaire {
  background: #FFFFFF;
  color: var(--h-texte);
  border-color: var(--h-bord-fort);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.h-bouton--secondaire:hover {
  background: var(--h-fond-doux);
  border-color: var(--h-terracotta);
  color: var(--h-terracotta);
}

/* Héros */
.h-heros {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--h-bord);
}

.h-heros-grille {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .h-heros-grille {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.h-pastille {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--h-bord);
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--h-terracotta);
  margin-bottom: 1.5rem;
}

.h-pastille-point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--h-or);
}

.h-titre-affiche {
  font-family: var(--f-titre);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--h-vert-pin);
  margin: 0 0 1.25rem;
  font-weight: 800;
}

.h-titre-accent {
  font-style: italic;
  color: var(--h-terracotta);
}

.h-chapeau {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--h-texte-doux);
  margin: 0 0 2rem;
  max-width: 34em;
}

/* Moteur de réservation directe 0% */
.moteur-reservation {
  background: #FFFFFF;
  border: 1px solid var(--h-bord-fort);
  border-radius: var(--rayon-m);
  padding: 1.5rem;
  box-shadow: var(--ombre);
  margin-bottom: 1.75rem;
}

.moteur-titre {
  font-family: var(--f-titre);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--h-vert-pin);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-zero-com {
  background: var(--h-vert-clair);
  color: var(--h-vert-pin);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.moteur-champs {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .moteur-champs {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
  }
}

.moteur-champ {
  display: grid;
  gap: 0.35rem;
}

.moteur-champ label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--h-texte-doux);
}

.moteur-champ input, .moteur-champ select {
  height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--h-bord);
  border-radius: var(--rayon-s);
  background: var(--h-fond);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--h-texte);
}

.moteur-champ input:focus, .moteur-champ select:focus {
  outline: 2px solid var(--h-or);
  border-color: var(--h-terracotta);
}

.reassurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--h-texte-doux);
}

.reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.reassurance-item svg {
  color: var(--h-terracotta);
  width: 16px;
  height: 16px;
}

/* Dessin de la façade */
.h-facade-cadre {
  background: #FFFFFF;
  border: 1px solid var(--h-bord);
  border-radius: var(--rayon-l);
  padding: 2rem;
  box-shadow: var(--ombre);
  text-align: center;
}

.h-facade-cadre svg {
  width: 100%;
  max-height: 380px;
  display: block;
}

/* Sections génériques */
.h-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--h-bord);
}

.h-section-fond-blanc {
  background: #FFFFFF;
}

.h-tete-section {
  margin-bottom: 3rem;
  max-width: 38em;
}

.h-sur-titre {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h-terracotta);
  display: block;
  margin-bottom: 0.5rem;
}

.h-titre-section {
  font-family: var(--f-titre);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--h-vert-pin);
  margin: 0 0 1rem;
  font-weight: 800;
}

.h-intro-section {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--h-texte-doux);
  margin: 0;
}

/* Grille des chambres */
.chambres-grille {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .chambres-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

.carte-chambre {
  background: var(--h-fond);
  border: 1px solid var(--h-bord);
  border-radius: var(--rayon-m);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.carte-chambre:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-hover);
  border-color: var(--h-bord-fort);
}

.chambre-visuel {
  height: 180px;
  background: #F0E6DC;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--h-bord);
}

.chambre-visuel svg {
  width: 100%;
  height: 100%;
}

.badge-superficie {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30, 58, 47, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.carte-chambre-corps {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chambre-nom {
  font-family: var(--f-titre);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--h-vert-pin);
  margin: 0 0 0.5rem;
}

.chambre-description {
  font-size: 0.92rem;
  color: var(--h-texte-doux);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.chambre-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--h-texte);
  flex-grow: 1;
}

.chambre-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chambre-points li::before {
  content: "•";
  color: var(--h-or);
  font-weight: 800;
}

.chambre-prix-ligne {
  padding-top: 1rem;
  border-top: 1px solid var(--h-bord);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.chambre-prix {
  font-family: var(--f-titre);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--h-vert-pin);
}

.chambre-prix small {
  font-family: var(--f-texte);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--h-texte-doux);
}

/* Grille services */
.services-grille {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

.carte-service {
  background: #FFFFFF;
  border: 1px solid var(--h-bord);
  border-radius: var(--rayon-m);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.service-icone {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--h-fond-doux);
  color: var(--h-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.carte-service h3 {
  font-family: var(--f-titre);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--h-vert-pin);
  margin: 0 0 0.5rem;
}

.carte-service p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--h-texte-doux);
  margin: 0;
}

/* Contact & Accès */
.contact-grille {
  display: grid;
  gap: 3rem;
}

@media (min-width: 860px) {
  .contact-grille {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-infos dl {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.contact-infos dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--h-terracotta);
}

.contact-infos dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: var(--h-texte);
  font-weight: 500;
}

.carte-acces {
  background: var(--h-fond-doux);
  border: 1px dashed var(--h-bord-fort);
  border-radius: var(--rayon-m);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Modale de réservation directe */
.tiroir-reservation {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30, 58, 47, 0.6);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
}

.tiroir-reservation.est-ouvert {
  display: flex;
}

.tiroir-boite {
  background: #FFFFFF;
  border-radius: var(--rayon-l);
  max-width: 580px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.tiroir-fermer {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--h-fond-doux);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-texte);
}

.tiroir-titre {
  font-family: var(--f-titre);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--h-vert-pin);
  margin: 0 0 0.5rem;
}

.tiroir-avantage {
  background: var(--h-vert-clair);
  border: 1px solid #C5DFD0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--h-vert-pin);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.tiroir-form {
  display: grid;
  gap: 1rem;
}

.tiroir-champ {
  display: grid;
  gap: 0.35rem;
}

.tiroir-champ label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--h-texte);
}

.tiroir-champ input, .tiroir-champ select {
  height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--h-bord-fort);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.tiroir-succes {
  display: none;
  background: #F0F9F3;
  border: 1px solid #B8E0C4;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.tiroir-succes h4 {
  font-family: var(--f-titre);
  color: var(--h-vert-pin);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

/* Pied de page */
.h-pied {
  background: var(--h-vert-pin);
  color: #D2DFD8;
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.h-pied-grille {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .h-pied-grille {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.h-pied-nom {
  font-family: var(--f-titre);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
}

.h-pied a {
  color: #FFFFFF;
  text-decoration: none;
}

.h-pied a:hover {
  color: var(--h-or);
  text-decoration: underline;
}

.h-pied-bas {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(210, 223, 216, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
