/* ============================================
   CURSO COCINA ORGANIZADA — Landing Page
   Base: template hack-ifood. Paleta: verde salvia / crema / naranja ámbar.
   Mobile-first.
   ============================================ */

:root {
  --accent: #E8952F;       /* laranja âmbar — destaques de texto */
  --accent-light: #F3C87D; /* laranja claro — destaques suaves */
  --cta: #EE8F2A;          /* laranja do CTA */
  --deep: #4A5636;         /* verde oliva escuro — faixa diagonal */
  --bg: #F7F1E3;           /* creme — fundo da página */
  --card: #7A8B5E;         /* verde sálvia — fundo dos cards */
  --card-border: #6A7A50;  /* borda dos cards */
  --gold: #F0A93C;         /* âmbar — selo "melhor opção" / preço */
  --check: #EAF2D4;        /* checks */
  --text: #3E4429;         /* texto principal (oliva escuro) */
  --card-text: #FFFFFF;    /* texto dentro dos cards verdes */
  --max-width: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

.red        { color: var(--accent); }      /* mantém classe do template, recolore p/ marca */
.green      { color: var(--gold); }
.underline  { text-decoration: underline; }

/* --- TARJA DE DATA NO TOPO --- */
.tarja-data {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 9px 10px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* --- SEÇÕES --- */
.sec {
  padding: 24px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.sec-dark { background: transparent; }

/* --- HERO --- */
.sec-hero { text-align: center; }

.logo { width: 70%; max-width: 360px; margin: 4px auto 18px; }
.hero-img { width: 100%; margin: 16px auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(122,139,94,.35); }

.lead { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 0 0 16px; }
.copy { font-size: 16px; line-height: 1.6; margin: 14px 0; text-align: center; }
.copy.bigger { font-size: 18px; font-weight: 700; }

/* --- FAIXAS DESLIZANTES (inclinadas e cruzadas) --- */
.faixa-dark, .faixa-red {
  position: relative;
  width: 115%; max-width: 115%;
  margin-left: -7.5%;
  padding: 14px 0;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(62,68,41,.2);
}
.faixa-dark {
  background: var(--deep);
  transform: rotate(-6deg);
  margin-top: 12px; margin-bottom: -22px;
}
.faixa-red {
  background: var(--accent);
  transform: rotate(6deg);
  margin-top: 0; margin-bottom: 28px;
}
.faixa-track {
  display: flex; width: max-content;
  color: #fff; font-size: 18px; font-weight: 800;
  white-space: nowrap;
  animation: slide 22s linear infinite;
  will-change: transform;
}
.faixa-track span { display: inline-block; padding-right: 16px; }
.faixa-dark .faixa-track { animation-direction: normal; }
.faixa-red  .faixa-track { animation-direction: reverse; }
@keyframes slide { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* --- TÍTULOS --- */
.titulo-destaque { font-size: 26px; font-weight: 800; text-align: center; margin: 18px 0; line-height: 1.2; }
.seta-down { display: block; text-align: center; font-size: 28px; color: var(--accent); margin: 10px auto; }

.bullets p {
  background: var(--card);
  color: var(--card-text);
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  margin: 10px 0;
  font-size: 15px;
}

.imagem-full { width: 100%; margin: 16px 0; border-radius: 12px; }
.imagem-full.garantia { max-width: 260px; margin: 16px auto; }
.img-certificado { max-width: 380px; margin: 0 auto 8px; }

/* --- CAROUSEL --- */
.carousel { position: relative; overflow: hidden; border-radius: 12px; margin: 20px 0; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-track img { min-width: 100%; object-fit: cover; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.carousel-dots span { width: 9px; height: 9px; border-radius: 50%; background: #C9C2A8; cursor: pointer; }
.carousel-dots span.active { background: var(--accent); }

/* --- BÔNUS E CARDS --- */
.bonus-label, .opcao-label { text-align: center; font-size: 24px; font-weight: 800; margin: 24px 0 12px; }

.card-dark {
  background: var(--card);
  color: var(--card-text);
  border-radius: 16px;
  padding: 20px;
  margin: 8px 0 24px;
  border: 1px solid var(--card-border);
}
.card-title { text-align: center; font-size: 20px; font-weight: 800; margin: 0 0 14px; line-height: 1.25; }
.card-dark .red { color: var(--accent-light); }
.card-oferta .logo-card { width: 60%; max-width: 260px; margin: 0 auto 16px; }
.card-oferta.destaque { border: 2px solid var(--gold); box-shadow: 0 0 28px rgba(232,149,47,.45); position: relative; }
.selo-melhor {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #4A3413;
  font-size: 13px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 16px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(62,68,41,.3);
}

/* --- ICON LIST --- */
.icon-list { list-style: none; padding: 0; margin: 12px 0; }
.icon-list li {
  position: relative; padding: 9px 0 9px 30px;
  font-size: 15px; line-height: 1.45;
  border-bottom: 1px dashed rgba(255,255,255,.3);
}
.icon-list li::before { content: "✓"; position: absolute; left: 0; color: var(--check); font-weight: 900; }
.icon-list.bonus li::before { content: "★"; color: var(--gold); }

/* --- PREÇO & CTA --- */
.preco-de { text-align: center; font-size: 16px; margin: 16px 0 4px; }
.riscado { text-decoration: line-through; color: #E9EDDA; }
.preco-por { text-align: center; font-size: 46px; font-weight: 900; margin: 4px 0 2px; color: #fff; }
.preco-por .cifrao { font-size: 26px; vertical-align: super; }
.preco-parc { text-align: center; font-size: 15px; color: var(--accent-light); margin: 0 0 16px; }

.btn-cta {
  display: block; text-align: center;
  background: var(--cta);
  color: #fff !important;
  padding: 17px 20px;
  font-size: 18px; font-weight: 800;
  text-decoration: none; border-radius: 10px;
  text-transform: uppercase; letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(238,143,42,.45);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: pulse 1.8s ease-in-out infinite;
}
.btn-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.25); }
.btn-cta.verde { background: var(--gold); color: #4A3413 !important; box-shadow: 0 6px 18px rgba(240,169,60,.45); }
@keyframes pulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.03);} }

.subcta { text-align:center; font-size: 13px; color: #EDE8D3; margin: 8px 0 0; }

/* --- FAQ --- */
.faq-title { font-size: 22px; font-weight: 800; text-align: center; margin: 0 0 16px; }
.accordion details { background: var(--card); color: var(--card-text); border-radius: 10px; padding: 12px 16px; margin: 8px 0; border: 1px solid var(--card-border); }
.accordion summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; position: relative; padding-right: 24px; }
.accordion summary::after { content: "+"; position: absolute; right: 0; color: var(--accent-light); font-size: 22px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion p { margin: 10px 0 0; font-size: 14px; color: #F0F2E4; }

/* --- DIVIDER --- */
.divider { border: none; border-top: 1px solid #DCD3BC; margin: 24px 0; }

/* --- RODAPÉ --- */
.rodape { text-align: center; padding: 32px 20px; color: #857E5F; font-size: 13px; }
.rodape .disclaimer { font-size: 11px; color: #A69F80; margin-top: 12px; line-height: 1.5; }
.top-link { display: inline-block; margin-top: 8px; color: var(--accent); text-decoration: none; font-weight: 700; }

/* --- DESKTOP --- */
@media (min-width: 768px) {
  .lead { font-size: 24px; }
  .titulo-destaque { font-size: 30px; }
  .card-title { font-size: 24px; }
  .preco-por { font-size: 58px; }
}

/* --- FIX OVERFLOW HORIZONTAL ---
   As faixas diagonais sangram além da tela (efeito proposital).
   clip remove a barra/scroll horizontal sem quebrar o position:sticky da tarja. */
html, body { overflow-x: clip; max-width: 100%; }

/* --- CONTEÚDO DO CURSO (módulos e aulas) --- */
.modulos { margin: 14px 0 8px; }
.modulo {
  background: var(--card);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 10px 0;
}
.modulo-titulo { font-weight: 800; font-size: 16px; margin: 0 0 8px; line-height: 1.3; }
.modulo-num { color: var(--accent-light); margin-right: 6px; }
.aula-list { list-style: none; padding: 0; margin: 0; }
.aula-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: #F0F2E4;
  border-bottom: 1px dashed rgba(255,255,255,.3);
}
.aula-list li:last-child { border-bottom: none; }
.aula-list li::before { content: "\25B8"; position: absolute; left: 0; color: var(--accent-light); }

/* --- CARDS DE DEPOIMENTO no carrossel --- */
.carousel-track > * { min-width: 100%; }
.depo { margin: 0; background: var(--card); color: var(--card-text); }
.depo img { width: 100%; display: block; }
.depo-stars { color: var(--gold); text-align: center; font-size: 20px; letter-spacing: 2px; margin: 12px 0 6px; }
.depo-quote { text-align: center; font-size: 15px; color: #fff; font-style: italic; margin: 0 16px 6px; line-height: 1.45; }
.depo-nome { text-align: center; font-size: 13px; color: var(--accent-light); font-weight: 700; margin: 0 0 4px; }

/* --- DEPOIMENTOS DE TEXTO (sem foto) --- */
.depo { display: flex; flex-direction: column; justify-content: center; }
.depo-texto { padding: 30px 24px; }
.depo-texto::before {
  content: "\201C";
  display: block; text-align: center;
  color: var(--accent-light); font-family: Georgia, serif;
  font-size: 52px; line-height: .4; margin: 6px 0 14px;
}
.depo-texto .depo-quote { font-size: 16px; }
