/* ==========================================================================
   SAM Assessoria Contábil — Design System
   Identidade oficial: Ouro #EEB832 · Petróleo #547473 · Petróleo profundo #0F3B3C
   Grafite #595959 · Branco. Proporção 60% petróleo profundo/branco, 30% petróleo,
   10% ouro (o ouro marca o que importa e nunca preenche fundos inteiros).
   Tipografia: Sora (títulos) · Figtree (texto) · IBM Plex Mono (números e prazos).
   ========================================================================== */

:root {
  /* Marca */
  --color-primary: #547473;
  --color-primary-dark: #0F3B3C;
  --color-primary-darker: #0A2B2C;
  --color-accent: #EEB832;
  --color-accent-dark: #D9A21F;
  --color-accent-text: #8C6B0A; /* ouro escurecido para texto sobre fundo claro (contraste AA) */

  /* Neutros */
  --color-text: #1F2A2A;
  --color-text-muted: #595959;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F2F5F5;
  --color-bg-alt-2: #E4EDED;
  --color-border: #D6E1E1;
  --color-white: #FFFFFF;

  /* Feedback */
  --color-success: #2E7D5B;
  --color-whatsapp: #25D366;

  /* Tipografia */
  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Escala e espaçamento */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(10, 43, 44, 0.06);
  --shadow-md: 0 12px 30px rgba(10, 43, 44, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 43, 44, 0.18);
  --container-w: 1180px;
  --transition: 180ms ease;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--color-text-muted); }
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: linear-gradient(160deg, var(--color-primary-darker), var(--color-primary-dark));
  color: var(--color-white);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--dark p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  background: rgba(238, 184, 50, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.section--dark .eyebrow { color: var(--color-accent); background: rgba(238, 184, 50, 0.16); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-darker);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
}
.btn-outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }
.btn-ghost {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary); color: var(--color-white); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1DAE54; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.28rem; font-weight: 700; color: var(--color-primary-dark); letter-spacing: .01em; }
.brand-text small { font-family: var(--font-heading); font-size: 0.56rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--color-text-muted); }
.brand-text--light strong { color: #fff; }
.brand-text--light small { color: rgba(255,255,255,0.6); }
.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-desktop a:hover, .nav-desktop a.active { background: var(--color-bg-alt-2); color: var(--color-primary-dark); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; }
.nav-toggle {
  width: 42px; height: 42px;
  position: relative;
}
.nav-toggle span, .nav-toggle i {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--color-primary-dark); border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span { top: 15px; }
.nav-toggle b { position: absolute; left: 9px; right: 9px; top: 20px; height: 2px; background: var(--color-primary-dark); border-radius: 2px; transition: opacity var(--transition); }
.nav-toggle i { top: 25px; }
.nav-toggle.is-open span { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open i { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle.is-open b { opacity: 0; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav {
    position: fixed; inset: 0 0 auto 0; top: 74px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 18px 24px 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a { display: block; padding: 14px 4px; font-family: var(--font-heading); font-weight: 500; border-bottom: 1px solid var(--color-border); }
  .mobile-nav .btn { margin-top: 14px; width: 100%; }
}
@media (min-width: 961px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero::after {
  content: '';
  position: absolute;
  right: -10%; top: -20%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(238,184,50,0.22), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,0.82); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 28px; margin-top: 46px; }
@media (max-width: 520px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.hero-stats div strong small { font-family: var(--font-heading); font-size: 0.55em; font-weight: 600; }
.hero-stats div strong { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 1.8rem; color: var(--color-accent); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-card ul { display: flex; flex-direction: column; gap: 16px; }
.hero-card li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,0.92); font-family: var(--font-heading); font-size: 0.98rem; }
.hero-card .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-primary-darker);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}

/* ---------- Hero: retrato do diretor + lista de serviços ---------- */
.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.hero-portrait {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 420px;
}
.hero-portrait::before {
  content: '';
  position: absolute; inset: 22px -18px -18px 22px;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  border: 1.5px solid rgba(238,184,50,0.55);
}
.hero-portrait img {
  position: relative;
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.hero-portrait-tag {
  position: absolute; right: -8px; bottom: 28px;
  background: var(--color-white); color: var(--color-primary-darker);
  border-radius: var(--radius-sm); padding: 10px 14px; box-shadow: var(--shadow-md);
  font-family: var(--font-heading); line-height: 1.25;
}
.hero-portrait-tag strong { display: block; font-size: 1rem; }
.hero-portrait-tag span { font-size: 0.78rem; color: var(--color-text-muted); }
.hero-visual .hero-card {
  position: absolute; left: 0; bottom: -36px;
  width: 64%; padding: 22px;
  background: rgba(10,43,44,0.82);
}
.hero-visual .hero-card ul { gap: 12px; }
.hero-visual .hero-card li { font-size: 0.88rem; gap: 10px; }
.hero-visual .hero-card .check { width: 22px; height: 22px; font-size: 0.75rem; }
@media (max-width: 900px) {
  .hero-visual { flex-direction: column; align-items: center; gap: 24px; }
  .hero-portrait { max-width: 320px; }
  .hero-portrait::before { inset: 16px -12px -12px 16px; }
  .hero-portrait-tag { right: -4px; }
  .hero-visual .hero-card { position: static; width: 100%; }
}

/* ---------- Cards genéricos ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-1 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: var(--color-bg-alt-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.card-icon svg { width: 26px; height: 26px; }
.card ul.check-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--color-text); }
.check-list li::before { content: '✓'; color: var(--color-success); font-weight: 700; flex: none; }

/* ---------- Segmentos ---------- */
.segment-tabs { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.segment-tab {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--color-border);
  background: var(--color-white); cursor: pointer; transition: all var(--transition);
}
.segment-tab.is-active, .segment-tab:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .segment-grid { grid-template-columns: 1fr; } }
.segment-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem;
  transition: all var(--transition);
}
.segment-item[data-group] { }
.segment-item:hover { background: var(--color-white); border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.segment-item .arrow { color: var(--color-accent-text); font-size: 1.1rem; flex: none; }
.segment-item.is-hidden { display: none; }

/* ---------- Depoimentos ---------- */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: var(--color-accent); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-quote { color: var(--color-text); font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
}
.testimonial-author strong { display: block; font-family: var(--font-heading); font-size: 0.92rem; color: var(--color-primary-dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--color-text-muted); }

/* ---------- Timeline / Sobre ---------- */
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: white;
  text-align: center;
}
.about-media--photo {
  position: relative; margin: 0; padding: 0;
  align-items: flex-end; text-align: left;
}
.about-media--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.about-media--photo figcaption {
  position: relative; width: 100%;
  padding: 120px 32px 28px;
  background: linear-gradient(180deg, transparent, rgba(10,43,44,0.92) 60%);
}
.about-media--photo h3 { font-size: 1.2rem; margin-bottom: 6px; }
.about-media--photo p { margin: 0; font-size: 0.95rem; }

/* ---------- Sobre: foto da equipe e liderança ---------- */
.team-photo { margin: 56px 0 0; }
.team-photo img {
  width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center 45%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.team-photo figcaption { margin-top: 12px; text-align: center; font-size: 0.9rem; color: var(--color-text-muted); }
.leader { padding-bottom: 0; overflow: hidden; }
.leader-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: end;
}
.leader-grid > div { padding-bottom: 72px; }
.leader-portrait { margin: 0; display: flex; justify-content: center; }
.leader-portrait img { width: 300px; max-width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35)); }
@media (max-width: 900px) {
  .leader { padding-bottom: 56px; }
  .leader-grid { grid-template-columns: 1fr; gap: 24px; }
  .leader-grid > div { padding-bottom: 0; order: -1; }
  .leader-portrait img { width: 240px; }
}
.stat-strip { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.stat-strip div { flex: 1; min-width: 160px; padding: 28px; text-align: center; border-left: 1px solid var(--color-border); }
.stat-strip div:first-child { border-left: none; }
.stat-strip strong { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 2rem; color: var(--color-primary); }
.stat-strip span { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--color-primary-dark);
}
.faq-question .plus { font-size: 1.4rem; color: var(--color-accent-text); transition: transform var(--transition); flex: none; }
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 260ms ease; }
.faq-answer p { padding-bottom: 22px; margin: 0; }

/* ---------- Formulário de contato ---------- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--color-primary-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); font-family: var(--font-body); font-size: 0.96rem;
  transition: border-color var(--transition);
  background: var(--color-bg-alt);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); background: var(--color-white); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 10px; }
.form-success { display: none; background: rgba(46,125,91,0.1); color: var(--color-success); padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-success.is-visible { display: block; }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--color-bg-alt-2); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info-item strong { display: block; font-family: var(--font-heading); color: var(--color-primary-dark); margin-bottom: 2px; }
.contact-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); margin-top: 26px; }
.contact-map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- CTA final ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(120deg, var(--color-primary-darker), var(--color-primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: white; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-white); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); height: 100%; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-card .post-thumb { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--color-primary-dark); }
.post-card .post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-body p { flex: 1; }
.post-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-text); }
.post-date { font-family: var(--font-mono); font-size: 0.74rem; color: var(--color-text-muted); margin-left: 8px; }
.post-more { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-primary-dark); }
.post-more::after { content: " →"; color: var(--color-accent-text); }
.post-meta { margin-top: 6px; font-size: 0.9rem; color: var(--color-text-muted); }
.post-cover { margin: 0 auto 40px; max-width: 900px; }
.post-cover img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.page-hero .post-tag { display: inline-block; margin-bottom: 12px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.post-card h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.empty-state { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--color-border); border-radius: var(--radius-lg); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--color-primary); }
.breadcrumbs span { margin: 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-darker); color: rgba(255,255,255,0.82); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .brand img { height: 42px; }
.site-footer h4 { color: white; font-size: 0.92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--color-accent); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.social-row a:hover { background: var(--color-accent); color: var(--color-primary-darker); }

/* ---------- Créditos do rodapé ---------- */
.footer-credits a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 2px; }
.footer-credits a:hover { color: var(--color-accent); }
.footer-bottom button.link-like { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer-bottom button.link-like:hover { color: var(--color-accent); }

/* ---------- Barra de cookies (LGPD) ---------- */
.cookie-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 300;
  max-width: 460px; padding: 20px 22px;
  background: var(--color-primary-dark); color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar strong { display: block; font-family: var(--font-heading); color: var(--color-white); margin-bottom: 4px; }
.cookie-bar p { color: rgba(255,255,255,0.8); margin: 0 0 14px; }
.cookie-bar a { color: var(--color-accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.88rem; }
.cookie-actions .btn-outline { border-color: rgba(255,255,255,0.4); }
@media (max-width: 560px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  body.has-cookie-bar .whatsapp-float { bottom: 200px; }
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--color-whatsapp); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Fotos do Sued ---------- */
.leader--photo { padding-bottom: 88px; }
.leader--photo .leader-grid { align-items: center; }
.leader--photo .leader-grid > div { padding-bottom: 0; }
.leader--photo .leader-portrait img {
  width: 380px; aspect-ratio: 3 / 4; object-fit: cover; filter: none;
  border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(0,0,0,0.35);
  outline: 1.5px solid rgba(238,184,50,0.55); outline-offset: 12px;
}
@media (max-width: 900px) {
  .leader--photo { padding-bottom: 56px; }
  .leader--photo .leader-portrait img { width: 280px; }
}

.steps-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.steps-split .section-head { margin-bottom: 28px; }
.steps-split .steps { gap: 16px; }
.steps-split .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 22px 24px; }
.steps-split .step::before { grid-row: span 2; margin: 0; }
@media (max-width: 900px) { .steps-split { grid-template-columns: 1fr; gap: 36px; } }
.photo-frame { margin: 0; }
.photo-frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.photo-frame figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--color-text-muted); text-align: center; }
@media (max-width: 900px) { .photo-frame img { aspect-ratio: 4 / 3; object-position: center 30%; } }

.cta-banner--person { justify-content: flex-start; }
.cta-banner--person > div { flex: 1; min-width: 240px; }
.cta-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 22%;
  border: 3px solid var(--color-accent); flex: none;
}
@media (max-width: 620px) { .cta-banner { padding: 36px 24px; } .cta-avatar { width: 96px; height: 96px; } }

.person-card {
  display: flex; gap: 18px; align-items: center;
  padding: 16px; border-radius: var(--radius-md);
  background: var(--color-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.person-card img { width: 96px; height: 120px; object-fit: cover; object-position: center 20%; border-radius: var(--radius-sm); flex: none; }
.person-card strong { display: block; font-family: var(--font-heading); color: var(--color-primary-dark); margin-bottom: 4px; }
.person-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Página interna genérica (Sobre, Privacidade) ---------- */
.page-hero { padding: 64px 0 48px; background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; color: var(--color-text-muted); }

/* ---------- Cards de segmento (home e /segmentos.html) ---------- */
.seg-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--color-accent); }
.seg-card .seg-icon { font-size: 1.8rem; line-height: 1; }
.seg-card h3 { margin: 4px 0 0; font-size: 1.15rem; }
.seg-card .seg-who { font-size: 0.86rem; color: var(--color-text-muted); margin: 0; }
.seg-card .seg-msg { color: var(--color-text); font-weight: 500; margin: 0; flex: 1; }
.seg-card .seg-link { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-primary-dark); }
.seg-card .seg-link::after { content: ' →'; color: var(--color-accent-text); }
.seg-card ul.check-list { margin: 6px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.seg-others {
  margin-top: 32px; padding: 22px 26px; border-radius: var(--radius-md);
  border: 1.5px dashed var(--color-border); display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.seg-others p { margin: 0; max-width: 720px; }

/* ---------- Diferenciais ---------- */
.diff-card { padding: 26px 0 0; border-top: 2px solid var(--color-border); }
.diff-card .diff-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-accent-text); font-weight: 600; }
.diff-card h3 { margin: 8px 0 8px; font-size: 1.12rem; }
.diff-card p { margin: 0; }

/* ---------- Passos (como começar) ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-md); background: var(--color-white); border: 1px solid var(--color-border); height: 100%; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; color: var(--color-accent-text); margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; }

/* ---------- Faixa da Reforma Tributária ---------- */
.reforma-band .container { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .reforma-band .container { grid-template-columns: 1fr; } }
.reforma-figure {
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg); padding: 32px; text-align: center;
  background: rgba(255,255,255,0.04);
}
.reforma-figure strong { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 3.4rem; color: var(--color-accent); line-height: 1; }
.reforma-figure span { display: block; margin-top: 10px; color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Páginas de segmento ---------- */
.seg-hero { padding: 72px 0 64px; }
.seg-hero .seg-quote {
  margin: 22px 0 0; padding-left: 18px; border-left: 3px solid var(--color-accent);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--color-white); max-width: 620px;
}
.seg-hero .seg-for { margin-top: 18px; font-size: 0.95rem; }
.pain-list, .deliver-list { display: flex; flex-direction: column; gap: 14px; }
.pain-list li, .deliver-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--radius-sm); background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-text);
}
.pain-list li::before { content: '!'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--color-bg-alt-2); color: var(--color-primary-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.deliver-list li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--color-accent); color: var(--color-primary-darker); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.pain-list strong, .deliver-list strong { display: block; font-family: var(--font-heading); color: var(--color-primary-dark); margin-bottom: 2px; font-size: 0.98rem; }
.pain-list span, .deliver-list span { font-size: 0.93rem; color: var(--color-text-muted); }
.fact-box {
  margin-top: 28px; padding: 24px 26px; border-radius: var(--radius-md);
  background: var(--color-primary-dark); color: rgba(255,255,255,0.85);
}
.fact-box .fact-key { display: block; font-family: var(--font-mono); font-weight: 600; color: var(--color-accent); font-size: 1.05rem; margin-bottom: 8px; }
.fact-box p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.95rem; }
.limit-note { margin-top: 24px; padding: 18px 22px; border-radius: var(--radius-sm); border-left: 4px solid var(--color-primary); background: var(--color-bg-alt); }
.limit-note p { margin: 0; color: var(--color-text); font-size: 0.95rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.form-intro { margin-bottom: 24px; }
.form-intro h2 { margin-bottom: 8px; }

/* ---------- Topo no celular: evita o botão por cima do logo ---------- */
@media (max-width: 520px) {
  .header-actions .btn { display: none; }
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--color-primary-dark); color: white;
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 999; transition: top var(--transition);
}
.skip-link:focus { top: 12px; }
