/* ==============================
   HÔTEL LE PRINTEMPS — STYLE
   Palette: crème / terracotta / olive / brun profond
   ============================== */

:root {
  --creme:      #f5f0e8;
  --creme-alt:  #ede7d9;
  --blanc:      #faf8f4;
  --terracotta: #c8703b;
  --terracotta-light: #d9896a;
  --brun:       #2a1f14;
  --brun-mid:   #5a3e2b;
  --olive:      #6b7c5a;
  --olive-light:#8c9e78;
  --or:         #b8954a;

  --f-titre:    'Cormorant Garamond', Georgia, serif;
  --f-corps:    'DM Sans', system-ui, sans-serif;

  --gap:        clamp(1.5rem, 4vw, 3rem);
  --max:        1200px;
  --r:          4px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--creme);
  color: var(--brun);
  font-family: var(--f-corps);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILS ── */
.container { width: min(var(--max), 100% - 3rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--dark { background: var(--brun); color: var(--creme); }
.section--alt  { background: var(--creme-alt); }

/* Reveals — masqués seulement si JS est actif (classe js-loaded sur body) */
.js-loaded .reveal { opacity: 0; transform: translateY(1.8rem); transition: opacity .75s ease, transform .75s ease; }
.js-loaded .reveal.visible { opacity: 1; transform: none; }

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .75rem;
}

.subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--brun-mid);
  max-width: 56ch;
  line-height: 1.75;
}

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .9em 2.2em;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all .3s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--blanc);
}
.btn-primary:hover { background: var(--brun-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,112,59,.3); }

.btn-outline {
  border: 1.5px solid var(--brun);
  color: var(--brun);
}
.btn-outline:hover { background: var(--brun); color: var(--blanc); }

.btn-light {
  border: 1.5px solid var(--creme);
  color: var(--creme);
}
.btn-light:hover { background: var(--creme); color: var(--brun); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, box-shadow .4s;
}

.nav.scrolled {
  background: rgba(245, 240, 232, .97);
  box-shadow: 0 2px 20px rgba(42,31,20,.08);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__logo-name {
  font-family: var(--f-titre);
  font-size: 1.5rem;
  color: var(--blanc);
  transition: color .4s;
}
.nav.scrolled .nav__logo-name { color: var(--brun); }
.nav__logo-sub {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color .4s;
}
.nav.scrolled .nav__logo-sub { color: var(--brun-mid); }

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--terracotta);
  transition: right .3s ease;
}
.nav__links a:hover::after { right: 0; }
.nav.scrolled .nav__links a { color: var(--brun); }

.nav__cta {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65em 1.6em;
  background: var(--terracotta);
  color: var(--blanc) !important;
  border-radius: var(--r);
  transition: background .3s, transform .2s !important;
}
.nav__cta:hover { background: var(--brun-mid) !important; transform: translateY(-1px); }
.nav__cta::after { display: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanc);
  transition: all .3s;
}
.nav.scrolled .nav__burger span { background: var(--brun); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a1f14 0%, #4a3020 50%, #6b4c30 100%);
  z-index: 0;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .6;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(42,31,20,.75) 0%, rgba(42,31,20,.3) 60%, transparent 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  padding-top: 6rem;
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  font-weight: 600;
  margin-bottom: 1.2rem;
  opacity: 0;
}
.hero__tag::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  color: var(--blanc);
  max-width: 14ch;
  opacity: 0;
  transform: translateY(2rem);
}

.hero__desc {
  color: rgba(255,255,255,.8);
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  max-width: 46ch;
  margin-top: 1.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(2rem);
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.3);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(.6); transform-origin: top; }
}

.hero__badges {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero__badge {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .5em 1.2em;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: .5em;
}

/* ── INTRO ── */
.intro {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--blanc);
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro__text h2 { margin-bottom: 1.5rem; }
.intro__text p { color: var(--brun-mid); line-height: 1.8; margin-bottom: 1.2rem; }

.intro__img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.intro__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.intro__img:hover img { transform: scale(1.03); }

.intro__img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--terracotta);
  color: var(--blanc);
  padding: .8em 1.5em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r);
}

/* ── ÉQUIPEMENTS ── */
.equip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.equip__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 2rem;
  background: var(--blanc);
  border-radius: 2px;
  border-top: 3px solid var(--terracotta);
  transition: transform .3s, box-shadow .3s;
}
.equip__item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(42,31,20,.08); }

.equip__icon {
  font-size: 2rem;
  line-height: 1;
}
.equip__item h4 { font-family: var(--f-corps); font-weight: 600; font-size: .9rem; }
.equip__item p { font-size: .82rem; color: var(--brun-mid); line-height: 1.6; }

/* ── PREVIEW CARDS (chambres, restaurant) ── */
.preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.preview__card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--brun);
}

.preview__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .65;
  transition: opacity .6s, transform .8s;
}
.preview__card:hover img { opacity: .8; transform: scale(1.04); }

.preview__card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(42,31,20,.8) 0%, transparent 60%);
}

.preview__card-content h2 { color: var(--blanc); margin-bottom: .75rem; }
.preview__card-content p { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 1.5rem; max-width: 36ch; }

/* ── RESTAURANT ── */
.resto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.resto__img-wrap {
  position: relative;
}
.resto__img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}
.resto__img-wrap::before {
  content: '';
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  border: 2px solid var(--or);
  border-radius: 2px;
  z-index: -1;
  opacity: .4;
}

.menu__highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.menu__item {
  padding: 1.2rem;
  border-left: 3px solid var(--terracotta);
  background: rgba(200,112,59,.06);
}
.menu__item h4 { font-size: .82rem; font-weight: 600; letter-spacing: .05em; margin-bottom: .3rem; }
.menu__item p { font-size: .78rem; color: var(--brun-mid); }

.horaires {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--creme-alt);
  border-radius: var(--r);
  border-left: 4px solid var(--terracotta);
}
.horaires h4 { font-family: var(--f-corps); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; color: var(--terracotta); }
.horaires p { font-size: .85rem; color: var(--brun-mid); line-height: 1.8; }

/* ── RÉGION ── */
.region {
  background: var(--brun);
  color: var(--creme);
  text-align: center;
  padding-block: clamp(5rem, 9vw, 8rem);
}
.region h2 { color: var(--blanc); margin-bottom: 1.5rem; }
.region p { color: rgba(255,255,255,.7); max-width: 60ch; margin-inline: auto; line-height: 1.8; }

.region__highlights {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.region__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.region__highlight-num {
  font-family: var(--f-titre);
  font-size: 3rem;
  color: var(--terracotta-light);
  line-height: 1;
}
.region__highlight p { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ── TÉMOIGNAGES / LOGIS ── */
.logis {
  background: var(--blanc);
  text-align: center;
  padding-block: clamp(4rem, 7vw, 6rem);
}
.logis__badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--creme);
  border-radius: 50px;
  padding: .75em 2em;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brun-mid);
  margin-top: 2rem;
}
.logis__stars {
  color: var(--or);
  font-size: 1.1rem;
  letter-spacing: .15em;
}

/* ── CONTACT BANDE ── */
.contact-band {
  background: var(--terracotta);
  padding: 3rem 2rem;
  text-align: center;
}
.contact-band h2 {
  color: var(--blanc);
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.contact-band p {
  color: rgba(255,255,255,.85);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.contact-band__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--brun);
  color: rgba(255,255,255,.65);
  padding-block: 3rem 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo {
  font-family: var(--f-titre);
  font-size: 1.8rem;
  color: var(--blanc);
  margin-bottom: .5rem;
}
.footer__sub { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: 1.2rem; }
.footer__about { font-size: .82rem; line-height: 1.8; }
.footer h4 { color: var(--blanc); font-family: var(--f-corps); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.footer ul li { font-size: .82rem; padding: .3rem 0; }
.footer ul li a:hover { color: var(--blanc); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .75rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom a:hover { color: var(--blanc); }

/* ── MENU MOBILE ── */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--brun);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile a {
  font-family: var(--f-titre);
  font-size: 2.2rem;
  color: var(--blanc);
  letter-spacing: .02em;
  opacity: .85;
  transition: opacity .2s;
}
.nav__mobile a:hover { opacity: 1; color: var(--terracotta-light); }
.nav__mobile__close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--blanc);
  line-height: 1;
  opacity: .7;
  cursor: pointer;
}

/* ── PAGE CHAMBRES ── */
.chambres__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.chambre__card {
  background: var(--blanc);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(42,31,20,.06);
  transition: transform .3s, box-shadow .3s;
}
.chambre__card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(42,31,20,.12); }
.chambre__card-img { aspect-ratio: 16/9; overflow: hidden; }
.chambre__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.chambre__card:hover .chambre__card-img img { transform: scale(1.05); }
.chambre__card-body { padding: 1.75rem; }
.chambre__card-body h3 { margin-bottom: .5rem; }
.chambre__card-body p { font-size: .88rem; color: var(--brun-mid); line-height: 1.7; margin-bottom: 1.2rem; }
.chambre__amenities {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.chambre__amenity {
  font-size: .72rem;
  padding: .3em .9em;
  background: var(--creme);
  border-radius: 50px;
  color: var(--brun-mid);
  font-weight: 500;
}
.chambre__price {
  font-family: var(--f-titre);
  font-size: 1.5rem;
  color: var(--terracotta);
}
.chambre__price span { font-family: var(--f-corps); font-size: .78rem; color: var(--brun-mid); font-weight: 400; }

/* ── PAGE RESTAURANT ── */
.menu__section {
  margin-top: 3rem;
}
.menu__category {
  margin-bottom: 3rem;
}
.menu__category h3 {
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--creme-alt);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu__category h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--terracotta);
  opacity: .3;
}
.menu__dish {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px dashed var(--creme-alt);
}
.menu__dish:last-child { border-bottom: none; }
.menu__dish-info h4 { font-family: var(--f-corps); font-size: .92rem; font-weight: 500; margin-bottom: .2rem; }
.menu__dish-info p { font-size: .8rem; color: var(--brun-mid); font-style: italic; }
.menu__dish-price { font-family: var(--f-titre); font-size: 1.1rem; color: var(--terracotta); white-space: nowrap; }

/* ── PAGE CONTACT ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h2 { margin-bottom: 1.5rem; }
.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--creme-alt);
}
.contact__detail:last-of-type { border-bottom: none; }
.contact__detail-icon { font-size: 1.3rem; margin-top: .1em; }
.contact__detail h4 { font-family: var(--f-corps); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--terracotta); margin-bottom: .3rem; }
.contact__detail p { font-size: .88rem; color: var(--brun-mid); line-height: 1.7; }
.contact__detail a:hover { color: var(--terracotta); }

.map__container {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--creme-alt);
  position: relative;
}
.map__container iframe { width: 100%; height: 100%; border: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .intro__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro__img { aspect-ratio: 16/9; }
  .preview { grid-template-columns: 1fr; }
  .preview__card { aspect-ratio: 16/9; }
  .resto__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__badges { display: none; }
  .hero__scroll { display: none; }
  .menu__highlight { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { padding: 1rem; }
  .hero__content { padding: 1.5rem; padding-top: 5rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: auto; }
  .region__highlights { gap: 2rem; }
  .contact-band__links { flex-direction: column; align-items: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .chambres__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
