/* ============================================================
   Clyma – folha de estilo única do site
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/InterVariable.woff2) format('woff2');
}

:root {
  --verde: #00532D;
  --verde-2: #0E6B3F;
  --verde-claro: #E4F1E4;
  --fundo-suave: #F4F9F4;
  --azul: #184468;
  --laranja: #FF9600;        /* fundo de botão, com texto escuro */
  --laranja-texto: #A34F00;  /* laranja para texto sobre branco (contraste AA) */
  --amarelo: #FFC764;
  --texto: #26313b;
  --texto-suave: #4d5966;
  --borda: #dbe6dc;
  --raio: 16px;
  --sombra: 0 8px 28px rgba(16, 42, 32, .10);
  --titulo: 'Nunito', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font: 400 17px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.15; color: var(--azul); margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }

/* Acessibilidade: link de pular e foco visível */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: 700 16px/1.2 'Inter', sans-serif; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--laranja); color: #1f1300; }
.btn-orange:hover { background: #ffaa33; }
.btn-blue { background: var(--azul); color: #fff; }
.btn-blue:hover { background: #0f3352; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--azul); color: var(--azul); }
.btn-outline:hover { background: var(--fundo-suave); }

.eyebrow {
  font: 800 13px/1.4 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--laranja-texto); margin: 0 0 10px;
}
.eyebrow-light { color: var(--amarelo); }

/* ---------- Topo ---------- */
.topbar { background: #3d5a3a; color: #fff; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a, .topbar span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; fill: currentColor; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--borda); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; list-style: none; }
.nav ul a {
  display: block; padding: 10px 12px; color: var(--texto); text-decoration: none; font-weight: 600; font-size: 16px;
  border-bottom: 3px solid transparent;
}
.nav ul a:hover { color: var(--verde); }
.nav ul a[aria-current="page"] { color: var(--verde); border-bottom-color: var(--verde); }
.nav-cta { min-height: 44px; padding: 10px 20px; }

.menu-btn {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px;
}
.menu-btn span { width: 26px; height: 3px; background: var(--azul); border-radius: 3px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--borda); box-shadow: var(--sombra);
    flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 22px;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--borda); }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--borda); box-shadow: inset 4px 0 0 var(--verde); padding-left: 14px; }
  .topbar span { display: none; }
  .brand img { width: 140px; }
  .header-in { min-height: 70px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero { border-bottom-left-radius: clamp(40px, 8vw, 110px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,58,32,.92) 0%, rgba(0,58,32,.78) 45%, rgba(0,58,32,.15) 100%); }
.hero-in { position: relative; z-index: 1; padding: clamp(64px, 10vw, 130px) 0; }
.hero-box { max-width: 640px; }
.hero h1 { color: #fff; }
.lead { font-size: clamp(18px, 1.8vw, 20px); color: #f1f7f2; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 700px) { .hero::after { background: rgba(0,58,32,.84); } }

.page-hero { border-bottom-left-radius: clamp(40px, 8vw, 110px); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(24,68,104,.82); }
.page-hero-in { position: relative; z-index: 1; text-align: center; padding: clamp(56px, 8vw, 100px) 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { font-size: 20px; margin: 0; color: #eef4fa; }
.page-hero-logo { width: 120px; height: 120px; margin: 0 auto 18px; background: #fff; border-radius: 50%; padding: 10px; }

/* ---------- Seções ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding-top: 0; }
.section-soft { background: var(--fundo-suave); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head p:last-child { color: var(--texto-suave); font-size: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-rev .split-img { order: 2; }
.split-img img { width: 100%; border-radius: var(--raio); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split-rev .split-img { order: 0; } }

.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.features li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: 26px; }
.features img { width: 56px; height: 56px; flex: none; }
.features h3 { font-size: 18px; margin-bottom: 6px; }
.features p { margin: 0; color: var(--texto-suave); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

.check { list-style: none; margin: 0 0 1em; }
.check li { position: relative; padding-left: 30px; margin-bottom: 6px; }
.check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Faixas verdes ---------- */
.band { position: relative; color: #fff; text-align: center; background: var(--verde); padding: clamp(80px, 9vw, 120px) 0; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 60px; background-repeat: no-repeat; background-size: 100% 100%;
}
.band::before { top: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h1000v24c-120 30-230-18-360 6S380 58 250 34 80 8 0 30z'/%3E%3C/svg%3E"); }
.band::after { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 60h1000V30c-90-22-210 20-350 0S400 2 260 26 90 50 0 36z'/%3E%3C/svg%3E"); }
.band-in { max-width: 900px; position: relative; z-index: 1; }
.band h2, .band .quote { color: var(--amarelo); }
.band p { color: #fff; font-size: 18px; }
.band .quote { font-family: var(--titulo); font-weight: 800; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.25; color: var(--amarelo); margin-bottom: 28px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; margin: 28px auto 30px; background: #003a20; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Cards de atendimentos ---------- */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--verde); color: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card h3 { color: #fff; font-size: 20px; }
.card p { font-size: 15.5px; color: #eaf3ec; flex: 1; }
.card-link {
  align-self: flex-start; color: #fff; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--amarelo); padding: 4px 0;
}
.card-link::after { content: " →"; }
.card-link:hover { color: var(--amarelo); }
.card-logo { display: grid; place-items: center; background: #fff; aspect-ratio: 3 / 2; }
.card-logo img { width: 130px; height: 130px; }
.card-nucleo .card-logo { padding: 22px; }
.card-nucleo .card-logo img { width: min(220px, 80%); height: auto; }
.card-nucleo { grid-column: 1 / -1; flex-direction: row; }
.card-nucleo .card-logo { flex: 0 0 34%; aspect-ratio: auto; }
.card-nucleo .card-body { padding: 32px 36px; }
.card-nucleo p { max-width: 640px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .card-nucleo { flex-direction: column; } .card-nucleo .card-logo { aspect-ratio: 3 / 2; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Programas ---------- */
.programas { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; align-items: start; }
.programas-intro p:last-child { color: var(--texto-suave); }
.prog-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog { background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: 26px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.prog img { width: 120px; height: 120px; margin-bottom: 14px; }
.prog h3 { font-size: 18px; }
.prog p { font-size: 15.5px; color: var(--texto-suave); flex: 1; }
@media (max-width: 1050px) { .programas { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .prog-cards { grid-template-columns: 1fr; } }

/* ---------- Chamadas ---------- */
.cta-blue {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  background: var(--azul); color: #fff; border-radius: 22px; padding: 0 clamp(28px, 5vw, 72px); overflow: hidden;
}
.cta-blue > div { padding: clamp(40px, 5vw, 64px) 0; }
.cta-blue h2 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; max-width: 520px; }
.cta-blue p { color: #e6eef6; font-size: 18px; margin-bottom: 26px; max-width: 480px; }
.cta-blue img { align-self: end; justify-self: center; width: auto; max-height: 480px; margin-top: 24px; }
@media (max-width: 800px) {
  .cta-blue { grid-template-columns: 1fr; gap: 0; }
  .cta-blue > div { padding-bottom: 0; }
  .cta-blue img { max-height: 340px; margin-top: 0; }
}

.cta-green { background: var(--verde); color: #fff; text-align: center; border-radius: 20px; padding: clamp(40px, 6vw, 64px) 24px; }
.cta-green h1, .cta-green h2 { color: var(--amarelo); }
.cta-green p { font-size: 18px; margin-bottom: 26px; }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.contato-list { list-style: none; margin: 22px 0 28px; display: grid; gap: 14px; }
.contato-list li { display: grid; gap: 2px; }
.contato-list strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-suave); }
.contato-list a, .contato-list span { font-size: 18px; color: var(--texto); }
.map { border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 3; background: var(--verde-claro); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contato { grid-template-columns: 1fr; } }

/* ---------- Texto legal ---------- */
.legal h1 { margin-bottom: 6px; }
.legal h2 { font-size: 23px; margin-top: 1.6em; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.muted { color: var(--texto-suave); }

/* ---------- Rodapé ---------- */
.footer { background: var(--fundo-suave); border-top: 1px solid var(--borda); padding-top: 56px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 150px; margin-bottom: 16px; }
.footer p { font-size: 15px; color: var(--texto-suave); max-width: 420px; }
.footer h2 { font-size: 20px; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.footer a { color: var(--texto); text-decoration: none; font-size: 15.5px; }
.footer ul a:hover { color: var(--verde); text-decoration: underline; }
.footer .btn { font-size: 15px; color: #fff; }
.contact-list li { font-size: 15.5px; }
.copy { border-top: 1px solid var(--borda); margin-top: 40px; padding: 20px 0 28px; font-size: 14px; color: var(--texto-suave); text-align: center; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1DA851;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.whats-float:hover { transform: scale(1.07); }
@media (max-width: 600px) { .whats-float { width: 52px; height: 52px; right: 14px; bottom: 14px; } }
.band-quote::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath fill='%23F4F9F4' d='M0 60h1000V30c-90-22-210 20-350 0S400 2 260 26 90 50 0 36z'/%3E%3C/svg%3E"); }
