/* ==========================================================================
   Massaro Estação Animal — reconstrução estática
   Paleta: azul #0ba4e0 | amarelo #fff212 | verde #81d742 | laranja #ff6900
   Fontes: 'Luckiest Guy' (títulos) + 'Roboto' (corpo)
   ========================================================================== */

@import url('../assets/fonts/fonts.css');

:root {
  --azul: #0ba4e0;
  --azul-escuro: #027eaf;
  --amarelo: #fff212;
  --verde: #81d742;
  --laranja: #ff6900;
  --escuro: #313131;
  --cinza: #666;
  --cinza-claro: #f4f4f4;
  --branco: #fff;
  --container: 1080px;
  --header-h: 90px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --shadow-sm: 0 3px 10px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #5b5b5b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--azul); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--azul-escuro); }

h1, h2, h3, h4, h5, h6 { color: var(--escuro); line-height: 1.2; margin: 0 0 .5em; }

.alt-font, .heading-font {
  font-family: 'Luckiest Guy', 'Roboto', cursive;
  font-weight: 400;
  letter-spacing: .5px;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section.tight { padding: 40px 0; }
.text-center { text-align: center; }
.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white p { color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 12px 26px;
  border-radius: 40px;
  border: 2px solid var(--azul);
  background: var(--azul);
  color: #fff;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1.2;
}
.btn:hover { background: var(--azul-escuro); border-color: var(--azul-escuro); color: #fff; }
.btn--outline { background: transparent; color: var(--azul); }
.btn--outline:hover { background: var(--azul); color: #fff; }
.btn--yellow { background: var(--amarelo); border-color: var(--amarelo); color: var(--escuro); }
.btn--yellow:hover { background: #ffe600; border-color: #ffe600; color: var(--escuro); }
.btn--green { background: var(--verde); border-color: var(--verde); color: #fff; }
.btn--green:hover { background: #6cbe34; border-color: #6cbe34; }
.btn--white { background: #fff; border-color: #fff; color: var(--azul); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.header-logo img { height: 62px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--escuro);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.main-nav a:hover,
.main-nav .current > a { color: var(--azul); }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: 10px; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--azul);
  list-style: none;
  margin: 0; padding: 6px 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a { text-transform: none; font-size: 14px; padding: 9px 18px; }
.dropdown a:hover { background: var(--cinza-claro); }

.header-social { display: flex; align-items: center; gap: 10px; }
.header-social a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
}
.header-social a:hover { background: var(--azul-escuro); color: #fff; }
.header-social svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--escuro);
}
.nav-toggle svg { width: 28px; height: 28px; fill: currentColor; }

/* ==========================================================================
   HERO / BANNERS
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.15);
}
.hero .container { position: relative; z-index: 2; }
.hero h1, .hero h2 {
  font-family: 'Luckiest Guy', cursive;
  color: var(--amarelo);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  margin-bottom: .2em;
}
.hero p { font-size: clamp(1rem, 2vw, 1.4rem); max-width: 620px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* Faixa promocional (matrícula creche) */
.promo-strip {
  background: var(--azul);
  color: #fff;
  padding: 26px 0;
}
.promo-strip .promo-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; text-align: center;
}
.promo-strip h3 {
  color: #fff; margin: 0;
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

/* Page banner (interior) */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}
.page-banner::after { content:""; position:absolute; inset:0; background: rgba(11,164,224,.55); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 {
  font-family: 'Luckiest Guy', cursive;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  margin: 0;
}

/* Section title com fundo de patinhas */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 {
  font-family: 'Luckiest Guy', cursive;
  color: var(--azul);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  display: inline-block;
  position: relative;
}
.section-title .sub { color: var(--cinza); font-size: 1rem; }

/* ==========================================================================
   CARDS DE SERVIÇOS (home)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .card-img { aspect-ratio: 4/3; overflow: hidden; }
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .card-img img { transform: scale(1.06); }
.service-card .card-body { padding: 22px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.service-card h3 {
  font-family: 'Luckiest Guy', cursive;
  color: var(--azul);
  font-size: 1.25rem;
  margin-bottom: .5em;
}
.service-card p { color: var(--cinza); flex: 1; }
.service-card .btn { margin-top: 16px; align-self: center; }

/* ==========================================================================
   BLOCOS DE TEXTO + IMAGEM (alternados)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-text h2 {
  font-family: 'Luckiest Guy', cursive;
  color: var(--azul);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  text-transform: uppercase;
}
.feature-text .btn { margin-top: 12px; }

/* Faixa colorida CTA */
.cta-band {
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 50px 0;
}
.cta-band.green { background: var(--verde); }
.cta-band.yellow { background: var(--amarelo); color: var(--escuro); }
.cta-band h2 { color: inherit; font-family: 'Luckiest Guy', cursive; }

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }

/* Depoimentos carrossel (grid simples) */
.depo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.depo-grid a { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.depo-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* Lista com checks/emoji (creche/hotel) */
.check-list { list-style: none; padding: 0; margin: 1em 0; }
.check-list li { padding: 6px 0; font-size: 1.02rem; }

/* Cards de veterinárias */
.vet-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 30px;
}
.vet-card .vet-photo {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: contain; background: var(--cinza-claro);
  padding: 20px; border: 4px solid var(--azul);
}
.vet-card h3 { font-family: 'Luckiest Guy', cursive; color: var(--azul); }
.vet-card ul { padding-left: 18px; }
.vet-card ul li { margin-bottom: 4px; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .card-img { aspect-ratio: 4/3; overflow: hidden; }
.post-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.1rem; color: var(--escuro); }
.post-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   FORMULÁRIO (contato)
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: start; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--escuro); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #fafafa;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--azul); background: #fff; }
.form-note { font-size: .85rem; color: var(--cinza); }
.info-box { background: var(--cinza-claro); border-radius: var(--radius); padding: 26px; }
.info-box h4 { font-family: 'Luckiest Guy', cursive; color: var(--azul); margin-top: 0; }
.form-status { margin-top: 12px; font-weight: 500; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--escuro); color: #cfcfcf; padding: 54px 0 0; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  color: #fff; font-family: 'Luckiest Guy', cursive; font-size: 1.15rem;
  margin-bottom: 16px;
}
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--amarelo); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--azul); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--amarelo); color: var(--escuro); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  margin-top: 40px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center; font-size: 13px; color: #9a9a9a;
}

/* ==========================================================================
   WHATSAPP FLUTUANTE + TOPO
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  background: #25d366; color: #fff;
  border-radius: 40px; padding: 12px 18px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  font-weight: 700; font-size: 14px;
}
.wa-float:hover { color: #fff; background: #1ebe5b; }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #1f1f1f; color: #eee;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.cookie-bar p { margin: 0; font-size: 13px; max-width: 760px; }
.cookie-bar .btn { padding: 8px 18px; font-size: 12px; }
.cookie-bar.hidden { display: none; }

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .depo-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.2);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 80px 20px 30px;
    z-index: 120;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid #eee; }
  .has-dropdown > a::after { content: ""; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; padding: 0 0 0 14px;
    display: block;
  }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vet-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .vet-card ul { text-align: left; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .depo-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-social { display: none; }
  .section { padding: 40px 0; }
  .hero { min-height: 70vh; }
}

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