/* ==========================================================================
   OLYPOP — Pipocas Gourmet | Stylesheet
   ========================================================================== */

:root {
  --brown: #3D2620;
  --brown-soft: #6B4A3E;
  --pink: #F6C9D3;
  --pink-soft: #FCE4E9;
  --pink-deep: #E8879E;
  --mint: #7FD9C6;
  --mint-deep: #4CAF9E;
  --cream: #FFF9F4;
  --gold: #C9A24B;
  --white: #FFFFFF;
  --ink: #2B1B17;

  --font-display: "Fredoka", sans-serif;
  --font-body: "Nunito", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px rgba(61, 38, 32, 0.10);
  --shadow-card: 0 8px 20px rgba(61, 38, 32, 0.08);
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown);
  line-height: 1.15;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
  background: rgba(127, 217, 198, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow.pink {
  color: var(--pink-deep);
  background: rgba(232, 135, 158, 0.14);
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--brown-soft);
  font-size: 1.05rem;
}

.section-head.align-left {
  margin: 0 0 40px;
  text-align: left;
}

.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-pink {
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--pink) 100%);
}
.bg-brown {
  background: var(--brown);
  color: var(--pink-soft);
}
.bg-brown h2, .bg-brown h3, .bg-brown h4 { color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(232, 135, 158, 0.35);
}
.btn-primary:hover {
  background: var(--brown);
  box-shadow: 0 12px 26px rgba(61, 38, 32, 0.3);
}

.btn-mint {
  background: var(--mint-deep);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(76, 175, 158, 0.35);
}
.btn-mint:hover {
  background: var(--brown);
}

.btn-outline {
  background: transparent;
  border-color: var(--brown);
  color: var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--brown);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #1DA851;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 38, 32, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(61, 38, 32, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--pink-deep);
}
.brand-text strong span {
  color: var(--mint-deep);
}

.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--brown);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(127, 217, 198, 0.18);
}

.main-nav a.is-active {
  background: var(--brown);
  color: var(--white);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 10%, rgba(127, 217, 198, 0.28), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(232, 135, 158, 0.25), transparent 50%),
              var(--pink-soft);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.hero-copy .eyebrow { margin-bottom: 18px; }

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--pink-deep);
}

.hero-copy p {
  font-size: 1.12rem;
  color: var(--brown-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}

.hero-badge .dot {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brown);
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--brown-soft);
}

/* Page hero (inner pages) */

.page-hero {
  position: relative;
  padding: 64px 0;
  background: radial-gradient(circle at 90% 0%, rgba(127, 217, 198, 0.25), transparent 55%), var(--pink-soft);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--brown-soft);
  font-size: 1.08rem;
}

.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brown-soft);
  margin-bottom: 16px;
}
.breadcrumb strong { color: var(--pink-deep); }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--pink-deep);
}

.stat span {
  font-size: 0.92rem;
  color: var(--brown-soft);
}

/* ---------- About / feature blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.split.reverse .split-media { order: 2; }

.split-copy p {
  color: var(--brown-soft);
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.split-copy p:last-of-type { margin-bottom: 28px; }

/* ---------- Cards grid ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(127, 217, 198, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--brown-soft);
  font-size: 0.98rem;
}

/* ---------- Process steps (Cozinha) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 22px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink-deep);
  color: var(--white);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(232, 135, 158, 0.4);
}

.step h4 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--brown-soft);
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(30, 18, 15, 0.85));
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-display);
}

/* ---------- Flavors (Loja) ---------- */

.flavor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.flavor-tab {
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--brown);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.flavor-tab:hover { border-color: var(--mint); }

.flavor-tab.is-active {
  background: var(--brown);
  color: var(--white);
}

.flavor-group {
  margin-bottom: 44px;
}

.flavor-group h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flavor-group h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint-deep);
  display: inline-block;
}

.flavor-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flavor-pill {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brown);
  border-left: 4px solid var(--pink-deep);
  transition: transform 0.2s ease;
}

.flavor-pill:hover {
  transform: translateX(4px);
  border-left-color: var(--mint-deep);
}

.flavor-pill small {
  display: block;
  font-weight: 400;
  color: var(--brown-soft);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--brown);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(127, 217, 198, 0.18);
  top: -100px;
  right: -80px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--pink-soft);
  margin-top: 10px;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.cta-banner .cta-row { position: relative; z-index: 1; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(232, 135, 158, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-card p, .contact-card a {
  color: var(--brown-soft);
  font-size: 0.95rem;
}

.contact-card a:hover { color: var(--pink-deep); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--brown-soft);
  margin-bottom: 26px;
  font-size: 0.96rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(61, 38, 32, 0.12);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint-deep);
}

.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.82rem;
  color: var(--brown-soft);
  margin-top: 12px;
}

/* ---------- Map placeholder ---------- */

.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}

.map-block iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brown);
  color: var(--pink-soft);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}

.footer-col p { color: rgba(252, 228, 233, 0.75); font-size: 0.92rem; max-width: 280px; }

.footer-col h5 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(252, 228, 233, 0.8);
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--mint); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.footer-social a:hover { background: var(--mint-deep); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(252, 228, 233, 0.6);
}

/* ---------- WhatsApp floating button ---------- */

.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.wa-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 340px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .split-media img { height: 300px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .flavor-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-wrapper { display: none; }
  .nav-toggle { display: flex; }

  .site-header.is-open .nav-wrapper {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-soft);
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    width: 100%;
  }

  .site-header.is-open .main-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(61,38,32,0.08);
    border-radius: 0;
  }

  .site-header.is-open .header-cta {
    margin-top: 16px;
  }

  .site-header.is-open .header-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .flavor-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta-banner .cta-row { justify-content: center; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}
