/* ═══════════════════════════════════════════════════════════════
   ADULTEA — Feuille de style principale
   Médoc, France — Hébergement touristique adult only
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --color-primary:    #2C4A35;
  --color-secondary:  #6B8F71;
  --color-sand:       #DDD0B8;
  --color-cream:      #F4EFE6;
  --color-earth:      #7A6650;
  --color-text:       #1A2420;
  --color-white-soft: #FDFAF5;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }
ul  { list-style: none; }

/* ─── TYPOGRAPHY SCALE ──────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 300;
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: 0.05em;
}

h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* ─── LAYOUT HELPERS ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ─── FADE-IN (IntersectionObserver) ────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white-soft);
  padding: 16px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-primary:hover { background: #1A3324; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--color-white-soft);
  padding: 14px 38px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-white-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-ghost:hover { background: rgba(253, 250, 245, 0.1); }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 80px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: var(--color-cream);
  box-shadow: 0 1px 0 rgba(26, 36, 32, 0.08);
}

.navbar-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.4em;
  color: var(--color-white-soft);
  transition: color 0.4s ease;
}
.navbar.scrolled .navbar-logo { color: var(--color-text); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 48px;
}
.navbar-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white-soft);
  transition: color 0.3s ease;
}
.navbar.scrolled .navbar-links a { color: var(--color-text); }
.navbar-links a:hover { color: var(--color-secondary); }

.navbar-cta {
  padding: 12px 28px;
  font-size: 12px;
}
.navbar.scrolled .navbar-cta {
  background: var(--color-primary);
  color: var(--color-white-soft);
  border-color: var(--color-primary);
}
.navbar.scrolled .navbar-cta:hover { background: #1A3324; border-color: #1A3324; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white-soft);
  transition: background 0.4s ease;
}
.navbar.scrolled .hamburger span { background: var(--color-text); }

/* ─── MOBILE MENU ───────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  color: var(--color-text);
  cursor: pointer;
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-text);
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--color-primary); }

.mobile-menu .btn-primary {
  margin-top: 16px;
  font-size: 13px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(28, 44, 32, 0.45), rgba(28, 44, 32, 0.45));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}
.hero-content h1 {
  color: var(--color-white-soft);
  font-style: italic;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-white-soft);
  margin-bottom: 40px;
}

/* ─── 2. MANIFESTO ──────────────────────────────────────────── */
.manifesto {
  padding: 120px 80px;
  background: var(--color-cream);
  text-align: center;
}

.manifesto blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.3;
  color: var(--color-text);
  max-width: 820px;
  margin: 0 auto 48px;
  letter-spacing: 0.02em;
}

.manifesto-pillars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.manifesto-pillars span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.manifesto-pillars .dot { color: var(--color-sand); }

/* ─── 3. EXPERIENCE ─────────────────────────────────────────── */
.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.experience-image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-text {
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px;
}
.experience-text h2 {
  color: var(--color-white-soft);
  margin-bottom: 32px;
}
.experience-text p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(253, 250, 245, 0.78);
  max-width: 440px;
  margin-bottom: 40px;
}

/* ─── 4. ACTIVITÉS ──────────────────────────────────────────── */
.activites {
  padding: 120px 80px;
  background: rgba(221, 208, 184, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { color: var(--color-text); }
.section-eyebrow {
  display: block;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.activity-card {
  background: var(--color-cream);
  border: 1px solid var(--color-sand);
  border-radius: 4px;
  padding: 32px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.activity-card:hover {
  background: var(--color-primary);
  border-color: transparent;
}

.card-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 32px;
  font-weight: 300;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 24px;
  transition: color 0.3s ease;
  font-variation-settings: 'FILL' 0, 'wght' 300;
}
.activity-card:hover .card-icon { color: var(--color-white-soft); }

.activity-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.activity-card:hover h3 { color: var(--color-white-soft); }

.activity-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-secondary);
  transition: color 0.3s ease;
}
.activity-card:hover p { color: rgba(253, 250, 245, 0.82); }

/* ─── 5. LE LIEU ────────────────────────────────────────────── */
.lieu {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lieu-bg {
  position: absolute;
  inset: 0;
}
.lieu-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lieu-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(28, 44, 32, 0.45), rgba(28, 44, 32, 0.45));
}

.lieu-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}
.lieu-content h2 {
  color: var(--color-white-soft);
  margin-bottom: 24px;
}
.lieu-content p {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: rgba(253, 250, 245, 0.8);
  max-width: 620px;
  margin: 0 auto;
}

/* ─── 6. LOGEMENTS ──────────────────────────────────────────── */
.logements {
  padding: 120px 80px;
  background: var(--color-cream);
}

.logements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.logement-card {
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
}
.logement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.logement-card:hover img { transform: scale(1.04); }

.logement-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 74, 53, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}
.logement-card:hover .logement-overlay { background: rgba(44, 74, 53, 0.38); }

.logement-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--color-white-soft);
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.logement-card:hover .logement-overlay span { opacity: 1; }

/* ─── 7. CTA ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--color-primary);
  padding: 120px 80px;
  text-align: center;
}
.cta-section h2 {
  color: var(--color-white-soft);
  font-style: italic;
  margin-bottom: 24px;
}
.cta-section p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(253, 250, 245, 0.7);
  max-width: 560px;
  margin: 0 auto 48px;
}

.btn-cta {
  display: inline-block;
  background: var(--color-white-soft);
  color: var(--color-primary);
  padding: 18px 56px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-cta:hover { background: var(--color-cream); }

/* ─── 8. RÉSERVATION (Lodgify widget) ───────────────────────── */
.reservation {
  padding: 120px 80px;
  background: var(--color-cream);
}

.reservation .section-header {
  margin-bottom: 56px;
}

.lodgify-widget-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-white-soft);
  border-radius: 4px;
  border: 1px solid var(--color-sand);
  padding: 48px;
  min-height: 200px;
}

/* ─── 9. FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--color-text);
  padding: 96px 80px;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.42em;
  color: var(--color-white-soft);
  display: block;
  margin-bottom: 48px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.45);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--color-white-soft); }

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.22);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container        { padding: 0 48px; }
  .navbar           { padding: 22px 48px; }
  .manifesto        { padding: 96px 48px; }
  .experience-text  { padding: 72px 56px; }
  .activites        { padding: 96px 48px; }
  .logements        { padding: 96px 48px; }
  .cta-section      { padding: 96px 48px; }
  .reservation      { padding: 96px 48px; }
  .footer           { padding: 80px 48px; }
}

@media (max-width: 768px) {
  .navbar          { padding: 20px 24px; }
  .navbar-links    { display: none; }
  .hamburger       { display: flex; }

  .manifesto       { padding: 64px 24px; }

  .experience               { grid-template-columns: 1fr; }
  .experience-image         { min-height: 320px; }
  .experience-text          { padding: 56px 24px; }
  .experience-text p        { max-width: 100%; }

  .activites       { padding: 64px 24px; }
  .cards-grid      { gap: 16px; }

  .lieu            { height: 480px; }

  .logements         { padding: 64px 24px; }
  .logements-grid    { grid-template-columns: 1fr; gap: 16px; }
  .logement-card     { height: 320px; }

  .cta-section     { padding: 64px 24px; }

  .reservation     { padding: 64px 24px; }
  .lodgify-widget-wrapper { padding: 24px; }

  .footer          { padding: 64px 24px; }
  .footer-links    { gap: 32px; }
}

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