/* ============================
   L'AUBERGE CRÉOLE — Global CSS
   Polices : Cormorant Garamond (script) + Josefin Sans (body)
   Couleurs : ivoire chaud, chocolat foncé, or
============================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Josefin+Sans:wght@200;300;400;600&display=swap');

:root {
  --ivory: #F5EFE0;
  --ivory-dark: #EDE0C8;
  --ivory-mid: #E8DBBE;
  --gold: #B8922A;
  --gold-light: #D4AD5A;
  --gold-pale: #E8D5A0;
  --dark: #1A1208;
  --dark2: #241A0C;
  --brown: #3D2B1A;
  --brown-mid: #6B4C30;
  --warm-grey: #9A8E80;
  --white: #FDFAF4;

  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Josefin Sans', sans-serif;

  --nav-h: 80px;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--ivory);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── TYPOGRAPHY ── */
.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 300;
}

.script.large {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

p {
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  color: var(--brown-mid);
  line-height: 1.9;
}

.label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.link-arrow:hover {
  gap: 0.9rem;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--dark {
  background: var(--dark);
  color: var(--ivory);
  border-color: var(--dark);
}

.btn--dark:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.btn--light {
  background: var(--ivory);
  color: var(--dark);
  border-color: var(--ivory);
}

.btn--light:hover {
  background: var(--gold-pale);
}

.btn--outline-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 239, 224, 0.55);
}

.btn--outline-light:hover {
  background: rgba(245, 239, 224, 0.12);
}

.btn--gold {
  background: var(--gold);
  color: var(--ivory);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--ivory);
}

/* ── NAVIGATION ── */
/* ── NAVIGATION CORRIGÉE (TAILLE AGRANDIE) ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  height: 85px;
  background: #FFFFFF;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  gap: 1.5rem;
}

.nav.scrolled {
  background: #FFFFFF;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav__logo a {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 70px !important;
  width: auto !important;
  max-height: none !important;
  object-fit: contain;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__links li {
  display: flex;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1208;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color var(--transition);
  line-height: 1;
  display: inline-block;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold-light);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__ctas {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-shrink: 0;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  transition: all var(--transition);
  white-space: nowrap;
  border-radius: 30px;
  border: 1px solid rgba(26, 18, 8, 0.2);
  background: transparent;
  color: #1A1208;
  line-height: 1;
  display: inline-block;
}

.nav__cta:first-child {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.nav__cta:first-child:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.nav__cta:last-child {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.nav__cta:last-child:hover {
  background: var(--gold);
  color: #FFFFFF;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: #1A1208;
}

/* Version tablette / petit écran (1000px - 1300px) */
@media (max-width: 1299px) and (min-width: 901px) {
  .nav {
    padding: 0 2vw;
    gap: 1rem;
  }

  .nav__logo-img {
    height: 60px;
  }

  .nav__links {
    gap: 1rem;
  }

  .nav__links a {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .nav__cta {
    font-size: 0.55rem;
    padding: 0.45rem 1rem;
  }
}

/* Version mobile (900px et moins) */
@media (max-width: 900px) {

  .nav__links,
  .nav__ctas {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 2rem 6vw 2.5rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(245, 239, 224, 0.1);
    z-index: 999;
  }

  .nav__links.open li {
    width: 100%;
  }

  .nav__links.open a {
    color: var(--ivory);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    white-space: normal;
    display: block;
    width: 100%;
  }

  .nav__links.open~.nav__ctas {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(85px + 320px);
    left: 6vw;
    right: 6vw;
    background: transparent;
    gap: 0.8rem;
    z-index: 1000;
  }

  .nav__ctas .nav__cta {
    display: block;
    text-align: center;
    background: var(--gold);
    border-color: var(--gold);
    color: #FFFFFF;
    padding: 0.7rem 1rem;
    font-size: 0.6rem;
  }

  .nav__ctas .nav__cta:last-child {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
  }

  .nav__ctas .nav__cta:last-child:hover {
    background: var(--gold);
    border-color: var(--gold);
  }
}

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 0 6vw 5rem;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 18, 8, 0.88) 0%, rgba(26, 18, 8, 0.3) 55%, rgba(26, 18, 8, 0.1) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__content .label {
  color: var(--gold-light);
}

.page-hero__content h1 {
  color: var(--ivory);
}

/* ── DIVIDER ── */
.divider {
  width: 55px;
  height: 1px;
  background: var(--gold);
  margin: 1.8rem 0;
}

.divider--center {
  margin: 1.8rem auto;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--dark);
  padding: 7rem 6vw;
  text-align: center;
}

.cta-band__inner .script {
  color: var(--gold-light);
  display: block;
  margin-bottom: 2.5rem;
}

.cta-band__actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark2);
  color: var(--ivory);
  padding: 5rem 6vw 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 224, 0.1);
}

.footer__logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

.footer__tagline {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-top: 0.4rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.55);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--gold-light);
}

.footer__contact p {
  font-size: 0.8rem;
  color: rgba(245, 239, 224, 0.65);
  margin-bottom: 0.4rem;
}

.footer__contact a:hover {
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 239, 224, 0.2);
  color: rgba(245, 239, 224, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory);
}

.footer__bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.3rem 0.75rem 1rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 2rem 6vw 3rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(245, 239, 224, 0.1);
    z-index: 999;
  }

  /* Afficher les deux boutons dans le menu mobile */
  .nav__ctas {
    display: none;
  }

  .nav__links.open~.nav__ctas {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-h) + 280px);
    left: 6vw;
    right: 6vw;
    background: transparent;
    gap: 0.8rem;
    z-index: 1000;
  }

  .nav__ctas .nav__cta {
    display: block;
    text-align: center;
    background: var(--gold);
    border-color: var(--gold);
    color: #FFFFFF;
    padding: 0.7rem 1rem;
  }

  .nav__ctas .nav__cta:first-child {
    background: var(--gold);
  }

  .nav__ctas .nav__cta:last-child {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
  }

  .nav__ctas .nav__cta:last-child:hover {
    background: var(--gold);
    border-color: var(--gold);
  }

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

/* GALERIE 4 IMAGES */
.galerie {
  padding: 8rem 6vw;
  background: var(--ivory-mid);
}

.galerie__header {
  text-align: center;
  margin-bottom: 4rem;
}

.galerie__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.galerie__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.galerie__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.galerie__item:hover img {
  transform: scale(1.08);
  filter: brightness(0.75);
}

.galerie__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 18, 8, 0.9), transparent);
  padding: 1.5rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.galerie__item:hover .galerie__overlay {
  transform: translateY(0);
}

.galerie__overlay span {
  color: var(--ivory);
  font-family: var(--font-script);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Responsive galerie */
@media (max-width: 900px) {
  .galerie__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

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