:root {
  --bg: #f3f1e8;
  --bg-soft: #fcf8f3;
  --text: #5b4636;
  --text-soft: #7a6552;
  --navy: #1f3a5f;
  --line: #eadfce;
  --line-dark: rgba(255,255,255,0.75);
  --card: #fffdf9;
  --shadow: 0 20px 60px rgba(91, 70, 54, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand-logo { height: 48px; width: auto; object-fit: contain; }
.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.desktop-nav a:hover { opacity: 0.7; }

.sabores-header {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-tag {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #8ea0bf;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #6b503d;
}

.sabores-nav {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.sabores-nav button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #dcd3c3;
  background: #f6f2eb;
  color: #2c436c;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sabores-nav button:hover {
  background: #2c436c;
  color: #fff;
  transform: translateY(-2px);
}

.sabores-carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
}

.sabores-carousel {
  display: flex;
  gap: 32px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.sabor-card {
  flex: 0 0 calc((100% - 64px) / 3);
  background: #fffdf9;
  border: 1px solid #e6dccd;
  border-radius: 34px;
  padding: 32px;
  box-sizing: border-box;
}

.sabor-card-image {
  height: 225px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #2c436c;
}

.sabor-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sabor-card h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.1;
  color: #6b503d;
}

.sabor-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #7a6552;
}

@media (max-width: 1099px) {
  .sabor-card {
    flex: 0 0 calc((100% - 32px) / 2);
  }
}

@media (max-width: 767px) {
  .sabores-section {
    padding: 56px 0;
  }

  .sabores-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sabor-card {
    flex: 0 0 100%;
    padding: 24px;
    border-radius: 28px;
  }

  .sabor-card-image {
    height: 210px;
    border-radius: 22px;
  }

  .sabor-card h3 {
    font-size: 1.7rem;
  }

  .sabor-card p {
    font-size: 1rem;
    line-height: 1.65;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  transition: 0.2s ease;
}
.button-primary {
  background: var(--text);
  color: white;
}
.button-primary:hover { opacity: 0.9; }
.button-outline,
.button-secondary {
  border: 1px solid #cbb39a;
  background: transparent;
}
.button-outline:hover,
.button-secondary:hover { background: #efe3d3; }

.hero,
.easter-grid,
.intro-grid,
.split-showcase,
.cta-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero,
.easter-grid,
.intro-grid,
.cta-grid { grid-template-columns: 1.02fr 0.98fr; }
.split-showcase { grid-template-columns: 0.96fr 1.04fr; }
.hero { padding: 72px 0 96px; }
.hero h1,
.brand-intro h2,
.section-head h2,
.info-card h2,
.cta-grid h2,
.section-title-light,
.card-title-blue,
.card-title-light,
.easter-card h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero h1 { font-size: clamp(3.5rem, 6vw, 5.8rem); max-width: 620px; }
.hero-text,
.intro-text,
.section-note,
.section-copy,
.hours-content,
.ingredients-box p,
.instagram-inner p,
.instagram-inner a,
.footer-inner p,
.easter-card li,
.easter-card ul {
  font-size: 1.05rem;
  line-height: 1.8;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 6px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: #a2876b;
  margin: 0;
}
.eyebrow-light { color: rgba(255,255,255,0.82); }
.eyebrow-blue { color: var(--navy); }

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background: #fbf7f1;
  padding: 20px;
  box-shadow: var(--shadow);
}
.hero-card-brand {
  width: min(430px, 100%);
  z-index: 2;
}
.hero-card-brand img {
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-card.hero-card-brand {
   position: relative;
  overflow: hidden;
  border-radius: 1.5rem;

  /* controla altura elegante */
  aspect-ratio: 4 / 5; /* pode testar 3/4 ou 1/1 também */;
  
}

.hero-card.hero-card-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
  border-radius: 1.5rem;
}

.hero-card.hero-card-brand video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.floating-pattern-card {
  position: absolute;
  width: 320px;
  height: 280px;
  right: -65px;
  bottom: 20px;
  border-radius: 1.75rem;
  background: var(--navy) url('assets/pattern-raizes.jpeg') center/cover no-repeat;
  box-shadow: 0 14px 40px rgba(31, 58, 95, 0.22);
  border: 10px solid var(--bg);
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-grid { padding: 64px 0; }
.brand-intro h2,
.section-head h2,
.cta-grid h2,
.section-title-light,
.card-title-blue,
.card-title-light,
.easter-grid h2,
.easter-card h3 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.intro-text,
.section-note,
.section-copy { color: var(--text-soft); }
.intro-text p { margin: 0 0 18px; }

.section-light { padding: 88px 0; position: relative; overflow: hidden; }
.section-navy {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-pattern-top::before,
.pattern-band-top::before,
.pattern-band-bottom::after,
.pattern-soft-right::after,
.pattern-soft-left::before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.section-pattern-top::before {
  inset: 0;
  background-image: url('assets/pattern-raizes.jpeg');
  background-size: 720px auto;
  background-repeat: repeat;
  opacity: 0.07;
}
.pattern-band-top::before {
  left: 0;
  right: 0;
  top: 0;
  height: 76px;
  background: var(--navy) url('assets/pattern-raizes.jpeg') center/cover repeat;
  opacity: 0.12;
}
.pattern-band-bottom::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background: url('assets/pattern-raizes.jpeg') center/contain repeat;
  opacity: 0.08;
}
.pattern-soft-right::after,
.pattern-soft-left::before {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  opacity: 0.08;
  background: var(--navy) url('assets/pattern-raizes.jpeg') center/260px auto repeat;
}
.pattern-soft-right::after { right: -80px; top: 30px; }
.pattern-soft-left::before { left: -80px; top: 60px; }

.easter-grid { position: relative; z-index: 1; }
.easter-card-wrap {
  position: relative;
  min-height: 380px;
  width: min(520px, 100%);
  margin-left: auto;
}

/* pattern preso ao conjunto, mas atrás */
.easter-pattern {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(6%, -50%);
  width: 38%;
  height: 110%;
  border-radius: 1.8rem;
  background: var(--navy) url('assets/pattern-raizes.jpeg') center/cover no-repeat;
  z-index: 0;
}

.easter-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(430px, 100%);
  height: 480px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 5px;
  box-shadow: 0 18px 50px rgba(91, 70, 54, 0.12);
  z-index: 1;
}

.easter-photo {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #f6efe6;
}

.easter-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.easter-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.split-showcase,
.cta-grid,
.section-head,
.easter-grid,
.intro-grid,
.hero {
  position: relative;
  z-index: 1;
}
.showcase-copy.light-copy { color: white; }
.showcase-copy .section-title-light { max-width: 760px; margin: 18px 0 34px; }
.showcase-image {
  display: flex;
  justify-content: center;
}
.showcase-image img {
  width: min(420px, 100%);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}
.frame-light img {
  border: 10px solid rgba(255,255,255,0.08);
}
.frame-blue img {
  border: 10px solid rgba(31,58,95,0.08);
}
.ingredients-box {
  width: min(480px, 100%);
  border: 1px solid var(--line-dark);
  padding: 28px 34px;
}
.ingredients-box p { margin: 12px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.flavor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(91, 70, 54, 0.05);
}
.flavor-image {
  height: 210px;
  overflow: hidden;
  border-radius: 1.5rem;
  margin-bottom: 20px;
}
.flavor-pattern {
  background: linear-gradient(rgba(31,58,95,0.84), rgba(31,58,95,0.84)), url('assets/pattern-raizes.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flavor-placeholder {
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  letter-spacing: 0.03em;
}
.flavor-card h3 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}
.flavor-card p { margin: 0; color: var(--text-soft); line-height: 1.8; }

.section-hours,
.section-sustainable {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.section-hours { background: linear-gradient(180deg, #f7f3ea 0%, var(--bg) 100%); }
.section-sustainable {
  background: linear-gradient(180deg, var(--bg) 0%, #f6f2e8 50%, var(--navy) 50%, var(--navy) 100%);
}
.align-center { align-items: center; }
.hours-content {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  color: var(--navy);
}
.left-hours { text-align: left; }
.hours-content p { margin: 0; }
.card-title-blue { color: var(--navy); margin-top: 10px; }
.card-title-light { margin-top: 10px; }
.card-copy-light { margin-top: 18px; color: rgba(255,255,255,0.88); max-width: 520px; }

.cta-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 15px 50px rgba(91, 70, 54, 0.06);
}
.cta-box-pattern {
  position: relative;
  overflow: hidden;
}
.cta-box-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/pattern-raizes.jpeg') center/cover repeat;
  opacity: 0.06;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { margin: 0; color: var(--text-soft); }

.instagram-strip {
  border-top: 1px solid var(--line);
  padding: 54px 0;
}
.instagram-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.instagram-inner p { margin: 0; color: var(--text-soft); }
.instagram-inner a {
  font-weight: 600;
  font-size: 1.3rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  background: var(--navy);
  background-image: url('assets/pattern-raizes.jpeg');
  background-repeat: repeat;
  background-size: 860px auto;
  color: white;
}
.footer-overlay {
  background: rgba(31, 58, 95, 0.88);
}
.footer-inner {
  padding: 80px 0;
  text-align: center;
}
.footer-logo {
  margin: 0 auto 20px;
  width: min(260px, 70vw);
}
.footer-inner p {
  margin: 0;
  color: rgba(255,255,255,0.84);
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero,
  .intro-grid,
  .cta-grid,
  .section-head,
  .cards-grid,
  .split-showcase,
  .easter-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: grid;
    align-items: start;
  }
  .hero { padding-top: 44px; }
  .hero-visual { min-height: auto; }
  .floating-pattern-card {
    width: 200px;
    height: 140px;
    right: 0;
    bottom: 0px;
  }
}

@media (max-width: 720px) {
  .container { width: min(1120px, calc(100% - 32px)); }
  .header-inner {
    min-height: 78px;
    gap: 14px;
  }
  .brand-logo { height: 40px; }
  .button { padding: 12px 18px; font-size: 0.95rem; }
  .button-outline { display: none; }
  .hero-card-brand img { height: 420px; }
  .section-light,
  .section-hours,
  .section-sustainable,
  .footer-inner,
  .intro-grid { padding-top: 64px; padding-bottom: 64px; }
  .ingredients-box,
  .cta-box,
  .flavor-card,
  .easter-card { padding: 5px; }
  .instagram-inner a { font-size: 1.1rem; }
  .left-hours { text-align: center; }
  .showcase-image img,
  .hero-card-brand { width: 100%; }
  .easter-card-wrap { min-height: 380px; }
  .easter-pattern { inset: 50 0 2px 0; }
  .easter-card { width: calc(100% - 80px); }
}
