/* ==========================================================
   GRUPO CAPC — folha de estilo compartilhada
   Paleta: navy #0D1F3C / dourado #C9A84C / off-white #FAF8F3
   Tipografia: Playfair Display (display) + Inter (corpo)
   ========================================================== */

:root {
  --navy: #0D1F3C;
  --navy-light: #1a3055;
  --gold: #C9A84C;
  --gold-light: #d9bd6e;
  --off-white: #FAF8F3;
  --cream: #f0ebe0;
  --text: #2a3a52;
  --muted: #6b6b6b;
  --line: #e5e1d6;
  --whatsapp: #25D366;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* -------- HEADER -------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  padding: 20px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand span { color: var(--gold); }
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
}
.nav a { color: var(--text); }
.nav a:hover { color: var(--gold); }

/* Botão hamburger (só aparece no mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}
.menu-toggle svg { width: 28px; height: 28px; display: block; }

/* MOBILE: esconde menu, mostra hamburger */
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 28px;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: none; }
}

/* -------- HERO -------- */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 40px;
}

/* -------- BOTÕES -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: var(--off-white);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-wa {
  background: var(--whatsapp);
  color: white;
}
.btn-wa:hover {
  background: #1ebe59;
  color: white;
}

/* -------- SEÇÃO -------- */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 40px;
  max-width: 800px;
}
.section h2 em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 19px;
  line-height: 1.7;
  max-width: 720px;
}
.section-lead + .section-lead { margin-top: 24px; }

/* -------- PRODUTOS (grid) -------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.product {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product:hover { background: rgba(201, 168, 76, 0.06); }
.product h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.product p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  flex-grow: 1;
}
.product .product-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  align-self: flex-start;
}
.product .product-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* -------- CONSULTORES -------- */
.consultor {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.consultor:last-child { border-bottom: none; padding-bottom: 0; }
.consultor:first-of-type { padding-top: 60px; }
.consultor-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  padding: 5px;
  background: var(--off-white);
  margin-bottom: 24px;
  display: block;
}
.consultor-header h3 {
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1.15;
}
.consultor-header .role {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.consultor-header .specialties {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  line-height: 1.5;
}
.consultor-body p {
  margin-bottom: 18px;
  font-size: 16.5px;
  line-height: 1.75;
}
.consultor-body p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .consultor { grid-template-columns: 1fr; gap: 24px; }
  .consultor-photo { width: 140px; height: 140px; }
}

/* -------- CONTATO -------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}
.contato-info p {
  margin-bottom: 14px;
  font-size: 17px;
}
.contato-info strong {
  color: var(--navy);
  font-weight: 500;
}

@media (max-width: 800px) {
  .contato-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* -------- FOOTER -------- */
.site-footer {
  padding: 50px 0 40px;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand { color: var(--off-white); }
.site-footer .brand span { color: var(--gold); }
.site-footer .copy { font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--gold); }

/* -------- WHATSAPP FLOAT -------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 95;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* -------- PERMANÊNCIA: features -------- */
.feature-list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.feature {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.feature h3 {
  font-size: 22px;
  color: var(--navy);
}
.feature p {
  font-size: 16.5px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .feature { grid-template-columns: 1fr; gap: 12px; }
}

/* -------- PERMANÊNCIA: 4 pilares (cards numerados) -------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pillar-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.pillar h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.pillar p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
}
@media (max-width: 700px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* -------- PERMANÊNCIA: 4 fases (linha horizontal) -------- */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.phase {
  padding: 32px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.phase-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
}
.phase-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.phase h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.phase p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
@media (max-width: 900px) {
  .phases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .phases-grid { grid-template-columns: 1fr; }
}

/* -------- PERMANÊNCIA: bloco de destaque ("Do lead ao promotor") -------- */
.highlight-block {
  background: var(--cream);
  padding: 50px;
  margin-top: 50px;
  border-left: 3px solid var(--gold);
}
.highlight-block p {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 720px;
}
.highlight-block p:last-child { margin-bottom: 0; }
.highlight-block .emphasis {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.4;
}
@media (max-width: 700px) {
  .highlight-block { padding: 30px 24px; }
}

/* -------- LISTA EM BULLETS COM TRAÇO -------- */
.bullet-list {
  list-style: none;
  margin-top: 30px;
  max-width: 720px;
}
.bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.6;
}
.bullet-list li:before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

/* -------- BACK LINK -------- */
.back-link {
  display: inline-block;
  margin-top: 36px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.back-link:hover { color: var(--navy); }

/* -------- CTA EM DESTAQUE -------- */
.cta-block {
  background: var(--navy);
  color: var(--off-white);
  padding: 90px 0;
}
.cta-block h2,
.cta-block h2 em { color: var(--off-white); }
.cta-block .eyebrow { color: var(--gold); }
.cta-block .section-lead { color: rgba(255,255,255,0.85); }
.cta-block .btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.cta-block .btn-primary:hover {
  background: var(--off-white);
  color: var(--navy);
}
