/* =====================================================================
   Falconi Camargos — Diagnóstico Societário
   Hierarquia de marca: Falconi Camargos institucional + camargos sotaque
   ===================================================================== */

@font-face { font-family: "Paralucent"; font-weight: 100; src: url("/brand/fonts/Paralucent-Thin.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 200; src: url("/brand/fonts/Paralucent-ExtraLight.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 300; src: url("/brand/fonts/Paralucent-Light.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 400; src: url("/brand/fonts/Paralucent-Book.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 500; src: url("/brand/fonts/Paralucent-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 600; src: url("/brand/fonts/Paralucent-DemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 700; src: url("/brand/fonts/Paralucent-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Paralucent"; font-weight: 900; src: url("/brand/fonts/Paralucent-Heavy.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Mulish"; font-weight: 100 900; src: url("/brand/fonts/Mulish-Variable.ttf") format("truetype-variations"); font-display: swap; }

:root {
  --neon: #EBF33D;          /* sotaque camargos */
  --navy: #3D4752;          /* institucional Falconi Camargos */
  --black: #000000;
  --gray: #CDD1CF;
  --white: #FFFFFF;
  --navy-deep: #2A323B;
  --bg-soft: #F4F5F4;
  --shadow-md: 0 8px 24px rgba(61,71,82,.10);
  --shadow-lg: 0 20px 48px rgba(61,71,82,.18);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Paralucent", "Mulish", -apple-system, "Segoe UI", system-ui, sans-serif;
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─────────── Layout ─────────── */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  padding: 18px 24px;
}
.site-header .inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand-falconi img { height: 64px; width: auto; display: block; }
@media (max-width: 640px) { .brand-falconi img { height: 48px; } }
.brand-camargos-mini {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); font-size: 12px; font-weight: 500;
}
.brand-camargos-mini .sep { color: var(--gray); opacity: .7; }
.c-lockup {
  display: inline-flex; align-items: center; gap: 4px;
  line-height: 1;
}
.c-lockup strong { font-weight: 700; letter-spacing: -0.01em; }
.brand-camargos-mini .c-mark {
  display: inline-block;
  width: 22px; height: 22px;
  background: url("/brand/logos/c-mark-navy.png") center/contain no-repeat;
  flex: 0 0 22px;
}

.site-main { flex: 1; padding: 32px 24px 80px; }
.container { max-width: 880px; margin: 0 auto; }

.site-footer {
  background: var(--navy);
  color: var(--gray);
  padding: 28px 24px;
  font-size: 13px;
}
.site-footer .inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer strong { color: var(--white); font-weight: 600; }
.site-footer .powered { display: inline-flex; align-items: center; gap: 8px; color: var(--gray); font-size: 12px; }
.site-footer .powered .dot {
  width: 20px; height: 20px;
  background: url("/brand/logos/c-mark-neon.png") center/contain no-repeat;
  display: inline-block;
}

/* ─────────── Tipografia ─────────── */
h1, h2, h3 { color: var(--navy-deep); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: 38px; margin-bottom: 12px; }
h2 { font-size: 26px; margin-bottom: 10px; }
h3 { font-size: 19px; margin-bottom: 8px; }
.lead { font-size: 17px; color: #586573; }

/* ─────────── Cards ─────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid #E8EAEA;
}

/* ─────────── Botões ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: var(--neon); color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(235,243,61,.45);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(235,243,61,.55); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ─────────── Hero ─────────── */
.hero { text-align: center; padding: 24px 0 16px; }
.hero .eyebrow {
  display: inline-block; background: var(--neon); color: var(--navy-deep);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; max-width: 720px; margin: 0 auto 14px; }
.hero .lead { max-width: 620px; margin: 0 auto 24px; }
.hero .meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: #6c7783; font-size: 13px; margin-bottom: 24px; }
.hero .meta span::before { content: "•"; color: var(--neon); margin-right: 6px; font-weight: 900; }
.hero .meta span:first-child::before { content: ""; margin: 0; }

/* ─────────── Barra de progresso (sotaque camargos) ─────────── */
.progress-wrap { margin: 8px 0 32px; }
.progress-meta {
  display: flex; justify-content: space-between; font-size: 12px;
  color: #6c7783; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 8px;
}
.progress-bar { height: 10px; background: #E2E5E4; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--neon), #d6dd2e); border-radius: 999px; transition: width .35s ease; }

/* ─────────── Bloco / Pergunta ─────────── */
.block-tag {
  display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: var(--navy-deep); background: var(--neon);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

.question { margin-bottom: 28px; }
.question .label { font-size: 18px; font-weight: 600; color: var(--navy-deep); margin-bottom: 14px; line-height: 1.35; }
.options { display: grid; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1.5px solid #E2E5E4; border-radius: 12px;
  background: var(--white); cursor: pointer; transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--navy); }
.option input { accent-color: var(--neon); width: 18px; height: 18px; flex-shrink: 0; }
.option.selected { border-color: var(--navy); background: #FAFCEC; }

/* ─────────── Form fields ─────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-deep); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #E2E5E4; border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--navy-deep); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--neon); border-color: var(--navy); }
.field .hint { font-size: 12px; color: #8a939c; margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.lgpd-box {
  background: #F9FAEC; border: 1.5px solid var(--neon); border-radius: 12px;
  padding: 16px; margin: 18px 0;
}
.lgpd-box label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--navy-deep); cursor: pointer; }
.lgpd-box input { width: 20px; height: 20px; accent-color: var(--navy); margin-top: 2px; flex-shrink: 0; }

/* ─────────── Resultado ─────────── */
.result-greeting { font-size: 22px; color: var(--navy); margin-bottom: 8px; font-weight: 500; }
.result-greeting strong { color: var(--navy-deep); font-weight: 700; }
.result-title { font-size: 32px; font-weight: 800; color: var(--navy-deep); margin-bottom: 18px; }

.axes-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 24px 0 28px; }
@media (max-width: 720px) { .axes-grid { grid-template-columns: 1fr; } }
.axis-card {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  border: 1.5px solid #E2E5E4; text-align: center;
}
.axis-card .name { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #6c7783; margin-bottom: 6px; }
.axis-card .value { font-size: 26px; font-weight: 800; color: var(--navy-deep); }
.axis-card .badge { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.axis-card.alta { border-color: #ef4444; }
.axis-card.alta .badge { background: #fee2e2; color: #b91c1c; }
.axis-card.media { border-color: var(--navy); }
.axis-card.media .badge { background: var(--neon); color: var(--navy-deep); }
.axis-card.baixa { border-color: #10b981; }
.axis-card.baixa .badge { background: #d1fae5; color: #065f46; }

.radar-wrap { display: flex; justify-content: center; margin: 12px 0 28px; }
.radar-wrap svg { max-width: 360px; width: 100%; height: auto; }

.section-block { margin-top: 28px; }
.section-block h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-block h3::before { content: ""; width: 14px; height: 14px; background: var(--neon); border-radius: 4px; display: inline-block; }

.rec-list { display: grid; gap: 12px; }
.rec-item {
  background: var(--white); border-radius: 12px; padding: 16px 18px; border-left: 5px solid var(--neon);
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.rec-item .rec-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6c7783; margin-bottom: 6px; font-weight: 700; }
.rec-item .rec-meta .pri { background: var(--navy); color: var(--white); padding: 2px 10px; border-radius: 999px; }
.rec-item .rec-text { font-size: 15px; color: var(--navy-deep); line-height: 1.5; }

.doc-list, .legal-list { list-style: none; display: grid; gap: 8px; }
.doc-list li, .legal-list li {
  background: var(--white); padding: 12px 16px; border-radius: 10px; border: 1px solid #E8EAEA;
  font-size: 14px; color: var(--navy-deep);
  position: relative; padding-left: 36px;
}
.doc-list li::before, .legal-list li::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; background: var(--neon); border-radius: 2px;
}

.callout-stat {
  background: linear-gradient(135deg, #FAFCEC, #F4F7C8);
  border-left: 6px solid var(--neon);
  padding: 18px 22px; border-radius: 10px; margin: 20px 0;
  font-size: 15px; color: var(--navy-deep); line-height: 1.5;
}

.limitation-box {
  background: var(--bg-soft); border: 1.5px dashed #B8BDB7;
  padding: 18px 20px; border-radius: 12px; margin-top: 24px;
}
.limitation-box h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--navy-deep); }
.limitation-box p { font-size: 14px; color: #586573; }

/* ─────────── CTA Rodrigo Camargos ─────────── */
.cta-personal {
  margin-top: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.cta-personal::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; background: var(--neon); border-radius: 50%; opacity: .12;
}
.cta-personal h3 { color: var(--white); font-size: 24px; }
.cta-personal p { color: #d8dde2; margin-top: 8px; font-size: 15px; max-width: 560px; }
.cta-personal .signature { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.cta-personal .signature .seal {
  background: var(--neon); color: var(--navy-deep); padding: 6px 14px;
  border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.cta-personal .signature strong { color: var(--white); font-size: 16px; }
.cta-personal .signature small { color: #b0b8c0; font-size: 12px; display: block; }
.cta-personal .btn-row { margin-top: 24px; }
.cta-personal .btn-ghost { color: var(--white); border-color: var(--white); }
.cta-personal .btn-ghost:hover { background: var(--white); color: var(--navy); }

/* ─────────── Helpers ─────────── */
.hidden { display: none !important; }
.spinner {
  display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4);
  border-top-color: var(--navy-deep); border-radius: 50%; animation: spin 1s linear infinite; vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-msg { color: #b91c1c; font-size: 14px; margin-top: 8px; }
.success-msg { color: #065f46; font-size: 14px; margin-top: 8px; }

/* ─────────── Loading state ─────────── */
.loading-state {
  text-align: center; padding: 48px 20px;
}
.loading-state .ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 5px solid #E2E5E4; border-top-color: var(--neon);
  margin: 0 auto 18px; animation: spin 1s linear infinite;
}
.loading-state h3 { font-size: 20px; }
.loading-state p { color: #6c7783; margin-top: 6px; }
