/* ==========================================================================
   Encanador Curitiba 24h - style.css
   CSS puro, sem frameworks. Mobile-first, variaveis, componentes reutilizaveis.
   ========================================================================== */

:root{
  --navy: #0B2545;
  --navy-2: #123a63;
  --blue: #1565C0;
  --blue-light: #2E86DE;
  --white: #FFFFFF;
  --bg: #F4F7FB;
  --bg-alt: #EAF1FA;
  --text: #16232E;
  --muted: #52697D;
  --accent: #FF8A00;
  --accent-dark: #E67300;
  --border: #DCE6F0;
  --shadow: 0 6px 20px rgba(11,37,69,0.08);
  --shadow-sm: 0 2px 8px rgba(11,37,69,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --topbar-h: 40px;
  --header-h: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--blue); text-decoration: none; }
a:hover{ text-decoration: underline; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1{ font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2rem); }
h3{ font-size: 1.15rem; }
p{ margin: 0 0 1em; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Skip link */
.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--accent); color: var(--navy); font-weight: 700;
  padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Buttons */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover{ text-decoration: none; transform: translateY(-1px); }
.btn-lg{ padding: 15px 26px; font-size: 1.02rem; }
.btn-accent{ background: var(--accent); color: var(--navy); }
.btn-accent:hover{ background: var(--accent-dark); color: var(--navy); text-decoration: none; }
.btn-outline{ background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover{ background: var(--blue); color: var(--white); }
.btn-outline-invert{ background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-invert:hover{ background: var(--white); color: var(--navy); }
.btn-whatsapp{ background: #25D366; color: #04331b; }
.btn-whatsapp:hover{ background: #1ebc59; }
.card-link{ font-weight: 700; color: var(--blue); }

/* Topbar */
.topbar{ background: var(--navy); color: #cfe0f2; font-size: .82rem; }
.topbar-inner{ display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--topbar-h); }
.topbar-inner p{ margin: 0; }
.topbar-phone{ color: var(--white); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar-phone svg{ fill: var(--accent); }

/* Header */
.site-header{ background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 500; }
.header-inner{ display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; padding: 10px 0; }
.logo{ display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.logo:hover{ text-decoration: none; }
.logo-mark{ display: inline-flex; color: var(--blue); }
.logo-mark svg{ width: 30px; height: 30px; }

.menu-toggle{
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--white); cursor: pointer; padding: 0; align-items: center;
}
.menu-toggle-bar{ width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2){ transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3){ opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(4){ transform: translateY(-7px) rotate(-45deg); }

.main-nav{
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--white);
  transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  padding: 20px; z-index: 400;
}
.main-nav.is-open{ transform: translateX(0); }
.main-nav ul{ display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.main-nav a{ display: block; padding: 12px 10px; color: var(--navy); font-weight: 600; border-radius: 8px; }
.main-nav a:hover{ background: var(--bg-alt); text-decoration: none; }
.main-nav a[aria-current="page"]{ color: var(--blue); background: var(--bg-alt); }
.nav-actions{ display: flex; flex-direction: column; gap: 10px; }
.nav-actions .btn{ justify-content: center; }

@media (min-width: 1180px){
  .menu-toggle{ display: none; }
  .main-nav{
    position: static; transform: none; inset: auto; padding: 0; overflow: visible;
    display: flex; align-items: center; gap: 24px; flex: 1; justify-content: flex-end;
  }
  .main-nav ul{ flex-direction: row; gap: 4px; margin-bottom: 0; margin-top: 0; flex-wrap: nowrap; order: 1; }
  .main-nav a{ padding: 12px 16px; font-size: 1.02rem; white-space: nowrap; }
  .nav-actions{ flex-direction: row; order: 2; border-bottom: none; padding-bottom: 0; }
  .nav-actions-label{ display: none; }
}

/* Breadcrumbs */
.breadcrumbs{ background: var(--bg); border-bottom: 1px solid var(--border); font-size: .85rem; }
.breadcrumbs ol{ display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.breadcrumbs li:not(:last-child)::after{ content: "/"; margin-left: 6px; color: var(--muted); }
.breadcrumbs li[aria-current="page"]{ color: var(--muted); }

/* Hero */
.hero{ background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); padding: 48px 0; }
.hero-inner{ display: grid; gap: 32px; align-items: center; }
.hero h1{ color: var(--white); }
.hero-lead{ color: #d6e4f5; font-size: 1.1rem; max-width: 46ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.hero-badges{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hero-badges li{ background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: .82rem; }
.hero-media img{ border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
@media (min-width: 860px){
  .hero-inner{ grid-template-columns: 1.1fr .9fr; }
}

/* Urgency */
.urgency-section{ background: var(--bg-alt); padding: 48px 0; }
.urgency-grid{ display: grid; gap: 24px; }
.urgency-safety{ background: var(--white); border: 2px solid var(--accent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.urgency-safety h3{ margin-top: 0; }
@media (min-width: 860px){
  .urgency-grid{ grid-template-columns: 1.3fr .9fr; }
}

/* Generic content sections */
.content-section{ padding: 48px 0; }
.content-section:nth-of-type(even){ background: var(--bg); }
.check-list li{ position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before{
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--blue);
}

/* Cards */
.card-grid{ display: grid; gap: 20px; margin-top: 24px; grid-template-columns: 1fr; }
.card-grid-3{ grid-template-columns: 1fr; }
@media (min-width: 640px){ .card-grid-3{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px){ .card-grid-3{ grid-template-columns: 1fr 1fr 1fr; } }
.card{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px;
}
.card-icon{ color: var(--blue); display: inline-flex; }
.card h3{ margin: 4px 0 2px; }

/* Steps */
.steps-list{ display: grid; gap: 20px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px){ .steps-list{ grid-template-columns: repeat(4, 1fr); } }
.step{ background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: left; }
.step-num{
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; margin-bottom: 10px;
}

/* Bairros grid */
.bairro-grid{ display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px){ .bairro-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px){ .bairro-grid{ grid-template-columns: repeat(5, 1fr); } }
.bairro-card a{
  display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; box-shadow: var(--shadow-sm);
}
.bairro-card a:hover{ text-decoration: none; border-color: var(--blue); }
.bairro-card strong{ display: block; color: var(--navy); }
.bairro-card span{ display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.bairros-more{ margin-top: 22px; }

/* Pricing / comparison already use .content-section */

/* FAQ */
.faq-section{ padding: 48px 0; background: var(--bg); }
.faq-list{ display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.faq-item{ background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq-item summary{
  cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--navy);
  list-style: none; position: relative; padding-right: 30px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--blue); font-weight: 400;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-answer{ padding-bottom: 16px; }
.faq-answer p{ margin: 0; color: var(--muted); }

/* Video */
.video-section{ padding: 48px 0; background: var(--navy); color: var(--white); text-align: center; }
.video-section h2{ color: var(--white); }
.video-section p{ color: #cfe0f2; max-width: 62ch; margin-left: auto; margin-right: auto; }
.video-wrap{ max-width: 720px; margin: 24px auto; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-facade{ position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-facade img{ width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-play{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-wrap iframe{ width: 100%; height: 100%; border: 0; }
.video-cta{ margin-top: 18px; }

/* CTA final */
.cta-final{ background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--navy); padding: 52px 0; text-align: center; }
.cta-final h2{ color: var(--navy); }
.cta-final p{ color: var(--navy); }
.cta-actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 18px 0; }
.cta-phone{ font-weight: 800; font-size: 1.2rem; }

/* Forms */
.form-section{ padding: 48px 0; }
.form-orcamento{ display: grid; gap: 16px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px){ .form-orcamento{ grid-template-columns: 1fr 1fr; } }
.form-row{ display: flex; flex-direction: column; gap: 6px; }
.form-row-full{ grid-column: 1 / -1; }
.form-row label{ font-weight: 700; color: var(--navy); font-size: .92rem; }
.form-row input, .form-row select, .form-row textarea{
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; color: var(--text);
}
.form-row input:invalid[data-touched="true"], .form-row select:invalid[data-touched="true"]{ border-color: #d92d20; }
.form-error{ color: #d92d20; font-size: .82rem; margin: 0; }
.form-check{ flex-direction: row; align-items: flex-start; gap: 10px; }
.form-check input{ margin-top: 4px; }
.form-orcamento button{ grid-column: 1 / -1; justify-self: start; }

/* Footer */
.site-footer{ background: var(--navy); color: #FFFFFF; padding: 48px 0 0; margin-top: 20px; }
.footer-grid{ display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px){ .footer-grid{ grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-col h3{ color: var(--white); font-size: 1rem; }
.footer-col ul{ display: flex; flex-direction: column; gap: 8px; }
.footer-col a{ color: #cfe0f2; }
.footer-col a:hover{ color: var(--white); }
.footer-logo{ font-weight: 800; color: var(--white); font-size: 1.1rem; }
.footer-notice{ border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding: 18px 20px; font-size: .82rem; color: #FFFFFF; }
.footer-bottom{ padding: 14px 20px 24px; font-size: .8rem; color: #FFFFFF; }

/* Floating WhatsApp + mobile bar + back to top */
.whatsapp-float{
  position: fixed; right: 20px; bottom: 24px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.whatsapp-float svg{ width: 30px; height: 30px; }
.back-to-top{
  position: fixed; right: 20px; bottom: 92px; z-index: 600;
  width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--navy);
}
.mobile-bar{ display: none; }

@media (max-width: 640px){
  body{ padding-bottom: 66px; }
  .whatsapp-float, .back-to-top{ display: none; }
  .mobile-bar{
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 700;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,.15);
  }
  .mobile-bar a{
    flex: 1; text-align: center; padding: 14px 8px; color: var(--white); font-weight: 700; font-size: .88rem;
    display: flex; align-items: center; justify-content: center; gap: 6px;
  }
  .mobile-bar a:first-child{ border-right: 1px solid rgba(255,255,255,.15); }
  .mobile-bar a:hover{ text-decoration: none; background: rgba(255,255,255,.06); }
}

/* 404 */
.error-page{ padding: 80px 0; text-align: center; }
.error-page .btn{ margin: 6px; }

/* Credito do desenvolvedor no rodape */
.footer-credit{
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  font-size: .86rem; color: #b9cee6; margin-top: 10px;
}
.footer-credit .icon-heart{ animation: heartbeat 1.4s ease-in-out infinite; }
.footer-credit-link{
  display: inline-flex; align-items: center; gap: 4px; color: #d8e6f7; margin-left: 2px; font-weight: 600;
}
.footer-credit-link:hover{ color: var(--accent); text-decoration: underline; }
.footer-credit-logo{ height: 14px; width: auto; display: inline-block; vertical-align: middle; }

@keyframes heartbeat{
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.18); }
  40% { transform: scale(1); }
  60% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce){
  .footer-credit .icon-heart{ animation: none; }
}

/* ==========================================================================
   REDESIGN "FLUIDO" — tema água / hidráulica
   Ondas, gotas, fluxo animado, reveal ao rolar, microinterações.
   Tudo com fallback estático quando JS está desativado (progressive enhancement).
   ========================================================================== */

:root{
  --cyan: #22D3EE;
  --wave-fill: #F4F7FB;
}

/* ---------- Barra de progresso "nível d'água" ---------- */
.scroll-progress{
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--accent));
  z-index: 1200; transition: width .12s linear;
}
@media (prefers-reduced-motion: reduce){ .scroll-progress{ transition: none; } }

/* ---------- Header com sombra dinamica ao rolar ---------- */
.site-header{ transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled{ box-shadow: 0 6px 24px rgba(11,37,69,.14); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }

/* ---------- Nav: sublinhado fluido ---------- */
.main-nav a{ position: relative; }
.main-nav a::after{
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ transform: scaleX(1); }

/* ---------- Hero: gradiente fluido + bolhas + onda ---------- */
.hero{
  position: relative; overflow: hidden; padding-bottom: 96px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0d3a63 100%);
}
.hero-blob{ position: absolute; border-radius: 50%; filter: blur(46px); opacity: .32; pointer-events: none; z-index: 0; }
.hero-inner{ position: relative; z-index: 2; }
.hero-blob-1{ width: 280px; height: 280px; background: var(--blue-light); top: -70px; right: -50px; animation: blob-float 10s ease-in-out infinite; }
.hero-blob-2{ width: 200px; height: 200px; background: var(--accent); bottom: 40px; left: 6%; animation: blob-float 12s ease-in-out infinite -4s; }
.hero-blob-3{ width: 160px; height: 160px; background: var(--cyan); top: 45%; right: 22%; animation: blob-float 9s ease-in-out infinite -2s; }
@keyframes blob-float{
  0%, 100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-22px) scale(1.08); }
}
.hero-wave{ position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0; z-index: 1; }
.hero-wave svg{ display: block; width: 100%; height: 64px; }
@media (min-width: 720px){ .hero-wave svg{ height: 96px; } }
@media (prefers-reduced-motion: reduce){ .hero-blob{ animation: none; } }

/* ---------- Ondas suaves entre seções alternadas ---------- */
.content-section:nth-of-type(even){ position: relative; }
.content-section:nth-of-type(even)::before{
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 36px;
  background: var(--white); clip-path: ellipse(58% 100% at 50% 0%);
}

/* ---------- Títulos com sublinhado "onda" ---------- */
.content-section h2, .urgency-section h2, .faq-section h2, .video-section h2, .form-section h2{
  position: relative; display: inline-block; padding-bottom: 14px;
}
.content-section h2::after, .urgency-section h2::after, .faq-section h2::after, .form-section h2::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'%3E%3Cpath d='M0 5c6-6 12 6 18 0s12-6 18 0 12 6 18 0 12-6 18 0' fill='none' stroke='%23FF8A00' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.video-section h2::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'%3E%3Cpath d='M0 5c6-6 12 6 18 0s12-6 18 0 12 6 18 0 12-6 18 0' fill='none' stroke='%2322D3EE' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.video-section h2, .cta-final h2{ padding-bottom: 14px; }

/* ---------- Cards: badge "gota d'água" + elevação fluida ---------- */
.card{
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover{ transform: translateY(-8px); box-shadow: 0 20px 36px rgba(11,37,69,.16); border-color: var(--blue-light); }
.card-icon{
  width: 54px; height: 54px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50% 50% 50% 6px; transform: rotate(-45deg);
  box-shadow: 0 10px 20px rgba(21,101,192,.28);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.card-icon svg{ transform: rotate(45deg); }
.card:hover .card-icon{ transform: rotate(0deg) scale(1.08); }

/* ---------- Steps: linha de fluxo animada ---------- */
.steps-list{ position: relative; }
@media (min-width: 720px){
  .steps-list::before{
    content: ""; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--accent), var(--blue));
    background-size: 200% 100%; border-radius: 4px; animation: flow-line 5s linear infinite; z-index: 0;
  }
  .step{ position: relative; z-index: 1; background: transparent; border: none; box-shadow: none; padding: 0 10px; }
  .step-num{ box-shadow: 0 0 0 8px var(--bg); }
}
@keyframes flow-line{ 0%{ background-position: 0 0; } 100%{ background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce){ .steps-list::before{ animation: none; } }

/* ---------- Botões: ripple + brilho ---------- */
.btn{ position: relative; overflow: hidden; isolation: isolate; }
.btn .ripple{
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.55);
  transform: scale(0); animation: ripple-anim .6s ease-out forwards; pointer-events: none;
}
@keyframes ripple-anim{ to{ transform: scale(3.2); opacity: 0; } }
.btn-accent, .btn-whatsapp{ box-shadow: 0 8px 20px rgba(255,138,0,.22); }
.btn-whatsapp{ box-shadow: 0 8px 20px rgba(37,211,102,.28); }

/* ---------- WhatsApp float: anel de pulso (ripple d'água) ---------- */
.whatsapp-float{ position: fixed; }
.whatsapp-float::before{
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1;
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring{ 0%{ transform: scale(1); opacity: .55; } 100%{ transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce){ .whatsapp-float::before{ animation: none; } }

/* ---------- Reveal ao rolar (progressive enhancement, só com JS) ---------- */
html.js section.reveal{ opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
html.js section.reveal.is-visible{ opacity: 1; transform: none; }
html.js .card-grid .card{ opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
html.js .card-grid.is-visible .card{ opacity: 1; transform: none; }
html.js .card-grid.is-visible .card:nth-child(1){ transition-delay: .04s; }
html.js .card-grid.is-visible .card:nth-child(2){ transition-delay: .09s; }
html.js .card-grid.is-visible .card:nth-child(3){ transition-delay: .14s; }
html.js .card-grid.is-visible .card:nth-child(4){ transition-delay: .19s; }
html.js .card-grid.is-visible .card:nth-child(5){ transition-delay: .24s; }
html.js .card-grid.is-visible .card:nth-child(6){ transition-delay: .29s; }
html.js .card-grid.is-visible .card:nth-child(7){ transition-delay: .34s; }
html.js .card-grid.is-visible .card:nth-child(8){ transition-delay: .39s; }
html.js .card-grid.is-visible .card:nth-child(9){ transition-delay: .44s; }
html.js .card-grid.is-visible .card:nth-child(10){ transition-delay: .49s; }
html.js .card-grid.is-visible .card:nth-child(11){ transition-delay: .54s; }
html.js .card-grid.is-visible .card:nth-child(12){ transition-delay: .59s; }
html.js .bairro-grid.is-visible .bairro-card{ opacity: 1; transform: none; }
html.js .bairro-grid .bairro-card{ opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
@media (prefers-reduced-motion: reduce){
  html.js section.reveal, html.js .card-grid .card, html.js .bairro-grid .bairro-card{
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ---------- FAQ: abertura suave (JS controla max-height) ---------- */
.faq-item{ transition: border-color .25s ease; }
.faq-item .faq-answer{ overflow: hidden; transition: max-height .32s ease; }
.faq-item[open]{ border-color: var(--blue-light); }
.faq-item summary{ transition: color .2s ease; }
.faq-item:hover summary{ color: var(--blue); }

/* ---------- Bairro cards: leve gota decorativa ---------- */
.bairro-card a{ transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; }
.bairro-card a:hover{ transform: translateY(-4px); box-shadow: 0 14px 26px rgba(11,37,69,.14); border-color: var(--blue-light); }

/* ---------- Back to top: leve flutuação ---------- */
.back-to-top{ transition: transform .25s ease, box-shadow .25s ease; }
.back-to-top:hover{ transform: translateY(-3px); box-shadow: 0 10px 20px rgba(11,37,69,.18); }

/* ==========================================================================
   REFINAMENTO DE ACESSIBILIDADE E LEGIBILIDADE
   Foco em usuários idosos / baixa visão: mais contraste, textos maiores,
   alvos de toque maiores, links sempre sublinhados no corpo do texto,
   header/menu/hero mais claros e um rodapé refeito com mais respiro.
   ========================================================================== */

/* Base: texto maior e mais espaçado por padrão */
body{ font-size: 17px; line-height: 1.7; }
@media (min-width: 720px){ body{ font-size: 17.5px; } }
p{ margin: 0 0 1.1em; }

/* Links dentro de texto corrido sempre sublinhados (não depende de hover,
   essencial em telas de toque, onde não existe estado hover) */
.content-section a:not(.btn):not(.card-link),
.faq-answer a, .urgency-safety a, .footer-brand a,
.footer-col a, .footer-credit-link, .card-link{
  text-decoration: underline; text-underline-offset: 3px;
}
.content-section a:not(.btn):not(.card-link):hover,
.faq-answer a:hover, .urgency-safety a:hover{ color: var(--navy); }

/* Botões: alvos de toque maiores e mais confortáveis */
.btn{ padding: 14px 24px; font-size: 1rem; gap: 10px; }
.btn-lg{ padding: 17px 30px; font-size: 1.08rem; }
.menu-toggle{ width: 48px; height: 48px; }
.menu-toggle-bar{ height: 3px; }

/* ---------- Header: mais legível ---------- */
.topbar{ font-size: .92rem; }
.topbar-inner{ min-height: var(--topbar-h); flex-wrap: wrap; padding: 6px 0; gap: 6px 16px; }
.logo{ font-size: 1.3rem; }
.logo-mark svg{ width: 34px; height: 34px; }

/* ---------- Navegação: contato sempre em primeiro lugar no menu, itens grandes ---------- */
.main-nav a{ padding: 16px 14px; font-size: 1.1rem; }
.main-nav ul{ gap: 6px; margin-top: 20px; }
.nav-actions{ gap: 12px; }
.nav-actions-label{ font-weight: 700; color: var(--navy); font-size: .98rem; margin: 0 0 2px; }
.nav-actions .btn{ font-size: 1.05rem; justify-content: center; }

/* Menu mobile/tablet: contato em destaque no topo, itens com divisor para leitura facil */
@media (max-width: 1179px){
  .main-nav{ padding: 24px 20px; }
  .main-nav ul{ gap: 2px; }
  .main-nav li{ border-bottom: 1px solid var(--border); }
  .main-nav li:last-child{ border-bottom: none; }
  .main-nav a{ border-radius: 0; }
  .nav-actions{ padding-bottom: 20px; border-bottom: 2px solid var(--bg-alt); }
  .nav-actions .btn{ padding: 17px 22px; font-size: 1.1rem; }
}

/* ---------- Hero: texto maior, movimento mais suave e discreto ---------- */
.hero h1{ font-size: clamp(2.05rem, 4.4vw, 2.7rem); }
.hero-lead{ font-size: 1.18rem; line-height: 1.6; }
.hero-badges li{ font-size: .92rem; padding: 8px 14px; font-weight: 600; }
.hero-blob{ opacity: .2; filter: blur(54px); animation-duration: 16s; }
.hero-actions .btn{ font-size: 1.08rem; }

/* ---------- Reveal ao rolar: deslocamento menor, mais calmo ---------- */
html.js section.reveal{ transform: translateY(16px); }
html.js .card-grid .card{ transform: translateY(14px); }
html.js .bairro-grid .bairro-card{ transform: translateY(12px); }

/* ---------- Rodapé refeito: mais contraste, respiro e hierarquia clara ---------- */
.site-footer{ padding: 56px 0 0; }
.footer-grid{ gap: 40px; }
.footer-brand p{ font-size: 1.05rem; margin-bottom: 12px; font-weight: 500; color: #FFFFFF; }
.footer-brand a{ font-weight: 700; }
.footer-logo{ font-size: 1.25rem; margin-bottom: 10px; }
.footer-col h3{
  font-size: 1.08rem; color: var(--white); margin-bottom: 14px;
  padding-bottom: 8px; position: relative; display: inline-block;
}
.footer-col h3::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px;
  background: var(--accent); border-radius: 3px;
}
.footer-col ul{ gap: 12px; }
.footer-col a{ font-size: .98rem; line-height: 1.5; }
.footer-notice{
  font-size: 1rem; color: #FFFFFF; font-weight: 500; line-height: 1.65;
  background: rgba(255,255,255,.06); border: none; border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 36px 0 0;
}
.footer-bottom{ font-size: .95rem; color: #FFFFFF; font-weight: 500; text-align: center; }
.footer-credit{
  color: #b9cee6; font-size: .86rem; margin-top: 10px;
}
.footer-credit-link{ color: #d8e6f7; font-weight: 600; }
.footer-credit-link:hover{ color: var(--accent); }

@media (max-width: 719px){
  .footer-grid{ gap: 32px; }
  .footer-col{ padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-col:last-child{ border-bottom: none; }
}

/* ---------- Rodapé: contato em destaque (botões grandes, fáceis de achar) ---------- */
.footer-contact-label{
  font-weight: 700; color: var(--white); font-size: 1rem; margin: 4px 0 10px;
}
.footer-contact-buttons{ display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.footer-contact-buttons .btn{ font-size: 1rem; padding: 13px 20px; }
.footer-location{ color: #cfe0f2; font-size: .98rem; }
