/* =================================================================
   4ELEMENTOS — Site v1
   Proposta 2 "Cuidado Leve" | Manrope | Verde Petróleo + Azul Claro
   ================================================================= */

/* -----------------------------------------------------------------
   VARIÁVEIS
   ----------------------------------------------------------------- */
:root {
  --green:        #0F4D4D;
  --blue:         #B7D9EF;
  --green-light:  #7FB7AE;
  --sand:         #F4EFE4;
  --page-bg:      #F4F9F9;
  --board-bg:     #FFFFFF;
  --white:        #FFFFFF;

  --text:         #243238;
  --text-sec:     #485563;
  --text-muted:   #6F7C82;
  --border:       #E8DDC7;
  --divider:      rgba(15,77,77,0.12);

  --grad-accent:  linear-gradient(135deg, #B7D9EF 0%, #7FB7AE 100%);
  --grad-accent-hover: linear-gradient(135deg, #9fcbe6 0%, #6aaba1 100%);

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;

  --shadow-card:  0 8px 32px -12px rgba(15,77,77,0.18);
  --shadow-nav:   0 2px 16px -8px rgba(15,77,77,0.14);

  --max-w:        1140px;
  --nav-h:        84px;
}

/* -----------------------------------------------------------------
   RESET & BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background-color: var(--page-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -5%, rgba(183,217,239,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 105%, rgba(127,183,174,0.12) 0%, transparent 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* -----------------------------------------------------------------
   TIPOGRAFIA
   ----------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; color: var(--green); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 800; }
p  { color: var(--text-sec); line-height: 1.65; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
}

/* -----------------------------------------------------------------
   LAYOUT HELPERS
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* -----------------------------------------------------------------
   BOTÕES
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-accent);
  color: var(--green);
  box-shadow: 0 4px 16px -6px rgba(15,77,77,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(15,77,77,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover {
  background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%);
  color: #fff;
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  padding: 13px 0;
}
.btn-ghost:hover { opacity: 0.7; }

.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Botão WhatsApp */
.btn-wa {
  background: var(--grad-accent);
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 4px 16px -6px rgba(15,77,77,0.3);
}
.btn-wa:hover { background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%); color: #fff; }
.btn-wa svg { flex: none; }

/* Nota de desativação */
.wa-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* -----------------------------------------------------------------
   NAVEGAÇÃO
   ----------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(244,249,249,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  flex: none;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sec);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.nav-link-disabled {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 12px;
  cursor: default;
  white-space: nowrap;
}
.nav-link-disabled .badge-soon {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Dropdown Área do Cliente */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sec);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  user-select: none;
}
.nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}
.nav-dropdown-toggle svg {
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 220px;
  overflow: hidden;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 13px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sec);
  border-bottom: 1px solid var(--divider);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover {
  background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%);
  color: #fff;
  border-bottom-color: transparent;
}

.nav-cta { flex: none; }

/* Hamburger mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--page-bg);
  padding: 24px;
  overflow-y: auto;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--divider);
}
.nav-mobile.open { display: flex; }
.nav-mobile a, .nav-mobile .nav-mobile-group-title {
  display: block;
  padding: 13px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-sec);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav-mobile a:hover { background: rgba(15,77,77,0.07); color: var(--green); }
.nav-mobile .nav-mobile-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 20px;
  cursor: default;
}
.nav-mobile .nav-mobile-group-title:first-child { padding-top: 4px; }
.nav-mobile .nav-mobile-sub {
  padding-left: 32px;
  font-size: 0.9rem;
}
.nav-mobile .nav-mobile-disabled {
  color: var(--text-muted);
  cursor: default;
}
.nav-mobile .nav-mobile-cta {
  margin-top: 16px;
}

/* -----------------------------------------------------------------
   HERO
   ----------------------------------------------------------------- */
.hero {
  background: var(--board-bg);
  padding: 72px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 10% 0%, rgba(15,77,77,0.05), transparent 60%),
    radial-gradient(500px 400px at 90% 100%, rgba(183,217,239,0.12), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { padding-bottom: 72px; }
.hero-text h1 { margin-bottom: 20px; }
.hero-accent {
  background: linear-gradient(135deg, #0F4D4D 0%, #B7D9EF 35%, #7FB7AE 65%, #0F4D4D 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-shimmer 6s ease-in-out infinite alternate;
}
@keyframes hero-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 100% center; }
}
.hero-text p { font-size: 1.05rem; max-width: 480px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* -----------------------------------------------------------------
   HERO FOTO — EXPERIMENTO (feature flag: USE_PHOTO_HERO_EXPERIMENT)
   Alterne em index.html. flag=false → hero original; flag=true → este.
   ----------------------------------------------------------------- */
.hero-photo { display: none; }                       /* oculto por padrão */
html.hero-photo-on .hero       { display: none; }    /* esconde hero original */
html.hero-photo-on .hero-photo { display: block; }   /* mostra o experimento */

.hero-photo {
  background: var(--board-bg);
  padding: 72px 0 56px;
  position: relative;
}
.hp-stage {
  position: relative;
  height: 600px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 60px -24px rgba(15,77,77,0.30);
}
.hp-media { position: absolute; inset: 0; }
.hp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hp-img.active { opacity: 1; }
/* Enquadramento por slide (variante contida) */
.hp-img--empresarial { object-position: center 25%; }
.hp-img--auto        { object-position: center 42%; }
.hp-img--residencial { object-position: center 35%; }
.hp-img--vida        { object-position: center 32%; }

/* Ken Burns — zoom suave só na imagem ativa (variante full-width) */
@keyframes hp-zoom {
  from { transform: scale(1); }
  to   { transform: scale(var(--hp-zoom-to, 1.08)); }
}
html.hero-layout-full .hp-img.active {
  animation: hp-zoom 4000ms linear forwards; /* duração casa com DELAY (4000ms) no main.js */
  transform-origin: center;
}
.hp-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(244,249,249,0.97) 0%,
    rgba(244,249,249,0.90) 26%,
    rgba(244,249,249,0.55) 44%,
    rgba(244,249,249,0.12) 60%,
    rgba(244,249,249,0)    74%);
}
.hp-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  padding: 0 32px 0 64px;
}
.hp-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.hp-kicker {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hp-caption { transition: opacity 0.4s ease; }
.hp-caption .eyebrow { display: block; margin-bottom: 10px; }
.hp-caption h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: 14px;
}
.hp-caption p {
  font-size: 1.05rem;
  max-width: 430px;
}
.hero-photo .hero-btns { margin-top: 30px; }
.hp-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}
.hp-dots button {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,77,77,0.18);
  border-radius: 50px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hp-dots button:hover { border-color: var(--green-light); }
.hp-dots button.active {
  background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%);
  color: #fff;
  border-color: transparent;
}

/* Setas laterais prev/next — vidro translúcido (watermark) */
.hp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.38);
  color: rgba(15,77,77,0.72);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px -5px rgba(15,77,77,0.25);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.hp-arrow:hover {
  background: rgba(255,255,255,0.34);
  border-color: rgba(255,255,255,0.55);
  color: var(--green);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 14px -5px rgba(15,77,77,0.30);
}
.hp-arrow:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.hp-arrow-prev { left: 16px; }
.hp-arrow-next { right: 16px; }

@media (prefers-reduced-motion: reduce) {
  .hp-img, .hp-caption { transition: none; }
  .hp-arrow { transition: background 0.2s, box-shadow 0.2s; }
  .hp-arrow:hover { transform: translateY(-50%); }
  html.hero-layout-full .hp-img.active { animation: none; transform: none; }
}
@media (max-width: 860px) {
  .hero-photo { padding: 32px 0 48px; }
  .hp-stage { height: auto; border-radius: var(--radius-md); }
  .hp-media { position: relative; height: 300px; }
  .hp-scrim { display: none; }
  .hp-content {
    position: relative;
    inset: auto;
    max-width: none;
    padding: 28px 24px 28px;
  }
  /* Desativa fade do caption em mobile/tablet — evita sobreposição de texto
     causada por composição GPU do Safari iOS durante troca de conteúdo. */
  .hp-caption { transition: none; opacity: 1 !important; }
  .hp-caption p { max-width: none; }
  .hp-arrow { width: 36px; height: 36px; }
  .hp-arrow-prev { left: 12px; }
  .hp-arrow-next { right: 12px; }
}
@media (max-width: 480px) {
  .hp-media { height: 220px; }
  .hp-content { padding: 24px 18px 24px; }
  .hp-arrow { width: 32px; height: 32px; }
  .hp-arrow-prev { left: 10px; }
  .hp-arrow-next { right: 10px; }
}
/* Mobile: amplitude de zoom reduzida */
@media (max-width: 600px) {
  html.hero-layout-full { --hp-zoom-to: 1.045; }
}

/* -----------------------------------------------------------------
   HERO FOTO — VARIANTE FULL-WIDTH (flag PHOTO_HERO_LAYOUT = "full")
   Reusa a mesma seção .hero-photo, mesmas imagens/JS/conteúdo.
   Só muda o enquadramento (foto edge-to-edge, texto em container).
   No mobile (<=860px) ambas as variantes empilham igual (regras acima).
   ----------------------------------------------------------------- */
@media (min-width: 861px) {
  html.hero-layout-full .hero-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
  }
  html.hero-layout-full .hero-photo > .container {
    max-width: none;
    padding: 0;
  }
  html.hero-layout-full .hp-stage {
    height: clamp(560px, 68vh, 720px);
    border-radius: 0;
    box-shadow: none;
    background: var(--board-bg);
  }
  /* Fade suave da base da foto para a cor do fundo (entra na onda) */
  html.hero-layout-full .hp-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(244,249,249,0) 0%,
      rgba(244,249,249,0.55) 100%);
  }
  html.hero-layout-full .hp-scrim {
    background: linear-gradient(90deg,
      rgba(244,249,249,0.96) 0%,
      rgba(244,249,249,0.82) 30%,
      rgba(244,249,249,0.45) 50%,
      rgba(244,249,249,0.12) 66%,
      rgba(244,249,249,0)    80%);
  }
  html.hero-layout-full .hp-content {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w);
    padding: 0 24px;
  }
  html.hero-layout-full .hp-inner { max-width: 540px; }
  html.hero-layout-full .hp-arrow-prev { left: 24px; }
  html.hero-layout-full .hp-arrow-next { right: 24px; }

  /* Enquadramento por slide (variante full-width) — protege rostos */
  html.hero-layout-full .hp-img--empresarial { object-position: center 30%; }
  html.hero-layout-full .hp-img--auto        { object-position: center 48%; }
  html.hero-layout-full .hp-img--residencial { object-position: center 42%; }
  html.hero-layout-full .hp-img--vida        { object-position: center 40%; }

  /* Onda puxada para cima sobre a foto (remove a banda branca) */
  html.hero-layout-full .wave-hero {
    position: relative;
    z-index: 3;
    margin-top: -72px;
    background: transparent;
    pointer-events: none;
  }
}

/* Carrossel hero — coverflow 3 cards */
.hero-carousel {
  display: flex;
  flex-direction: column;
  height: 500px;
  gap: 14px;
}
.carousel-row {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-btn {
  flex: none;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid rgba(15,77,77,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px -4px rgba(15,77,77,0.18);
}
.carousel-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 20px -4px rgba(15,77,77,0.35);
}
.carousel-viewport {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.4,0,0.2,1),
              width 0.55s cubic-bezier(0.4,0,0.2,1),
              top 0.55s cubic-bezier(0.4,0,0.2,1),
              height 0.55s cubic-bezier(0.4,0,0.2,1),
              opacity 0.38s ease;
}
.carousel-slide.pos-current {
  left: 27%; width: 46%;
  top: 0;   height: 100%;
  opacity: 1; pointer-events: auto; z-index: 3;
}
.carousel-slide.pos-prev {
  left: 0;   width: 25%;
  top: 7%;   height: 86%;
  opacity: 0.58; pointer-events: auto; z-index: 2;
}
.carousel-slide.pos-next {
  left: 75%; width: 25%;
  top: 7%;   height: 86%;
  opacity: 0.58; pointer-events: auto; z-index: 2;
}
.slide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 12px;
  box-shadow: 0 4px 24px -8px rgba(15,77,77,0.10);
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.pos-current .slide-card {
  padding: 48px 36px;
  box-shadow: 0 12px 48px -12px rgba(15,77,77,0.22);
}
.slide-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(183,217,239,0.3) 0%, rgba(127,183,174,0.2) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}
.slide-icon svg { color: var(--green); }
.slide-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.slide-card p  { font-size: 0.85rem; max-width: 260px; margin: 0 auto; }
.pos-prev .slide-card p,
.pos-next .slide-card p  { display: none; }
.pos-prev .slide-card h3,
.pos-next .slide-card h3 { font-size: 0.8rem; }
.pos-prev .slide-icon,
.pos-next .slide-icon    { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  align-items: center;
  height: 20px;
  flex-shrink: 0;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(15,77,77,0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dots button.active {
  background: var(--green);
  transform: scale(1.25);
}

/* -----------------------------------------------------------------
   FAIXA DE PROTEÇÕES (topo) — carrossel leve, em harmonia com as ondas
   ----------------------------------------------------------------- */
.proto-strip {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  /* tons claros das ondas do hero (azul claro + verde claro), bem suaves */
  background: linear-gradient(
    100deg,
    rgba(183,217,239,0.42) 0%,
    rgba(127,183,174,0.28) 50%,
    rgba(183,217,239,0.42) 100%
  );
  background-size: 200% 100%;
  animation: proto-flow 32s ease-in-out infinite alternate;
  border-top: 1px solid rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(15,77,77,0.10);
}
@keyframes proto-flow {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* esvaecimento nas bordas — entrada/saída suave (cor do fundo da página) */
.proto-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}
.proto-fade-l { left: 0;  background: linear-gradient(90deg,  #F4F9F9 0%, transparent 100%); }
.proto-fade-r { right: 0; background: linear-gradient(270deg, #F4F9F9 0%, transparent 100%); }

.proto-track {
  display: inline-flex;
  align-items: center;
  will-change: transform;
}
.proto-track.is-ready { animation: proto-marquee 46s linear infinite; }
.proto-strip:hover .proto-track { animation-play-state: paused; }
@keyframes proto-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.proto-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.78;
  isolation: isolate;
  transition:
    color 0.35s ease 0.1s,
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.proto-item span { position: relative; z-index: 1; }

/* pílula de degradê verde no hover — mesma linguagem dos botões e da
   pílula ativa do hero (cria a conexão visual entre topo e hero) */
.proto-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%);
  box-shadow: 0 8px 20px -10px rgba(15,77,77,0.55);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.proto-item:hover,
.proto-item:focus-visible {
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}
.proto-item:hover::before,
.proto-item:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.proto-drop {
  width: 5px;
  height: 5px;
  margin: 0 2px;
  flex: none;
  border-radius: 50%;
  background: rgba(15,77,77,0.22);
}

/* -----------------------------------------------------------------
   TEASER QUEM SOMOS (home)
   ----------------------------------------------------------------- */
.teaser-quem {
  padding: 24px 0;
  display: flex;
  gap: 48px;
  align-items: center;
}
.teaser-quem-text { flex: 1; max-width: 720px; }
.teaser-quem-text p { font-size: 1.05rem; margin: 18px 0 32px; max-width: 560px; }

/* -----------------------------------------------------------------
   FAIXA DOS 4 PILARES
   ----------------------------------------------------------------- */
.pillars-strip {
  background: var(--sand);
  padding: 64px 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(15,77,77,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pillar-icon svg { color: var(--green-light); }
.pillar h4 { color: var(--green); font-size: 0.95rem; }
.pillar p  { font-size: 0.88rem; line-height: 1.6; }

/* -----------------------------------------------------------------
   GRADE DE SEGUROS (home destaque + página Seguros)
   ----------------------------------------------------------------- */
.seguros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.seguro-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 104px; /* livra a nav fixa ao chegar via âncora */
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
/* chegada via carrossel: o card abre já no estado verde (~1s) e
   depois volta sozinho ao normal pelas próprias transições */
.seguro-card.is-target {
  transform: translateY(-5px);
  border-color: var(--green-light);
  box-shadow: 0 16px 44px -10px rgba(15,77,77,0.38);
}
.seguro-card.is-target .seguro-img { transform: scale(1.06); }
.seguro-card.is-target .seguro-card-body {
  background: linear-gradient(135deg, #0F4D4D 0%, #1a6b5f 50%, #7FB7AE 100%);
}
.seguro-card.is-target h4 { color: #fff; }
.seguro-card.is-target p  { color: rgba(255,255,255,0.85); }
.seguro-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-light);
  box-shadow: 0 14px 40px -10px rgba(15,77,77,0.32);
}
.seguro-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #faf9f5;
  transition: transform 0.5s ease;
}
.seguro-card:hover .seguro-img { transform: scale(1.06); }
.seguro-card-body {
  padding: 20px 24px 26px;
  flex: 1;
  transition: background 0.3s;
}
.seguro-card:hover .seguro-card-body {
  background: linear-gradient(135deg, #0F4D4D 0%, #1a6b5f 50%, #7FB7AE 100%);
}
.seguro-card:hover h4 { color: #fff; }
.seguro-card:hover p  { color: rgba(255,255,255,0.85); }
.seguro-card h4 { margin-bottom: 8px; font-size: 0.95rem; transition: color 0.3s; }
.seguro-card p  { font-size: 0.85rem; transition: color 0.3s; }

/* -----------------------------------------------------------------
   SEPARADOR ONDA
   ----------------------------------------------------------------- */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wave svg { display: block; width: 100%; }

/* Onda gradiente decorativa (hero → ticker) */
.wave-hero {
  display: block;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: var(--board-bg);
  line-height: 0;
}
.wave-hero svg { display: block; width: 100%; height: 100%; }

/* -----------------------------------------------------------------
   CTA STRIP (chamada para WhatsApp)
   ----------------------------------------------------------------- */
.cta-strip {
  background: var(--green);
  padding: 56px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,0.78); margin-bottom: 28px; }
.cta-strip .wa-note { color: rgba(255,255,255,0.5); margin-top: 10px; }

/* -----------------------------------------------------------------
   PÁGINA SOBRE NÓS
   ----------------------------------------------------------------- */
.page-hero {
  background: var(--board-bg);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--divider);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p  { font-size: 1.05rem; max-width: 600px; }

/* Quem somos com foto */
.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.quem-somos-foto {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.quem-somos-foto img { width: 100%; height: auto; display: block; }
.quem-somos-text h2 { margin-bottom: 20px; }
.quem-somos-text p  { margin-bottom: 14px; }

/* Cards dos sócios */
.socios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.socio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.socio-avatar {
  width: 140px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.socio-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.socio-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
  display: block;
}
.socio-card p { font-size: 0.88rem; }

/* Como trabalhamos */
.como-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.como-item {
  background: var(--white);
  border: 1px solid rgba(15,77,77,0.1);
  border-left: 3px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 4px 20px -8px rgba(15,77,77,0.12);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s;
}
.como-item:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%);
  border-color: transparent;
  box-shadow: 0 10px 32px -8px rgba(15,77,77,0.38);
}
.como-item:hover h4 { color: #fff; }
.como-item:hover p  { color: rgba(255,255,255,0.82); }
.como-item h4 { color: var(--green); font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; transition: color 0.22s; }
.como-item p  { font-size: 0.9rem; transition: color 0.22s; }

/* Layout 2 colunas (sobre.html: O nome / Onde atendemos) */
.section-2col h2 { font-size: clamp(1.7rem, 3.8vw, 2.3rem); }

/* -----------------------------------------------------------------
   PÁGINA CONTATO
   ----------------------------------------------------------------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contato-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contato-icon {
  width: 44px;
  height: 44px;
  background: rgba(183,217,239,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contato-icon svg { color: var(--green); }
.contato-item h4  { margin-bottom: 6px; }
.contato-item p   { font-size: 0.9rem; }

/* -----------------------------------------------------------------
   ÁREA DO CLIENTE — páginas internas
   ----------------------------------------------------------------- */
.area-cliente-content {
  max-width: 680px;
  margin: 0 auto;
}
.area-cliente-content p { margin-bottom: 18px; font-size: 1rem; }
.area-cliente-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* -----------------------------------------------------------------
   RODAPÉ
   ----------------------------------------------------------------- */
.site-footer {
  background: var(--green);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 136px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0;
}
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  max-width: 240px;
}
.footer-links h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-links .link-disabled {
  color: rgba(255,255,255,0.38);
  cursor: default;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
}

/* -----------------------------------------------------------------
   BOTÃO FLUTUANTE WHATSAPP — pill com carrossel de avatares
   ----------------------------------------------------------------- */
.wa-bubble {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 500;
  text-decoration: none;
  filter: drop-shadow(0 10px 28px rgba(15,77,77,0.32));
  /* transform/opacity ficam reservados ao reposicionamento por rolagem
     (sobe para a área clara e some se a zona escura for alta demais) —
     o hover é aplicado na pílula */
  transition: filter 0.25s, transform 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}
.wa-bubble:hover {
  filter: drop-shadow(0 18px 40px rgba(15,77,77,0.46));
}
.wa-bubble:hover .wa-bubble-pill { transform: translateY(-4px); }
.wa-bubble.btn-disabled { opacity: 0.58; cursor: not-allowed; pointer-events: none; }
.wa-bubble-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0F4D4D 0%, #2a7a6b 50%, #7FB7AE 100%);
  border-radius: 50px;
  padding: 10px 28px 10px 10px;
  transition: transform 0.25s ease;
}
.wa-avatar-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  position: relative;
  flex: none;
  border: 2.5px solid rgba(255,255,255,0.45);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}
.wa-av {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.wa-av.active { opacity: 1; }
.wa-av-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.wa-av-icon.active { opacity: 1; }
.wa-av-icon svg { color: #fff; width: 28px; height: 28px; }
.wa-bubble-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff;
}

/* -----------------------------------------------------------------
   SCROLL REVEAL — palavras + fade suave (estilo editorial)
   ----------------------------------------------------------------- */
[data-reveal-words],
[data-reveal] { will-change: transform, opacity, filter; }

[data-reveal-words] .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal-words].is-revealed .reveal-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hairline editorial — risquinho que cresce horizontalmente */
.reveal-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--green);
  opacity: 0.55;
  margin-bottom: 18px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].reveal-rule { opacity: 0.55; } /* override do fade padrão */
[data-reveal].reveal-rule.is-revealed { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal-words] .reveal-word,
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .reveal-rule { transform: scaleX(1); }
  /* faixa de proteções — sem fluxo nem marquee; mantém legível e estática */
  .proto-strip { animation: none; background-position: 0% 50%; }
  .proto-track.is-ready { animation: none; }
}

/* -----------------------------------------------------------------
   RESPONSIVO
   ----------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text  { padding-bottom: 0; }
  .hero-carousel { height: 360px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .quem-somos-grid { grid-template-columns: 1fr; }
  .socios-grid { grid-template-columns: 1fr; gap: 20px; }
  .socio-card { display: flex; gap: 24px; text-align: left; }
  .socio-avatar { width: 100px; flex: none; margin: 0; }
  .socio-card-body { flex: 1; }
  .como-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .teaser-quem { flex-direction: column; padding: 16px 0; gap: 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-brand img { height: 116px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .seguros-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-carousel { height: 260px; gap: 10px; }
  .carousel-slide.pos-prev,
  .carousel-slide.pos-next { opacity: 0; pointer-events: none; }
  .carousel-slide.pos-current { left: 0; width: 100%; }
  .carousel-btn { display: none; }
  .wa-bubble-label { display: none; }
  .wa-bubble-pill { padding: 9px; }
  .wa-avatar-ring { width: 58px; height: 58px; }
  .wa-bubble { bottom: 24px; right: 20px; }
  .nav-logo img { height: 40px; }
  .footer-brand img { height: 92px; }
}
@media (max-width: 400px) {
  .seguros-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   BLOG — landing (hero em faixa + carrossel de destaques + grade)
   ================================================================= */

/* HERO em faixa: malha de degradês (aurora/mesh) + imagem circular.
   Várias camadas radiais sobrepostas com leve deriva contínua. O texto
   (verde petróleo) vive na área clara à esquerda; o tom mais profundo
   fica no canto inferior-direito, perto do círculo. */
.blog-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #c9e3ee;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 0;
  background-color: #edf6f6;
  background-image:
    radial-gradient(55% 66% at 10% 8%, rgba(183,217,239,0.58) 0%, rgba(183,217,239,0) 62%),
    radial-gradient(58% 70% at 90% 12%, rgba(127,183,174,0.46) 0%, rgba(127,183,174,0) 62%),
    radial-gradient(62% 74% at 88% 100%, rgba(15,77,77,0.15) 0%, rgba(15,77,77,0) 62%),
    radial-gradient(56% 68% at 12% 104%, rgba(127,183,174,0.36) 0%, rgba(127,183,174,0) 62%),
    linear-gradient(135deg, #e9f4fb 0%, #e6f2ed 55%, #ddefe8 100%);
  filter: blur(6px);
  will-change: transform;
  animation: blog-aurora 18s ease-in-out infinite alternate;
}
@keyframes blog-aurora {
  0%   { transform: translate3d(-3%, -1.5%, 0) scale(1.06) rotate(-0.8deg); }
  50%  { transform: translate3d(3%, 2%, 0)     scale(1.12) rotate(0.9deg); }
  100% { transform: translate3d(-1.5%, 3%, 0)  scale(1.06) rotate(-0.4deg); }
}
.blog-hero .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .blog-hero::before { animation: none; }
}

/* Seta "role para ver mais" — pulsa (pisca) e some ao rolar */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 6px 18px -8px rgba(15, 77, 77, 0.35);
  transform: translateX(-50%);
  animation: scroll-cue-bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
@keyframes scroll-cue-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.9; }
  50%      { transform: translate(-50%, 7px); opacity: 0.4; }
}
#blog-destaques { scroll-margin-top: 96px; }
@media (max-width: 760px) {
  .scroll-cue { bottom: 10px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

/* Seta de scroll na home: posição calculada por JS (acompanha a tela);
   z maior pra ficar acima da onda. */
.hero-photo .scroll-cue { z-index: 5; }
/* No mobile a hero é mais alta que a tela: fixa a seta no rodapé da
   janela (não depende de cálculo de altura, que oscila com a barra
   de endereço do navegador). */
@media (max-width: 760px) {
  .hero-photo .scroll-cue { position: fixed; }
}
#conteudo { scroll-margin-top: 96px; }
.blog-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0;
  min-height: clamp(280px, 36vh, 420px);
}
.blog-hero-text { max-width: 560px; }
.blog-hero .eyebrow { display: block; margin-bottom: 12px; color: var(--green); opacity: 0.65; }
.blog-hero h1 { color: var(--green); margin-bottom: 14px; }
.blog-hero p  { color: var(--green); opacity: 0.82; font-size: 1.1rem; max-width: 460px; }
.blog-hero-media { display: flex; justify-content: center; }
.blog-hero-circle {
  width: clamp(220px, 30vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.25);
  /* halo sutil ao redor com as cores da paleta + sombra de profundidade */
  box-shadow:
    0 18px 48px -16px rgba(15,77,77,0.38),
    0 0 40px 2px rgba(183,217,239,0.38),
    0 0 74px 14px rgba(127,183,174,0.24);
}
.blog-hero-circle img { width: 100%; height: 100%; object-fit: cover; }

/* Cabeçalho de seção (reaproveitado nas duas seções do blog) */
.blog-section-head { margin-bottom: 32px; }
.blog-section-head .eyebrow { display: block; margin-bottom: 8px; }

/* Categoria (mesma linguagem do eyebrow do site) */
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
}

/* Placeholders na paleta — visíveis até a foto real ser adicionada.
   O <img> entra por cima (z-index 2); se o arquivo não existir, o onerror
   o remove e o bloco colorido com a categoria aparece. */
.blog-ph-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ph-1 { background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%); }
.ph-2 { background: linear-gradient(135deg, #B7D9EF 0%, #7FB7AE 100%); }
.ph-3 { background: linear-gradient(135deg, #1a6b5f 0%, #B7D9EF 100%); }

/* CARROSSEL DE DESTAQUES (3 principais) */
.blog-featured { position: relative; }
.blog-featured-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.blog-featured-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-feat-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 360px;
  background: var(--white);
  color: inherit;
}
.blog-feat-media { position: relative; overflow: hidden; min-height: 240px; }
.blog-feat-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-feat-card:hover .blog-feat-img { transform: scale(1.06); }
.blog-feat-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px 44px;
}
.blog-feat-body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.blog-feat-body p  { font-size: 1.02rem; }
.blog-readmore {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  transition: gap 0.2s ease;
}
.blog-feat-card:hover .blog-readmore { gap: 11px; }

/* Setas e dots do carrossel */
.blog-feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 0.2s ease, color 0.2s ease;
}
.blog-feat-arrow:hover { background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%); color: #fff; }
.blog-feat-prev { left: -12px; }
.blog-feat-next { right: -12px; }
.blog-feat-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.blog-feat-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--divider);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.blog-feat-dots button:hover { background: var(--green-light); }
.blog-feat-dots button.active { background: var(--green); transform: scale(1.3); }

/* GRADE — 6 cards (3 em cima de 3) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-light);
  box-shadow: 0 14px 40px -10px rgba(15,77,77,0.32);
}
.blog-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-card-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.06); }
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 18px 22px 24px;
}
.blog-card-body h3 { font-size: 1.05rem; transition: color 0.2s ease; }
.blog-card:hover .blog-card-body h3 { color: var(--green-light); }

/* RESPONSIVO */
@media (max-width: 860px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-feat-card { grid-template-columns: 1fr; min-height: 0; }
  .blog-feat-media { aspect-ratio: 16 / 9; min-height: 0; }
  .blog-feat-body { padding: 28px 28px 32px; }
  /* card empilhado: setas sobre a imagem (centro dela), nunca sobre o texto */
  .blog-feat-arrow { top: 24vw; }
  .blog-feat-prev { left: 8px; }
  .blog-feat-next { right: 8px; }
}
@media (max-width: 760px) {
  .blog-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .blog-hero-text { max-width: none; }
  .blog-hero p { margin: 0 auto; }
  .blog-hero-media { order: -1; }
  .blog-hero-circle { width: clamp(160px, 48vw, 220px); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-feat-arrow { width: 40px; height: 40px; }
  .blog-feat-prev { left: 6px; }
  .blog-feat-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-featured-track { transition: none; }
  .blog-feat-img,
  .blog-card-img { transition: none; }
}

/* =================================================================
   ARTIGO DO BLOG (página individual) — hero com imagem + cartão
   ================================================================= */
.article-hero-img {
  width: 100%;
  height: clamp(460px, 76vh, 760px);
  overflow: hidden;
  background: var(--page-bg);
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ancora o recorte no alto: preserva o rosto das pessoas (que fica
     na parte superior das fotos) em vez de cortá-lo */
  object-position: center 22%;
  transform: scale(1.06);
  transform-origin: center top;
  will-change: transform, opacity;
}

.article-head {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: -110px auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 34px clamp(24px, 4vw, 48px);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--green-light); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { opacity: 0.45; }
.article-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 16px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta .blog-cat { color: var(--green-light); }
.article-meta .sep { opacity: 0.45; }

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}
.article-share span { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }
.article-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  border: 1px solid var(--border);
  color: var(--green);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.article-share a:hover { background: linear-gradient(135deg, #0F4D4D 0%, #7FB7AE 100%); color: #fff; border-color: transparent; }

.article-body { max-width: 720px; margin: 0 auto; }
.article-body > p:first-of-type { font-size: 1.15rem; color: var(--text); }
.article-body h2 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); margin: 36px 0 14px; }
.article-body p { font-size: 1.05rem; margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px; padding-left: 1.3em; }
.article-body li { margin-bottom: 10px; color: var(--text-sec); }
.article-body li::marker { color: var(--green-light); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  transition: gap 0.2s ease;
}
.article-back:hover { gap: 12px; }

@media (max-width: 680px) {
  .article-head { margin-top: -56px; border-radius: var(--radius-md); padding: 26px 22px; }
}

/* =================================================================
   ACESSIBILIDADE — barra custom (fonte, contraste, links) + VLibras
   Markup injetado por main.js. Dois botões iguais (46px) formam um
   trilho vertical rente à borda direita, no meio da tela: acessibilidade
   em cima, VLibras logo abaixo. WhatsApp segue no canto inferior direito.
   Ambos mostram um rótulo (tooltip) ao passar o mouse.
   ================================================================= */
.a11y-toolbar {
  position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 1200;
  font-family: 'Manrope', system-ui, sans-serif;
}
.a11y-fab {
  position: relative;
  width: 40px; height: 40px; border-radius: 11px 0 0 11px; border: none; cursor: pointer;
  background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: -6px 8px 24px -8px rgba(15,77,77,0.5);
  transition: box-shadow .2s ease, filter .2s ease;
}
.a11y-fab:hover { box-shadow: -10px 12px 28px -8px rgba(15,77,77,0.6); filter: brightness(1.08); }
.a11y-fab:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.a11y-fab svg { width: 22px; height: 22px; }

/* rótulo (tooltip) que aparece à esquerda ao passar o mouse / focar */
.a11y-fab::after {
  content: "Acessibilidade";
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
  box-shadow: -4px 6px 18px -8px rgba(15,77,77,0.45);
}
.a11y-fab:hover::after, .a11y-fab:focus-visible::after { opacity: 1; }
.a11y-toolbar.open .a11y-fab::after { opacity: 0 !important; } /* esconde com o painel aberto */

.a11y-panel {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  width: 250px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -12px rgba(15,77,77,0.28);
  padding: 14px; display: none;
}
.a11y-toolbar.open .a11y-panel { display: block; animation: a11yIn .18s ease; }
@keyframes a11yIn {
  from { opacity: 0; transform: translateY(-50%) translateX(10px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.a11y-panel h3 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 12px;
}
.a11y-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.a11y-opt {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--page-bg); color: var(--text); font-size: .84rem; font-weight: 600;
  font-family: inherit; cursor: pointer; text-align: left;
  transition: background .15s, border-color .15s;
}
.a11y-opt:hover { background: #fff; border-color: var(--green-light); }
.a11y-opt:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }
.a11y-opt[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.a11y-opt svg { width: 18px; height: 18px; flex: none; }
.a11y-opt--full { grid-column: 1 / -1; }
.a11y-reset {
  width: 100%; margin-top: 4px; padding: 9px; border: none; background: transparent;
  color: var(--text-muted); font-size: .8rem; font-weight: 600; cursor: pointer;
  font-family: inherit; text-decoration: underline;
}
.a11y-reset:hover { color: var(--green); }

/* --- estados aplicados à página inteira --- */
html.a11y-contrast { filter: invert(1) hue-rotate(180deg); background: #fff; }
html.a11y-contrast img,
html.a11y-contrast video,
html.a11y-contrast iframe,
html.a11y-contrast .a11y-toolbar,
html.a11y-contrast div[vw] { filter: invert(1) hue-rotate(180deg); }

html.a11y-links a:not(.btn):not(.nav-logo):not(.a11y-fab) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: 2px solid var(--green);
  outline-offset: 2px;
  background: rgba(183,217,239,0.35);
  border-radius: 3px;
}

@media (max-width: 760px) {
  .a11y-panel { width: calc(100vw - 84px); max-width: 280px; }
}

/* VLibras: o próprio plugin posiciona e dimensiona o botão via estilo
   inline (right:0; top:50%; tamanho próprio com deslocamento interno).
   Sobrescrevemos tudo com !important pra ele virar um botão de 46px
   igual ao nosso, rente à borda e colado logo ABAIXO — formando um
   trilho único. Também escondemos o pop-up promocional da primeira
   visita e damos a ele o mesmo rótulo (tooltip) no hover. */
div[vw].enabled {
  right: 0 !important; left: auto !important;
  top: calc(50% + 13px) !important; bottom: auto !important;
  transform: none !important;
}
div[vw] .vp-pop-up { display: none !important; }

/* rótulo (tooltip) do VLibras, no mesmo estilo do botão de cima */
div[vw].enabled::after {
  content: "Tradução em Libras";
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
  box-shadow: -4px 6px 18px -8px rgba(15,77,77,0.45);
  z-index: 5;
}
div[vw].enabled:hover::after { opacity: 1; }
