/* ═══ O Sole Meo — Main Stylesheet ═══ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --black: #0C0B09;
  --dark: #1A1815;
  --dark-warm: #211F1B;
  --wood: #C4A265;
  --wood-light: #D4B87A;
  --wood-pale: #E8D5A8;
  --gold: #C9A84C;
  --gold-glow: rgba(201,168,76,0.12);
  --cream: #FAF5EB;
  --cream-mid: #EDE4D3;
  --warm-gray: #9B917F;
  --cool-gray: #6B6560;
  --white: #FFFDF8;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--black); color: var(--cream); overflow-x: hidden; line-height: 1.7; width: 100%; max-width: 100vw; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; transition: color 0.3s; }

/* ─── Navigation ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.4s; padding: 1rem 1.25rem; }
.nav.scrolled { background: rgba(12,11,9,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201,168,76,0.12); }
.nav-inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { color: var(--gold); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 1px; }
.nav-links { display: none; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { color: var(--cream-mid); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; border: 1px solid var(--gold); color: var(--gold); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-body); transition: all 0.3s; }
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-toggle { display: flex; background: none; border: none; color: var(--gold); cursor: pointer; padding: 0.5rem; }
.nav-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(12,11,9,0.98); backdrop-filter: blur(16px); padding: 2rem; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.nav-mobile a { color: var(--cream-mid); font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase; }
@media (min-width: 1024px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

/* ─── Hero ─── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: brightness(0.7); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,11,9,0.55) 0%, rgba(12,11,9,0.25) 40%, rgba(12,11,9,0.88) 100%); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(196,162,101,0.07) 0%, transparent 55%); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1.5rem; max-width: 56rem; }
.hero-logo { width: 14rem; height: 14rem; object-fit: contain; margin: 0 auto 1.5rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 400; color: var(--cream); letter-spacing: 2px; line-height: 1.2; margin-bottom: 0.75rem; }
.hero h1 span { color: var(--gold); }
.hero-sub { max-width: 32rem; margin: 0 auto 2.25rem; font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--warm-gray); line-height: 1.7; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; } }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; background: var(--gold); color: var(--black); font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.3s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--wood-light); color: var(--black); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.3s; background: transparent; cursor: pointer; }
.btn-outline:hover { background: rgba(201,168,76,0.1); }
.btn-dark { background: var(--dark); color: var(--gold); }
.btn-dark:hover { background: var(--gold); color: var(--black); }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--gold); opacity: 0.35; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ─── Sections ─── */
.section { padding: 5rem 1.25rem; }
.section-dark { background: var(--dark); color: var(--cream); }
.section-light { background: var(--cream); color: var(--black); }
.section-inner { max-width: 72rem; margin: 0 auto; }
.section-narrow { max-width: 60rem; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { font-size: 0.875rem; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 0.5rem; }
.tag-gold { color: var(--gold); }
.tag-wood { color: var(--wood); }
.section-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 400; }
@media (min-width: 768px) { .section { padding: 7rem 2rem; } }

/* ─── Ornament ─── */
.orn { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 1.25rem 0; }
.orn-line { display: block; width: 4rem; height: 1px; }
.orn-gold .orn-line:first-child { background: linear-gradient(90deg, transparent, var(--gold)); }
.orn-gold .orn-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.orn-gold .orn-star { color: var(--gold); }
.orn-wood .orn-line:first-child { background: linear-gradient(90deg, transparent, var(--wood)); }
.orn-wood .orn-line:last-child { background: linear-gradient(90deg, var(--wood), transparent); }
.orn-wood .orn-star { color: var(--wood); }

/* ─── Grid layouts ─── */
.grid-2 { display: grid; gap: 2.5rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.375rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; } }

/* ─── Cards (Carte section) ─── */
.card { cursor: pointer; }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 0.75rem; background: var(--cream-mid); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--black); margin-bottom: 0.125rem; }
.card p { font-size: 0.875rem; color: var(--cool-gray); line-height: 1.6; }

/* ─── Gallery ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.375rem; grid-auto-flow: dense; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid div { overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; cursor: pointer; }
.gallery-grid .square img { aspect-ratio: 1/1; }
.gallery-grid .tall img { aspect-ratio: 2/3; }
.gallery-grid img:hover { transform: scale(1.05); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; } }

/* ─── Lieu grid ─── */
.lieu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.lieu-grid .main { grid-column: span 2; }
.lieu-grid div { overflow: hidden; }
.lieu-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.7s; cursor: pointer; }
.lieu-grid .main img { aspect-ratio: 16/9; }
.lieu-grid img:hover { transform: scale(1.05); }
@media (min-width: 768px) { .lieu-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } .lieu-grid .main { grid-column: span 3; } }
@media (min-width: 1024px) { .lieu-grid .main { grid-column: span 2; } .lieu-grid { grid-template-columns: repeat(3, 1fr); } }
.lieu-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2.5rem; color: var(--warm-gray); font-size: 0.875rem; letter-spacing: 0.1em; }
.lieu-features span { color: var(--gold); }

/* ─── Antonio ─── */
.antonio-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .antonio-grid { grid-template-columns: 2fr 3fr; gap: 3.5rem; } }
.antonio-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-mid); }
.antonio-img img { width: 100%; height: 100%; object-fit: cover; }
.antonio-img .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,9,0.55) 0%, transparent 35%); }
.antonio-img .label { position: absolute; bottom: 1.25rem; left: 1.25rem; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.antonio-text h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 400; margin-bottom: 1.75rem; }
.antonio-text h2 span { color: var(--wood); }
.antonio-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; }
.antonio-text .story-dark { color: var(--dark); }
.antonio-text .story-gray { color: var(--cool-gray); }
.stars { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.stars svg { color: var(--gold); }
.stars p { font-size: 0.875rem; color: var(--cool-gray); }

/* ─── Contact ─── */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact-map { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-mid); min-height: 280px; max-width: 100%; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.info-item { display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 1.75rem; }
.info-item .icon { color: var(--wood); flex-shrink: 0; margin-top: 2px; }
.info-item h3 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wood); font-family: var(--font-body); margin-bottom: 0.25rem; }
.info-item p, .info-item a { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.6; color: var(--dark); }
.info-item a:hover { color: var(--wood); }
.info-item .sub { font-size: 0.875rem; color: var(--cool-gray); margin-top: 0.375rem; display: flex; align-items: center; gap: 0.375rem; }

/* ─── Video placeholder ─── */
.video-placeholder { position: relative; aspect-ratio: 9/16; max-height: 500px; overflow: hidden; background: var(--black); border: 1px solid rgba(201,168,76,0.15); border-radius: 4px; }
@media (min-width: 768px) { .video-placeholder { max-height: 600px; } }
.video-placeholder video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.video-placeholder .play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; z-index: 3; }
.play-btn { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,0.12); border: 2px solid var(--gold); color: var(--gold); cursor: pointer; transition: transform 0.3s; }
.play-btn:hover { transform: scale(1.1); }
.play p { font-size: 0.875rem; color: var(--warm-gray); letter-spacing: 0.1em; }

/* ─── Experience features ─── */
.exp-features { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.75rem; }
.exp-feat { display: flex; align-items: center; gap: 0.5rem; color: var(--gold); font-size: 0.875rem; letter-spacing: 0.1em; }

/* ─── Footer ─── */
.footer { padding: 2.5rem 1.25rem; background: var(--black); border-top: 1px solid rgba(201,168,76,0.08); }
.footer-inner { max-width: 72rem; margin: 0 auto; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-brand { text-align: center; }
.footer-brand .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold); letter-spacing: 1px; }
.footer-brand .sub { font-size: 0.75rem; color: var(--warm-gray); margin-top: 0.125rem; letter-spacing: 0.1em; }
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a { color: var(--warm-gray); padding: 0.5rem; transition: color 0.3s; }
.footer-social a:hover { color: var(--gold); }
.footer-bottom { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.04); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.15); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: rgba(255,255,255,0.2); font-size: 0.75rem; }
.footer-legal a:hover { color: var(--gold); }

/* ─── Language switcher ─── */
.lang-switch { display: flex; gap: 0.5rem; }
.lang-switch a { font-size: 0.75rem; color: var(--warm-gray); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.5rem; border-radius: 2px; transition: all 0.3s; }
.lang-switch a:hover, .lang-switch a.active { color: var(--gold); background: rgba(201,168,76,0.1); }

/* ─── Blog ─── */
.blog-card { padding: 2rem; background: var(--white); border: 1px solid var(--cream-mid); transition: all 0.3s; }
.blog-card:hover { border-color: var(--wood); transform: translateY(-2px); }
.blog-card .date { font-size: 0.8rem; color: var(--warm-gray); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--black); margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.95rem; color: var(--cool-gray); line-height: 1.7; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--wood); font-size: 0.875rem; margin-top: 1rem; letter-spacing: 0.1em; }

/* ─── Legal pages ─── */
.legal-body { background: var(--cream); color: var(--dark); min-height: 100vh; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--black); margin: 2.5rem 0 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--cream-mid); }
.legal-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--dark); margin: 1.8rem 0 0.5rem; }
.legal-content p { margin-bottom: 0.8rem; font-size: 1.05rem; line-height: 1.85; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--wood); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--gold); }
.legal-content strong { font-weight: 600; color: var(--black); }

/* ─── Reveal animations ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Sticky mobile CTA ─── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 0.75rem 1rem;
  background: rgba(12,11,9,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,168,76,0.15);
  width: 100%;
  max-width: 100vw;
}
.sticky-cta .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.8rem;
}
@media (max-width: 1023px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 4rem; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .nav { padding: 0.75rem 1rem; }
  .footer { padding-left: 1rem; padding-right: 1rem; }
}
@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}

/* ─── Logo transparent background ─── */
.hero-logo {
  background: transparent !important;
  mix-blend-mode: normal;
}

/* ─── Video embed (when replacing placeholder) ─── */
.video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}
.video-placeholder:has(.video-embed) .play { display: none; }
.video-placeholder:has(.video-embed) img { display: none; }

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
