/* ============================================================
   COCÓRICOMPANY — Landing Page Produto de Entrada
   Identidade: galo "cocórico" — magenta, laranja/âmbar, coral
   sobre fundo escuro e quente. Mobile-first.
   ============================================================ */

/* ---------- Fonte da marca (logo / display) ---------- */
@font-face {
  font-family: 'UrbanSketart';
  src: url('assets/UrbanSketart.ttf') format('truetype');
  font-weight: 400 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Cores da marca */
  --magenta: #be0a4a;
  --magenta-600: #a40840;
  --magenta-300: #e85b8a;
  --orange: #f0a11e;
  --orange-300: #f8c45f;
  --coral: #f08c7a;
  --coral-soft: #f4a99a;

  /* Fundo escuro quente */
  --bg: #190f13;
  --bg-2: #211318;
  --surface: #2a1820;
  --surface-2: #32202a;
  --line: rgba(255, 255, 255, 0.10);

  /* Texto */
  --cream: #fdf3ee;
  --text: #f4e6e0;
  --muted: #c3a9b0;
  --muted-2: #9d8089;

  /* Tipografia */
  --display: 'UrbanSketart', 'Poppins', system-ui, sans-serif;
  --head: 'Poppins', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1160px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 820px; }
section { padding-block: clamp(56px, 10vw, 110px); position: relative; }

/* ---------- Tipografia base ---------- */
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; font-weight: 700; color: var(--cream); letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.7rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 3vw, 1.5rem); }

.hl { color: var(--orange-300); }
.strike { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 3px; opacity: 0.85; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(240, 140, 122, 0.10);
  border: 1px solid rgba(240, 140, 122, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.product-name {
  font-family: var(--display);
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 56px); }
.section-subtitle { color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.18rem); margin-top: 16px; max-width: 640px; }

/* ---------- Formas de fundo ---------- */
.bg-shapes { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.22; }
.blob-1 { width: 420px; height: 420px; background: var(--magenta); top: -120px; right: -120px; }
.blob-2 { width: 380px; height: 380px; background: var(--orange); bottom: 8%; left: -140px; opacity: 0.14; }
.blob-3 { width: 320px; height: 320px; background: var(--coral); top: 45%; right: -100px; opacity: 0.12; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 0.98rem;
  padding: 15px 26px; border-radius: 999px; border: none;
  text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  line-height: 1.2;
}
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--magenta), #d11a5c 60%, var(--orange));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(190, 10, 74, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(190, 10, 74, 0.75); }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-300); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(25, 15, 19, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--magenta-300); letter-spacing: 0.01em; }
.brand-name .accent { color: var(--orange); }
.nav-cta { padding: 11px 20px; font-size: 0.9rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative; z-index: 1;
  padding-top: clamp(110px, 18vw, 160px);
  padding-bottom: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(190, 10, 74, 0.20), transparent 55%),
    radial-gradient(90% 70% at 0% 30%, rgba(240, 161, 30, 0.10), transparent 50%);
}
.hero-inner { display: grid; gap: 40px; align-items: center; padding-bottom: clamp(48px, 8vw, 80px); }
.hero h1 { margin-block: 6px 22px; }
.lead { font-size: clamp(1.05rem, 2.8vw, 1.3rem); color: var(--text); max-width: 540px; }
.lead .product-name { font-size: 1.15em; }
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-note { font-size: 0.85rem; color: var(--muted-2); }

/* Hero visual — galo */
.hero-visual { display: flex; justify-content: center; }
.rooster-stage { position: relative; width: min(360px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.rooster {
  width: 78%; position: relative; z-index: 2;
  filter: drop-shadow(0 18px 36px rgba(190, 10, 74, 0.45));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(240, 140, 122, 0.35); }
.ring-1 { inset: 4%; animation: spin 26s linear infinite; }
.ring-2 { inset: 16%; border-color: rgba(240, 161, 30, 0.30); animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot { position: absolute; border-radius: 50%; }
.dot-a { width: 16px; height: 16px; background: var(--orange); top: 8%; left: 22%; animation: float 4s ease-in-out infinite; }
.dot-b { width: 10px; height: 10px; background: var(--coral); bottom: 14%; right: 16%; animation: float 6s ease-in-out infinite; }
.dot-c { width: 22px; height: 22px; background: var(--magenta-300); bottom: 6%; left: 14%; animation: float 5.5s ease-in-out infinite; }

/* Hero marquee */
.hero-marquee {
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding-block: 16px;
}
.marquee-track {
  display: flex; gap: 28px; align-items: center; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.marquee-track span:nth-child(even) { color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- BLOCO 2 — Dor ---------- */
.pain { z-index: 1; }
.prose p { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: var(--muted); margin-bottom: 18px; }
.prose .prose-emph { color: var(--cream); font-weight: 600; font-family: var(--head); font-size: clamp(1.15rem, 3vw, 1.5rem); border-left: 4px solid var(--orange); padding-left: 18px; margin-top: 28px; line-height: 1.35; }

/* ---------- BLOCO 3 — Mercado ---------- */
.market { z-index: 1; }
.market-grid { display: grid; gap: 18px; margin-bottom: 40px; }
.fail-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 24px; position: relative; overflow: hidden;
}
.fail-card::before { content: "✕"; position: absolute; top: 16px; right: 20px; font-size: 1.4rem; color: rgba(240, 140, 122, 0.4); font-weight: 700; }
.fail-tag { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.fail-card p { color: var(--muted); }
.market-close { max-width: 760px; }
.market-close p { font-size: clamp(1.1rem, 3vw, 1.45rem); color: var(--cream); font-family: var(--head); font-weight: 600; line-height: 1.35; }
.market-close strong { color: var(--orange-300); }
.market-close .muted { font-family: var(--body); font-weight: 400; font-size: clamp(1rem, 2.5vw, 1.12rem); color: var(--muted); margin-top: 18px; line-height: 1.6; }

/* ---------- BLOCO 4 — Solução ---------- */
.solution { background: var(--bg-2); z-index: 1; }
.phases { display: grid; gap: 22px; margin-bottom: 44px; }
.phase-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 38px); position: relative; box-shadow: var(--shadow);
}
.phase-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 4px 0 0 4px;
  background: linear-gradient(var(--magenta), var(--orange));
}
.phase-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.phase-badge {
  font-family: var(--head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--magenta); color: #fff; padding: 6px 14px; border-radius: 999px;
}
.phase-badge.alt { background: var(--orange); color: #2a1208; }
.phase-intro { color: var(--muted); margin-bottom: 22px; }
.phase-list { display: grid; gap: 14px; }
.phase-list li { position: relative; padding-left: 30px; color: var(--text); }
.phase-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--orange-300), var(--magenta));
}
.phase-list strong { color: var(--cream); }
.solution-close { text-align: center; max-width: 720px; margin-inline: auto; }
.solution-close p { font-size: clamp(1.1rem, 3vw, 1.45rem); color: var(--cream); font-family: var(--head); font-weight: 600; line-height: 1.4; margin-bottom: 30px; }
.solution-close strong { color: var(--orange-300); }

/* ---------- BLOCO 5 — Para quem ---------- */
.fit { z-index: 1; }
.fit-grid { display: grid; gap: 20px; }
.fit-card { border-radius: var(--radius); padding: clamp(26px, 4vw, 36px); border: 1px solid var(--line); }
.fit-card.yes { background: linear-gradient(160deg, rgba(240, 161, 30, 0.12), var(--surface)); border-color: rgba(240, 161, 30, 0.3); }
.fit-card.no { background: var(--surface); }
.fit-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.fit-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; font-weight: 800; flex-shrink: 0; }
.fit-card.yes .fit-icon { background: var(--orange); color: #2a1208; }
.fit-card.no .fit-icon { background: rgba(255, 255, 255, 0.08); color: var(--coral); }
.fit-card ul { display: grid; gap: 14px; }
.fit-card li { position: relative; padding-left: 22px; color: var(--text); }
.fit-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; }
.fit-card.yes li::before { background: var(--orange); }
.fit-card.no li::before { background: var(--muted-2); }
.fit-card.no li { color: var(--muted); }

/* ---------- BLOCO 6 — Resultados ---------- */
.results { background: var(--bg-2); z-index: 1; }
.results-grid { display: grid; gap: 16px; }
.result-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 24px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.result-card:hover { transform: translateY(-4px); border-color: rgba(240, 161, 30, 0.4); }
.result-num { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--magenta-300); flex-shrink: 0; }
.result-card p { color: var(--text); }
.result-card strong { color: var(--orange-300); }

/* ---------- BLOCO 7 — Prova social ---------- */
.social-proof { z-index: 1; text-align: center; }
.social-proof .section-head { margin-inline: auto; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-chip {
  font-family: var(--head); font-weight: 700; font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--muted); padding: 16px 28px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.brand-chip:hover { color: var(--cream); border-color: var(--coral); transform: translateY(-3px); }

/* ---------- BLOCO 8 — CTA + Form ---------- */
.final-cta { z-index: 1; background: var(--bg-2); }
.cta-card {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(190, 10, 74, 0.22), transparent 60%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); max-width: 860px; margin-inline: auto;
}
.cta-head { margin-bottom: 32px; }
.cta-head h2 { margin-block: 6px 16px; }
.cta-head p { color: var(--muted); font-size: 1.05rem; }
.lead-form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-family: var(--head); font-weight: 600; font-size: 0.85rem; color: var(--cream); }
.field > span i { color: var(--coral); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--cream);
  background: rgba(0, 0, 0, 0.28); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; width: 100%; transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23f08c7a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field select option { background: var(--surface); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(0, 0, 0, 0.4); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral); }
.form-submit { width: 100%; margin-top: 6px; }
.form-disclaimer { font-size: 0.8rem; color: var(--muted-2); text-align: center; }
.form-feedback { text-align: center; font-size: 0.9rem; font-weight: 600; min-height: 1em; }
.form-feedback.error { color: var(--coral); }

/* Estado de sucesso */
.cta-success { text-align: center; padding-block: 10px; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin: 0 auto 20px; }
.success-mark svg { width: 30px; height: 30px; fill: none; stroke: #2a1208; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cta-success h3 { margin-bottom: 14px; }
.cta-success p { color: var(--muted); max-width: 520px; margin: 0 auto 12px; }
.cta-success strong { color: var(--cream); }
.success-next { margin-top: 18px !important; color: var(--text) !important; }
.success-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ---------- BLOCO 9 — FAQ ---------- */
.faq { z-index: 1; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--head); font-weight: 600; font-size: clamp(1rem, 2.6vw, 1.15rem); color: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--orange); flex-shrink: 0;
  transition: transform 0.3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--muted); }
.faq-answer strong { color: var(--orange-300); }
.faq-cta { text-align: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { background: #120a0d; border-top: 1px solid var(--line); padding-block: 48px 28px; position: relative; z-index: 1; }
.footer-inner { display: grid; gap: 28px; }
.footer-logo { width: 220px; max-width: 70%; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 420px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer-links a { color: var(--muted); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-1.visible { transition-delay: 0.08s; }
.reveal-2.visible { transition-delay: 0.16s; }
.reveal-3.visible { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVO — Desktop (mobile-first acima)
   ============================================================ */
@media (min-width: 760px) {
  .market-grid { grid-template-columns: repeat(3, 1fr); }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result-card.wide { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .footer-links { justify-content: flex-end; flex-direction: column; align-items: flex-end; }
}

@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-content { padding-right: 20px; }
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
