/* ============================================================
   DOM GRAZINGS — Landing Page Dia das Mães 2026
   Mobile-first. Media queries at end.
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --cream:        #FAF7F2;
  --cream-mid:    #F0EAE0;
  --cream-dark:   #E8DDD2;
  --terracota:    #C8765B;
  --terracota-dark: #A85A42;
  --olive:        #7A8567;
  --olive-dark:   #5C6650;
  --text:         #2A2520;
  --text-mid:     #6B5F58;
  --gold:         #B8956A;
  --white:        #FFFFFF;
  --wa-green:     #25D366;
  --wa-dark:      #1EAF56;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(42, 37, 32, 0.10);
  --shadow-hover: 0 8px 32px rgba(42, 37, 32, 0.16);

  --max-w:        1160px;
  --pad-x:        20px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- UTILITY --- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  height: 52px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--hero {
  background: var(--white);
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.7);
  width: 100%;
  height: 56px;
  font-size: 1.05rem;
}
.btn--hero:hover { background: var(--cream); }
.btn--wa {
  background: var(--wa-green);
  color: var(--white);
  width: 100%;
  height: 52px;
  padding: 0 24px;
  overflow: visible;
}
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }
.btn--featured { height: 56px; font-size: 1.05rem; }
.btn--cta-final { height: 60px; font-size: 1.1rem; max-width: 400px; }

.wa-icon {
  width: 20px;
  height: 20px;
  fill: var(--white);
  flex-shrink: 0;
}

/* --- FADE-IN ANIMATION --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STICKY BAR
   ============================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--pad-x);
  height: 52px;
  background: var(--olive-dark);
  color: var(--white);
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar__text { flex: 1; }
.sticky-bar__btn {
  flex-shrink: 0;
  background: var(--wa-green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px var(--pad-x) 80px;
  gap: 20px;
  max-width: 720px;
  width: 100%;
  animation: heroFadeIn 0.6s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__brand { margin-bottom: 4px; }
.hero__logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.hero__headline em {
  font-style: italic;
  color: #F0D9C8;
}
.hero__sub {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  max-width: 540px;
}
.hero__urgency {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  margin-top: 4px;
}

/* ============================================================
   PROVA SOCIAL TOPO
   ============================================================ */
.social-proof-top {
  background: var(--cream-mid);
  padding: 56px var(--pad-x);
  text-align: center;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.metric__number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  color: var(--terracota);
  line-height: 1;
}
.metric__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 4px;
  line-height: 1.4;
}
.metric__label small { font-size: 0.78rem; }
.social-proof-top__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   CATÁLOGO
   ============================================================ */
.catalogo {
  padding: 64px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Card order (mobile-first: Doce Momento 1st) */
.card--doce-momento  { order: 1; }
.card--dolce-essenza { order: 2; }
.card--cuidado       { order: 3; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card--featured {
  box-shadow: 0 4px 24px rgba(200, 118, 91, 0.2), var(--shadow);
  border: 2px solid rgba(200, 118, 91, 0.25);
}
.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--terracota);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}
.card__img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.card:hover .card__img-wrap img { transform: scale(1.03); }
.card__body {
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.card__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--terracota);
  margin-top: -4px;
}
.card__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.card__detail {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* Accordion */
.card__details {
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 10px 0;
}
.card__details summary {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracota);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}
.card__details summary::-webkit-details-marker { display: none; }
.card__details[open] summary::before { content: '−'; }
.card__details:not([open]) summary::before { content: '+'; }
.card__details ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card__details li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
}
.card__details li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--terracota);
}

.card__price {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-top: 4px;
}
.card__price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 400;
  margin-top: 2px;
}
.card__price small a {
  color: var(--text-mid);
  text-decoration: none;
}
.card__price small a:hover { text-decoration: underline; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais {
  background: var(--cream-mid);
  padding: 64px var(--pad-x);
  text-align: center;
}
.diferenciais__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.diferencial:last-child {
  grid-column: 1 / -1;
}
.diferencial__icon {
  width: 48px;
  height: 48px;
  color: var(--terracota);
  margin: 0 auto 12px;
}
.diferencial__icon svg { width: 100%; height: 100%; }
.diferencial__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.diferencial p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   ENTREGA
   ============================================================ */
.entrega {
  padding: 64px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.entrega__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.entrega__bloco {
  background: var(--cream-mid);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.entrega__bloco--sem-cobertura {
  background: #FFF5F0;
  border: 1px solid rgba(200, 118, 91, 0.2);
}
.entrega__icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.entrega__bloco h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.entrega__bloco p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 6px;
}
.entrega__bloco p:last-child { margin-bottom: 0; }
.entrega__obs {
  font-size: 0.82rem !important;
  color: var(--text-mid);
  opacity: 0.85;
}
.entrega__obs a { color: var(--terracota); text-decoration: underline; }
.entrega__regioes {
  font-size: 0.85rem !important;
  line-height: 1.6;
}

/* ============================================================
   AVALIAÇÕES
   ============================================================ */
.avaliacoes {
  background: var(--cream-mid);
  padding: 56px var(--pad-x) 48px;
  text-align: center;
}
.reviews {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
  max-width: var(--max-w);
  margin: 0 auto 28px;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-width: 290px;
  max-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
  text-align: left;
  box-shadow: var(--shadow);
}
.review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracota);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review__header strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}
.review__header span {
  font-size: 0.75rem;
  color: var(--text-mid);
}
.review__stars {
  color: #F5A623;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.review blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
}
.avaliacoes__rodape {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.avaliacoes__link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--terracota);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.avaliacoes__link:hover { color: var(--terracota-dark); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 48px var(--pad-x) 40px;
  max-width: 720px;
  margin: 0 auto;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq__item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--terracota);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
details[open] .faq__question::after {
  content: '−';
}
.faq__answer {
  padding: 0 0 18px;
}
.faq__answer p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 8px;
}
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--terracota); text-decoration: underline; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--olive-dark);
  padding: 56px var(--pad-x);
  text-align: center;
  color: var(--white);
}
.cta-final__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.countdown-wrap { width: 100%; }
.countdown__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.countdown {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-width: 72px;
}
.countdown__num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}
.countdown__lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}
.cta-final__body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 480px;
}
#cta-ativo { width: 100%; display: flex; justify-content: center; }
.btn--cta-final { width: 100%; max-width: 400px; }
.cta-final__encerrado {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}
.cta-final__trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.cta-final__trust li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 48px var(--pad-x) 36px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__logo-text {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  width: 100%;
  text-align: center;
}

/* ============================================================
   MEDIA QUERIES — TABLET 768px
   ============================================================ */
@media (min-width: 768px) {
  :root { --pad-x: 40px; }

  .metrics {
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-w);
  }

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

  .reviews {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .review {
    min-width: 0;
    max-width: none;
  }

  .diferenciais__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .diferencial:last-child {
    grid-column: auto;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
  .footer__links {
    align-items: flex-start;
    flex-direction: row;
    gap: 28px;
  }
  .footer__copy { text-align: left; }
}

/* ============================================================
   MEDIA QUERIES — DESKTOP 1024px
   ============================================================ */
@media (min-width: 1024px) {
  :root { --pad-x: 60px; }

  /* Hide sticky bar on desktop */
  .sticky-bar { display: none; }

  /* Hero */
  .hero__content { padding: 80px var(--pad-x); }

  /* Cards: 3 columns, desktop order */
  .cards {
    flex-direction: row;
    align-items: stretch;
  }
  .card {
    flex: 1;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  /* Desktop order: Dolce Essenza → Doce Momento → Cuidado */
  .card--dolce-essenza { order: 1; }
  .card--doce-momento  { order: 2; }
  .card--cuidado       { order: 3; }

  /* Card image fixed aspect ratio on desktop */
  .card__img-wrap { aspect-ratio: 2 / 3; }

  /* Diferenciais: 5 cols on desktop */
  .diferenciais__grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .diferencial:last-child { grid-column: auto; }

  /* Entrega: 3 cols */
  .entrega__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CTA trust horizontal */
  .cta-final__trust {
    flex-direction: row;
    gap: 24px;
  }
}

/* ============================================================
   MEDIA QUERIES — LARGE 1280px
   ============================================================ */
@media (min-width: 1280px) {
  :root { --pad-x: 80px; }
  .catalogo, .entrega, .avaliacoes {
    padding-left: calc((100vw - var(--max-w)) / 2 + 60px);
    padding-right: calc((100vw - var(--max-w)) / 2 + 60px);
  }
}

/* --- Padding for sticky bar on mobile --- */
@media (max-width: 1023px) {
  body { padding-bottom: 52px; }
}
