/* Ambiental Serviços Especializados — paleta tirada da logo (roxo #4a1454 da marca) */
:root{
  --navy-950:#1e0a24;
  --navy-900:#34103d;
  --blue-600:#6a2a7c;
  --blue-500:#7d3a90;
  --red-600:#4a1454;
  --red-700:#34103d;
  --paper:#f8f5f9;
  --paper-raised:#ffffff;
  --ink:#1d1222;
  --muted:#62596a;
  --line:#ece4ef;
  --gold:#8b44a3;
  --font-body:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --font-display:var(--font-body);
  --font-mono:var(--font-body);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%;}
a{color:inherit;}
h1,h2,h3{
  font-family:var(--font-display);
  line-height:1.08;
  margin:0;
  text-wrap:balance;
  font-weight:700;
}
p{margin:0;}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px;}
section{position:relative;}
.eyebrow{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:12.5px;
  font-weight:500;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 30px;
  border-radius:999px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:15.5px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
/* o ícone não pode encolher quando o texto do botão é longo (sumia no celular) */
.btn svg{flex:none;}
.btn-red{background:var(--red-600);color:#fff;box-shadow:0 10px 24px -8px rgba(74,20,84,.45);}
.btn-red:hover{background:var(--red-700);}
.btn-green{background:#25D366;color:#fff;box-shadow:0 10px 24px -8px rgba(37,211,102,.55);}
.btn-green:hover{background:#1DA851;}
.btn-danger{background:#dc2626;color:#fff;box-shadow:0 10px 24px -8px rgba(220,38,38,.5);}
.btn-danger:hover{background:#b91c1c;}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.55);color:#fff;}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-navy{background:var(--navy-900);color:#fff;}
.btn-navy:hover{background:var(--navy-950);}
.btn-white{background:#fff;color:var(--red-600);box-shadow:0 10px 24px -8px rgba(0,0,0,.25);}
.btn-white:hover{background:#f4edf8;}
.btn-lg{padding:19px 30px;font-size:17px;}
@media (max-width:400px){
  .btn-lg{white-space:normal;text-align:center;line-height:1.25;}
}

/* ---------- Header ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}
header .bar{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 24px;gap:16px;
}
/* logo-v2 já vem sem margem transparente; 40px = altura do botão de menu, então o cabeçalho não cresce */
header .logo img{height:40px;width:auto;display:block;}
header .contact-inline{
  display:flex;align-items:center;gap:22px;
}
header .phone{
  display:flex;align-items:center;gap:8px;
  font-family:var(--font-mono);
  font-weight:600;
  font-size:15px;
  color:var(--navy-900);
  text-decoration:none;
}
header .phone svg{flex:none;}
.menu-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:10px;flex:none;
  border:1.5px solid var(--line);background:#fff;cursor:pointer;color:var(--navy-900);
}
.menu-toggle svg{width:20px;height:20px;display:block;}
.site-nav{
  position:absolute;top:100%;left:0;right:0;
  background:#fff;border-bottom:1px solid var(--line);
  box-shadow:0 16px 30px -20px rgba(0,0,0,.25);
  display:flex;flex-direction:column;
  max-height:0;overflow:hidden;
  transition:max-height .25s ease;
}
.site-nav.open{max-height:460px;}
.site-nav a{
  padding:14px 24px;font-weight:600;font-size:15.5px;color:var(--ink);
  text-decoration:none;border-top:1px solid var(--line);
}
.site-nav a:hover{color:var(--red-600);}
@media (max-width:640px){
  header .phone span{display:none;}
  header .bar{padding:10px 16px;}
  header .logo img{height:36px;}
}

/* ---------- Hero ---------- */
.hero{
  background:
    linear-gradient(100deg, rgba(30,10,36,.94) 0%, rgba(30,10,36,.82) 32%, rgba(30,10,36,.35) 62%, rgba(30,10,36,.08) 100%),
    var(--hero-img, url('hero-residencial.webp')) var(--hero-pos, center 30%) / cover no-repeat;
  color:#fff;
  padding:76px 0 92px;
}
.hero.hero-urgent{
  background:
    linear-gradient(100deg, rgba(59,10,10,.92) 0%, rgba(59,10,10,.82) 32%, rgba(59,10,10,.4) 62%, rgba(59,10,10,.12) 100%),
    var(--hero-img, url('hero-residencial.webp')) var(--hero-pos, center 30%) / cover no-repeat;
}
.hero .inner{max-width:640px;}
.hero .eyebrow{color:#dcbdf2;display:inline-block;margin-bottom:14px;}
.hero h1{font-size:clamp(32px,5vw,54px);letter-spacing:-.01em;}
.hero h1 .accent{color:#dcbdf2;}
.hero p.lede{
  margin-top:22px;font-size:18px;color:#f2eaf6;max-width:540px;
}
.hero .actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px;}
.hero .stats{
  display:flex;flex-wrap:wrap;gap:28px;
  margin-top:48px;padding-top:28px;
  border-top:1px solid rgba(255,255,255,.18);
}
.hero .stat b{
  display:block;font-family:var(--font-mono);font-size:24px;
  font-variant-numeric:tabular-nums;color:#fff;
}
.hero .stat span{font-size:13px;color:#d8c8e2;}
@media (max-width:640px){
  .hero{padding:40px 0 48px;background-position:65% 30%;}
  .hero .actions{flex-direction:column;align-items:stretch;}
  .hero .actions .btn{width:100%;white-space:normal;text-align:center;line-height:1.25;padding-left:20px;padding-right:20px;}
  .hero .stats{gap:20px 28px;margin-top:34px;padding-top:22px;}
}

/* ---------- Reviews ---------- */
.reviews{padding:64px 0 72px;}
.reviews .section-head h2{margin-top:0;}
/* Multi-coluna em vez de grid rígido: os prints de avaliação têm alturas muito
   diferentes, e o grid deixava buracos brancos de até 500px entre as linhas. */
.reviews-grid{
  columns:2;column-gap:22px;
}
.reviews-grid img{
  display:block;width:100%;height:auto;
  margin:0 0 22px;break-inside:avoid;
  background:#fff;padding:6px;box-sizing:border-box;
  border-radius:18px;border:1px solid var(--line);
  box-shadow:0 10px 24px -16px rgba(30,10,36,.28), 0 2px 6px -3px rgba(30,10,36,.12);
  transition:transform .18s ease, box-shadow .18s ease;
}
.reviews-grid img:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px -18px rgba(30,10,36,.36), 0 3px 8px -3px rgba(30,10,36,.16);
}
@media (max-width:760px){
  .reviews{padding:40px 0 48px;}
  .reviews-grid{columns:1;}
}

/* ---------- Mid CTA ---------- */
.midcta{padding:8px 0 0;}
.cta-box{
  background:linear-gradient(120deg,var(--red-700),var(--red-600));
  color:#fff;padding:30px 28px;text-align:center;
  max-width:900px;margin:0 auto;border-radius:18px;
}
.cta-box h2{font-size:clamp(17px,2.2vw,21px);color:#fff;}
.cta-box p{color:#f0e7f5;margin-top:8px;font-size:14.5px;}
.cta-box .btn{
  margin-top:16px;padding:11px 24px;font-size:14px;
}
@media (max-width:640px){
  .cta-box{padding:24px 20px;border-radius:14px;}
  .cta-box .btn{width:100%;}
}

/* ---------- Trust badges row ---------- */
.badges{background:var(--paper-raised);padding:24px 0 44px;}
.badges-row{
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;
}
.badges-row span{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 16px 8px 8px;border-radius:999px;
  border:1px solid var(--line);
  color:var(--navy-900);font-weight:600;font-size:13.5px;
}
.badges-row span .ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:19px;height:19px;border-radius:50%;
  background:transparent;border:1.5px solid var(--red-600);color:var(--red-600);flex:none;
}
@media (max-width:640px){
  .badges{padding:18px 0 32px;}
  .badges-row{gap:8px;}
  .badges-row span{padding:7px 14px 7px 7px;font-size:12.5px;}
}

/* ---------- Section heading ---------- */
.section-head{max-width:640px;margin:0 auto 44px;text-align:center;}
.section-head .eyebrow{color:var(--red-600);}
.section-head h2{font-size:clamp(26px,4vw,38px);margin-top:12px;}
.section-head p{color:var(--muted);margin-top:14px;font-size:16.5px;}
@media (max-width:640px){
  .section-head{margin-bottom:30px;}
}

/* ---------- Clients strip (institutional proof) ---------- */
.clients{padding:56px 0;background:var(--paper-raised);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.clients .section-head{margin-bottom:30px;}
.clients-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:820px;margin:0 auto;}
.clients-grid span{
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:108px;padding:18px 22px;border-radius:14px;border:1.5px solid var(--line);
  font-weight:700;color:var(--navy-900);font-size:15px;background:#fff;
  box-shadow:0 8px 20px -16px rgba(30,10,36,.3);
}
/* Logos têm proporções muito diferentes (largas x quadradas):
   limitar pela altura e ajustar as extremas para igualar o peso visual. */
.clients-grid img{display:block;max-width:100%;max-height:56px;width:auto;height:auto;object-fit:contain;}
.clients-grid img.logo-tall{max-height:72px;}
.clients-grid img.logo-wide{max-height:40px;}
@media (max-width:640px){
  .clients{padding:36px 0;}
  .clients-grid{grid-template-columns:repeat(2,1fr);}
}

/* ---------- Objection / explainer block ---------- */
.objection{padding:0 0 88px;}
.objection-card{
  max-width:900px;margin:0 auto;background:var(--paper-raised);
  border:1.5px solid var(--line);border-left:6px solid var(--gold);
  border-radius:18px;padding:34px 36px;
}
.objection-card h2{font-size:clamp(20px,2.6vw,26px);}
.objection-card p{margin-top:14px;color:var(--muted);font-size:16px;line-height:1.7;}
.objection-card p+p{margin-top:10px;}
.objection-card strong{color:var(--ink);}
@media (max-width:640px){
  .objection{padding:0 0 52px;}
  .objection-card{padding:24px 22px;}
}

/* ---------- Real-review card (matched to page persona) ---------- */
.gcard-wrap{padding:0 0 72px;}
.gcard{
  max-width:640px;margin:0 auto;background:var(--paper-raised);
  border:1px solid var(--line);border-radius:18px;padding:28px 30px;
  box-shadow:0 14px 28px -18px rgba(30,10,36,.35);
}
.gcard-head{display:flex;align-items:center;gap:14px;margin-bottom:14px;}
.gcard-avatar{
  flex:none;width:42px;height:42px;border-radius:50%;
  background:var(--red-600);color:#fff;font-weight:700;font-size:17px;
  display:flex;align-items:center;justify-content:center;
}
.gcard-head b{display:block;font-size:15.5px;}
.gcard-stars{color:#f2a30f;font-size:13px;letter-spacing:1px;}
.gcard-stars small{color:var(--muted);letter-spacing:normal;margin-left:6px;font-size:12px;}
.gcard p{color:var(--ink);font-size:16px;line-height:1.65;}
@media (max-width:640px){
  .gcard-wrap{padding:0 0 44px;}
  .gcard{padding:22px 20px;}
}

/* ---------- Testimonial quote ---------- */
.quote-highlight{padding:0 0 88px;}
.quote-highlight blockquote{
  max-width:820px;margin:0 auto;text-align:center;
  font-size:clamp(19px,2.6vw,25px);font-weight:600;color:var(--navy-900);
  line-height:1.5;
}
.quote-highlight blockquote::before{content:"\201C";color:var(--red-600);}
.quote-highlight blockquote::after{content:"\201D";color:var(--red-600);}
.quote-highlight cite{display:block;margin-top:18px;font-style:normal;color:var(--muted);font-size:15px;font-weight:600;}
@media (max-width:640px){
  .quote-highlight{padding:0 0 52px;}
}

/* ---------- Services ---------- */
.services{padding:88px 0;}
.services-head{text-align:left;max-width:none;margin:0 0 36px;}
.services-head h2{font-size:clamp(24px,3.6vw,32px);margin-top:0;}
.services-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:26px;
  margin-bottom:36px;
}
.services-grid.single-card{
  grid-template-columns:1fr;max-width:620px;margin-left:auto;margin-right:auto;margin-bottom:36px;
}
.services-grid.single-card .svc-card2 img{height:300px;}
.svc-card2{
  background:var(--paper-raised);
  border:1px solid var(--line);
  border-radius:18px;overflow:hidden;
}
.svc-card2 img{width:100%;height:260px;object-fit:cover;display:block;}
.svc-card2-body{padding:26px 28px 30px;}
.svc-card2-body h3{font-size:20px;font-family:var(--font-body);font-weight:700;}
.svc-card2-body ul{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;}
.svc-card2-body li{display:flex;gap:10px;font-size:15px;color:var(--ink);align-items:flex-start;}
.svc-card2-body li svg{flex:none;margin-top:1px;color:var(--red-600);}
.services-cta{max-width:none;}
@media (max-width:900px){
  .services-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .services{padding:52px 0;}
  .svc-card2 img{height:200px;}
  .svc-card2-body{padding:22px 20px 24px;}
}

/* ---------- Action gallery ---------- */
.action{padding:0 0 88px;}
.action-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:18px;
  max-width:820px;margin:0 auto;
}
.action-grid img{
  width:100%;height:300px;object-fit:cover;
  border-radius:16px;border:1px solid var(--line);
}
@media (max-width:640px){
  .action{padding:0 0 52px;}
  .action-grid{grid-template-columns:1fr;gap:12px;}
  .action-grid img{height:240px;}
}

/* ---------- Why choose ---------- */
.why{background:var(--paper-raised);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:88px 0;}
.why-title{text-align:center;font-size:clamp(26px,3.6vw,36px);margin-bottom:40px;}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:40px;}
.why-card{
  background:var(--paper);border:1px solid var(--line);
  border-radius:18px;padding:32px 30px;
}
.why-grid h3{font-size:19px;font-family:var(--font-body);font-weight:700;color:var(--red-600);}
.why-grid p{margin-top:14px;color:var(--muted);line-height:1.7;}
@media (max-width:760px){
  .why{padding:52px 0;}
  .why-grid{grid-template-columns:1fr;gap:24px;}
}

/* ---------- Quote form ---------- */
.quote{padding:92px 0;}
.quote .section-head p{margin-top:8px;}
.quote-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;
}
.quote-form-card{
  background:var(--paper-raised);border:1px solid var(--line);
  border-radius:20px;padding:36px;
}
.quote-form-card form{display:flex;flex-direction:column;gap:16px;}
.quote-form-card label{font-size:13.5px;font-weight:700;color:var(--ink);}
.quote-form-card input,.quote-form-card textarea{
  width:100%;margin-top:7px;
  padding:13px 15px;border-radius:10px;
  border:1.5px solid var(--line);
  font-family:var(--font-body);font-size:15.5px;
  background:var(--paper);
}
.quote-form-card input:focus,.quote-form-card textarea:focus{outline:2px solid var(--blue-500);outline-offset:1px;}
.quote-form-card textarea{resize:vertical;min-height:90px;}
.quote-form-card .btn{margin-top:4px;width:100%;}
.form-thanks{text-align:center;padding:20px 8px;}
.form-thanks svg{color:var(--red-600);margin-bottom:14px;}
.form-thanks h3{font-size:20px;}
.form-thanks p{margin-top:10px;color:var(--muted);}
.quote-areas h3{font-size:20px;font-family:var(--font-body);font-weight:700;}
.quote-areas p{margin-top:12px;color:var(--muted);}
.map-frame{
  position:relative;margin-top:20px;border-radius:16px;overflow:hidden;
  border:1px solid var(--line);
}
.map-frame iframe{width:100%;height:280px;border:0;display:block;}
.map-frame .map-link{
  position:absolute;top:12px;left:12px;
  background:#fff;color:var(--blue-600);font-weight:600;font-size:13px;
  padding:8px 14px;border-radius:999px;text-decoration:none;
  box-shadow:0 6px 14px -6px rgba(30,10,36,.3);
}
@media (max-width:820px){
  .quote-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .quote{padding:52px 0;}
  .quote-form-card{padding:24px 22px;}
  .map-frame iframe{height:220px;}
}

/* ---------- Emergency mini-CTA block (used instead of long form) ---------- */
.emg-cta{padding:92px 0;}
.emg-box{
  max-width:760px;margin:0 auto;text-align:center;
  background:var(--paper-raised);border:1.5px solid var(--line);
  border-radius:24px;padding:48px 36px;
}
.emg-box h2{font-size:clamp(22px,3vw,30px);}
.emg-box p{margin-top:14px;color:var(--muted);font-size:16.5px;}
.emg-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:30px;}
.emg-note{margin-top:22px;font-size:13.5px;color:var(--muted);}
@media (max-width:640px){
  .emg-cta{padding:52px 0;}
  .emg-box{padding:32px 22px;}
  .emg-actions{flex-direction:column;align-items:stretch;}
  .emg-actions .btn{width:100%;}
}

/* ---------- FAQ ---------- */
.faq{padding:0 0 96px;}
.faq .list{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.faq details{
  background:var(--paper-raised);border:1px solid var(--line);
  border-radius:14px;padding:6px 22px;
}
.faq summary{
  cursor:pointer;list-style:none;padding:18px 0;
  font-weight:700;font-size:16.5px;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary .ico{
  flex:none;width:26px;height:26px;border-radius:50%;
  border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;
  font-family:var(--font-mono);color:var(--red-600);transition:transform .2s ease;
}
.faq details[open] summary .ico{transform:rotate(45deg);}
.faq .a{padding:0 0 20px;color:var(--muted);font-size:15px;max-width:64ch;}
@media (max-width:640px){
  .faq{padding:0 0 56px;}
  .faq details{padding:4px 16px;}
  .faq summary{font-size:15.5px;padding:15px 0;}
}

/* ---------- Footer ---------- */
footer{background:var(--navy-950);color:#ddd0e5;padding:64px 0 28px;}
footer .grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px;}
footer .brand p{margin-top:16px;font-size:14px;color:#ad9bb8;max-width:280px;}
footer .brand .lockup{display:flex;align-items:center;gap:10px;}
footer .brand .lockup img{height:30px;width:auto;background:#fff;padding:6px 10px;border-radius:8px;}
footer h4{
  font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.1em;
  font-size:12.5px;color:#fff;margin-bottom:16px;
}
footer .rows{display:flex;flex-direction:column;gap:11px;font-size:14.5px;}
footer .rows a{text-decoration:none;color:#ddd0e5;}
footer .rows a:hover{color:#fff;}
footer .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:44px;}
footer .tags span{
  font-size:12.5px;padding:6px 13px;border-radius:999px;
  border:1px solid rgba(255,255,255,.18);color:#ddd0e5;
}
footer .bottom{
  margin-top:44px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);
  font-size:13px;color:#9c89a8;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
}
@media (max-width:800px){
  footer .grid{grid-template-columns:1fr 1fr;}
  footer .brand{grid-column:1/-1;}
}
@media (max-width:480px){
  footer{padding:44px 0 22px;}
  footer .grid{grid-template-columns:1fr;gap:28px;}
  footer .bottom{flex-direction:column;}
}

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed;right:22px;bottom:22px;z-index:60;
  width:78px;height:78px;border-radius:50%;
  background:#25D366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 26px -8px rgba(0,0,0,.4);
  text-decoration:none;
}
.wa-float svg{width:40px;height:40px;}
@media (max-width:640px){
  .wa-float{width:66px;height:66px;right:16px;bottom:16px;}
  .wa-float svg{width:34px;height:34px;}
}

/* ---------- Barra fixa "Ligar agora" (só celular, página de Emergência) ---------- */
.call-bar{display:none;}
@media (max-width:760px){
  .call-bar{
    display:flex;align-items:center;justify-content:center;gap:10px;
    position:fixed;left:0;right:0;bottom:0;z-index:61;
    min-height:62px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:#dc2626;color:#fff;text-decoration:none;
    font-size:17px;font-weight:600;letter-spacing:.01em;
    box-shadow:0 -8px 22px -6px rgba(0,0,0,.28);
  }
  .call-bar b{font-weight:800;}
  .call-bar:active{background:#b91c1c;}
  .call-bar svg{flex:none;animation:ring 2.4s ease-in-out infinite;transform-origin:50% 50%;}
  body.has-call-bar{padding-bottom:calc(62px + env(safe-area-inset-bottom));}
  body.has-call-bar .wa-float{bottom:calc(78px + env(safe-area-inset-bottom));}
}
@keyframes ring{
  0%,70%,100%{transform:rotate(0);}
  75%{transform:rotate(-14deg);}
  80%{transform:rotate(12deg);}
  85%{transform:rotate(-10deg);}
  90%{transform:rotate(6deg);}
}
@media (prefers-reduced-motion:reduce){.call-bar svg{animation:none;}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .btn{transition:none;}
}

/* 4 chips na hero: anos (30) + labels longos não cabiam em 592px e o 4º chip quebrava de linha */
@media (min-width:900px){
  .hero .inner{max-width:690px;}
  .hero .stats{gap:20px;}
}

/* Logos quadradas (avatares oficiais das instituições) */
.clients-grid img.logo-sq{max-height:96px;width:auto;border-radius:10px;}
@media (max-width:640px){.clients-grid img.logo-sq{max-height:80px;}}
