/* ==========================================================================
   Mapa da Reclamação — Marcos Rêgo
   ========================================================================== */

:root {
  --navy: #0B2140;
  --navy-deep: #081a35;
  --navy-mid: #12305c;
  --red: #C81E1E;
  --red-hover: #9c1414;
  --red-btn-hover: #a91818;
  --yellow: #FFC72C;
  --bg-light: #F5F7FB;
  --border-light: #e6ebf2;
  --text-body: #55647c;
  --text-body-2: #4a5a72;
  --text-body-3: #5c6b83;
  --text-muted: #8ea1bd;
  --text-muted-2: #5f7189;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
input, textarea, button { font-family: inherit; }
::selection { background: var(--yellow); color: var(--navy); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 30, 30, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(200, 30, 30, 0); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reusable bits ---------- */

.eyebrow {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

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

.section-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.04;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-title-light { color: var(--white); }

.section-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-body-2);
  line-height: 1.55;
  margin: 0;
}

.section-lead-light { color: #C7D2E4; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pill-yellow { background: var(--yellow); color: var(--navy); gap: 9px; font-size: 13px; padding: 8px 16px; letter-spacing: 0.16em; }
.pill-red { background: var(--red); color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(200, 30, 30, 0.4);
}
.btn-primary:hover { color: var(--white); background: var(--red-btn-hover); }

.btn-pill { border-radius: 999px; font-size: 14px; padding: 11px 20px; box-shadow: 0 6px 18px rgba(200, 30, 30, 0.35); }

.btn-lg { font-size: 18px; padding: 17px 30px; border-radius: 12px; }

.btn-pulse { animation: pulseGlow 2.6s ease-in-out infinite; }

.btn-block { width: 100%; padding: 18px; border-radius: 12px; font-size: 18px; box-shadow: 0 12px 28px rgba(200, 30, 30, 0.35); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  font-size: 19px;
  padding: 18px 36px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.btn-yellow:hover { color: var(--navy); opacity: 0.92; }

.btn-dark {
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 10px;
}

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-problems { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }

.section { padding: clamp(56px, 7vw, 90px) 22px; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--white); }

/* Dotted background used on dark sections */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-dots-cta {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 0);
  background-size: 22px 22px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 33, 64, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--yellow);
}

.header-inner {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: 9px;
  flex-shrink: 0;
}
.brand-badge-sm { width: 34px; height: 34px; }

.brand-text { line-height: 1.05; min-width: 0; }

.brand-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.brand-title-sm { font-size: 14px; }

.brand-subtitle {
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-subtitle-footer { font-size: 12px; letter-spacing: normal; text-transform: none; }

.btn-label-short { display: none; }

/* ---------- Small-screen header fixes ---------- */
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; gap: 10px; }
  .brand-badge { width: 30px; height: 30px; }
  .brand-badge svg { width: 17px; height: 17px; }
  .brand-title { font-size: 12.5px; letter-spacing: 0; }
  .brand-subtitle { font-size: 9px; letter-spacing: 0.08em; }
  .btn-pill { font-size: 13px; padding: 9px 14px; }
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 199, 44, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 22px clamp(48px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-content { flex: 1 1 440px; min-width: 300px; }

.hero-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.text-yellow { color: var(--yellow); }

.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: #C7D2E4;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta-note { font-size: 14px; color: #9fb0c9; font-weight: 600; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #C7D2E4; font-weight: 600; }

.hero-photo-col { flex: 1 1 340px; min-width: 280px; display: flex; justify-content: center; }
.hero-photo-wrap { position: relative; width: 100%; max-width: 420px; }
.hero-photo-tilt {
  position: absolute;
  inset: 0;
  transform: rotate(-3deg);
  background: var(--yellow);
  border-radius: 22px;
}

.photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: var(--navy-mid);
}
.hero-photo { aspect-ratio: 4 / 5; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder-text {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}
.photo-frame.img-missing .photo-placeholder-text { display: flex; }

.hero-photo-caption {
  position: absolute;
  bottom: -16px;
  left: -14px;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  max-width: 230px;
}
.hero-photo-name { font-family: 'Archivo Black', sans-serif; font-size: 14px; text-transform: uppercase; line-height: 1.1; }
.hero-photo-tag { font-size: 12.5px; color: var(--red); font-weight: 800; margin-top: 2px; }

/* ---------- Cards (por que importa) ---------- */

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--yellow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #FFF6DC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; color: var(--navy); }
.card p { font-size: 15px; color: #55647c; line-height: 1.5; margin: 0; }

/* ---------- Problem cards ---------- */

.problem-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: 14px;
  padding: 20px;
  border-left: 4px solid var(--red);
}
.problem-card svg { flex-shrink: 0; margin-top: 2px; }
.problem-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.problem-desc { font-size: 13.5px; color: #5c6b83; line-height: 1.4; }

/* ---------- Form section ---------- */

.section-form {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.form-container { position: relative; max-width: 720px; }

.form-head { margin-bottom: 34px; }

.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

#reclamacao-form[hidden] { display: none; }
#reclamacao-form { display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row .field { flex: 1 1 220px; }

.field label { font-size: 14px; font-weight: 800; color: var(--navy); }

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid #d7dfea;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus { border-color: var(--navy); }

.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; font-family: inherit; }

.field.has-error input,
.field.has-error textarea {
  border-color: var(--red);
  background: #fff6f5;
}

.field-error {
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  min-height: 0;
}
.field-error:empty { display: none; }

.consent-field { gap: 10px; }

.consent-text {
  max-height: 150px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid #d7dfea;
  border-radius: 10px;
  background: var(--bg-light);
}
.consent-text .consent-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.consent-text p {
  font-size: 12.5px;
  color: #5c6b83;
  line-height: 1.55;
  margin: 0 0 10px;
}
.consent-text p:last-child { margin-bottom: 0; }

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}
.consent-check span {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.consent-field.has-error .consent-text { border-color: var(--red); }

.form-error {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  background: #fff6f5;
  border: 1px solid #f3c6c6;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}
.form-error[hidden] { display: none; }

.form-privacy {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}
.form-privacy svg { flex-shrink: 0; margin-top: 1px; }
.form-privacy span { font-size: 12.5px; color: #8a97ab; line-height: 1.45; }

.success-state { text-align: center; padding: 24px 8px; animation: floatUp 0.5s ease; }
.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #E7F7EC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-state h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.success-state p {
  font-size: 16px;
  color: #55647c;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 auto 24px;
}
.success-state strong { color: var(--navy); }

/* ---------- Bio section ---------- */

.bio-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(30px, 5vw, 56px);
  max-width: 1080px;
}

.bio-photo-col { flex: 1 1 300px; min-width: 260px; display: flex; justify-content: center; }
.bio-photo-wrap { position: relative; width: 100%; max-width: 360px; }
.bio-photo-tilt {
  position: absolute;
  inset: 0;
  transform: rotate(3deg);
  background: var(--navy);
  border-radius: 20px;
}
.bio-photo {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 33, 64, 0.28);
}
.bio-photo-badge {
  position: absolute;
  bottom: -14px;
  right: -10px;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bio-content { flex: 1 1 380px; min-width: 280px; }
.bio-text { font-size: 16.5px; color: var(--text-body-2); line-height: 1.6; margin: 0 0 22px; }

.quote {
  margin: 0;
  padding: 22px 24px;
  background: var(--white);
  border-left: 5px solid var(--yellow);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 8px 24px rgba(11, 33, 64, 0.08);
}
.quote p {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 10px;
  font-style: italic;
}
.quote span { font-size: 14px; font-weight: 800; color: var(--red); }

/* ---------- Chamada final ---------- */

.section-cta {
  position: relative;
  background: var(--red);
  overflow: hidden;
}
.cta-inner { position: relative; max-width: 820px; text-align: center; }
.cta-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.cta-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: #ffe0dd;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--text-muted); padding: 40px 22px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-note { font-size: 12.5px; color: var(--text-muted-2); margin: 0; max-width: 460px; line-height: 1.5; }
