/* ====================================================
   SOBREMESAS SEM CULPA — Folha de estilos principal
==================================================== */

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

/* === VARIÁVEIS DE COR === */
:root {
  --primary:       #e8855a;
  --primary-dark:  #c96a3f;
  --primary-light: #fce8d8;
  --pink:          #e07a8e;
  --green:         #1a7a3c;
  --green-dark:    #145f2e;
  --text:          #2c2c2a;
  --muted:         #6b6b69;
  --beige:         #fdf6ee;
  --white:         #ffffff;
}

/* === BASE === */
html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 46px; /* altura da barra de urgência fixa */
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

/* === UTILITÁRIOS === */
.highlight    { color: var(--primary); }
.section-title { font-size: clamp(26px, 5vw, 42px); font-weight: 900; line-height: 1.25; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================================
   BOTÕES CTA
==================================================== */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #28d96d 0%, #1a9e4b 100%);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 17px;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(40, 217, 109, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  animation: pulse 2.6s infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn:hover {
  transform: scale(1.03);
  background: var(--green-dark);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.btn-lg    { font-size: 20px; padding: 22px 48px; }
.btn-block { display: block; width: 100%; text-align: center; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
  50%       { box-shadow: 0 4px 28px rgba(26, 122, 60, 0.5); }
}

/* ====================================================
   BLOCO 1 — BARRA DE URGÊNCIA
==================================================== */
#urgency-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #ff0000;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
}

#urgency-bar strong { font-weight: 900; }
#countdown { font-weight: 900; font-size: 15px; }

/* ====================================================
   BLOCO 2 — HERO
==================================================== */
.hero {
  background: linear-gradient(160deg, #fdf6ee 0%, #fde8d8 60%, #f9d0b8 100%);
  padding: 60px 20px 64px;
  text-align: center;
}

.hero__logo {
  max-width: 380px;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.hero__badge {
  display: inline-block;
  background: rgba(232, 133, 90, 0.14);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(232, 133, 90, 0.28);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero__headline {
  font-size: clamp(34px, 8vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero__sub {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* mockup do produto */
.hero__mockup {
  width: 320px;
  min-height: 400px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* quando a imagem real for adicionada, ela preenche o mockup inteiro */
.hero__mockup img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.hero__mockup-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 3;
}

.hero__mockup-icon  { font-size: 72px; margin-bottom: 14px; position: relative; z-index: 1; }
.hero__mockup-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900; color: #fff;
  text-align: center; position: relative; z-index: 1; margin-bottom: 6px;
}
.hero__mockup-sub   { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 700; position: relative; z-index: 1; }

.hero__trust {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ====================================================
   WHATSAPP — componente reutilizável (blocos 3, 8, 10)
==================================================== */
.wpp-card    { background: #111b21; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.28); }
.wpp-header  { background: #202c33; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.wpp-avatar  { width: 42px; height: 42px; border-radius: 50%; background: #3a3a3a; flex-shrink: 0; overflow: hidden; }
.wpp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wpp-name    { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.wpp-status  { font-size: 11px; color: rgba(255,255,255,.45); }

.wpp-body    { padding: 14px 16px; min-height: 160px; display: flex; flex-direction: column; gap: 10px; }
.wpp-msg     { display: flex; flex-direction: column; }

.wpp-bubble  { padding: 8px 12px 6px; border-radius: 10px; font-size: 13px; line-height: 1.55; max-width: 86%; }
.wpp-in      { background: #202c33; color: #e9edef; align-self: flex-start; border-radius: 0 10px 10px 10px; }
.wpp-out     { background: #005c4b; color: #e9fde4; align-self: flex-end;   border-radius: 10px 0 10px 10px; }

.wpp-time    { font-size: 10px; color: rgba(255,255,255,.4); text-align: right; margin-top: 1px; padding: 0 2px; }
.wpp-react   { font-size: 16px; padding-top: 2px; }

/* placeholder para foto antes/depois dentro do card WhatsApp */
.wpp-photo-ph {
  background: #2a3942;
  border-radius: 10px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  gap: 4px;
}
.wpp-photo-ph .ico { font-size: 22px; opacity: .5; }

/* quando a imagem real for inserida no lugar do placeholder */
.wpp-photo-ph img  { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* ====================================================
   BLOCO 3 — PROVA SOCIAL INICIAL
==================================================== */
.s-proof1          { background: #f5f0eb; padding: 70px 20px; }
.s-proof1 .head    { text-align: center; margin-bottom: 40px; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

/* ====================================================
   BLOCO 4 — O QUE VOCÊ VAI PODER COMER
==================================================== */
.s-recipes         { background: var(--white); padding: 72px 20px; }
.s-recipes .head   { text-align: center; margin-bottom: 42px; }
.s-recipes .head p { color: var(--muted); font-size: 17px; max-width: 600px; margin: 10px auto 0; }

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

.recipe-card        { background: #fce8e4; border-radius: 18px; overflow: hidden; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.07); transition: transform .2s; }
.recipe-card:hover  { transform: translateY(-5px); }

.recipe-card .thumb {
  height: 130px;
  background: linear-gradient(135deg, #fce4d8, #f5c0a4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
}

/* quando a imagem real for inserida */
.recipe-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.recipe-card .name  { font-weight: 800; font-size: 15px; padding: 10px 12px 4px; }
.recipe-card .tags  { font-size: 11px; color: var(--muted); font-weight: 700; padding: 0 10px 14px; }

/* ====================================================
   BLOCO 5 — NÚMERO DE RECEITAS
==================================================== */
.s-count        { background: linear-gradient(140deg, #fde8d4, #f9d4b0); padding: 72px 20px; text-align: center; }
.s-count .big   { font-family: 'Playfair Display', serif; font-size: clamp(60px, 14vw, 110px); font-weight: 900; color: var(--primary); line-height: 1; }
.s-count .label { font-size: clamp(22px, 5vw, 36px); font-weight: 800; color: var(--text); margin: 4px 0 6px; }
.s-count .sub   { color: var(--muted); font-size: 18px; margin-bottom: 44px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.photo-ph {
  background: linear-gradient(140deg, #f5c0a0, #e8855a);
  border-radius: 18px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(200, 100, 60, 0.2);
  font-size: 44px;
  overflow: hidden;
  position: relative;
}

.photo-ph span { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 700; }

/* quando a imagem real for inserida */
.photo-ph img  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }

/* ====================================================
   BLOCO 6 — BENEFÍCIOS
==================================================== */
.s-benefits      { background: var(--beige); padding: 72px 20px; }

.benefits-card {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 26px;
  padding: 52px 56px;
  box-shadow: 0 10px 44px rgba(0,0,0,.08);
  border: 1px solid #f0ddd4;
}

.benefits-card .title { text-align: center; color: var(--primary); margin-bottom: 34px; }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 38px; }
.benefit-item { display: flex; gap: 12px; font-size: 17px; align-items: flex-start; line-height: 1.55; }
.benefit-item .ico { font-size: 20px; flex-shrink: 0; margin-top: 1px; }

.benefits-card .cta { text-align: center; }

/* ====================================================
   BLOCO 7 — BÔNUS
==================================================== */
.s-bonuses        { background: linear-gradient(140deg, #fde4d0, #fad0b8); padding: 72px 20px; }
.s-bonuses .head  { text-align: center; margin-bottom: 42px; }
.s-bonuses .head p { color: var(--muted); font-size: 17px; margin-top: 8px; }

.grid-bonuses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.bonus-card        { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); text-align: center; }
.bonus-card .thumb {
  height: 150px;
  background: linear-gradient(135deg, #fce4d4, #f5b898);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  overflow: hidden;
}
.bonus-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.bonus-card .body  { padding: 22px 20px; }
.bonus-card .bname { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.bonus-card .desc  { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.bonus-card .orig  { font-size: 14px; color: #bbb; text-decoration: line-through; margin-bottom: 8px; }
.bonus-card .free  {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* ====================================================
   BLOCO 8 — PROVA SOCIAL SECUNDÁRIA
==================================================== */
.s-proof2         { background: var(--white); padding: 72px 20px; }
.s-proof2 .head   { text-align: center; margin-bottom: 42px; }

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 800px;
  margin: 0 auto;
}

/* ====================================================
   BLOCO 9 — OFERTA FINAL
==================================================== */
.s-offer        { background: linear-gradient(140deg, #fde8d4, #f9d4b0); padding: 72px 20px; text-align: center; }
.s-offer .title { margin-bottom: 42px; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.offer-box {
  background: #fff;
  border-radius: 26px;
  padding: 40px 30px;
  box-shadow: 0 12px 50px rgba(0,0,0,.12);
  border: 3px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

.offer-box.highlight-box {
  border: 4px solid #ffcc00; /* Gold */
  transform: scale(1.05);
  background: linear-gradient(180deg, #fffcf0 0%, #ffffff 100%);
  box-shadow: 0 20px 60px rgba(255, 204, 0, 0.2);
  z-index: 2;
}

@keyframes pulse-gold {
  0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
  70% { transform: translateX(-50%) scale(1.05); box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
  100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.most-popular-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff9900, #ffcc00);
  color: #000;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: pulse-gold 2s infinite;
  white-space: nowrap;
}

.offer-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: 'Nunito', sans-serif;
}

.offer-box .abusive-price { font-size: 20px; color: #ff2222; text-decoration: line-through; margin-bottom: 4px; font-weight: 800; opacity: 0.85; }
.offer-box .old        { font-size: 19px; color: #bbb; text-decoration: line-through; margin-bottom: 4px; }
.offer-box .price      { font-size: clamp(44px, 10vw, 56px); font-weight: 900; color: #1a7a3c; line-height: 1; letter-spacing: -1px; }
.offer-box .price-note { font-size: 14px; color: var(--muted); margin: 6px 0 28px; font-weight: 600; }
.highlight-box .price { color: #1a7a3c; }
.highlight-box .price-note { color: #666; font-weight: 800; }

.highlight-box .btn {
  background: linear-gradient(90deg, #ff9900, #ffcc00);
  color: #000;
  border-bottom: 4px solid #cc7a00;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight-box .btn:hover {
  background: #ffcc00;
  color: #000;
}

.offer-items    { list-style: none; text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.offer-items li { display: flex; gap: 10px; font-size: 16px; font-weight: 600; align-items: flex-start; }

.offer-box .footer-note { font-size: 13px; color: var(--muted); margin-top: 14px; font-weight: 700; letter-spacing: 1px; }

/* ====================================================
   BLOCO 10 — FAQ (PERGUNTAS FREQUENTES)
==================================================== */
.s-faq { background: #fdfdfd; padding: 72px 20px; text-align: center; }
.faq-grid { max-width: 800px; margin: 42px auto; text-align: left; display: flex; flex-direction: column; gap: 20px; }

.faq-item { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #eee; overflow: hidden; transition: all 0.3s ease; }
.faq-q { padding: 24px; font-size: 18px; font-weight: 800; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; outline: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '▼'; font-size: 12px; color: var(--primary); transition: transform 0.3s; }
details[open] .faq-q::after { transform: rotate(180deg); }

.faq-a { padding: 0 24px 24px; font-size: 15px; color: var(--muted); line-height: 1.6; border-top: 1px solid transparent; }
details[open] .faq-a { border-top-color: #f5f5f5; }

.final-cta { margin-top: 60px; }

/* ====================================================
   BLOCO 11 — RODAPÉ
==================================================== */
footer { background: #1a1a1a; color: rgba(255,255,255,.5); padding: 40px 20px; text-align: center; font-size: 13px; }
footer a        { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
footer a:hover  { color: #fff; }

.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-legal { max-width: 600px; margin: 0 auto 10px; line-height: 1.6; font-size: 12px; }
.footer-copy  { font-size: 12px; opacity: .4; }

/* ====================================================
   MODAL UPSELL
==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none; /* Inicia oculto */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #fff;
  border-radius: 30px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.4);
  animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), borderFlash 1s infinite;
  border: 4px solid #ff0000;
}

@keyframes borderFlash {
  0%, 100% { border-color: #ff0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); }
  50% { border-color: #fff; box-shadow: 0 0 40px rgba(255, 0, 0, 0.8); }
}

@keyframes modalIn {
  from { transform: scale(0.8) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  background: #ff0000;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  animation: bgFlash 0.5s infinite;
}

@keyframes bgFlash {
  0%, 100% { background: #ff0000; }
  50% { background: #cc0000; }
}

.modal-header h3 { font-size: 22px; font-weight: 900; margin-top: 10px; text-transform: uppercase; }
.modal-emoji { font-size: 50px; display: block; animation: shake 0.5s infinite; }

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.modal-body { padding: 30px; text-align: center; }
.modal-body p { color: #555; line-height: 1.5; margin-bottom: 24px; font-weight: 600; }

.upsell-offer {
  background: #fff9e6;
  border: 3px dashed #ffcc00;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  animation: pulseScale 1.5s infinite;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.upsell-title { font-weight: 900; color: #000; font-size: 18px; margin-bottom: 10px !important; }
.upsell-price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.upsell-old { text-decoration: line-through; color: #ff2222; font-size: 18px; font-weight: 700; }
.upsell-new { color: #1a7a3c; font-size: 32px; font-weight: 900; }
.upsell-note { font-size: 13px; font-weight: 700; color: #666; margin-bottom: 0 !important; }

.btn-vip {
  background: linear-gradient(90deg, #ff9900, #ffcc00) !important;
  color: #000 !important;
  border-bottom: 4px solid #cc7a00 !important;
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4) !important;
}

.modal-close-link {
  display: inline-block;
  margin-top: 18px;
  color: #999;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 600;
}

/* ====================================================
   RESPONSIVO — Mobile First
==================================================== */
@media (max-width: 768px) {
  .grid-3       { grid-template-columns: 1fr; }
  .grid-5       { grid-template-columns: repeat(2, 1fr); }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
  .grid-bonuses { grid-template-columns: 1fr; max-width: 420px; }
  .grid-2x2     { grid-template-columns: 1fr; max-width: 420px; }
  .benefits-card { padding: 36px 24px; }
  .offer-grid    { grid-template-columns: 1fr; gap: 40px; }
  .offer-box.highlight-box { transform: scale(1); }
  .offer-box     { padding: 36px 24px; }
  .btn-lg        { font-size: 17px; padding: 18px 30px; }
  #urgency-bar   { font-size: 12px; padding: 10px 12px; }
}

@media (max-width: 380px) {
  .grid-5 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
