/* ============================================================
   MEGASULT — Stylesheet
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --navy: #1a3270;
  --blue: #2547b0;
  --blue-dark: #0d1f4e;
  --gold: #c9a227;
  --gold-light: #e6c94a;
  --white: #ffffff;
  --off: #f5f7fb;
  --text: #0f1f4a;
  --muted: #5a6b8a;
  --border: rgba(26, 50, 112, 0.12);
  --shadow: 0 4px 24px rgba(26, 50, 112, 0.08);
  --shadow-lg: 0 16px 56px rgba(26, 50, 112, 0.16);
  --radius: 1rem;
  --grad: linear-gradient(135deg, #1a3270 0%, #2547b0 100%);
  --grad-gold: linear-gradient(135deg, #c9a227 0%, #e6c94a 100%);
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sec-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.sec-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  font-weight: 700;
}
.sec-title.light {
  color: var(--white);
}
.p-txt {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}
.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 5rem 0;
}
.sec-bg-off {
  background: var(--off);
}
.sec-bg-navy {
  background: var(--navy);
}
.sec-header {
  margin-bottom: 3rem;
}
.sec-header.center {
  text-align: center;
}

/* ── Reveal animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(26, 50, 112, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 50, 112, 0.45);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--grad-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-outline:hover {
  border-color: var(--navy);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 72px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s,
    backdrop-filter 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo .logo-on-light,
#navbar.scrolled .nav-logo .logo-on-dark {
  display: none;
}
#navbar.scrolled .nav-logo .logo-on-light {
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
#navbar.scrolled .nav-links a {
  color: var(--muted);
}
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
  color: var(--navy);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: var(--grad);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(26, 50, 112, 0.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 50, 112, 0.4);
}
.nav-cta svg {
  width: 14px;
  height: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
#navbar.scrolled .hamburger span {
  background: var(--navy);
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--white);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}
#mobile-menu.open {
  display: flex;
}
#mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}
#mobile-menu a:hover:not(.mobile-cta) {
  background: var(--off);
}
#mobile-menu .mobile-cta {
  margin-top: 1rem;
  display: block;
  text-align: center;
  padding: 0.875rem;
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-cta-wrap {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ── Hero (Home) ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: calc(72px + 5rem) 2rem 6rem;
  background: #0d1f4e;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("public/images/fundo.webp") center / cover no-repeat;
  /* filter: blur(1px); */
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero::before {
    background-position: left center;
  }
}
.hero > .hero-dots,
.hero > .hero-blob {
  display: none;
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  pointer-events: none;
}
.blob-blue {
  width: 700px;
  height: 700px;
  background: #2547b0;
  top: -200px;
  right: -100px;
}
.blob-gold {
  width: 500px;
  height: 500px;
  background: #c9a227;
  bottom: -100px;
  left: -50px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e6c94a;
  background: rgba(201, 162, 39, 0.08);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  max-width: 900px;
  font-weight: 700;
}
.hero .hero-inner p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  line-height: 1.7;
}
.hero-top {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
  text-align: left;
  width: 100%;
}
.hero-top-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.hero-top-text h1,
.hero-top-text p {
  max-width: none;
}
.hero-top-photo img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 900px) {
  .hero-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-top-text {
    align-items: center;
  }
  .hero-top-photo {
    max-width: 460px;
    margin: 0 auto;
  }
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

/* ── Hero shortcut cards ────────────────────────────────────── */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1080px;
  margin-top: 2.5rem;
}
.hero-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  text-align: left;
  opacity: 0;
  animation: heroCardIn 0.6s ease forwards;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.hero-card:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-card:nth-child(2) {
  animation-delay: 0.35s;
}
.hero-card:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-card:nth-child(4) {
  animation-delay: 0.65s;
}
@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* shine sweep */
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.hero-card:hover::before {
  left: 130%;
}
.hero-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(230, 201, 74, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.hero-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.hero-card-ico svg {
  width: 20px;
  height: 20px;
}
.hero-card-ico.primary {
  background: var(--grad);
  color: var(--white);
}
.hero-card-ico.gold {
  background: var(--grad-gold);
  color: var(--navy);
}
.hero-card:hover .hero-card-ico {
  transform: scale(1.08) rotate(-4deg);
}
.hero-card-title {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 0.9;
}
.hero-card-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.hero-card:hover .hero-card-arrow svg {
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Division cards (Home) ──────────────────────────────────── */
.divisions-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  .divisions-grid {
    grid-template-columns: 1fr;
  }
}

.div-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.div-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.div-card.gold-accent::after {
  background: var(--grad-gold);
}
.div-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.div-card:hover::after {
  transform: scaleX(1);
}

.div-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.div-icon svg {
  width: 26px;
  height: 26px;
}
.div-icon.primary {
  background: var(--grad);
  color: var(--white);
}
.div-icon.gold {
  background: var(--grad-gold);
  color: var(--navy);
}

.div-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.div-card > p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}

.div-card-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.div-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: var(--grad);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.2s;
  box-shadow: 0 4px 14px rgba(26, 50, 112, 0.3);
}
.div-btn-sm:hover {
  transform: translateY(-2px);
}
.div-btn-sm.ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
  box-shadow: none;
}
.div-btn-sm.ghost:hover {
  border-color: var(--navy);
}
.div-btn-sm svg {
  width: 14px;
  height: 14px;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--grad);
  padding: 3.5rem 2rem;
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat-item .stat-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-item .stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.375rem;
}

/* ── About section ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.about-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-text .btn-primary {
  margin-top: 1rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.stat-card {
  padding: 1.875rem;
  border-radius: var(--radius);
  transition: transform 0.25s;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-card.primary {
  background: var(--grad);
  color: var(--white);
}
.stat-card.gold {
  background: var(--grad-gold);
  color: var(--navy);
}
.stat-card.outline {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.stat-card .card-ico {
  margin-bottom: 1rem;
  opacity: 0.85;
}
.stat-card .card-ico svg {
  width: 28px;
  height: 28px;
}
.stat-card .card-val {
  font-family: "Sora", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-card .card-lbl {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ── Quem Somos ─────────────────────────────────────────────── */
.qs-intro {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.qs-intro .p-txt + .p-txt {
  margin-top: 1rem;
}
.qs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.qs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.qs-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.qs-ico {
  width: 48px;
  height: 48px;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.qs-ico svg {
  width: 22px;
  height: 22px;
}
.qs-ico.primary {
  background: var(--grad);
  color: var(--white);
}
.qs-ico.gold {
  background: var(--grad-gold);
  color: var(--navy);
}
.qs-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.qs-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.qs-card ul {
  list-style: none;
}
.qs-card li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}
.qs-card li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
}

/* ── Prêmios e certificações (sobre) ────────────────────────── */
.premios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.premio-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.premio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.premio-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--off);
}
.premio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.premio-card:hover .premio-img img {
  transform: scale(1.05);
}
.premio-year {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(26, 50, 112, 0.25);
}
.premio-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.premio-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}
.premio-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.premio-local {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.premio-local svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}
.premio-date {
  font-weight: 600;
  color: var(--navy);
}

/* ── Division page hero ─────────────────────────────────────── */
.div-hero {
  padding: calc(72px + 5rem) 2rem 5rem;
  background: linear-gradient(135deg, #0d1f4e 0%, #1a3270 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.div-hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("public/images/fundo.webp") center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 768px) {
  .div-hero::before {
    background-position: left center;
  }
}
.div-hero > .hero-dots,
.div-hero > .hero-blob {
  display: none;
}
.div-hero .hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}
.div-hero .blob-blue {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
}
.div-hero .blob-gold {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
}
.div-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.div-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.div-hero-icon svg {
  width: 36px;
  height: 36px;
}
.div-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.div-hero .tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.div-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Split variant: text + image side by side */
.div-hero.split {
  text-align: left;
}
.div-hero.split .div-hero-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.div-hero.split .tagline {
  margin: 0 0 2rem;
}
.div-hero.split .div-hero-btns {
  justify-content: flex-start;
}
.div-hero-img {
  position: relative;
  opacity: 0;
  animation: heroCardIn 0.7s ease 0.25s forwards;
}
.div-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}
@media (max-width: 900px) {
  .div-hero.split {
    text-align: center;
  }
  .div-hero.split .div-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .div-hero.split .tagline {
    margin: 0 auto 2rem;
  }
  .div-hero.split .div-hero-btns {
    justify-content: center;
  }
  .div-hero-img {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ── Hero variants 2a / 2b (preview) ─────────────────────────── */
.hero-v2a,
.hero-v2b {
  padding: calc(72px + 3.5rem) 0 0;
  background: #0d1f4e;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero-v2a::before,
.hero-v2b::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("public/images/fundo.webp") center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-v2a::before,
  .hero-v2b::before {
    background-position: left center;
  }
}
.hero-v2a {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding-top: calc(72px + 2rem);
  padding-bottom: 3rem;
}
.hero-v2b {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: calc(72px + 2rem);
  padding-bottom: 0;
}
.hero-v2a-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(233, 195, 73, 0.45);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* — 2a: text + photo column, 2×2 card grid below — */
.hero-v2a-top {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 3.5rem;
  align-items: center;
}
.hero-v2a-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.hero-v2a-text h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-v2a-text p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 460px;
}
.hero-v2a-photo {
  position: relative;
}
.hero-v2a-photo-img {
  position: relative;
}
.hero-v2a-photo-img img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  animation: heroPhotoFloatSubtle 7s ease-in-out infinite;
}
@keyframes heroPhotoFloatSubtle {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-5px) translateX(2px);
  }
}
@keyframes heroPhotoFloat {
  0%,
  100% {
    transform: scale(1.08) translateY(0) translateX(0);
  }
  50% {
    transform: scale(1.08) translateY(-12px) translateX(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2a-photo-img img,
  .hero-v2b-photo img {
    animation: none;
  }
}
.hero-v2a-photo-img::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6, 20, 57, 0.35) 0%,
    rgba(6, 20, 57, 0.12) 45%,
    rgba(6, 20, 57, 0.4) 100%
  );
  pointer-events: none;
}
.hero-v2a-stats {
  position: absolute;
  left: 1.5rem;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  gap: 1.1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.9rem;
  background: rgba(6, 20, 57, 0.8);
  border: 1px solid rgba(230, 201, 74, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(201, 162, 39, 0.2);
  backdrop-filter: blur(6px);
}
.hero-v2a-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-v2a-stats .num {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.hero-v2a-stats .lbl {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 500;
}
.hero-v2a-cards {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.8rem 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-v2a-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  animation: heroCardIn 0.6s ease forwards;
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.hero-v2a-card:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-v2a-card:nth-child(2) {
  animation-delay: 0.35s;
}
.hero-v2a-card:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-v2a-card:nth-child(4) {
  animation-delay: 0.65s;
}
.hero-v2a-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: left 0.6s;
  pointer-events: none;
}
.hero-v2a-card:hover::before {
  left: 130%;
}
.hero-v2a-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(230, 201, 74, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.hero-v2a-card-ico {
  width: 48px;
  height: 48px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.3s;
}
.hero-v2a-card:hover .hero-v2a-card-ico {
  transform: scale(1.08) rotate(-4deg);
}
.hero-v2a-card-ico.primary {
  background: var(--blue);
}
.hero-v2a-card-ico.gold {
  background: var(--gold-light);
  color: var(--navy);
}
.hero-v2a-card-ico svg {
  width: 22px;
  height: 22px;
}
.hero-v2a-card-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  display: block;
}
.hero-v2a-card-desc {
  color: #a9b8d6;
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}
@media (max-width: 900px) {
  .hero-v2a-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-v2a-text {
    align-items: center;
  }
  .hero-v2a-text p {
    max-width: none;
  }
  .hero-v2a-photo {
    max-width: 460px;
    margin: 0 auto;
  }
  .hero-v2a-cards {
    grid-template-columns: 1fr;
  }
}

/* — 2b: title left, cropped photo right, full-bleed card strip on base — */
.hero-v2b-top {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  display: flex;
  align-items: center;
}
.hero-v2b-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52%, 720px);
  height: 100%;
  z-index: 0;
}
.hero-v2b-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(1.06);
  animation: heroPhotoFloat 8s ease-in-out infinite;
}
.hero-v2b-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 520px;
}
.hero-v2b-text h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-v2b-text p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.hero-v2b-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-v2b-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem 1.75rem 2.25rem;
  background: linear-gradient(
    180deg,
    rgba(9, 26, 68, 0.92),
    rgba(4, 15, 44, 0.98)
  );
  opacity: 0;
  animation: heroCardIn 0.6s ease forwards;
  transition: background 0.2s;
}
.hero-v2b-card:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-v2b-card:nth-child(2) {
  animation-delay: 0.35s;
}
.hero-v2b-card:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-v2b-card:nth-child(4) {
  animation-delay: 0.65s;
}
.hero-v2b-card:hover {
  background: linear-gradient(
    180deg,
    rgba(43, 76, 199, 0.4),
    rgba(4, 15, 44, 0.98)
  );
}
.hero-v2b-card-ico {
  width: 48px;
  height: 48px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-v2b-card-ico.primary {
  background: var(--blue);
}
.hero-v2b-card-ico.gold {
  background: var(--gold-light);
  color: var(--navy);
}
.hero-v2b-card-ico svg {
  width: 22px;
  height: 22px;
}
.hero-v2b-card-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}
.hero-v2b-card-desc {
  color: #a9b8d6;
  font-size: 0.875rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .hero-v2b-photo {
    display: none;
  }
  .hero-v2b-strip {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .hero-v2b-strip {
    grid-template-columns: 1fr;
  }
}

/* — shared preview badge (top-right link back / switcher) — */
.hero-preview-tag {
  position: fixed;
  top: 84px;
  right: 16px;
  z-index: 500;
  display: flex;
  gap: 0.5rem;
  background: rgba(13, 31, 78, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.hero-preview-tag--principal {
  top: 68px;
}
.hero-preview-tag a {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.hero-preview-tag a.active {
  background: var(--grad-gold);
  color: var(--navy);
}

/* ── Highlights grid ────────────────────────────────────────── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 640px) and (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.highlight-card .hc-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  background: rgba(201, 162, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.highlight-card .hc-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.highlight-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Services grid ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.service-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.service-check svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}
.service-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.service-body .seg-bullets {
  margin-top: 0.6rem;
}
.service-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Service groups (consultoria) ───────────────────────────── */
.service-group {
  margin-bottom: 3rem;
}
.service-group:last-child {
  margin-bottom: 0;
}
.group-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

/* Card do diagrama — é mais um item dentro do mesmo .segments-grid da
   aba "ERP — Indústria e Distribuição", herda de .segment-card/.detail-card
   o mesmo tamanho, fundo, borda e hover dos outros cards do grid; aqui só
   ajusta o conteúdo interno (imagem + rótulo centralizados). */
.diagram-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  font: inherit;
}
.diagram-card img {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  pointer-events: none;
}
.diagram-card-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  line-height: 1.3;
}
.diagram-card-zoom {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Modal do diagrama — mostra a imagem grande para dar pra ler os módulos */
.modal-box.diagram-modal-box {
  max-width: 820px;
  padding: 2rem;
  text-align: center;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.diagram-modal-box img {
  width: 100%;
  height: auto;
  display: block;
}
.diagram-modal-box .modal-x {
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Tab system (sistemas) ──────────────────────────────────── */
.tabs-wrap {
  position: relative;
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.tabs-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  border-radius: 50px;
  background: var(--grad);
  box-shadow:
    0 8px 20px rgba(26, 50, 112, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translateX(0);
  pointer-events: none;
  z-index: 0;
}
.tabs-indicator.ready {
  transition:
    transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.tabs-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 55%
  );
}
.tab-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  background: none;
  color: var(--muted);
  transition: color 0.3s ease;
}
.tab-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.3s;
}
.tab-btn.active {
  color: var(--white);
}
.tab-btn.active svg {
  transform: scale(1.1);
}
.tab-btn:not(.active):hover {
  color: var(--navy);
}
.tab-btn:not(.active):hover svg {
  transform: translateY(-1px) scale(1.08);
}
@media (max-width: 560px) {
  .tabs-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--off);
    box-shadow: none;
  }
  .tabs-indicator {
    display: none;
  }
  .tab-btn {
    justify-content: center;
    color: var(--muted);
  }
  .tab-btn.active {
    background: var(--grad);
    color: var(--white);
  }
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

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

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .segments-grid {
    grid-template-columns: 1fr;
  }
}

.segment-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.segment-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  background: rgba(201, 162, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.detail-card:hover .card-icon {
  transform: scale(1.1) rotate(-6deg);
}
.segment-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.segment-card .seg-intro {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.seg-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.seg-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.seg-bullets li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 1px;
}

/* ── Clickable / animated cards (open detail modal) ─────────── */
.detail-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s;
}
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(201, 162, 39, 0.08) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.detail-card:hover::before {
  transform: translateX(120%);
}
.detail-card:hover,
.detail-card:focus-visible {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.5);
  outline: none;
}
.detail-card:hover .service-check {
  transform: scale(1.12) rotate(-8deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.detail-card .card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.detail-card:hover .card-more {
  opacity: 1;
  transform: translateX(0);
}
.detail-card .card-more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s;
}
.detail-card:hover .card-more svg {
  transform: translateX(3px);
}
.segment-card.detail-card:hover h3 {
  color: var(--blue);
}

/* ── Detail modal (card content) ────────────────────────────── */
.modal-box.detail-modal-box {
  max-width: 640px;
  width: 100%;
  text-align: left;
  padding: 2.5rem 1.75rem 2.5rem 2.25rem;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 50, 112, 0.25) transparent;
}
/* Sistemas: modal mais largo, mais proporcional às imagens 16:9 dos
   segmentos (1200x675) — escopado só a esta página via .page-sistemas. */
.page-sistemas .modal-box.detail-modal-box {
  max-width: 860px;
}
/* Cards com data-detail-wide (tab "ERP — Indústria e Distribuição") ficam
   ainda mais largos que o padrão de Sistemas. */
.page-sistemas .modal-box.detail-modal-box.detail-modal-box--wide {
  max-width: 980px;
}
.detail-modal-box .modal-x {
  z-index: 2;
}
.modal-box.detail-modal-box::-webkit-scrollbar {
  width: 8px;
}
.modal-box.detail-modal-box::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 1.25rem;
}
.modal-box.detail-modal-box::-webkit-scrollbar-thumb {
  background-color: rgba(26, 50, 112, 0.22);
  border-radius: 10px;
  border: 2px solid var(--white);
  background-clip: padding-box;
}
.modal-box.detail-modal-box::-webkit-scrollbar-thumb:hover {
  background-color: rgba(201, 162, 39, 0.55);
}
.detail-media {
  margin-bottom: 1.5rem;
}
.detail-media img {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
}
.detail-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  background: var(--off);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
}
.detail-img-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
.detail-img-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
}
.modal-box.detail-modal-box h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.1rem;
  padding-right: 1.5rem;
}
.detail-modal-box .detail-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.detail-modal-box .detail-body h4 {
  font-size: 1rem;
  color: var(--navy);
  margin: 1.4rem 0 0.6rem;
}
.detail-modal-box .detail-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-modal-box .detail-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}
.detail-modal-box .detail-body ul li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ── White section background texture ───────────────────────── */
.sec-bg-white-tex {
  position: relative;
  overflow: hidden;
}
.sec-bg-white-tex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("public/images/fundo-branco.webp") center / cover no-repeat;
  pointer-events: none;
}
.sec-bg-white-tex > .container {
  position: relative;
  z-index: 1;
}

/* ── CTA section ────────────────────────────────────────────── */
.cta-section {
  background: var(--grad);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("public/images/fundo.webp") center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}
.cta-section > .container {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── CTA: split grid (message + contact card) ─────────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}
.cta-main .sec-lbl {
  color: var(--gold-light);
}
.cta-main h2 {
  margin-top: 0.5rem;
}
.cta-main p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 0 2rem;
  line-height: 1.7;
}
.cta-main .cta-btns {
  justify-content: flex-start;
}
.cta-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  padding: 0.5rem;
  backdrop-filter: blur(8px);
}
.cta-card-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  transition: background 0.2s;
}
.cta-card-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.cta-card-item + .cta-card-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-card-ico {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-gold);
  color: var(--navy);
  flex-shrink: 0;
  overflow: hidden;
}
.cta-card-ico svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
}
.cta-card-text {
  min-width: 0;
}
.cta-card-lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}
.cta-card-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-main p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-main .cta-btns {
    justify-content: center;
  }
  .cta-card {
    max-width: 440px;
    margin: 0 auto;
  }
  .cta-card-item {
    gap: 0.65rem;
    padding: 0.85rem 0.75rem;
  }
  .cta-card-ico {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  .cta-card-val {
    font-size: 0.82rem;
  }
}

.cta-offices {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-offices h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
  text-align: center;
}
.cta-offices .offices-grid {
  justify-content: center;
  padding-bottom: 0.5rem;
}

.other-divs {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  text-align: center;
}
.cta-offices + .other-divs {
  margin-top: 0;
  padding-top: 2rem;
}
.other-divs h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}
.other-divs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.other-div-link {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.other-div-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 2rem 2rem;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem 2rem;
}
.footer-certs {
  grid-column: 1 / -1;
  margin-top: -1.5rem;
  text-align: center;
}
.footer-seals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.footer-seals img {
  width: 150px;
  height: 120px;
  object-fit: contain;
  padding: 0.5rem;
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.footer-grid > div {
  min-width: 0;
}
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-offices {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-socials {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold-light);
}

.offices-carousel {
  overflow: hidden;
}
.offices-grid {
  display: flex;
  width: max-content;
  padding-bottom: 0.75rem;
  animation: offices-marquee 60s linear infinite;
  will-change: transform;
}
.offices-carousel:hover .offices-grid {
  animation-play-state: paused;
}
@keyframes offices-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .offices-grid {
    animation: none;
  }
  .offices-carousel {
    overflow-x: auto;
  }
}
.office {
  flex: 0 0 208px;
  margin-right: 1rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
}
.office-city {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.office-addr {
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}
.office-note {
  font-size: 0.72rem;
  color: var(--gold-light);
  opacity: 0.8;
  margin-top: 0.1rem;
}
.office-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.office-contacts a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.office-contacts a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Fale Conosco: modal + formulário ───────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 31, 78, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
  transform: scale(1);
}
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.1);
  border: 2px solid rgba(201, 162, 39, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}
.modal-box h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.modal-box p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.modal-box p strong {
  color: var(--gold);
}
.modal-close {
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.modal-close:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.modal-box.modal-form-box {
  max-width: 540px;
  text-align: left;
  padding: 2.5rem 2.25rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-form-box p {
  margin-bottom: 1.5rem;
}
.modal-x {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-x:hover {
  color: var(--navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-primary {
  justify-content: center;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  animation: none;
  transform: scale(1.08);
}
.whatsapp-float:hover svg {
  transform: rotate(-8deg) scale(1.1);
}
.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #1a1a1a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: "DM Sans", sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@keyframes whatsapp-pulse {
  0% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  transition: transform 0.2s;
}
@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.demo-float-wrap {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1000;
  animation: demo-float-bounce 2.4s ease-in-out infinite;
}
.demo-float-wrap:hover {
  animation-play-state: paused;
  transform: translateX(-50%) translateY(-3px) scale(1.04);
}
.demo-float {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  background: var(--grad-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}
.demo-float-wrap:hover .demo-float {
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.55);
}
.demo-float svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.demo-float-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.demo-float-close:hover {
  background: var(--blue);
}
@keyframes demo-float-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-float-wrap {
    animation: none;
  }
}
@media (max-width: 640px) {
  .demo-float {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  .demo-float-wrap {
    bottom: 16px;
  }
}
@media (max-width: 480px) {
  .demo-float span {
    display: none;
  }
}

/* Consultoria: area tabs */
.area-tab {
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.area-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10, 30, 80, 0.12);
}
.area-tab.active {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.2);
}
.area-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.service-group[hidden] {
  display: none;
}

/* Sobre: frase no lugar dos números */
.stats-phrase {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}
.stats-phrase strong {
  color: var(--gold-light);
}

/* Prêmios: sem foto/data, com ícone */
.premios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.premio-card {
  flex: 1 1 320px;
  max-width: 350px;
  padding: 1.25rem 1.4rem;
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
  border-left: 4px solid var(--gold);
}
.premio-ico {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}
.premio-ico svg {
  width: 26px;
  height: 26px;
}
.premio-card .premio-body {
  padding: 0;
  gap: 0.3rem;
}
.premio-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.premio-card .premio-body h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--navy);
}

/* ── Canal de Ética ─────────────────────────────────────── */
.etica-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.etica-intro .sec-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.5rem 0 1rem;
}
.etica-bullets {
  margin-top: 1.5rem;
}
.etica-bullets li {
  font-size: 0.95rem;
}
.etica-form {
  background: linear-gradient(160deg, var(--navy) 0%, #1f4a8a 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(6, 20, 57, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.etica-group,
.etica-ident {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.etica-form [hidden] {
  display: none !important;
}
.etica-perfil,
.etica-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}
.etica-perfil {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.etica-perfil label,
.etica-inline label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.etica-form input[type="radio"] {
  accent-color: var(--gold-light);
  width: 17px;
  height: 17px;
}
.etica-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.etica-field > span {
  font-size: 0.88rem;
  font-weight: 600;
}
.etica-field small {
  font-weight: 400;
  opacity: 0.75;
}
.etica-form input[type="text"],
.etica-form select,
.etica-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: #fff;
  color: var(--navy);
}
.etica-form textarea {
  resize: vertical;
}
.etica-form input:focus,
.etica-form select:focus,
.etica-form textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(230, 201, 74, 0.35);
}
.etica-submit {
  justify-content: center;
  width: 100%;
  margin-top: 0.4rem;
  border: 0;
  cursor: pointer;
}
@media (max-width: 900px) {
  .etica-grid {
    grid-template-columns: 1fr;
  }
  .etica-form {
    padding: 1.5rem;
  }
}
