/* ============================================================
   IlhaVet — Clínica Veterinária em Ilhabela
   Paleta extraída do cartão de visita (petróleo #254B52, teal
   #2BA8AC, laranja #FF8F3F, âmbar #FFD070, creme #FFFBF6).
   Petróleo, teal e laranja-escuro foram escurecidos para
   garantir contraste WCAG AA sobre os fundos claros do site.
   ============================================================ */

:root {
  --petrol: #1d474e;
  --petrol-deep: #14333a;
  --teal: #0f7a6e;
  --turquoise: #2ba8ac;
  --orange: #ff8f3f;
  --orange-deep: #b35309;
  --amber: #ffd070;
  --green: #4e8447;
  --cream: #fffbf6;
  --cream-2: #fdf3e3;
  --white: #ffffff;
  --ink: #24454c;
  --ink-soft: #4a6970;
  --shadow: 0 10px 30px rgba(29, 71, 78, 0.12);
  --radius: 18px;
  --header-h: 72px;
  --font-title: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-script: "Caveat", cursive;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--petrol);
  line-height: 1.2;
  text-wrap: balance;
}

ul[role="list"] { list-style: none; }

:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }

/* âncoras não escondem atrás do header fixo */
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--petrol);
  color: var(--white);
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.5rem; }

/* ---------- Cabeçalhos de seção ---------- */
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}
.section__head--left { text-align: left; margin-inline: 0; }

.section__eyebrow {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.5rem;
}

.section__head h2 { font-size: clamp(1.6rem, 4.5vw, 2.25rem); }

.section__lead { margin-top: 0.75rem; color: var(--ink-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover, .btn:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 71, 78, 0.22);
}
.btn:active { transform: translateY(0); }

.btn--wa { background: var(--teal); color: var(--white); }
.btn--wa:hover { background: #0b5d54; color: var(--white); }

.btn--emergencia { background: var(--petrol); color: var(--white); }
.btn--emergencia:hover { background: var(--petrol-deep); color: var(--white); }

.btn--amber { background: var(--amber); color: var(--petrol-deep); }
.btn--amber:hover { background: #ffc452; color: var(--petrol-deep); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

.btn--contorno {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn--contorno:hover {
  background: var(--teal);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 251, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}
.header.rolou { box-shadow: 0 4px 18px rgba(29, 71, 78, 0.1); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.header__brand:hover { text-decoration: none; }
.header__brand img { width: 52px; height: auto; }

.header__wordmark, .footer__wordmark {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--petrol);
  letter-spacing: -0.01em;
}
.header__wordmark em, .footer__wordmark em {
  font-style: normal;
  color: var(--turquoise);
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  list-style: none;
}
.header__nav a:not(.btn) {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--petrol);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.header__nav a:not(.btn):hover {
  color: var(--teal);
  border-color: var(--turquoise);
  text-decoration: none;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px 11px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.header__burger span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: var(--petrol);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(5rem, 10vw, 7rem);
  background:
    radial-gradient(60% 50% at 85% 8%, rgba(255, 208, 112, 0.28) 0%, transparent 70%),
    radial-gradient(50% 40% at 8% 90%, rgba(43, 168, 172, 0.14) 0%, transparent 70%),
    var(--cream);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 600;
  color: var(--orange-deep);
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.9rem);
  font-weight: 700;
}
.hero h1 span { color: var(--teal); }

.hero__sub {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2.5vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero__sub strong { color: var(--orange-deep); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero__local {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.hero__local svg { color: var(--turquoise); flex-shrink: 0; }

.hero__media {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
  box-shadow: var(--shadow);
}
.hero__blob {
  position: absolute;
  inset: -7% -6% auto auto;
  width: 75%;
  aspect-ratio: 1;
  background: linear-gradient(140deg, var(--amber), var(--orange));
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
  opacity: 0.55;
}
.hero__badge {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  left: -2%;
  display: grid;
  justify-items: center;
  padding: 0.8rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.1;
}
.hero__badge strong {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--orange-deep);
}
.hero__badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--petrol);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* onda decorativa */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.wave svg { width: 100%; height: clamp(42px, 7vw, 90px); }
.wave--footer { position: static; background: var(--cream-2); }

/* ============================================================
   FAIXA EMERGÊNCIA
   ============================================================ */
.emergencia {
  background: var(--petrol-deep);
  color: var(--white);
  padding-block: clamp(2.2rem, 5vw, 3rem);
}

.emergencia__inner {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  text-align: center;
  justify-items: center;
}

.emergencia__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 143, 63, 0.16);
  color: var(--amber);
}

.emergencia h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
}
.emergencia h2 strong { color: var(--amber); }

.emergencia p {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46rem;
}

.emergencia__actions {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.emergencia__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--amber);
}
.emergencia__tel:hover { color: var(--white); }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos { background: var(--cream); }

.servicos__grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border: 1px solid rgba(29, 71, 78, 0.07);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: 0 4px 14px rgba(29, 71, 78, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(43, 168, 172, 0.16), rgba(18, 140, 126, 0.16));
  color: var(--teal);
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.card p { color: var(--ink-soft); font-size: 0.99rem; }

.card--destaque {
  background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-deep) 100%);
  border-color: transparent;
}
.card--destaque h3 { color: var(--white); }
.card--destaque p { color: rgba(255, 255, 255, 0.85); }
.card--destaque .card__icon {
  background: rgba(255, 208, 112, 0.18);
  color: var(--amber);
}
.card__link {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.45rem 0;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--amber);
}
.card__link:hover { color: var(--white); }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre { background: var(--cream-2); }

.sobre__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.sobre__media {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
  padding-bottom: 3rem;
}

.sobre__foto {
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sobre__foto--1 {
  width: 78%;
  aspect-ratio: 3 / 3.6;
}
.sobre__foto--2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 3 / 3.4;
  border: 5px solid var(--cream-2);
}

.sobre__selo {
  position: absolute;
  top: -1rem;
  right: 4%;
  display: grid;
  justify-items: center;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.15;
  max-width: 130px;
}
.sobre__selo strong {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--teal);
}
.sobre__selo span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--petrol);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sobre__text p + p { margin-top: 0.9rem; }
.sobre__text strong { color: var(--petrol); }

.sobre__diferenciais {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}
.sobre__diferenciais li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.sobre__diferenciais .check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(78, 132, 71, 0.15);
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
}
.sobre__diferenciais strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
}
.sobre__diferenciais div span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.sobre__crmv {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(29, 71, 78, 0.25);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ============================================================
   AVALIAÇÕES
   ============================================================ */
.avaliacoes { background: var(--cream); }

.avaliacoes__selo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  margin-top: 1.2rem;
}
.avaliacoes__nota {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--petrol);
}
.avaliacoes__nota svg { color: #f0a32f; }
.avaliacoes__fonte {
  font-weight: 700;
  color: var(--ink-soft);
}

.avaliacoes__grid {
  display: grid;
  gap: 1.2rem;
}

.avaliacao {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.7rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(29, 71, 78, 0.07);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(29, 71, 78, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.avaliacao:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.avaliacao__estrelas {
  display: flex;
  gap: 0.15rem;
  color: #f0a32f;
}

.avaliacao blockquote {
  flex: 1;
  margin: 0;
  color: var(--ink-soft);
  font-style: italic;
}

.avaliacao__cliente {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--petrol);
}
.avaliacao__cliente::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--turquoise);
}

/* ============================================================
   GALERIA
   ============================================================ */
.galeria { background: var(--cream-2); }

.galeria__grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}
.galeria__grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(29, 71, 78, 0.08);
  transition: transform 0.25s ease;
}
.galeria__grid img:hover { transform: scale(1.025); }

/* vídeo: ocupa duas colunas; player próprio, sempre sem som */
.galeria__video {
  position: relative;
  grid-column: span 2;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(29, 71, 78, 0.08);
  cursor: pointer;
}
.galeria__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.galeria__video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 51, 58, 0.78);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.25s ease, background-color 0.2s ease;
}
.galeria__video-play:hover { transform: scale(1.08); background: rgba(20, 51, 58, 0.92); }
.galeria__video-play .icone-pausa { display: none; }
.galeria__video.tocando .icone-play { display: none; }
.galeria__video.tocando .icone-pausa { display: block; }
/* enquanto toca, o botão some e reaparece no hover/foco */
.galeria__video.tocando .galeria__video-play { opacity: 0; }
.galeria__video.tocando:hover .galeria__video-play,
.galeria__video.tocando .galeria__video-play:focus-visible { opacity: 1; }

.galeria__video-mudo {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(20, 51, 58, 0.78);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  pointer-events: none;
}

/* ============================================================
   LOCALIZAÇÃO
   ============================================================ */
.local { background: var(--cream); }

.local__inner {
  display: grid;
  gap: 2.5rem;
}

.local__bloco {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(29, 71, 78, 0.06);
  margin-bottom: 1rem;
  font-style: normal;
}
.local__bloco strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--petrol);
  margin-bottom: 0.2rem;
}
.local__bloco p { color: var(--ink-soft); }
.local__bloco a { font-weight: 700; }

.local__icone {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(43, 168, 172, 0.14);
  color: var(--teal);
}

.local__bloco--24h { border-left: 4px solid var(--orange); }
.local__bloco--24h .local__icone {
  background: rgba(255, 143, 63, 0.15);
  color: var(--orange-deep);
}

.local__mapa {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.local__mapa iframe {
  flex: 1;
  width: 100%;
  min-height: 380px;
  border: 0;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato { background: var(--cream-2); }

.contato__inner {
  display: grid;
  gap: 2.8rem;
}

.contato__lista {
  display: grid;
  gap: 0.7rem;
}
.contato__lista a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(29, 71, 78, 0.07);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contato__lista a:hover {
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(29, 71, 78, 0.1);
}
.contato__lista strong {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--petrol);
}
.contato__lista span:last-child { font-size: 0.95rem; line-height: 1.4; }

.contato__icone {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(43, 168, 172, 0.14);
  color: var(--teal);
}
.contato__icone--wa {
  background: rgba(18, 140, 126, 0.15);
  color: var(--teal);
}

.contato__form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.contato__form h3 { font-size: 1.3rem; }
.contato__form > p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0.4rem 0 1.3rem;
}

.form-campo { margin-bottom: 1.1rem; }
.form-campo label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--petrol);
  margin-bottom: 0.35rem;
}
.form-campo input,
.form-campo textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(29, 71, 78, 0.18);
  border-radius: 12px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-campo input:focus,
.form-campo textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(43, 168, 172, 0.18);
}
.form-campo textarea { resize: vertical; min-height: 110px; }

.contato__form-alt {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--petrol-deep);
  color: rgba(255, 255, 255, 0.85);
}

.footer__inner {
  display: grid;
  gap: 2.2rem;
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 2rem;
}

.footer__brand img { width: 64px; }
.footer__brand .footer__wordmark {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--white);
}
.footer__brand p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__col h3 {
  font-size: 1.02rem;
  color: var(--amber);
  margin-bottom: 0.7rem;
}
.footer__col li + li { margin-top: 0.4rem; }
.footer__col a { color: rgba(255, 255, 255, 0.85); }
.footer__col a:hover { color: var(--white); }
.footer__col p + p { margin-top: 0.6rem; }
.footer__col p { font-size: 0.97rem; }
.footer__col strong { color: var(--amber); font-weight: 700; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.wa-flutuante {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1faa61;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(20, 51, 58, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-flutuante:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(20, 51, 58, 0.45);
  color: var(--white);
}
.wa-flutuante::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 170, 97, 0.6);
  animation: pulso 2.2s ease-out infinite;
}

@keyframes pulso {
  0%   { transform: scale(1); opacity: 1; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ============================================================
   ANIMAÇÕES DE SCROLL (fade-in)
   ============================================================ */
/* o estado oculto só se aplica quando o JS marcou <html class="js">;
   sem JS, tudo permanece visível */
.reveal { transition: opacity 0.65s ease, transform 0.65s ease; }
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
html.js .reveal.visivel {
  opacity: 1;
  transform: none;
}

/* sem JS, esconde o iframe adiado (data-src) — o <noscript> traz o mapa real */
html:not(.js) .local__mapa iframe[data-src] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-flutuante::after { animation: none; }
  .btn, .card, .galeria__grid img, .contato__lista a, .wa-flutuante { transition: none; }
}

/* ============================================================
   MENU MOBILE
   ============================================================ */
@media (max-width: 919.98px) {
  .header__burger { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--cream);
    box-shadow: 0 18px 30px rgba(20, 51, 58, 0.16);
    transform: translateY(-130%);
    /* visibility só muda depois que o menu terminou de deslizar para fora */
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    visibility: hidden;
  }
  .header__nav.aberto {
    transform: translateY(0);
    transition: transform 0.3s ease;
    visibility: visible;
  }
  .header__nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1.25rem 1.4rem;
  }
  .header__nav li { border-bottom: 1px solid rgba(29, 71, 78, 0.08); }
  .header__nav li:last-child { border-bottom: 0; }
  .header__nav a:not(.btn) {
    display: block;
    padding: 0.95rem 0.2rem;
    font-size: 1.05rem;
    border-bottom: 0;
  }
  .header__nav-cta { padding-top: 1rem; }
  .header__nav-cta .btn { width: 100%; padding: 0.9rem 1.1rem; font-size: 1rem; }

  /* burger -> X */
  .header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ============================================================
   BREAKPOINTS — TABLET / DESKTOP
   ============================================================ */
@media (max-width: 599.98px) {
  /* afasta o texto do rodapé do botão flutuante do WhatsApp */
  .footer__bottom .container { padding-inline: 3.8rem; }
}

@media (min-width: 600px) {
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .emergencia__actions {
    grid-auto-flow: column;
    align-items: center;
    gap: 1.4rem;
  }
}

@media (min-width: 920px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
  .hero__media { margin-inline: 0 auto; }

  /* 6 cards em duas fileiras de 3 */
  .servicos__grid { grid-template-columns: repeat(3, 1fr); }

  .avaliacoes__grid { grid-template-columns: repeat(3, 1fr); }

  /* 4 colunas: 2 imagens + vídeo (2 células) na 1ª fileira, 4 imagens na 2ª */
  .galeria__grid { grid-template-columns: repeat(4, 1fr); }

  .sobre__inner { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .sobre__media { margin-inline: 0; }

  .local__inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .local__mapa { position: sticky; top: calc(var(--header-h) + 16px); min-height: 460px; }

  .contato__inner { grid-template-columns: 1fr 1fr; align-items: start; }

  .footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }

  .wa-flutuante { right: 1.6rem; bottom: 1.6rem; }
}

@media (min-width: 1024px) {
  /* só em telas largas a faixa de emergência vira 3 colunas,
     para o texto não ficar espremido entre o ícone e os botões */
  .emergencia__inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    justify-items: start;
  }
  .emergencia__actions { justify-items: start; }
}
