/* ========================================================================
   ALMA BRASILEIRA — Brand Stylesheet
   Palette pulled from packaging: deep bottle green + gold + warm cream
   ======================================================================== */

:root {
  --green-950: #0e2419;
  --green-900: #14301f;
  --green-800: #1c3f29;
  --green-700: #285435;
  --gold-500: #c9a24d;
  --gold-400: #d9b96b;
  --gold-300: #e8cd8f;
  --cream-100: #faf6ec;
  --cream-200: #f3ecd9;
  --cream-300: #e9dfc4;
  --ink-900: #1b1b17;
  --ink-600: #4a473e;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', 'Segoe UI', Tahoma, sans-serif;

  --radius: 4px;
  --shadow-soft: 0 12px 30px rgba(14, 36, 25, 0.12);
  --shadow-hard: 0 20px 45px rgba(14, 36, 25, 0.22);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; color: var(--ink-600); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

/* ---------- Language toggling ---------- */
body:not(.lang-pt) .pt { display: none; }
body.lang-pt .en { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--green-950);
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--cream-100);
  color: var(--cream-100);
  background: transparent;
}
.btn-outline:hover { background: rgba(250, 246, 236, 0.1); }

.btn-outline-dark {
  border-color: var(--green-900);
  color: var(--green-900);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--green-900); color: var(--cream-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-100);
  border-bottom: 1px solid var(--cream-300);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: nowrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-950);
}

/* Logo emblem — white badge showing the emblem cropped from the square lockup */
.brand-emblem {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #fff;
  background-image: url(../images/logo-light.jpg);
  background-repeat: no-repeat;
  background-size: 76px 76px;
  background-position: center -2px;
  border: 1px solid var(--gold-500);
  box-shadow: 0 1px 4px rgba(14, 36, 25, 0.18);
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.main-nav { display: flex; align-items: center; gap: 36px; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-900);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green-900);
  border-bottom-color: var(--gold-500);
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--green-900);
  border-radius: 20px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 7px 14px;
  cursor: pointer;
  color: var(--green-900);
  font-family: var(--font-body);
  font-weight: 700;
}

.lang-toggle button.is-active {
  background: var(--green-900);
  color: var(--cream-100);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-950);
  margin: 5px 0;
}

/* ---------- Cinematic hero (homepage artwork with live hotspots) ---------- */
.hero-cinema {
  position: relative;
  background: var(--green-950);
  line-height: 0;
  padding: 0;
}

.hero-cinema-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Real navigation bar overlaid on the artwork's painted nav strip */
.cine-nav {
  position: absolute;
  top: 0;
  left: 26%;
  right: 0;
  height: 8.8%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8vw, 30px);
  padding: 0 2%;
  background: rgba(10, 24, 16, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-left-radius: 12px;
  line-height: 1.2;
}

.cine-nav a {
  color: #f0e8d2;
  font-size: clamp(9px, 0.95vw, 13.5px);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cine-nav a:hover {
  color: var(--gold-400);
  border-bottom-color: var(--gold-500);
}

.lang-toggle--hero {
  border: 1px solid rgba(217, 185, 107, 0.7);
  background: rgba(14, 36, 25, 0.6);
  flex-shrink: 0;
}

.lang-toggle--hero button { color: var(--gold-300); }
.lang-toggle--hero button.is-active {
  background: var(--gold-500);
  color: var(--green-950);
}

/* Real gold CTA button covering the artwork's painted one */
.cine-cta {
  position: absolute;
  left: 5%;
  top: 76%;
  width: 18%;
  height: 5.6%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #e6c87c, #b8892f);
  color: #241a06;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(7px, 0.78vw, 11.5px);
  border: 1px solid rgba(244, 226, 170, 0.85);
  border-radius: 50px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 244, 210, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.cine-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
}

/* Mobile-only CTA under the hero artwork */
.hero-mobile-cta {
  display: none;
  text-align: center;
  padding: 20px 24px 28px;
  background: var(--green-950);
  line-height: 1.5;
}

/* On desktop the overlay nav replaces the site header */
@media (min-width: 961px) {
  body.home-cinema .site-header { display: none; }
}

@media (max-width: 960px) {
  .cine-nav { display: none; }
  .cine-cta { display: none; }
  .hero-mobile-cta { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top right, var(--green-800), var(--green-950) 65%);
  color: var(--cream-100);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 77, 0.15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201, 162, 77, 0.12), transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: 560px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: var(--cream-100);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
}

.hero p.lead {
  font-size: 17px;
  color: var(--cream-300);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--green-700), var(--green-950));
  border: 1px solid rgba(217, 185, 107, 0.35);
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  overflow: hidden;
}

.product-frame img { width: 100%; height: 100%; object-fit: contain; }

.product-frame .placeholder {
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* Real product photo card (used in hero + product detail) */
.photo-card {
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(217, 185, 107, 0.35);
  box-shadow: var(--shadow-hard);
  background: var(--green-950);
}
.photo-card img { width: 100%; height: auto; display: block; }

/* Full logo shown as a branded panel on light sections */
.logo-panel {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--cream-300);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.logo-panel img { width: auto; max-width: 80%; max-height: 100%; }

/* Wide product-line showcase banner */
.line-banner {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cream-300);
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
}
.line-banner img { width: 100%; height: auto; display: block; }

.trust-strip {
  background: var(--green-950);
  border-top: 1px solid rgba(217, 185, 107, 0.2);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream-200);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }

.section-cream { background: var(--cream-100); }
.section-tint { background: var(--cream-200); }
.section-dark {
  background: var(--green-950);
  color: var(--cream-200);
}
.section-dark h2, .section-dark h3 { color: var(--cream-100); }
.section-dark p { color: var(--cream-300); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(28px, 4vw, 40px); }

/* ---------- Story split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-visual {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: linear-gradient(150deg, var(--cream-300), var(--cream-200));
  border: 1px solid var(--cream-300);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split-visual .placeholder { color: var(--ink-600); font-size: 13px; letter-spacing: 0.05em; }

/* ---------- Cards ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.card-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, var(--green-800), var(--green-950));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.card-media .placeholder {
  color: var(--gold-300);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 20px;
}

.badge-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}

.card-body { padding: 22px; }
.card-body h3 { font-size: 17px; margin-bottom: 6px; }
.card-body p { font-size: 14px; margin-bottom: 0; }
.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
  display: block;
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: flex-start;
}

.product-lead {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--green-800);
  line-height: 1.5;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.spec-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-600);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-300);
}
.spec-list li strong { color: var(--ink-900); min-width: 160px; }

/* ---------- Authenticity / verify ---------- */
.verify-box {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.verify-form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.verify-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--cream-100);
}
.verify-form input:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }

.verify-result {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.verify-result.show { display: block; }
.verify-result.info { background: var(--cream-200); color: var(--ink-900); border: 1px solid var(--cream-300); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 12px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-950);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Results / Before & After ---------- */
.ig-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.ig-cta-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--green-900);
  transition: transform 0.25s ease;
}

.ig-cta-badge:hover { transform: translateY(-3px); }

.ig-cta-media {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--cream-300);
  display: block;
}

.ig-cta-badge .icon-lg {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--green-800), var(--green-950));
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--green-800), var(--green-950));
  overflow: hidden;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-pair--video .ba-img { aspect-ratio: 9 / 16; }

.ba-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--green-950);
}

.ba-img + .ba-img { border-left: 2px solid var(--gold-500); }

.ba-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(14, 36, 25, 0.85);
  color: var(--cream-100);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}

.ba-badge--after {
  background: var(--gold-500);
  color: var(--green-950);
}

.ba-placeholder {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold-300);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 12px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--cream-300);
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 16px;
}
a.contact-channel { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
a.contact-channel:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.contact-channel .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-950);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-channel h4 { margin: 0 0 2px; font-size: 15px; font-family: var(--font-body); font-weight: 700; }
.contact-channel p { margin: 0; font-size: 13px; }

.contact-form { display: grid; gap: 14px; }
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--cream-100);
  width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--cream-300);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(217, 185, 107, 0.2);
}

.footer-brand .brand { color: var(--cream-100); }
.footer-brand p { max-width: 320px; margin-top: 14px; font-size: 13px; }

.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--cream-300); }
.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--cream-300);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--green-950);
  color: var(--cream-100);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--cream-100); font-size: clamp(30px, 4vw, 44px); }
.page-hero p { color: var(--cream-300); max-width: 560px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { position: static; }
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .brand { font-size: 15px; white-space: nowrap; }
  .brand small { display: none; }

  .main-nav.is-open ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-100);
    border-top: 1px solid var(--cream-300);
    border-bottom: 1px solid var(--cream-300);
    padding: 8px 24px 16px;
  }
  .main-nav.is-open ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--cream-300);
  }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .split, .product-detail, .contact-grid, .ig-cta-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
