/* ═══════════════════════════════════════════════════════════
   BEM ESTAR WULF — Plano de Saúde Pet
   Inter · Turquesa #68ccd1 · Teal #60B29E
   --header-bg: #68ccd1  --primary: #60B29E  --accent: #F8C679
═══════════════════════════════════════════════════════════ */

/* ── Fontes ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../../_shared/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../../_shared/fonts/UcC53FwrK3iLTcvneQg7Ca725JhhKnNqk6L5UUM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variáveis ──────────────────────────────────────────── */
:root {
  --primary:      #60B29E;
  --primary-dark: #3d8a78;
  --primary-light:#e8f5f2;
  --secondary:    #68ccd1;
  --accent:       #F8C679;
  --header-bg:    #68ccd1;
  --dark:         #21252B;
  --dark-2:       #2e3440;
  --text:         #21252B;
  --text-soft:    #5a6474;
  --text-lighter: #9CA3AF;
  --bg:           #FFFFFF;
  --bg-alt:       #F4F8F7;
  --border:       #E5E7EB;
  --header-h:     72px;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.12);
  --t:            all .28s ease;
  --max-w:        1200px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Container / Layout ─────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 28px; }

.section     { padding-block: 96px; background: var(--bg); }
.section-alt { background: var(--bg-alt); }

section[id]  { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Section header */
.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: .98rem;
  color: var(--text-soft);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.75;
}

/* Light variants (for dark sections) */
.section-title-light   { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.section-subtitle-light{ font-size: .98rem; color: rgba(255,255,255,.75); max-width: 620px; margin-inline: auto; line-height: 1.75; margin-bottom: 28px; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: .8rem;
  color: rgba(0,0,0,.7);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
}
.topbar-inner span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-inner i { width: 14px; height: 14px; }
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: rgba(0,0,0,.8);
  transition: var(--t);
}
.topbar-link:hover { color: var(--dark); }

/* ── Scroll animation ───────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  transition: var(--t);
  white-space: nowrap;
}
.btn i { width: 17px; height: 17px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(96,178,158,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96,178,158,.4);
}

.btn-header {
  background: #fff;
  color: var(--header-bg);
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: var(--t);
}
.btn-header i { width: 15px; height: 15px; }
.btn-header:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: var(--t);
  white-space: nowrap;
}
.btn-hero-ghost i { width: 17px; height: 17px; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; }

/* ── HEADER ──────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.2); }

.nav { display: flex; align-items: center; height: var(--header-h); gap: 0; }
.nav-logo { flex-shrink: 0; margin-right: auto; }
.nav-logo img { height: 40px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-right: 20px; }
.nav-link { font-size: .84rem; font-weight: 600; color: rgba(0,0,0,.75); padding: 6px 12px; border-radius: 7px; transition: var(--t); }
.nav-link:hover { color: var(--dark); background: rgba(0,0,0,.08); }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; margin-left: 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--t); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(33,37,43,.85) 0%,
    rgba(33,37,43,.65) 55%,
    rgba(33,37,43,.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}
.hero-text-inner { max-width: 640px; }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title-accent { color: var(--secondary); }

.hero-subtitle {
  font-size: 1.02rem;
  color: rgba(255,255,255,.82);
  line-height: 1.72;
  margin-bottom: 10px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── SECTION DARK ─────────────────────────────────────────── */
.section-dark {
  background: var(--dark);
  padding-block: 80px;
}
.section-dark .section-header { text-align: center; }

/* ── SERVIÇOS ─────────────────────────────────────────────── */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.servico-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.servico-img {
  height: 160px;
  overflow: hidden;
}
.servico-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.servico-card:hover .servico-img img { transform: scale(1.06); }

.servico-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.servico-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  stroke-width: 1.75;
}
.servico-icon i { width: 32px; height: 32px; }

.servico-body h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

.servico-body p {
  font-size: .8rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ── DEPOIMENTOS ─────────────────────────────────────────── */
.depoimentos-section {
  position: relative;
  padding-block: 96px;
  overflow: hidden;
}

.depoimentos-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.depoimentos-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.4);
}
.depoimentos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33,37,43,.65);
}

.depoimentos-section .container { position: relative; z-index: 1; }
.depoimentos-section .section-header { margin-bottom: 44px; }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.depoimento-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.depoimento-card p {
  font-size: .88rem;
  color: var(--text);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
}

.depoimento-autor {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ── PLANOS ───────────────────────────────────────────────── */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.plano-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--t);
  background: var(--bg);
}
.plano-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.plano-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.plano-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.plano-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
}

/* ── SOBRE / GALERIA ──────────────────────────────────────── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.sobre-text .section-label { display: block; margin-bottom: 10px; }
.sobre-text .section-title { text-align: left; max-width: 100%; margin-bottom: 16px; }

.sobre-body {
  font-size: .97rem;
  color: var(--text-soft);
  line-height: 1.78;
  margin-bottom: 14px;
}

.clinica-gallery { /* flex wrapper for the gallery grid */ }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.05); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-block: 64px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img { margin-bottom: 12px; }
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.55); line-height: 1.65; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.footer-contact i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-contact a { color: rgba(255,255,255,.8); transition: var(--t); }
.footer-contact a:hover { color: #fff; }

.footer-nav-title {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav ul li a { font-size: .87rem; color: rgba(255,255,255,.6); transition: var(--t); }
.footer-nav ul li a:hover { color: #fff; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  transition: var(--t);
}
.footer-social a i { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
.whatsapp-float a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float a:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .section     { padding-block: 64px; }
  .section-dark{ padding-block: 56px; }
  .depoimentos-section { padding-block: 64px; }

  .header { position: fixed; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--header-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 10px 12px; font-size: .9rem; width: 100%; }

  .btn-header { display: none; }
  .menu-toggle { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .planos-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .servicos-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .container { padding-inline: 20px; }
}
