/* ==========================================================================
   Marido de Aluguel SOS — Stylesheet
   Design tokens, base, components, layout, responsive
   ========================================================================== */

/* -------- Design Tokens -------- */
:root {
  /* Brand */
  --brand-blue: #0F2C5E;          /* logo SOS - primária */
  --brand-blue-700: #102d63;
  --brand-blue-600: #1E40AF;
  --brand-blue-500: #2C5DD8;
  --brand-blue-50: #EFF4FF;

  --brand-green: #16A34A;         /* globo + whatsapp */
  --brand-green-600: #15803D;
  --brand-green-50: #F0FDF4;

  /* Cor de ação moderna - reforça o "SOS" */
  --action: #F97316;              /* laranja SOS - CTA */
  --action-hover: #EA580C;
  --action-50: #FFF7ED;

  /* Neutros */
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --surface-2: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --dark-footer: #0B1424;
  --dark-footer-2: #131E33;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, .12);
  --shadow-blue: 0 12px 32px rgba(15, 44, 94, .22);
  --shadow-action: 0 12px 32px rgba(249, 115, 22, .28);

  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Raio */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Spacing scale (4/8) */
  --container-max: 1200px;
}

/* -------- Reset / Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--action); }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.25rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .75em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.625rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; color: var(--text-muted); }
.lead { font-size: 1.125rem; color: var(--text-muted); }

/* -------- Layout helpers -------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--surface { background: #F0F4F8; }
.section--dark { background: var(--dark-footer); color: #E2E8F0; }
.section--dark p { color: #94A3B8; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--action);
  margin-bottom: 12px;
}

.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2 strong { color: var(--brand-blue); }
.text-center { text-align: center; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 28px;
  font-weight: 600;
  font-size: .9375rem;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--action);
  color: #fff;
  box-shadow: var(--shadow-action);
}
.btn-primary:hover { background: var(--action-hover); color: #fff; }
.btn-secondary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-secondary:hover { background: var(--brand-blue-600); color: #fff; }
.btn-whatsapp {
  background: var(--brand-green);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--brand-green-600); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-outline:hover { background: var(--brand-blue); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* =========================================================
   WhatsApp shiny button (portado do site Alnitur)
   ========================================================= */
@property --shiny-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --shiny-angle-offset {
  syntax: "<angle>";
  initial-value: 45deg;
  inherits: false;
}
@property --shiny-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --shiny-shine {
  syntax: "<color>";
  initial-value: #ffffff;
  inherits: false;
}

/* Mantém texto branco em qualquer estado — sobrescreve a:hover global */
.btn-shiny-wa,
.btn-shiny-wa:link,
.btn-shiny-wa:visited,
.btn-shiny-wa:hover,
.btn-shiny-wa:focus,
.btn-shiny-wa:focus-visible,
.btn-shiny-wa:active,
.btn-shiny-wa > span,
.btn-shiny-wa:hover > span { color: #ffffff !important; }
.btn-shiny-wa > span svg { color: inherit; }

.btn-shiny-wa {
  --wa-bg-from: #128C7E;
  --wa-bg-to: #25D366;
  --wa-bg-subtle: #0e6b5f;
  --wa-fg: #ffffff;
  --wa-highlight: #4ade80;
  --wa-highlight-subtle: #bbf7d0;
  --shiny-duration: 3s;
  --shiny-shadow-size: 2px;
  --shiny-transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--wa-fg);
  text-decoration: none;
  background:
    linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.7) 50%, transparent 75%, transparent 100%) padding-box,
    linear-gradient(135deg, var(--wa-bg-from), var(--wa-bg-to)) padding-box,
    conic-gradient(
      from calc(var(--shiny-angle) - var(--shiny-angle-offset)),
      transparent,
      var(--wa-highlight) var(--shiny-percent),
      var(--shiny-shine) calc(var(--shiny-percent) * 2),
      var(--wa-highlight) calc(var(--shiny-percent) * 3),
      transparent calc(var(--shiny-percent) * 4)
    ) border-box;
  background-size: 250% 250%, 100% 100%, 100% 100%;
  background-position: 200% 0, 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px var(--wa-bg-subtle), 0 8px 22px rgba(18, 140, 126, 0.35);
  transition:
    --shiny-angle-offset var(--shiny-transition),
    --shiny-percent var(--shiny-transition),
    --shiny-shine var(--shiny-transition),
    box-shadow var(--shiny-transition),
    transform var(--shiny-transition),
    background-position 1000ms ease;
}

.btn-shiny-wa::before,
.btn-shiny-wa::after,
.btn-shiny-wa > span::before {
 
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.btn-shiny-wa:active { translate: 0 1px; }

.btn-shiny-wa::before {
  --size: calc(100% - var(--shiny-shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background:
    radial-gradient(
      circle at var(--position) var(--position),
      #ffffff calc(var(--position) / 4),
      transparent 0
    ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  -webkit-mask-image: conic-gradient(
    from calc(var(--shiny-angle) + 45deg),
    black, transparent 10% 90%, black
  );
  mask-image: conic-gradient(
    from calc(var(--shiny-angle) + 45deg),
    black, transparent 10% 90%, black
  );
  border-radius: inherit;
  opacity: 0.35;
  z-index: -1;
}

.btn-shiny-wa::after {
  width: 100%;
  aspect-ratio: 1;
 
}

.btn-shiny-wa > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}

.btn-shiny-wa > span svg { flex-shrink: 0; }

.btn-shiny-wa > span::before {
  width: 300%;
  height: 300%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 90%,
    var(--wa-highlight) 0%,
    rgba(74, 222, 128, 0.35) 30%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--shiny-transition);
  animation: calc(var(--shiny-duration) * 1.5) shiny-breathe linear infinite;
}

.btn-shiny-wa,
.btn-shiny-wa::before,
.btn-shiny-wa::after {
  animation: shiny-angle linear infinite var(--shiny-duration),
             shiny-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
  animation-composition: add;
}

.btn-shiny-wa:is(:hover, :focus-visible) {
  --shiny-percent: 20%;
  --shiny-angle-offset: 95deg;
  --shiny-shine: var(--wa-highlight-subtle);
  background-position: -100% 0, 0 0, 0 0;
  box-shadow: inset 0 0 0 1px var(--wa-bg-subtle), 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-shiny-wa:is(:hover, :focus-visible),
.btn-shiny-wa:is(:hover, :focus-visible)::before,
.btn-shiny-wa:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

.btn-shiny-wa:is(:hover, :focus-visible) > span::before {
  opacity: 1;
}

@keyframes shiny-angle  { to { --shiny-angle: 360deg; } }
@keyframes shiny-breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

.btn-shiny-wa--lg { padding: 18px 36px; }
.btn-shiny-wa--lg > span { font-size: 16px; }

.btn-shiny-wa--block { display: flex; width: 100%; justify-content: center; }
.btn-shiny-wa--block > span { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .btn-shiny-wa,
  .btn-shiny-wa::before,
  .btn-shiny-wa::after,
  .btn-shiny-wa > span::before { animation: none; }
}

/* -------- Header -------- */
.topbar {
  background: var(--brand-blue);
  color: #CBD5E1;
  font-size: .875rem;
  padding: 8px 0;
}
.topbar a { color: #E2E8F0; }
.topbar a:hover { color: #fff; }
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.site-logo img { height: 56px; width: auto; }
@media (min-width: 1024px) { .site-logo img { height: 64px; } }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: 4px; }
}
.main-nav ul {
  display: flex; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: .9375rem;
  border-radius: var(--radius);
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--brand-blue); background: var(--brand-blue-50); }
.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.main-nav .dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .dropdown li { width: 100%; }
.main-nav .dropdown a { white-space: nowrap; }
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a { padding: 10px 14px; }

.header-cta { display: none; gap: 12px; align-items: center; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600;
}
.header-phone strong { color: var(--brand-blue); }

/* Mobile menu */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--brand-blue);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
  padding: 24px;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.mobile-nav-close {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-nav .submenu {
  padding-left: 16px;
  border-left: 2px solid var(--brand-blue-50);
  margin: 0 0 8px;
}
.mobile-nav .submenu a {
  padding: 12px 4px;
  font-size: .9375rem;
  color: var(--text-muted);
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid; gap: 12px;
}

/* -------- Hero AIDA -------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(249,115,22,.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(22,163,74,.18), transparent 60%),
    linear-gradient(135deg, #0F2C5E 0%, #16285A 50%, #0B1B40 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(49px, 10vw, 44px);
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.15fr 1fr; }
}

/* ----- Hero com vídeo de fundo (Vimeo background) ----- */
.hero--video { background: #0B1B40; }
.hero--video::before { display: none; }

.hero--video .hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero--video .hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Overlay com gradiente — mais opaco à direita, transparente à esquerda */
.hero--video .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(15, 44, 94) 0%, rgba(15, 44, 94, 0.92) 30%, rgba(15, 44, 94, 0.15) 60%, rgba(11, 27, 64, 0.92) 100% ), linear-gradient(180deg, rgba(11, 27, 64, 0.59) 0%, transparent 30%, transparent 70%, rgba(11, 27, 64, 0.67) 100% )
}

/* Em desktop, ajusta a grid para o texto ficar no lado esquerdo apenas */
@media (min-width: 960px) {
  .hero--video .container { grid-template-columns: 2fr 1fr; }
  .hero--video .hero-text { max-width: 680px; }
}
.hero h1 {
  color: #fff;
  font-size: clamp(3.25rem, 2.5vw + .5rem, 3.75rem);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--action); }
.hero .eyebrow { color: var(--action); }
.hero p {
  color: rgba(226,232,240,.95);
  font-size: 1.125rem;
  max-width: 580px;
  margin-bottom: 28px;
}
.hero .hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
}
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 36px;
  font-size: .9375rem;
  color: rgba(226,232,240,.85);
}
.hero-trust .item {
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-trust svg { width: 20px; height: 20px; color: var(--brand-green); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  background: #0B1424;
  aspect-ratio: 4/3;
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,44,94,.6) 100%);
}
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,.95);
  color: var(--brand-blue);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  z-index: 1;
  line-height: 19px;
}
.hero-badge .num { color: var(--action); font-size: 1.5rem; }

/* -------- Page header -------- */
.page-header {
  position: relative;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(249,115,22,.15), transparent 60%),
    linear-gradient(135deg, #0F2C5E 0%, #16285A 100%);
  color: #fff;
  padding: clamp(43px, 8vw, 57px) 0 clamp(14px, 5vw, 64px);
}
.page-header h1 { color: #fff; margin-bottom: 12px; font-size: 39px;}
.page-header .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  list-style: none; padding: 0; margin: 0;
  color: rgba(226,232,240,.85);
  font-size: .9375rem;
}
.page-header .breadcrumb a { color: var(--action); }
.page-header .breadcrumb li + li::before {
  content: '/'; margin-right: 8px; color: rgba(226,232,240,.5);
}

/* -------- Service Cards -------- */
.service-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .service-cards { grid-template-columns: repeat(5, 1fr); }
}
.service-card {
  display: flex; flex-direction: column; align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,44,94,0) 0%, rgba(15,44,94,0) 65%, rgba(15,44,94,.04) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
  color: var(--text);
}
.service-card:hover::before { opacity: 1; }

.service-card .icon-wrap {
  width: 64px; height: 64px;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(15,44,94,.18);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--action) 0%, var(--action-hover) 100%);
  box-shadow: 0 12px 26px rgba(249,115,22,.32);
  transform: scale(1.08) rotate(-3deg);
}
.service-card .icon-wrap svg {
  width: 30px; height: 30px;
  stroke-width: 2;
}
.service-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
  color: var(--brand-blue);
  transition: color .25s ease;
}
.service-card:hover h3 { color: var(--brand-blue-700); }
.service-card p { font-size: .875rem; margin: 0; line-height: 1.5; }

/* -------- Feature boxes -------- */
.feature-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}
.feature-box .ico {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  border-radius: 14px;
  margin-bottom: 16px;
}
.feature-box .ico svg { width: 28px; height: 28px; }
.feature-box h4 { margin-bottom: 8px; color: var(--brand-blue); }
.feature-box p { margin: 0; font-size: .9375rem; }

/* -------- Stats / Trust strip -------- */
.trust-strip {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}
.trust-strip .stat strong {
  display: block;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  color: var(--action);
  font-family: var(--font-display);
  line-height: 1;
}
.trust-strip .stat span { display: block; color: #E2E8F0; margin-top: 6px; font-size: .9375rem; }

/* -------- Process / Steps -------- */
.section--steps {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(15,44,94,.07), transparent 60%),
    radial-gradient(700px 380px at 100% 100%, rgba(249,115,22,.09), transparent 60%),
    radial-gradient(600px 320px at 50% 50%, rgba(22,163,74,.05), transparent 70%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
}
.section--steps::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(15,44,94,.10) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: .6;
}
.section--steps .container { position: relative; z-index: 1; }

.steps {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Step card with animated shine border */
.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 12px 32px rgba(15,44,94,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 20px 44px rgba(15,44,94,.14);
}
/* Animated shine border (CSS-only adaptation of shine-border component) */
.step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background-image: radial-gradient(
    circle at 50% 50%,
    transparent 0%,
    transparent 30%,
    var(--brand-blue) 45%,
    var(--action) 55%,
    var(--brand-green) 65%,
    transparent 80%,
    transparent 100%
  );
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  animation: shine-pulse 8s linear infinite;
}
.step:nth-child(2)::before { animation-delay: -2.6s; }
.step:nth-child(3)::before { animation-delay: -5.3s; }

@keyframes shine-pulse {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.step .num {
  position: absolute; top: 18px; right: 24px;
  font-size: 3rem; font-weight: 800;
  color: rgba(15,44,94,.08);
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color .25s ease, transform .25s ease;
}
.step:hover .num { color: rgba(249,115,22,.18); transform: scale(1.05); }

.step .step-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(15,44,94,.22);
}
.step .step-icon svg { width: 24px; height: 24px; }

.step h4 {
  color: var(--brand-blue);
  margin-bottom: 8px;
  font-size: 1.125rem;
}
.step p { margin: 0; font-size: .9375rem; color: var(--text-muted); line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  .step::before { animation: none; background-position: 50% 50%; }
}

/* -------- Gallery / Portfolio -------- */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,44,94,.7));
  opacity: 0;
  transition: opacity .2s;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span {
  color: #fff; font-weight: 600; font-size: .875rem;
}

/* -------- Checklists -------- */
.check-list {
  list-style: none; padding: 0;
  display: grid; gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px;
  background: var(--brand-green-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2316A34A' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* -------- Two-col content blocks -------- */
.split {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.1fr 1fr; }
  .split.split--reverse { grid-template-columns: 1fr 1.1fr; }
  .split.split--reverse .split-text { order: 2; }
}
.split-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* -------- CTA band -------- */
.cta-band {
  background:
    radial-gradient(800px 400px at 100% 50%, rgba(249,115,22,.25), transparent 60%),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .cta-band { grid-template-columns: 1.5fr auto; }
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2vw + 1rem, 2rem); }
.cta-band p { color: rgba(226,232,240,.9); margin: 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------- Toggle / Accordion -------- */
.accordion details {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--action);
  transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 22px 20px; color: var(--text-muted); }

/* -------- Forms -------- */
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .875rem; font-weight: 600;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(15,44,94,.12);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-help { font-size: .8125rem; color: var(--text-light); }
.form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: .9375rem;
  display: none;
}
.form-message.is-visible { display: block; }
.form-message.success { background: var(--brand-green-50); color: var(--brand-green-600); border: 1px solid #BBF7D0; }
.form-message.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.required-asterisk { color: var(--action); }

/* Loading state */
.form-submit { position: relative; min-width: 220px; }
.form-submit[disabled] { opacity: .7; cursor: wait; transform: none !important; }
.form-loader {
  display: none;
  align-items: center;
  gap: 10px;
}
.form-submit.is-loading .form-loader { display: inline-flex; }
.form-submit.is-loading .form-submit-text { display: none; }
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Overlay loader (full-screen on submit) */
.submit-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
}
.submit-overlay.is-visible { display: flex; }
.submit-overlay .panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}
.submit-overlay .panel-spinner {
  width: 56px; height: 56px;
  border: 4px solid var(--brand-blue-50);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 1s linear infinite;
}
.submit-overlay h4 { color: var(--brand-blue); margin-bottom: 8px; }
.submit-overlay p { margin: 0; color: var(--text-muted); }

/* reCAPTCHA wrapper */
.captcha-wrap { display: flex; justify-content: flex-start; }

/* Contact page layout */
.contact-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.5fr 1fr; }
}

/* =========================================================
   Logo Wall — Parceiros, Certificações e Mídia
   ========================================================= */
.section--logos {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(15,44,94,.06), transparent 60%),
    radial-gradient(600px 320px at 95% 100%, rgba(249,115,22,.06), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);
}
.section--logos::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,44,94,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: .45;
}
.section--logos .container { position: relative; z-index: 1; }

.logo-subhead {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 640px;
}
.logo-subhead .label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--action);
  margin-bottom: 8px;
}
.logo-subhead h3 {
  font-size: clamp(1.375rem, 1.5vw + 1rem, 1.75rem);
  margin-bottom: 6px;
  color: var(--brand-blue);
}
.logo-subhead p {
  font-size: .9375rem;
  margin: 0;
  color: var(--text-muted);
}

.logo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1120px) { .logo-grid--5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1120px) { .logo-grid--6 { grid-template-columns: repeat(6, 1fr); } }

/* Card destaque (parceiros / certificações) */
.logo-grid--featured {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .logo-grid--featured { grid-template-columns: repeat(3, 1fr); }
}

.logo-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-align: center;
}
.logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(15,44,94,.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15,44,94,.10);
  border-color: rgba(15,44,94,.18);
}
.logo-card:hover::before { opacity: 1; }

.logo-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.78);
  transition: filter .3s ease, transform .3s ease;
}
.logo-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

.logo-card .caption {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Card featured destaque maior */
.logo-card--featured {
  min-height: 180px;
  padding: 32px 28px;
  background: linear-gradient(180deg, #fff 0%, #FAFBFD 100%);
}
.logo-card--featured img {
  max-height: 90px;
  filter: none;
  opacity: 1;
}
.logo-card--featured .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-green);
  background: var(--brand-green-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 6px;
}
.logo-card--featured .badge svg { width: 12px; height: 12px; }
.logo-card--featured .name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
}

@media (max-width: 480px) {
  .logo-card { min-height: 110px; padding: 20px 16px; }
  .logo-card img { max-height: 52px; }
  .logo-card--featured { min-height: 150px; }
  .logo-card--featured img { max-height: 70px; }
}

/* Thank you page */
.thank-you-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  box-shadow: var(--shadow-lg);
}
.thank-you-icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-green-50);
  color: var(--brand-green);
  border-radius: 50%;
}
.thank-you-icon svg { width: 48px; height: 48px; }
.thank-you-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

/* -------- Contact info aside -------- */
.contact-aside {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.contact-aside h3 { color: var(--brand-blue); }
.contact-aside .ci-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-aside .ci-row:last-child { border-bottom: 0; }
.contact-aside .ci-icon {
  flex: 0 0 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 10px;
  color: var(--brand-blue);
}
.contact-aside .ci-icon svg { width: 20px; height: 20px; }
.contact-aside .ci-content strong { display: block; color: var(--text); }
.contact-aside .ci-content a { color: var(--text-muted); }
.contact-aside .ci-content a:hover { color: var(--brand-blue); }

/* -------- Media (videos) -------- */
.video-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-card .ratio {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.video-card .ratio iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card .meta { padding: 16px 20px; }
.video-card .meta h4 { color: var(--brand-blue); margin: 0 0 4px; font-size: 1.0625rem; }
.video-card .meta p { margin: 0; font-size: .875rem; }

/* -------- Footer -------- */
.site-footer {
  background: var(--dark-footer);
  color: #94A3B8;
  padding-top: clamp(56px, 6vw, 80px);
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.0625rem;
}
.site-footer a { color: #CBD5E1; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 64px; margin-bottom: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.footer-brand p { color: #94A3B8; max-width: 360px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { font-size: .9375rem; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact .ci-row { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--action); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .875rem;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}

/* -------- WhatsApp Floating -------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--brand-green);
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(22,163,74,.4);
  z-index: 90;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  animation: pulse 2.4s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 16px 36px rgba(22,163,74,.5);
}
.whatsapp-fab svg { width: 30px; height: 30px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(22,163,74,.4), 0 0 0 0 rgba(22,163,74,.4); }
  50% { box-shadow: 0 12px 28px rgba(22,163,74,.5), 0 0 0 14px rgba(22,163,74,0); }
}

/* -------- Utility -------- */
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.hidden { display: none !important; }

/* -------- Animations -------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .whatsapp-fab { animation: none; }
}

/* -------- Responsive overrides -------- */
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .topbar { display: none; }
  body { font-size: 15.5px; }
  .btn { padding: 13px 22px; font-size: .9rem; }
  .btn-lg { padding: 16px 28px; font-size: .95rem; }
  .whatsapp-fab { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .hero .container { padding-block: 56px; }
  .hero-trust { gap: 14px; }
}
@media (min-width: 641px) and (max-width: 959px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr 1fr; }
}

/* -------- Print -------- */
@media print {
  .site-header, .site-footer, .whatsapp-fab, .topbar { display: none; }
}
