/* ==========================================================================
   BRC Soluções — Design System
   ========================================================================== */

:root {
  --font-heading: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --navy: #21245c;
  --navy-dark: #14163f;
  --navy-light: #eceefb;
  --indigo: #2e34a8;

  --gold: #ffb122;
  --gold-dark: #e69700;
  --gold-light: #fff3de;

  --teal: #00c2c0;

  --ink: #171933;
  --gray-700: #4a4d68;
  --gray-500: #71748f;
  --gray-300: #d7d9e8;
  --gray-100: #f2f3fa;
  --bg: #f8f9fd;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(20, 22, 63, 0.06);
  --shadow-md: 0 12px 30px rgba(20, 22, 63, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 22, 63, 0.16);

  --container: 1180px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

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

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.on-dark {
  color: var(--gold);
  background: rgba(255, 177, 34, 0.14);
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { color: var(--gray-700); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(255, 177, 34, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 177, 34, 0.45); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(33, 36, 92, 0.28);
}
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
@media (max-width: 480px) {
  .btn-block { white-space: normal; line-height: 1.3; text-align: center; }
  .btn { width: 100%; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand-text { font-family: var(--font-heading); font-weight: 700; font-size: 19px; color: var(--white); line-height: 1.1; transition: color 0.3s ease; }
.brand-text span { display: block; font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); transition: color 0.3s ease; }
.navbar.scrolled .brand-text { color: var(--navy); }
.navbar.scrolled .brand-text span { color: var(--gold-dark); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  position: relative;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:not(.btn):hover { background: rgba(255, 255, 255, 0.14); color: var(--gold); }
.nav-links a.active:not(.btn) { background: rgba(255, 177, 34, 0.18); color: var(--gold); }
.navbar.scrolled .nav-links a:not(.btn) { color: var(--navy); }
.navbar.scrolled .nav-links a:not(.btn):hover { background: var(--navy-light); color: var(--indigo); }
.navbar.scrolled .nav-links a.active:not(.btn) { background: var(--gold-light); color: var(--gold-dark); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1100;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.25s ease; }
.navbar.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span { background: var(--white); }
.navbar.scrolled .nav-toggle.open span { background: var(--white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background: var(--navy);
    padding: 32px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { color: var(--white); font-size: 20px; padding: 14px 16px; text-align: center; }
  .nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { background: rgba(255,255,255,0.08); color: var(--gold); }
  .nav-actions { flex-direction: column; margin-top: 18px; }
  /* backdrop-filter no navbar faz dele o "containing block" dos elementos
     fixed dentro dele (o menu mobile, que é position:fixed;inset:0) — o
     menu encolhe para a altura do navbar em vez de cobrir a tela. Por isso
     é desativado aqui, só nesse breakpoint. */
  .navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: none; }
  /* Com o menu aberto o overlay é sempre escuro (var(--navy)), então o texto
     precisa ficar branco mesmo com .scrolled aplicado (que deixaria o texto
     navy, invisível sobre o próprio fundo navy). */
  .navbar.scrolled .nav-links.open a:not(.btn) { color: var(--white); }
  .navbar.scrolled .nav-links.open a:not(.btn):hover,
  .navbar.scrolled .nav-links.open a.active:not(.btn) { background: rgba(255,255,255,0.08); color: var(--gold); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 600px at 85% -10%, rgba(255, 177, 34, 0.18), transparent 60%),
              linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--indigo) 100%);
  padding: 168px 0 100px;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  top: -220px;
  right: -160px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  top: -100px;
  right: -60px;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-grid.single { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 992px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .hero { padding: 112px 0 56px; }
  .page-hero { padding: 104px 0 44px; }
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--gold); position: relative; }
.hero h1 .hero-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: heroLineIn 0.7s ease forwards;
}
.hero h1 .hero-line:nth-of-type(1) { animation-delay: 0.1s; }
.hero h1 .hero-line:nth-of-type(2) { animation-delay: 0.32s; }
.hero h1 .hero-line:nth-of-type(3) { animation-delay: 0.54s; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  animation: heroUnderline 0.5s ease forwards;
  animation-delay: 0.95s;
}
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroUnderline {
  to { width: 100%; }
}
.hero .lead {
  font-size: 19px; color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; max-width: 520px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroLineIn 0.7s ease forwards;
  animation-delay: 0.7s;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-actions .btn {
  opacity: 0;
  transform: translateY(18px);
  animation: heroLineIn 0.7s ease forwards;
}
.hero-actions .btn:nth-child(1) { animation-delay: 0.9s; }
.hero-actions .btn:nth-child(2) { animation-delay: 1.05s; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat {
  opacity: 0;
  transform: translateY(18px);
  animation: heroLineIn 0.7s ease forwards;
}
.hero-stats .stat:nth-child(1) { animation-delay: 1.2s; }
.hero-stats .stat:nth-child(2) { animation-delay: 1.35s; }
.hero-stats .stat:nth-child(3) { animation-delay: 1.5s; }
.hero-stats .stat strong { display: block; font-family: var(--font-heading); font-size: 26px; color: var(--gold); }
.hero-stats .stat span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hero-line,
  .hero .lead,
  .hero-actions .btn,
  .hero-stats .stat { opacity: 1; transform: none; animation: none; }
  .hero h1 .accent::after { animation: none; width: 100%; }
}

/* Lead form card */
.lead-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.lead-card h3 { font-size: 21px; margin-bottom: 6px; }
.lead-card p.hint { color: var(--gray-500); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo); }
.form-note { font-size: 12px; color: var(--gray-500); text-align: center; margin-top: 12px; }
.form-error {
  font-size: 13.5px;
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f5c6c3;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}
.form-error a { color: #b3261e; text-decoration: underline; font-weight: 600; }

/* ---------- Trust / marquee strip ---------- */
.trust-strip { background: var(--navy-dark); padding: 20px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.trust-strip .item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }
.trust-strip svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 992px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-circle {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--navy-light);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-circle svg { width: 26px; height: 26px; }
.service-card.featured .icon-circle { background: var(--gold-light); color: var(--gold-dark); }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--gray-700); font-size: 15px; flex-grow: 1; margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--indigo); font-size: 14.5px; }
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-300); }
.step .num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-700); }

/* ---------- Advantages (dark) ---------- */
.advantages { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 64px 50px; }
.advantages .section-head h2 { color: var(--white); }
.advantages .section-head p { color: rgba(255, 255, 255, 0.72); }
.adv-item { display: flex; gap: 16px; align-items: flex-start; }
.adv-item .icon-circle { background: rgba(255, 177, 34, 0.14); color: var(--gold); flex-shrink: 0; }
.adv-item h4 { color: var(--white); font-size: 17px; margin-bottom: 6px; }
.adv-item p { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
@media (max-width: 768px) { .advantages { padding: 44px 26px; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold) 0%, #ffca63 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); max-width: 520px; color: var(--navy-dark); }
.cta-banner p { color: rgba(20, 22, 63, 0.75); margin-top: 10px; max-width: 480px; }
@media (max-width: 768px) { .cta-banner { padding: 38px 28px; } }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  height: 100%;
}
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { color: var(--gray-700); font-size: 15px; margin-bottom: 22px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-light); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
}
.testimonial-person strong { display: block; font-size: 14.5px; color: var(--navy); }
.testimonial-person span { font-size: 13px; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none; border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.25s ease; color: var(--indigo); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--gray-700); font-size: 15px; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand-text { color: var(--white); }
.footer .brand-text span { color: var(--gold); }
.footer-about p { font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social 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 0.2s ease; }
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-social svg { width: 17px; height: 17px; }
.footer h5 { color: var(--white); font-size: 15px; margin-bottom: 18px; font-family: var(--font-heading); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 900;
  animation: pulse 2.4s infinite;
}
.wa-float img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 12px 30px rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 30px rgba(37, 211, 102, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 30px rgba(37, 211, 102, 0.45); }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 22, 63, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 1200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 440px; width: 100%;
  padding: 34px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--gray-100); border: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-close svg { width: 16px; height: 16px; color: var(--gray-700); }
.modal-box h3 { font-size: 20px; margin-bottom: 6px; }
.modal-box p.hint { color: var(--gray-500); font-size: 14px; margin-bottom: 22px; }

/* ---------- Slider de confirmação (modal) ---------- */
.slider-field { margin: 20px 0 4px; }
.captcha-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gray-300) 0%);
  outline: none;
  cursor: pointer;
  margin: 4px 0 10px;
}
.captcha-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(20, 22, 63, 0.35);
  cursor: grab;
}
.captcha-slider::-moz-range-track { height: 10px; border-radius: 999px; background: transparent; }
.captcha-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(20, 22, 63, 0.35);
  cursor: grab;
}
.slider-hint { font-size: 12.5px; color: var(--gray-500); text-align: center; transition: color 0.2s ease; }
.slider-hint.done { color: var(--teal); font-weight: 600; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; pointer-events: none; }

/* ---------- Inner page hero (smaller) ---------- */
.page-hero { padding: 150px 0 70px; background: linear-gradient(160deg, var(--navy-dark), var(--navy) 60%, var(--indigo)); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); top: -200px; right: -140px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); max-width: 720px; }
.page-hero p.lead { color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 16px; font-size: 17px; }

/* ---------- Two-col content block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .hide-mobile-media { display: none; } }
.split img, .split .media-block { border-radius: var(--radius-lg); }
.media-block {
  aspect-ratio: 4/3.2;
  background: linear-gradient(150deg, var(--navy-light), var(--white));
  border: 1px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.media-block .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,177,34,0.22); filter: blur(40px); }
.media-block .icon-big { width: 108px; height: 108px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; color: var(--indigo); position: relative; z-index: 2; }
.media-block .icon-big svg { width: 52px; height: 52px; }
.media-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-block:has(img) { background: none; border: none; aspect-ratio: auto; }
.media-block:has(img) img { height: auto; object-fit: initial; }

.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15.5px; color: var(--gray-700); }
.check-list svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- Tabs (Empresa) ---------- */
.tabs-head { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn { padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--gray-300); background: var(--white); font-weight: 600; font-size: 14.5px; color: var(--gray-700); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Values grid (Empresa) ---------- */
.value-card { text-align: center; padding: 30px 22px; }
.value-card .icon-circle { margin: 0 auto 18px; }

/* ---------- Blog ---------- */
.blog-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--gray-300); background: var(--white); font-weight: 600; font-size: 14px; color: var(--gray-700); }
.filter-chip.active { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-300); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-thumb { height: 170px; position: relative; display: flex; align-items: center; justify-content: center; }
.post-thumb svg { width: 44px; height: 44px; color: rgba(255,255,255,0.85); }
.post-thumb .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.thumb-1 { background: linear-gradient(135deg, var(--navy), var(--indigo)); }
.thumb-2 { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.thumb-3 { background: linear-gradient(135deg, var(--teal), #0090a0); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta { font-size: 12.5px; color: var(--gray-500); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.post-body h3 { font-size: 18px; margin-bottom: 10px; }
.post-body p { font-size: 14.5px; color: var(--gray-700); margin-bottom: 16px; flex-grow: 1; }

.post-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-300); box-shadow: var(--shadow-sm); margin-bottom: 50px; }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } }
.post-featured .post-thumb { height: 100%; min-height: 260px; }
.post-featured .post-body { padding: 44px; justify-content: center; }
.post-featured h3 { font-size: 26px; }

.newsletter-box { background: var(--navy); border-radius: var(--radius-lg); padding: 50px; text-align: center; color: var(--white); }
.newsletter-box h3 { color: var(--white); font-size: 24px; margin-bottom: 10px; }
.newsletter-box p { color: rgba(255,255,255,0.72); max-width: 480px; margin: 0 auto 26px; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex-grow: 1; padding: 14px 18px; border-radius: 999px; border: none; font-size: 14.5px; }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }
.contact-info-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-md); padding: 30px; margin-bottom: 20px; display: flex; gap: 16px; align-items: flex-start; overflow-wrap: anywhere; }
.contact-info-card h4 { font-size: 16px; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: 14.5px; color: var(--gray-700); }
.contact-form-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .contact-info-card { padding: 22px; gap: 14px; margin-bottom: 14px; }
  .contact-form-card { padding: 26px 22px; }
}

/* ---------- utils ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
