/* ===========================
   Creative Agência — Stylesheet (identidade "Chama")
   Cores: gradiente laranja->vermelho #F5A623 -> #E8481C -> #7A1B1B
   Fundo: preto #0A0A0A (header/hero/rodapé/CTA) + branco/cinza claro (conteúdo)
   Fontes: Archivo Black (display) + Poppins (corpo)
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A0A0A;
  --ink-soft: #161616;
  --paper: #FFFFFF;
  --surface: #F7F7F7;

  --flame-1: #F5A623;
  --flame-2: #E8481C;
  --flame-3: #7A1B1B;
  --gradient-flame: linear-gradient(135deg, var(--flame-1), var(--flame-2) 55%, var(--flame-3));

  --ink-2: #161616;
  --ink-mute: rgba(22,22,22,0.62);
  --on-dark: rgba(255,255,255,0.92);
  --on-dark-mute: rgba(255,255,255,0.62);

  --line-dark: rgba(255,255,255,0.14);
  --line-light: rgba(10,10,10,0.10);

  --whatsapp: #25D366;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-light: 0 20px 50px -28px rgba(10,10,10,0.22);
  --shadow-light-hover: 0 24px 60px -24px rgba(232,72,28,0.22), 0 20px 50px -28px rgba(10,10,10,0.28);
  --shadow-dark: 0 1px 0 rgba(255,255,255,0.05) inset, 0 20px 60px -20px rgba(0,0,0,0.6);

  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink-2);
  background-color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, .display {
  font-family: 'Archivo Black', 'Poppins', sans-serif;
  font-weight: 400; /* Archivo Black só tem um peso — já é "black" */
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; font-family: 'Poppins', sans-serif; }
h4 { font-size: 1.02rem; font-weight: 700; font-family: 'Poppins', sans-serif; }
p { font-size: 1rem; }

/* Cor de texto por seção — aplicada via .section-dark / .section-light no container-pai */
.section-light, .section-alt { background: var(--paper); color: var(--ink-2); }
.section-alt { background: var(--surface); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4,
.section-alt h1, .section-alt h2, .section-alt h3, .section-alt h4 { color: var(--ink-2); }
.section-light p, .section-alt p { color: var(--ink-mute); }

.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-mute); }

.section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Eyebrow (substitui .section-tag) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--gradient-flame);
  border-radius: 2px;
  display: inline-block;
}
.section-light .eyebrow, .section-alt .eyebrow { color: var(--flame-2); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--flame-1); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary { background: var(--gradient-flame); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-light-hover); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-2px); background: #1fba58; }

.btn-outline-dark { background: transparent; color: var(--ink-2); border: 2px solid var(--line-light); }
.btn-outline-dark:hover { border-color: var(--flame-2); color: var(--flame-2); }

.btn-outline-light { background: transparent; color: var(--on-dark); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.btn-ghost { background: transparent; color: var(--on-dark); border: 2px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ---- Icon wrap ---- */
.icon-wrap {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(232,72,28,0.08);
  color: var(--flame-2);
  margin-bottom: 16px;
}
.icon-wrap svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-wrap.on-dark { background: rgba(255,255,255,0.08); color: var(--flame-1); }

/* ---- Arc divider (motivo do "C" da logo) ---- */
.arc-divider { display: flex; justify-content: center; margin: 0 0 40px; }
.arc-divider svg { width: 64px; height: 32px; }

/* ---- Card padrão (fundo claro) ---- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-light-hover); }
.section-alt .card { background: var(--paper); }

/* Card com destaque (usado no CRM+IA entre os 4 serviços) */
.card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    var(--gradient-flame) border-box;
}

/* ---- Navbar (sempre sólida, escura — não muda no scroll) ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo img { height: 36px; width: auto; }
.navbar-logo span { font-family: 'Archivo Black', sans-serif; color: var(--on-dark); font-size: 1.1rem; }
.navbar-logo span em { font-style: normal; background: var(--gradient-flame); -webkit-background-clip: text; background-clip: text; color: transparent; }

.navbar-links { display: flex; gap: 32px; }
.navbar-links a { color: var(--on-dark-mute); font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.navbar-links a:hover, .navbar-links a.active { color: var(--on-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--on-dark); border-radius: 2px; }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: var(--ink); border-top: 1px solid var(--line-dark);
  padding: 16px 24px 24px;
}
.mobile-menu a { padding: 12px 0; color: var(--on-dark-mute); font-weight: 500; }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
}

/* ---- Hero (home, fundo --ink) ---- */
.hero { background: var(--ink); color: var(--on-dark); padding: 88px 0 72px; }
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--on-dark); margin-bottom: 18px; }
.hero > .container p, .hero-content > p { color: var(--on-dark-mute); font-size: 1.1rem; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat strong { font-family: 'Archivo Black', sans-serif; font-size: 1.6rem; background: var(--gradient-flame); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.hero-stat span { font-size: 0.82rem; color: var(--on-dark-mute); }

.hero-photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-photo { width: 100%; display: block; }
.hero-photo-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(10,10,10,0.75); backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: 10px 16px; color: var(--on-dark); font-size: 0.85rem;
}
.hero-photo-badge strong { display: block; font-size: 0.9rem; }
.hero-photo-badge span { color: var(--on-dark-mute); font-size: 0.78rem; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
}

/* ---- Page hero (páginas internas, fundo --ink) ---- */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 64px 0 56px; }
.page-hero h1 { color: var(--on-dark); margin: 10px 0 12px; }
.page-hero p { color: var(--on-dark-mute); max-width: 56ch; }

/* ---- Stats bar (fundo --ink, full-bleed) ---- */
.stats-bar { background: var(--ink); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { font-family: 'Archivo Black', sans-serif; font-size: 2rem; background: var(--gradient-flame); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.stat-item span { color: var(--on-dark-mute); font-size: 0.85rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- CTA section (fundo --ink) ---- */
.cta-section { background: var(--ink); padding: 72px 0; text-align: center; }
.cta-section h2 { color: var(--on-dark); margin-bottom: 12px; }
.cta-section p { color: var(--on-dark-mute); max-width: 52ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer (fundo --ink) ---- */
.footer { background: var(--ink); color: var(--on-dark-mute); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 32px; margin-bottom: 12px; }
.footer-brand p { color: var(--on-dark-mute); font-size: 0.88rem; max-width: 34ch; margin: 10px 0 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: var(--on-dark);
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--gradient-flame); }
.footer-social svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.footer-col h4 { color: var(--on-dark); margin-bottom: 14px; font-size: 0.92rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.8rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Diferenciais / grids genéricos ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---- Split 2-col genérico (usado em servicos.html) ---- */
.split-2col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.split-2col.reverse { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 900px) {
  .split-2col, .split-2col.reverse { grid-template-columns: 1fr; }
}

/* ---- Processo (Atração -> Presença -> Relacionamento) ---- */
.process-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: start; }
.process-step h3 { margin: 14px 0 8px; }
.process-step ul li { font-size: 0.88rem; color: var(--ink-mute); padding: 4px 0; }
.process-arrow { display: flex; align-items: center; color: var(--flame-2); padding-top: 40px; }
.process-arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-arrow { display: none; }
}

/* ---- Cases ---- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-segment { color: var(--flame-2); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.case-card h3 { margin: 10px 0 10px; font-size: 1.15rem; }
.case-results { display: flex; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.case-result strong { font-family: 'Archivo Black', sans-serif; font-size: 1.3rem; color: var(--flame-2); display: block; }
.case-result span { font-size: 0.75rem; color: var(--ink-mute); }
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }

/* ---- Planos ---- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; position: relative; }
.plan-card.featured {
  transform: scale(1.03);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-flame); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.plan-price strong { font-family: 'Archivo Black', sans-serif; font-size: 2rem; }
.plan-price .period { color: var(--ink-mute); font-size: 0.9rem; }
.plan-desc { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 20px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan-feature { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; }
.plan-feature svg { width: 16px; height: 16px; stroke: var(--flame-2); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }
.plan-feature.off { color: var(--ink-mute); opacity: 0.55; }
.plan-feature.off svg { stroke: var(--ink-mute); }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } .plan-card.featured { transform: none; } }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line-light); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: var(--paper); border: none; cursor: pointer;
  padding: 18px 20px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-icon { flex-shrink: 0; color: var(--flame-2); font-size: 1.2rem; transition: transform var(--transition); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); background: var(--surface); }
.faq-answer p { padding: 0 20px; font-size: 0.92rem; }
.faq-answer.open { max-height: 240px; }
.faq-answer.open p { padding: 4px 20px 18px; }

/* ---- Formulário ---- */
.form-card { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-light); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-light); font-family: 'Poppins', sans-serif; font-size: 0.95rem;
  background: var(--surface); color: var(--ink-2);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--flame-2); }
.form-group textarea { min-height: 100px; resize: vertical; }

/* ---- Contato ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item a, .contact-item p { color: var(--ink-mute); font-size: 0.92rem; }
.team-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.team-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient-flame); color: #fff; font-family: 'Archivo Black', sans-serif;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
