/* ==========================================================================
   DESIGN TOKENS & ROOT VARIABLES
   ========================================================================== */
:root {
  --blue-dark: #071F43;
  --blue-primary: #0F3D7A;
  --blue-secondary: #2E75D3;
  --blue-light: #F0F5FC;
  --blue-sky: #38bdf8;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #E2E8F0;
  
  --font-serif: 'Philosopher', sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --t-snappy: 0.25s var(--ease-premium);
  --t-smooth: 0.5s var(--ease-premium);
  --t-slow: 2.5s var(--ease-premium);

  /* Revelação no scroll.
     Curva quase-uniforme (ease-out suave) de propósito: uma curva agressiva
     tipo expo-out percorre quase todo o caminho no primeiro terço e o olho
     não consegue acompanhar o movimento — ele apenas "aparece". */
  --ease-reveal: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --reveal-time: 0.9s;
  --reveal-time-focus: 1.1s;
  --reveal-shift: 30px;
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES GERAIS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* As âncoras param abaixo do header fixo em vez de sumirem atrás dele. */
section[id] {
  scroll-margin-top: 88px;
}

/* O realce cinza padrão do toque pisca com atraso e suja a interação.
   Cada alvo tocável abaixo define o próprio feedback de :active. */
a, button, summary {
  -webkit-tap-highlight-color: transparent;
}

/* Atalho para quem navega por teclado/leitor de tela pular o menu. */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(calc(-100% - 16px));
  transition: transform var(--t-snappy);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--blue-light);
}
::-webkit-scrollbar-thumb {
  background: var(--blue-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-snappy);
}

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

/* ==========================================================================
   ANIMAÇÃO DE ENTRADA NO SCROLL (REVEAL)

   Cada elemento marcado com [data-reveal] parte de um estado oculto e é
   revelado uma única vez, quando entra na viewport. Os containers marcados
   com [data-reveal-group] revelam seus filhos em cascata (stagger), de modo
   que o olhar acompanhe a entrada elemento a elemento.

   O fill-mode é "backwards" de propósito: a animação segura o estado inicial
   durante o delay e, ao terminar, devolve o elemento aos seus estilos
   normais — assim os transforms de :hover dos cards continuam funcionando.
   ========================================================================== */
.js-enabled [data-reveal] {
  opacity: 0;
}

.js-enabled [data-reveal].is-revealed {
  opacity: 1;
  animation-duration: var(--reveal-time);
  animation-timing-function: var(--ease-reveal);
  animation-delay: var(--reveal-delay, 0ms);
  animation-fill-mode: backwards;
}

.js-enabled [data-reveal="up"].is-revealed    { animation-name: reveal-up; }
.js-enabled [data-reveal="left"].is-revealed  { animation-name: reveal-left; }
.js-enabled [data-reveal="right"].is-revealed { animation-name: reveal-right; }

/* Foco progressivo (blur-to-clear): a imagem "entra em foco", como o olho. */
.js-enabled [data-reveal="focus"].is-revealed {
  animation-name: reveal-focus;
  animation-duration: var(--reveal-time-focus);
}

@keyframes reveal-up {
  from { opacity: 0; transform: translate3d(0, var(--reveal-shift), 0); }
}

@keyframes reveal-left {
  from { opacity: 0; transform: translate3d(calc(var(--reveal-shift) * -1.5), 0, 0); }
}

@keyframes reveal-right {
  from { opacity: 0; transform: translate3d(calc(var(--reveal-shift) * 1.5), 0, 0); }
}

@keyframes reveal-focus {
  from { opacity: 0; filter: blur(10px); transform: translate3d(0, 16px, 0) scale(0.99); }
  to   { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal],
  .js-enabled [data-reveal].is-revealed {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto !important;
  }
  /* O menu abre inteiro de uma vez: sem cascata, sem deslize. */
  .nav-links li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
  .nav-links,
  .fixed-sticky-bar {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   HEADER / NAVBAR INTELIGENTE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 20px 24px;
  transform: none;
  opacity: 1;
  transition: background var(--t-snappy), padding var(--t-snappy);
  pointer-events: auto;
}

.site-header.header-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(15, 61, 122, 0.08);
}

.site-header.header-blog {
  background: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(240, 245, 252, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 62px;
  width: auto;
  border-radius: 4px;
  transition: height var(--t-snappy);
  filter: brightness(0) invert(1);
}

.header-scrolled .logo-img {
  height: 48px;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 8px 0;
}

.header-scrolled .nav-links a {
  color: var(--blue-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--blue-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover::after {
    transform: scaleX(1);
  }
  .nav-links a:hover {
    color: var(--blue-secondary);
  }
}

/* Seção atual (marcada pelo scrollspy): no desktop reaproveita o mesmo
   sublinhado do hover, já ancorado. */
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="true"] {
  color: var(--blue-sky);
}

.header-scrolled .nav-links a[aria-current="true"] {
  color: var(--blue-secondary);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--blue-sky);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Botão CTA na Navbar */
.nav-cta-btn {
  background-color: var(--white);
  color: var(--blue-dark) !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  border: 2px solid var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: background-color var(--t-smooth), color var(--t-smooth), border-color var(--t-smooth), transform var(--t-smooth), box-shadow var(--t-smooth) !important;
}

.nav-cta-btn::after {
  display: none !important;
}

/* Quando o header estiver scrolled (fundo branco), precisamos de borda azul para o botão se destacar */
.header-scrolled .nav-cta-btn {
  background-color: var(--white);
  color: var(--blue-secondary) !important;
  border-color: var(--blue-secondary);
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta-btn:hover,
  .header-scrolled .nav-cta-btn:hover {
    background-color: var(--blue-secondary);
    color: var(--white) !important;
    border-color: var(--blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 117, 211, 0.25);
  }
}

/* Hamburger Mobile */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  -webkit-touch-callout: none;
  transition: background-color var(--t-snappy);
}

/* Sem o realce nativo do toque, o botão precisa confirmar o toque sozinho. */
.nav-hamburger:active {
  background-color: rgba(255, 255, 255, 0.12);
}

.header-scrolled .nav-hamburger:active {
  background-color: rgba(15, 61, 122, 0.1);
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--blue-sky);
  outline-offset: 2px;
}

.header-scrolled .nav-hamburger:focus-visible {
  outline-color: var(--blue-secondary);
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--white);
  position: absolute;
  left: 11px;
  transition: transform 0.35s var(--ease-premium), opacity 0.35s ease, background-color 0.35s ease;
}

.header-scrolled .nav-hamburger span {
  background-color: var(--blue-dark);
}

.nav-hamburger span:nth-child(1) { top: 16px; }
.nav-hamburger span:nth-child(2) { top: 23px; }
.nav-hamburger span:nth-child(3) { top: 30px; }

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   SEÇÃO 1: HERO
   ========================================================================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--blue-dark);
  padding: 140px 24px 80px 24px;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-eye.png');
  background-size: cover;
  background-position: right center;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.8) 70%, #fff 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.8) 70%, #fff 100%);
  z-index: 1;
  pointer-events: none;
  transform: scale(1.15) translateX(3%);
}

.section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 35%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 65%, rgba(46, 117, 211, 0.18) 0%, transparent 60%),
    linear-gradient(90deg, 
      var(--blue-dark) 0%, 
      rgba(7, 31, 67, 0.95) 35%, 
      rgba(7, 31, 67, 0.5) 70%, 
      transparent 100%
    );
  z-index: 2;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(15, 61, 122, 0.3) 0%, rgba(7, 31, 67, 0.95) 80%),
              url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 4;
}

.hero-content {
  max-width: 650px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-sky);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-highlight {
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-cta-btn {
  display: inline-block;
  background-color: var(--white);
  color: var(--blue-dark);
  padding: 16px 36px;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: background-color var(--t-smooth), color var(--t-smooth), border-color var(--t-smooth), transform var(--t-smooth), box-shadow var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta-btn:hover {
    background-color: var(--blue-secondary);
    color: var(--white);
    border-color: var(--blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 117, 211, 0.25);
  }
}

/* ==========================================================================
   SEÇÃO 2: SOBRE
   ========================================================================== */
.section-about {
  padding: 100px 24px;
  background-color: var(--white);
  position: relative;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.croqui-frame {
  border: 1px dashed var(--blue-primary);
  padding: 12px;
  border-radius: 8px;
  background-color: var(--blue-light);
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.9);
  transition: transform var(--t-smooth);
}

.about-img:hover {
  transform: scale(1.02);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.section-subtitle {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--blue-secondary);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
  text-align: justify;
}


/* ==========================================================================
   SEÇÃO 3: SERVIÇOS
   ========================================================================== */
.section-services {
  padding: 100px 24px;
  background-color: var(--blue-dark);
  color: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

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

.services-header {
  max-width: 600px;
  margin-bottom: 50px;
}

.text-white {
  color: var(--white) !important;
}

.section-desc {
  font-size: 1.1rem;
  margin-top: 16px;
}

.text-light {
  color: var(--text-light) !important;
}

/* Abas de Serviços */
.services-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(240, 245, 252, 0.1);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.services-tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-light);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 30px;
  transition: color var(--t-snappy), background-color var(--t-snappy), border-color var(--t-snappy), box-shadow var(--t-snappy);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px; /* Área de toque mobile */
}

.tab-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2px;
  flex-shrink: 0;
  transition: transform var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .services-tab-btn:hover {
    color: var(--white);
    background-color: rgba(240, 245, 252, 0.05);
  }
  .services-tab-btn:hover .tab-icon {
    transform: scale(1.1) rotate(-3deg);
  }
}

.services-tab-btn.active {
  color: var(--white);
  background-color: var(--blue-secondary);
  border-color: var(--blue-secondary);
  box-shadow: 0 4px 14px rgba(46, 117, 211, 0.25);
}

.services-tab-btn.active .tab-icon {
  transform: scale(1.05);
}

.services-tab-btn:focus-visible {
  outline: 2px solid var(--blue-sky);
  outline-offset: 2px;
}

/* Painéis de Serviços */
.services-panels {
  position: relative;
}

.services-panel {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.services-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.services-accordion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Acordeões de Serviços (<details>) */
.service-accordion-item {
  position: relative;
  height: 220px;
  background-color: rgba(15, 61, 122, 0.35);
  border: 1px solid rgba(240, 245, 252, 0.08);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 20px;
  cursor: pointer;
  transition: transform 0.6s var(--ease-premium), 
              border-color 0.6s var(--ease-premium), 
              background-color 0.6s var(--ease-premium), 
              box-shadow 0.6s var(--ease-premium);
}

.service-accordion-item.highlight {
  border-color: rgba(46, 117, 211, 0.5);
  background-color: rgba(15, 61, 122, 0.5);
}

.service-accordion-summary {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 0;
  cursor: pointer;
  list-style: none;
  outline: none;
  user-select: none;
  pointer-events: none;
  transform-origin: left top;
  transform: translate(-50%, -50%) scale(1);
  transition: top 0.6s var(--ease-premium),
              left 0.6s var(--ease-premium),
              transform 0.6s var(--ease-premium);
}

.service-accordion-summary::-webkit-details-marker {
  display: none;
}

.service-accordion-summary:focus-visible {
  outline: 2px solid var(--blue-sky);
  outline-offset: -2px;
}

.service-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  text-align: center;
  transition: color 0.6s var(--ease-premium);
}

.service-icon {
  display: none !important;
}

.service-accordion-content {
  position: absolute;
  top: 78px;
  left: 20px;
  right: 20px;
  bottom: 24px;
  padding: 0;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
  pointer-events: none;
}

/* Hover e Active States */
@media (hover: hover) and (pointer: fine) {
  .service-accordion-item:hover {
    transform: translateY(-6px);
    border-color: var(--blue-secondary);
    background-color: rgba(15, 61, 122, 0.55);
    box-shadow: 0 16px 36px rgba(46, 117, 211, 0.25);
  }
  
  .service-accordion-item:hover .service-accordion-summary {
    top: 22px;
    left: 20px;
    transform: translate(0, 0) scale(0.85);
  }

  .service-accordion-item:hover .service-title {
    color: var(--blue-sky);
    text-align: left;
  }

  .service-accordion-item:hover .service-accordion-content {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-accordion-item.active-card {
  transform: translateY(-6px);
  border-color: var(--blue-secondary);
  background-color: rgba(15, 61, 122, 0.55);
  box-shadow: 0 16px 36px rgba(46, 117, 211, 0.25);
}

.service-accordion-item.active-card .service-accordion-summary {
  top: 22px;
  left: 20px;
  transform: translate(0, 0) scale(0.85);
}

.service-accordion-item.active-card .service-title {
  color: var(--blue-sky);
  text-align: left;
}

.service-accordion-item.active-card .service-accordion-content {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SEÇÃO 4: FAQ (ACCORDION COM CSS GRID)
   ========================================================================== */
.section-faq {
  padding: 100px 24px;
  background-color: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(15, 61, 122, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  transition: border-color var(--t-snappy);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  outline: none;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--blue-primary);
  transition: transform var(--t-smooth);
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg) scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-smooth);
}

.faq-answer.open {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    border-color: var(--blue-secondary);
  }
}

/* ==========================================================================
   SEÇÃO 5: BLOG (DINÂMICO)
   ========================================================================== */
#blog-secao {
  background-color: var(--blue-light);
  padding: 140px 24px 100px 24px;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.blog-title-section {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--blue-dark);
  margin-bottom: 48px;
  text-align: center;
}

.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background-color: var(--white);
  border: 1px solid rgba(15, 61, 122, 0.08);
  border-radius: 8px;
  padding: 32px;
  cursor: pointer;
  transition: transform var(--t-smooth), box-shadow var(--t-smooth), border-color var(--t-snappy);
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--blue-dark);
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-secondary);
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(7, 31, 67, 0.04);
    border-color: var(--blue-secondary);
  }
}

/* Detalhe do Artigo Individual */
#artigo-secao {
  background-color: var(--white);
  padding: 140px 24px 120px 24px;
}

.artigo-single-container {
  max-width: 750px;
  margin: 0 auto;
}

.btn-voltar {
  display: inline-block;
  background-color: var(--white);
  color: var(--blue-dark);
  border: 2px solid var(--blue-secondary);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 32px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color var(--t-smooth), color var(--t-smooth), border-color var(--t-smooth), transform var(--t-smooth), box-shadow var(--t-smooth);
}

.btn-voltar:hover {
  background-color: var(--blue-secondary);
  color: var(--white);
  border-color: var(--blue-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 117, 211, 0.15);
}

.artigo-meta-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.artigo-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--blue-dark);
}

.artigo-divider {
  border: 0;
  border-top: 1px solid rgba(15, 61, 122, 0.1);
  margin: 24px 0 40px 0;
}

.artigo-text-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-muted);
  text-align: justify;
}

.artigo-text-body h2 {
  font-family: var(--font-serif);
  color: var(--blue-dark);
  margin: 40px 0 20px 0;
  font-size: 1.6rem;
}

.artigo-text-body h3 {
  font-family: var(--font-serif);
  color: var(--blue-dark);
  margin: 32px 0 16px 0;
  font-size: 1.3rem;
}

.artigo-text-body strong {
  font-weight: 700;
  color: var(--blue-dark);
}

.blog-blockquote {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--blue-primary);
  border-left: 3px solid var(--blue-secondary);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
}

/* ==========================================================================
   SEÇÃO 6: CONTATO E LOCALIZAÇÃO
   ========================================================================== */
.section-contact {
  padding: 100px 24px;
  background-color: var(--blue-dark);
  color: var(--white);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-cta-wrapper {
  margin-top: 32px;
}

.contact-cta-btn {
  display: inline-block;
  background-color: var(--white);
  color: var(--blue-dark);
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color var(--t-snappy), color var(--t-snappy), transform var(--t-snappy), box-shadow var(--t-snappy);
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .contact-cta-btn:hover {
    background-color: var(--blue-secondary);
    color: var(--white);
    border-color: var(--blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 117, 211, 0.3);
  }
}

.contact-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.contact-map:hover {
  border-color: rgba(46, 117, 211, 0.4);
  box-shadow: 0 20px 40px rgba(46, 117, 211, 0.15);
}

.contact-map iframe {
  display: block;
  border-radius: 8px;
  filter: grayscale(100%) invert(90%) sepia(95%) saturate(450%) hue-rotate(190deg) brightness(115%) contrast(110%);
  transition: filter var(--t-smooth);
}

.contact-map:hover iframe {
  filter: grayscale(100%) invert(90%) sepia(95%) saturate(450%) hue-rotate(190deg) brightness(125%) contrast(110%);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background-color: #041228;
  color: var(--text-light);
  padding: 80px 24px 60px 24px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-info {
  max-width: 320px;
}

.footer-logo {
  height: 48px;
  width: auto;
  border-radius: 4px;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

.footer-medical-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-links-list,
.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--t-snappy);
}

.footer-links-list a:hover {
  color: var(--blue-secondary);
}

.footer-contacts-list li {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.footer-contacts-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.footer-contacts-list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--t-snappy);
}

.footer-contacts-list a:hover {
  color: var(--blue-secondary);
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-link {
  color: var(--text-light);
  transition: color var(--t-snappy), transform var(--t-snappy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link.instagram:hover {
  color: var(--white);
  background-color: #E1306C;
  transform: translateY(-2px);
}

.footer-social-link.facebook:hover {
  color: var(--white);
  background-color: #1877F2;
  transform: translateY(-2px);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(240, 245, 252, 0.08);
  margin: 32px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.agency-credit a {
  color: var(--blue-secondary);
  font-weight: 600;
}

.agency-credit a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE FIXED STICKY CTA BAR
   ========================================================================== */
.fixed-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--blue-dark);
  /* env() mantém o botão acima da barra de gestos do iPhone. */
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(7, 31, 67, 0.15);
  z-index: 95;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease-premium),
              opacity 0.3s var(--ease-premium),
              visibility 0s linear 0.4s;
}

.fixed-sticky-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.4s var(--ease-premium),
              opacity 0.3s var(--ease-premium),
              visibility 0s;
}

.sticky-cta-btn:active {
  transform: scale(0.98);
  background-color: var(--blue-light);
}

.sticky-cta-btn:focus-visible {
  outline: 2px solid var(--blue-sky);
  outline-offset: 3px;
}

.sticky-cta-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background-color: var(--white);
  color: var(--blue-dark);
  text-align: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background-color var(--t-smooth), color var(--t-smooth), border-color var(--t-smooth), transform var(--t-smooth), box-shadow var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .sticky-cta-btn:hover {
    background-color: var(--blue-secondary);
    color: var(--white);
    border-color: var(--blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 117, 211, 0.25);
  }
}

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-premium);
}

.whatsapp-widget.widget-visible {
  opacity: 1;
  pointer-events: auto;
}

/* O widget vive em z-index 999 e o header em 100: com o menu aberto ele
   flutua POR CIMA do overlay e rouba o toque destinado à navegação. Enquanto
   o menu está aberto o usuário está navegando — o botão flutuante sai de cena. */
body.menu-aberto .whatsapp-widget {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform var(--t-snappy), background-color var(--t-snappy);
  will-change: transform;
}

.whatsapp-svg-icon {
  fill: var(--white);
  width: 28px;
  height: 28px;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-trigger-btn:hover {
    transform: scale(1.05);
    background-color: #128C7E;
  }
}

.whatsapp-tooltip {
  background-color: var(--blue-dark);
  border: 1px solid rgba(240, 245, 252, 0.12);
  color: var(--white);
  padding: 0 18px 0 14px;
  border-radius: 6px;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.95);
  transition: none;
}

.whatsapp-tooltip.active {
  opacity: 1;
  visibility: visible;
  max-height: 80px;
  padding: 12px 18px 12px 14px;
  margin-bottom: 12px;
  transform: translateY(0) scale(1);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px;
  width: 10px;
  height: 10px;
  background-color: var(--blue-dark);
  border-right: 1px solid rgba(240, 245, 252, 0.12);
  border-bottom: 1px solid rgba(240, 245, 252, 0.12);
  transform: rotate(45deg);
}

.close-tooltip-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 12px;
  margin: -12px -12px -12px 0;
  transition: color var(--t-snappy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.close-tooltip-btn:hover {
  color: var(--blue-secondary);
}

/* Painel de Chat Simulado */
.whatsapp-chat-panel {
  width: 320px;
  background-color: var(--white);
  border: 1px solid rgba(15, 61, 122, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transform: translateY(20px) scale(0.95);
  transition: none;
}

.whatsapp-chat-panel.active {
  opacity: 1;
  visibility: visible;
  max-height: 500px;
  margin-bottom: 16px;
  transform: translateY(0) scale(1);
}

.chat-header {
  background-color: var(--blue-dark);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--blue-secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.chat-header-status {
  font-size: 0.75rem;
  color: var(--text-light);
}

.chat-messages-container {
  padding: 16px;
  max-height: 320px;
  overflow-y: auto;
  background-color: var(--blue-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
  word-wrap: break-word;
}

.chat-bubble.received {
  background-color: var(--white);
  color: var(--text-dark);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid rgba(15, 61, 122, 0.05);
}

.chat-bubble.sent {
  background-color: rgba(46, 117, 211, 0.12);
  color: var(--blue-dark);
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-faq-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  opacity: 1;
  max-height: 300px;
  transition: opacity 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), margin-top 0.3s var(--ease-premium);
  overflow: hidden;
}

.chat-faq-options.hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
}

.chat-faq-opt {
  background-color: var(--white);
  border: 1px solid rgba(15, 61, 122, 0.25);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--blue-dark);
  transition: background-color var(--t-snappy), border-color var(--t-snappy);
  min-height: 48px;
  display: flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .chat-faq-opt:hover {
    background-color: var(--blue-light);
    border-color: var(--blue-secondary);
  }
}

.chat-footer {
  padding: 12px;
  background-color: var(--white);
  border-top: 1px solid rgba(15, 61, 122, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-direct-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-secondary);
}

@media (hover: hover) and (pointer: fine) {
  .chat-direct-link:hover {
    color: var(--blue-primary);
  }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--blue-primary);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
  opacity: 0.4;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.whatsapp-trigger-btn:focus-visible,
.close-tooltip-btn:focus-visible,
.chat-faq-opt:focus-visible {
  outline: 2px solid var(--blue-secondary) !important;
  outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVIDADE E ADAPTAÇÃO MOBILE
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .services-accordion-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-hamburger {
    display: block;
    z-index: 101;
    /* Compensa o respiro interno do ícone e alinha à margem óptica da logo. */
    margin-right: -10px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 100%);
    height: calc(100dvh - 100%);
    background: rgba(7, 31, 67, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    /* env() reserva o espaço da barra de gestos do iPhone. */
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    /* visibility entra sem atraso e sai só depois do fade, para que o menu
       fechado saia da ordem de tabulação e do leitor de tela. */
    transition: opacity 0.35s var(--ease-premium),
                transform 0.35s var(--ease-premium),
                visibility 0s linear 0.35s;
    overflow-y: auto;
    /* Impede que a rolagem no fim do menu "vaze" para a página atrás. */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.35s var(--ease-premium),
                transform 0.35s var(--ease-premium),
                visibility 0s;
  }

  .nav-links li {
    width: 100%;
  }

  /* Os itens entram em cascata atrás do overlay: o olhar acompanha a lista
     se formando em vez de receber os sete de uma vez. */
  .nav-links li {
    opacity: 0;
    transform: translateY(10px);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 90ms; }
  .nav-links.active li:nth-child(2) { transition-delay: 135ms; }
  .nav-links.active li:nth-child(3) { transition-delay: 180ms; }
  .nav-links.active li:nth-child(4) { transition-delay: 225ms; }
  .nav-links.active li:nth-child(5) { transition-delay: 270ms; }
  .nav-links.active li:nth-child(6) { transition-delay: 315ms; }
  .nav-links.active li:nth-child(7) { transition-delay: 360ms; }

  .nav-links a {
    display: flex;
    align-items: center;
    /* Linha inteira tocável: 56px de altura e toda a largura do overlay. */
    min-height: 56px;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white) !important;
    border-radius: 8px;
    border-bottom: 1px solid rgba(240, 245, 252, 0.07);
    transition: background-color var(--t-snappy), color var(--t-snappy);
  }

  /* O sublinhado animado é um gesto de mouse; no overlay ele só polui. */
  .nav-links a::after {
    display: none;
  }

  .nav-links a:active {
    background-color: rgba(46, 117, 211, 0.22);
  }

  .nav-links a:focus-visible {
    outline: 2px solid var(--blue-sky);
    outline-offset: -2px;
  }

  /* Seção em que o leitor está agora, marcada via scrollspy. */
  .nav-links a[aria-current="true"] {
    color: var(--blue-sky) !important;
    background-color: rgba(56, 189, 248, 0.1);
    font-weight: 600;
  }

  .nav-links a[aria-current="true"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background-color: var(--blue-sky);
  }

  /* O CTA fecha a lista como ação primária, não como mais um link. */
  .nav-links .nav-cta-btn {
    justify-content: center;
    margin-top: 16px;
    min-height: 56px;
    padding: 12px 24px !important;
    border-radius: 10px;
    font-size: 1.05rem;
    background-color: var(--blue-secondary);
    color: var(--white) !important;
    border-color: var(--blue-secondary);
    border-bottom: 2px solid var(--blue-secondary);
    box-shadow: 0 6px 20px rgba(46, 117, 211, 0.3);
  }

  .nav-links .nav-cta-btn:active {
    background-color: var(--blue-primary);
    border-color: var(--blue-primary);
    transform: scale(0.98);
  }

  .nav-links .nav-cta-btn[aria-current="true"]::before {
    display: none;
  }

  /* Hero */
  .section-hero::before {
    opacity: 0.18;
    background-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .section-hero::after {
    background: 
      radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 65%),
      linear-gradient(180deg, 
        var(--blue-dark) 0%, 
        rgba(7, 31, 67, 0.92) 50%, 
        rgba(7, 31, 67, 0.75) 100%
      );
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-cta-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  /* Seção de Contato e Footer com Clearance */
  .section-contact {
    padding-bottom: 96px;
  }

  .site-footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-widget {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-col {
    align-items: center;
  }
  
  .footer-col-info {
    max-width: 100%;
  }

  .footer-logo {
    align-self: center;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

