/* ===================================================================
   MAISON POLITINO — B2B Landing Page
   Warm artisanal aesthetic: deep amber, terracotta, off-white cream
   Mobile-first, bilingual (FR/IT toggle via JS)
   =================================================================== */

:root {
  --bg:           #13100d;
  --bg-warm:      #1a1510;
  --bg-section:   #0f0c09;
  --fg:           #ede5d8;
  --fg-muted:     #a0917e;
  --fg-dim:       #6b5e4e;
  --accent:       #d4924a;     /* warm amber */
  --accent-deep:  #a86b2e;
  --gold:         #e2b96a;
  --terracotta:   #c4614a;
  --cream:        #f5eddf;
  --whatsapp:     #25D366;
  --whatsapp-dk:  #128C7E;
  --divider:      rgba(212, 146, 74, 0.15);
  --radius:       4px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   LANGUAGE NAV
   =================================================================== */
.lang-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(19, 16, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}

.lang-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-nav {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.lang-btn.active {
  color: var(--accent);
  background: rgba(212, 146, 74, 0.1);
}

.lang-sep {
  color: var(--fg-dim);
  font-size: 0.75rem;
}

/* ===================================================================
   SHARED SECTION PATTERNS
   =================================================================== */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ===================================================================
   WHATSAPP BUTTON
   =================================================================== */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--whatsapp);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
  background: var(--whatsapp-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn-lg {
  font-size: 1.15rem;
  padding: 1.15rem 2.5rem;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 60px; /* nav height */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/company_125836/images/c6348c7f-23fe-4e98-a684-262bd12fd1d1.jpeg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.18) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,16,13,0.85) 0%, rgba(26,21,16,0.7) 60%, rgba(19,16,13,0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* Facecam video */
.hero-video-wrap {
  margin-bottom: 2.5rem;
  max-width: 480px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--divider);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
  background: #000;
  aspect-ratio: 16/9;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===================================================================
   PAIN POINTS
   =================================================================== */
.pain {
  background: var(--bg-warm);
  padding: 7rem 2rem;
  border-top: 1px solid var(--divider);
}

.pain-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--divider);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  gap: 1rem;
  transition: border-color 0.25s, background 0.25s;
}

.pain-card:hover {
  border-color: rgba(212, 146, 74, 0.4);
  background: rgba(212, 146, 74, 0.05);
}

.pain-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
}

.pain-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pain-card-body {
  flex: 1;
}

.pain-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.pain-card-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ===================================================================
   SOLUTION
   =================================================================== */
.solution {
  padding: 7rem 2rem;
  background: var(--bg-section);
  border-top: 1px solid var(--divider);
}

.solution-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Product photo */
.product-photo-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.product-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) saturate(1.1);
}

.product-photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
}

/* Steps */
.steps {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}

.step-body {}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* Specs bar */
.specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0;
  background: rgba(212, 146, 74, 0.06);
  border: 1px solid var(--divider);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
}

.spec-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.1;
}

.spec-key {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 0.2rem;
  text-align: center;
}

.spec-divider {
  width: 1px;
  background: var(--divider);
  align-self: stretch;
}

.flavors-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.flavors-note strong {
  color: var(--accent);
  font-weight: 500;
}

/* ===================================================================
   VIDEOS SECTION
   =================================================================== */
.videos-section {
  padding: 7rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid var(--divider);
}

.videos-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.video-block {
  margin-bottom: 4rem;
}

.video-label-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.video-duration {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--divider);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}

.video-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--divider);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

.video-embed-wrap-small {
  max-width: 480px;
}

.video-embed {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.video-block-small {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.video-caption {
  margin-top: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
}

/* ===================================================================
   CTA SECTION
   =================================================================== */
.cta-section {
  padding: 8rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--divider);
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--divider);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--whatsapp);
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-whatsapp:hover {
  opacity: 0.8;
}

/* ===================================================================
   RESPONSIVE — TABLET
   =================================================================== */
@media (max-width: 1024px) {
  .solution-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-photo-wrap {
    max-width: 600px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain-card-wide {
    grid-column: 1 / -1;
  }
}

/* ===================================================================
   RESPONSIVE — MOBILE
   =================================================================== */
@media (max-width: 768px) {
  .lang-nav-inner {
    padding: 0.75rem 1.25rem;
  }

  .hero-inner {
    padding: 3rem 1.25rem 4rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-video-wrap {
    max-width: 100%;
  }

  .pain {
    padding: 5rem 1.25rem;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-card-wide {
    grid-column: 1;
  }

  .solution {
    padding: 5rem 1.25rem;
  }

  .steps {
    gap: 1.5rem;
  }

  .specs-bar {
    gap: 1rem 0;
    padding: 1.25rem;
  }

  .spec-divider {
    display: none;
  }

  .spec {
    min-width: 50%;
    flex: unset;
  }

  .videos-section {
    padding: 5rem 1.25rem;
  }

  .video-embed-wrap-small {
    max-width: 100%;
  }

  .cta-section {
    padding: 5rem 1.25rem;
  }

  .whatsapp-btn-lg {
    font-size: 1rem;
    padding: 1rem 1.75rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.9rem;
  }

  .pain-card {
    padding: 1.5rem 1.25rem;
  }
}
