/* ============================================
   HACK DO IFOOD — Landing Page (versão estática)
   Mobile-first. Recriação do template Elementor.
   ============================================ */

:root {
  --red: #C8501E;        /* telha/madeira — acento principal (era vermelho iFood) */
  --red-dark: #2A1206;   /* madeira escura */
  --black: #120D08;      /* preto quente amadeirado */
  --gray-dark: #1E160F;  /* fundo dos cards (marrom bem escuro) */
  --green: #50C878;      /* botão de compra (converte) */
  --green-cta: #43FF00;
  --yellow: #F4C430;     /* amarelo milho */
  --lime: #9ACD32;
  --text: #F3E9D2;       /* creme palha (era branco puro) */
  --max-width: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--black);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;   /* corta o "vazamento" lateral das faixas diagonais */
}

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

a { color: inherit; }

.red        { color: var(--red); }
.green      { color: var(--lime); }
.underline  { text-decoration: underline; }

/* --- TARJA DE DATA NO TOPO --- */
.tarja-data {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 8px 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: var(--black); }

/* --- HERO --- */
.sec-hero {
  background: var(--black);
  text-align: center;
}

.logo {
  width: 38.5%;
  max-width: 210px;
  margin: 0 auto 16px;
}

.hero-img {
  width: 100%;
  margin: 16px auto;
  border-radius: 8px;
}

.lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
}

.copy {
  font-size: 16px;
  line-height: 1.55;
  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(0,0,0,.35);
}

.faixa-dark {
  background: var(--red-dark);
  transform: rotate(-6deg);
  margin-top: 12px;
  margin-bottom: -22px;
}

.faixa-red {
  background: var(--red);
  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(--red);
  margin: 10px auto;
}

.bullets p {
  background: var(--gray-dark);
  padding: 10px 14px;
  border-left: 3px solid var(--red);
  border-radius: 4px;
  margin: 10px 0;
  font-size: 15px;
}

.imagem-full {
  width: 100%;
  margin: 16px 0;
  border-radius: 8px;
}

.imagem-full.garantia {
  max-width: 160px;
  margin: 16px auto;
}

/* --- CAROUSEL --- */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  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: 8px; height: 8px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
}

.carousel-dots span.active { background: var(--red); }

/* --- 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(--gray-dark);
  border-radius: 12px;
  padding: 20px;
  margin: 8px 0 24px;
  border: 1px solid #222;
}

.card-title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.2;
}

.card-oferta .logo-card {
  width: 42%;
  max-width: 190px;
  margin: -6px auto 6px;
}

/* Cards "O que você vai receber" — imagem 35% à esquerda / texto 65% à direita */
.card-receber {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.card-receber .receber-img {
  flex: 0 0 35%;
  width: 35%;
  border-radius: 8px;
  align-self: center;
}
.card-receber .receber-txt {
  flex: 1 1 65%;
  min-width: 0;
}
.card-receber .receber-txt .card-title { text-align: left; }
.card-receber .receber-txt .copy { text-align: left; margin: 0; }

.card-oferta.destaque {
  border: 2px solid var(--red);
  box-shadow: 0 0 24px rgba(234,29,44,.35);
}

/* --- ICON LIST --- */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.icon-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dashed #2a2a2a;
}

.icon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.icon-list.bonus li::before {
  content: "★";
  color: var(--red);
}

/* --- PREÇO & CTA --- */
.preco-de {
  text-align: center;
  font-size: 16px;
  margin: 16px 0 4px;
}

.riscado {
  text-decoration: line-through;
  color: #aaa;
}

.preco-por {
  text-align: center;
  font-size: 44px;
  font-weight: 900;
  margin: 4px 0 16px;
  color: #fff;
}

.btn-cta {
  display: block;
  text-align: center;
  background: var(--green);
  color: #fff !important;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
  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(--green-cta); color: #000 !important; }

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

/* --- FAQ --- */
.faq-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 16px;
}

.accordion details {
  background: var(--gray-dark);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
  border: 1px solid #222;
}

.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(--red);
  font-size: 22px;
  line-height: 1;
}

.accordion details[open] summary::after { content: "−"; }

.accordion p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #ddd;
}

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

/* --- RODAPÉ --- */
.rodape {
  text-align: center;
  padding: 32px 20px;
  color: #888;
  font-size: 13px;
}

.top-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

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