
:root{
  --verde:#00A680; --verde-claro:#61B697; --grafite:#222; --cinza:#e5e7eb; --bg:#ffffff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--grafite);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Open Sans';}
a{color:inherit}
.container{width:min(1160px,92%);margin-inline:auto}
.btn{display:inline-block;background:var(--verde);color:#fff;text-decoration:none;padding:12px 18px;border-radius:999px;font-weight:700}
.btn:hover{filter:brightness(.95)}
header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e5e7eb;z-index:30}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:16px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:42px;width:auto;object-fit:contain}
.menu{font-size: 75%;display:flex;gap:18px;flex-wrap:wrap}
.menu a{text-decoration:none;padding:6px 8px;border-radius:6px;color:#444}
.menu a:hover{background:#f1f5f9}
.active{font-weight:800}
.whats-fab{position:fixed;right:16px;bottom:16px;z-index:60;display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:999px;background:var(--verde);color:#fff;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.18);font-weight:700}
footer{margin-top:48px;padding:32px 0;border-top:1px solid #e5e7eb;font-size:13px;color:#666}
h1{font-size:clamp(22px,5vw,44px);margin:18px 0}
h2{font-size:clamp(20px,3.8vw,34px);margin:12px 0}
.section{padding:64px 0}
.lead{color:#555}
.hero{position:relative;min-height:70vh;display:grid;place-items:center;background:linear-gradient(180deg,#f7f7f7,#ededed);text-align:center}
.hero .headline{font-weight:900;line-height:1.25;margin:0 0 20px}
.hero .sub{margin:0 0 24px;color:#333}
.grid{display:grid;gap:10px}
@media (min-width:1024px){.grid.cols-12{grid-template-columns:repeat(12,1fr)}}
@media (min-width:640px) and (max-width:1023px){.grid.cols-8{grid-template-columns:repeat(8,1fr)}}
@media (max-width:639px){.grid.cols-6{grid-template-columns:repeat(6,1fr)}}
.tile{position:relative;border-radius:12px;overflow:hidden;background:#f1f5f9}
.tile img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:3/2}
.tile.v img{aspect-ratio:4/5}
.cards{display:grid;gap:16px}
@media (min-width:980px){.cards{grid-template-columns:repeat(4,1fr)}}
@media (max-width:979px) and (min-width:560px){.cards{grid-template-columns:repeat(2,1fr)}}
.card{background:#f7f7f7;border:1px solid #e5e7eb;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:10px}
.card h3{margin:0;font-size:18px;font-weight:800}
.card p{margin:0;color:#555;line-height:1.5}
.highlight{background:#f7f9fa;text-align:center;padding:48px 24px;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.pillars{display:grid;gap:12px;margin-top:18px}
@media (min-width:980px){.pillars{grid-template-columns:repeat(5,1fr)}}
.pillar{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}
.pillar h4{margin:0 0 6px;font-size:16px}
.contact-grid{display:grid;gap:min(6vw,48px)}
@media (min-width:980px){.contact-grid{grid-template-columns:1.2fr .8fr}}
.map{min-height:300px;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
.small{font-size:12px;color:#666}
/* Lightbox */
.lightbox{position:fixed;inset:0;display:none;background:rgba(0,0,0,.88);align-items:center;justify-content:center;z-index:50}
.lightbox.open{display:flex}
.lightbox img{max-width:90vw;max-height:88vh;display:block;border-radius:8px}
.lightbox .close, .lightbox .prev, .lightbox .next{
  position:fixed;top:50%;transform:translateY(-50%);color:#fff;font-size:28px;font-weight:800;
  background:rgba(0,0,0,.45);padding:8px 12px;border-radius:8px;user-select:none;cursor:pointer
}
.lightbox .close{top:24px;right:24px;transform:none;font-size:22px}
.lightbox .prev{left:24px}
.lightbox .next{right:24px}
.caption{color:#fff;text-align:center;margin-top:10px;max-width:90vw;opacity:.9}


/* === JV FIX PACK v0.9 === */
:root{
  --jv-green:#00A680;
  --jv-green-2:#61B697;
  --jv-bg:#cef2e6;
  --jv-text:#222;
}
html{scroll-behavior:smooth;}
body{color:var(--jv-text);font-family:"Open Sans";line-height:1.5;margin:0;}
h1,h2,h3,h4{font-family:""Open Sans";letter-spacing:0.2px;}
img,picture{max-width:100%;display:block;}
img{height:auto;}
/* neutraliza atributos width/height inline antigos */
img[width],img[height]{width:100%!important;height:auto!important;}

/* fundo padrão no main */
main{background-color: #cef2e6;}
body{background-color: #cef2e6;}
/* container */
.container{width:min(1200px,92vw);margin-inline:auto;}

/* hero com background */
.hero{
  position:relative;
  width:100%;
  min-height: clamp(280px, 40vw, 520px);
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:14px;
  background: url("../img/layout/") center/cover no-repeat;
}
.hero > .hero-media{position:absolute; inset:0;}
.hero > .hero-media picture, .hero > .hero-media img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;opacity:.85;}
.hero .hero-content{position:relative; z-index:2; text-align:center; padding:2rem;}

/* grade responsiva */
.gallery{display:grid; gap:16px; grid-template-columns:1fr;}
@media (min-width:560px){.gallery{grid-template-columns:repeat(2,1fr);}}
@media (min-width:880px){.gallery{grid-template-columns:repeat(3,1fr);}}
@media (min-width:1200px){.gallery{grid-template-columns:repeat(4,1fr);}}
.tile{position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:12px;background:#f2f2f2;}
.tile img{width:100%;height:100%;object-fit:cover;}
.tile-45{aspect-ratio:4/5;}

/* navegação */
nav.menu{display:flex; gap:20px; flex-wrap:wrap; align-items:center;}
nav.menu a{font-size:75%; text-decoration:none; padding:.5rem .75rem; border-radius:.5rem; color:#0b3027;}
nav.menu a:hover{background:rgba(0,166,128,.08);}
nav.menu a.active{background:rgba(0,166,128,.18);font-weight:600;}

/* seções */
.section{padding:32px 0;}
.section h2{margin:0 0 16px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);}

/* acessibilidade: foco visível */
a:focus{outline:3px solid var(--jv-green-2); outline-offset:2px;}

/* figuras em tabelas antigas */
table img{max-width:100%!important;height:auto!important;}


/* JV Mobile Overrides */

img, picture, video { max-width: 100%; height: auto; }
.hero { min-height: 32vh; padding: 24px 16px; text-align: center; }
@media (max-width: 768px) {
  .hero { min-height: 24vh; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}
header .logo img { max-height: 64px; height: auto; width: auto; }



/* === JV Mobile/Desktop Overrides v0_9_6 — 2025-08-19 02:32 === */
html, body { max-width:100%; overflow-x:hidden; }
p { margin:0 0 .75em; }
.section { padding-top:clamp(20px,4vw,40px); padding-bottom:clamp(20px,4vw,40px); }
table { border-collapse:collapse; width:100%; margin:0 0 1rem; }
table td, table th { padding:.5rem; }

/* Navbar */
.nav, .navbar { list-style:none; margin:0; padding:0; display:flex; gap:12px; flex-wrap:wrap; }
.nav a, .navbar a { display:inline-block; padding:8px 10px; border-radius:10px; text-decoration:none; }
@media (max-width:768px) {
  .nav, .navbar { width:100%; flex-direction:column; gap:8px; }
  .nav a, .navbar a { padding:12px 14px; }
}
@media (min-width:769px) {
  .nav, .navbar { flex-direction:row; align-items:center; }
}

/* Hero compacto */
.hero { min-height:32vh; padding:24px 16px; text-align:center; }
@media (max-width:768px) { .hero { min-height:24vh; } }

/* Galerias responsivas */
.gallery-grid, .gallery-preview, .gallery-full { display:grid; gap:10px; }
.gallery-preview { grid-template-columns:repeat(4,1fr); }
@media (max-width:1200px) { .gallery-preview { grid-template-columns:repeat(3,1fr); } }
@media (max-width:900px)  { .gallery-preview { grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px)  { .gallery-preview { grid-template-columns:1fr; } }

.gallery-full { grid-template-columns:repeat(3,1fr); }
@media (max-width:900px)  { .gallery-full { grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px)  { .gallery-full { grid-template-columns:1fr; } }

.gallery-grid img, .gallery-preview img, .gallery-full img {
  width:100%; height:auto; display:block; object-fit:cover;
}
img[width], img[height] { width:100% !important; height:auto !important; }

/* Logo proporcional */
header .logo img, img[src*="logo-horizontal"] {
  max-height:64px; width:auto !important; height:auto !important;
}
@media (max-width:900px) {
  header .logo img, img[src*="logo-horizontal"] { max-height:48px; }
}

/* Neutralizar Folha_fundo.svg */
[class*="folha"], [class*="Folha"], .has-folha { background-image:none !important; }
