/* =====================================================================
   Manancial Piscina — style.css
   Paleta: ciano piscina + navy profundo + acentos warm
   Tipografia: Plus Jakarta Sans (headings) + Inter (corpo)
   ===================================================================== */

/* -------------------------------------------------------------------
   1. Reset & tokens
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1E293B;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  /* Brand */
  --color-primary: #0EA5E9;          /* ciano vibrante - cor da piscina */
  --color-primary-deep: #0284C7;      /* hover */
  --color-primary-darker: #075985;
  --color-navy: #0C2A47;              /* azul marinho do logo */
  --color-navy-deep: #061A30;
  --color-accent: #06B6D4;            /* turquesa secundário */
  --color-warm: #FB923C;              /* laranja warm para detalhes */
  --color-whatsapp: #25D366;
  --color-whatsapp-deep: #1FAE56;

  /* Surfaces */
  --bg-page: #FFFFFF;
  --bg-soft: #F0F9FF;                 /* sky-50 */
  --bg-softer: #F8FAFC;
  --bg-card: #FFFFFF;

  /* Text */
  --text-strong: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-soft: #94A3B8;
  --text-on-dark: #F1F5F9;

  /* Borders */
  --border-line: #E2E8F0;
  --border-soft: #F1F5F9;
  --border-strong: #CBD5E1;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(14, 165, 233, 0.18), 0 6px 12px rgba(14, 165, 233, 0.10);
  --shadow-card: 0 10px 25px -5px rgba(2, 132, 199, 0.10), 0 8px 10px -6px rgba(2, 132, 199, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1200px;
  --section-y: 96px;
  --section-y-sm: 64px;
}

::selection { background: var(--color-primary); color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--text-body); }
p.lead { font-size: 1.15rem; color: var(--text-muted); }

/* -------------------------------------------------------------------
   2. Layout helpers
   ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-y); position: relative; }
.section--soft  { background: var(--bg-soft); }
.section--white { background: #fff; }
.section--dark  { background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%); color: var(--text-on-dark); }

.section-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(14, 165, 233, 0.10);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p  { color: var(--text-muted); font-size: 1.05rem; }

/* -------------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid #BAE6FD; outline-offset: 2px; }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.32);
}
.btn--primary:hover { background: var(--color-primary-deep); transform: translateY(-2px); box-shadow: 0 12px 22px rgba(14, 165, 233, 0.4); }

.btn--secondary {
  background: #fff;
  color: var(--color-navy);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.30);
}
.btn--whatsapp:hover { background: var(--color-whatsapp-deep); transform: translateY(-2px); box-shadow: 0 12px 22px rgba(37, 211, 102, 0.4); }

.btn--yellow {
  background: #FACC15;
  color: #0F172A;
  box-shadow: 0 10px 22px rgba(250, 204, 21, 0.40);
}
.btn--yellow:hover { background: #EAB308; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(250, 204, 21, 0.50); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

.btn .icon { width: 18px; height: 18px; }

/* ============================================================
 * Shiny WhatsApp CTA — botão com borda animada e shimmer
 * Reaproveitado do site Lafamiglias, paleta verde do WhatsApp
 * ============================================================ */
@property --shiny-angle        { syntax: "<angle>";      initial-value: 0deg; inherits: false; }
@property --shiny-angle-offset { syntax: "<angle>";      initial-value: 0deg; inherits: false; }
@property --shiny-percent      { syntax: "<percentage>"; initial-value: 5%;   inherits: false; }
@property --shiny-shine        { syntax: "<color>";      initial-value: #ffffff; inherits: false; }

.btn-shiny-wa {
  --wa-bg-from: #128C7E;
  --wa-bg-to: #25D366;
  --wa-bg-subtle: #0e6b5f;
  --wa-fg: #ffffff;
  --wa-highlight: #4ade80;
  --wa-highlight-subtle: #bbf7d0;
  --shiny-duration: 3s;
  --shiny-shadow-size: 2px;
  --shiny-transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--wa-fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  background:
    linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.7) 50%, transparent 75%, transparent 100%) padding-box,
    linear-gradient(135deg, var(--wa-bg-from), var(--wa-bg-to)) padding-box,
    conic-gradient(
      from calc(var(--shiny-angle) - var(--shiny-angle-offset)),
      transparent,
      var(--wa-highlight) var(--shiny-percent),
      var(--shiny-shine) calc(var(--shiny-percent) * 2),
      var(--wa-highlight) calc(var(--shiny-percent) * 3),
      transparent calc(var(--shiny-percent) * 4)
    ) border-box;
  background-size: 250% 250%, 100% 100%, 100% 100%;
  background-position: 200% 0, 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px var(--wa-bg-subtle), 0 8px 22px rgba(18, 140, 126, 0.35);
  transition:
    --shiny-angle-offset var(--shiny-transition),
    --shiny-percent var(--shiny-transition),
    --shiny-shine var(--shiny-transition),
    box-shadow var(--shiny-transition),
    transform var(--shiny-transition),
    background-position 1000ms ease;
}

.btn-shiny-wa::before,
.btn-shiny-wa::after,
.btn-shiny-wa > span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.btn-shiny-wa:active { translate: 0 1px; }

/* Padrão de pontinhos */
.btn-shiny-wa::before {
  --size: calc(100% - var(--shiny-shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--position) var(--position),
    #ffffff calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  -webkit-mask-image: conic-gradient(from calc(var(--shiny-angle) + 45deg), black, transparent 10% 90%, black);
          mask-image: conic-gradient(from calc(var(--shiny-angle) + 45deg), black, transparent 10% 90%, black);
  border-radius: inherit;
  opacity: 0.35;
  z-index: -1;
}

/* Shimmer interno */
.btn-shiny-wa::after {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--wa-highlight), transparent);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
          mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.55;
}

.btn-shiny-wa > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 3px 0;
}
.btn-shiny-wa > span svg { flex-shrink: 0; }

.btn-shiny-wa > span::before {
  width: 300%;
  height: 300%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 90%,
    var(--wa-highlight) 0%,
    rgba(74, 222, 128, 0.35) 30%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--shiny-transition);
  animation: calc(var(--shiny-duration) * 1.5) shiny-breathe linear infinite;
}

.btn-shiny-wa,
.btn-shiny-wa::before,
.btn-shiny-wa::after {
  animation: shiny-angle linear infinite var(--shiny-duration),
             shiny-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
  animation-composition: add;
}

.btn-shiny-wa:is(:hover, :focus-visible) {
  --shiny-percent: 20%;
  --shiny-angle-offset: 95deg;
  --shiny-shine: var(--wa-highlight-subtle);
  background-position: -100% 0, 0 0, 0 0;
  box-shadow: inset 0 0 0 1px var(--wa-bg-subtle), 0 12px 28px rgba(37, 211, 102, 0.45);
}
.btn-shiny-wa:is(:hover, :focus-visible),
.btn-shiny-wa:is(:hover, :focus-visible)::before,
.btn-shiny-wa:is(:hover, :focus-visible)::after { animation-play-state: running; }
.btn-shiny-wa:is(:hover, :focus-visible) > span::before { opacity: 1; }

@keyframes shiny-angle   { to { --shiny-angle: 360deg; } }
@keyframes shiny-breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

/* Variante menor — usada no header */
.btn-shiny-wa--sm { padding: 10px 22px; }
.btn-shiny-wa--sm > span { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .btn-shiny-wa,
  .btn-shiny-wa::before,
  .btn-shiny-wa::after,
  .btn-shiny-wa > span::before { animation: none; }
}

/* -------------------------------------------------------------------
   4. Topbar + Header
   ------------------------------------------------------------------- */
.topbar {
  background: var(--color-navy-deep);
  color: #CBD5E1;
  font-size: 0.83rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}
.topbar__hours { display: inline-flex; align-items: center; gap: 8px; }
.topbar__hours svg { width: 14px; height: 14px; color: var(--color-primary); }
.topbar__contacts { display: inline-flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 6px; color: #E2E8F0; transition: color .2s; }
.topbar__contacts a:hover { color: #fff; }
.topbar__contacts svg { width: 14px; height: 14px; color: var(--color-whatsapp); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(12, 42, 71, 0.08); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { max-height: 54px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 6px;
}
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-strong);
  border-radius: var(--radius-md);
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  color: var(--color-navy);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* -------------------------------------------------------------------
   5. HERO  — AIDA
   ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: 63px 82px;
  isolation: isolate;
  /* Fundo escuro neutro enquanto o vídeo carrega */
  background: #061A30;
}

/* Vídeo MP4 local de fundo — cobre o hero inteiro */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* Overlay escuro acima do vídeo para legibilidade do texto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(6, 26, 48, 0.78) 0%, rgba(12, 42, 71, 0.55) 55%, rgba(14, 165, 233, 0.25) 100%);
  pointer-events: none;
}

/* Conteúdo e wave acima do vídeo e do overlay */
.hero > .container,
.hero__wave { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 720px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #E0F2FE;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero__badge svg { width: 14px; height: 14px; color: #7DD3FC; }

.hero h1 {
  color: #fff;
  font-size: clamp(1.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.hero h1 .highlight {
  background: linear-gradient(120deg, #38BDF8 0%, #7DD3FC 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.14rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.92);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.92rem;
  color: rgba(241, 245, 249, 0.88);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg { color: #7DD3FC; width: 18px; height: 18px; flex-shrink: 0; }

.hero__card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-strong);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  box-shadow: 0 25px 60px -12px rgba(2, 27, 50, 0.5);
  border: 1px solid rgba(255,255,255,0.5);
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(14,165,233,0.4), transparent 50%);
  z-index: -1;
}
.hero__card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}
.hero__card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 22px; }
.hero__card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 12px;
}
.hero__card li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--text-body);
}
.hero__card .check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: #DCFCE7; color: #15803D;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__card .check svg { width: 13px; height: 13px; }
.hero__card .btn { width: 100%; justify-content: center; }

/* Wave divider */
.hero__wave {
  position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; }

/* -------------------------------------------------------------------
   6. Trust strip / Stats
   ------------------------------------------------------------------- */
.trust-strip {
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  margin-top: -50px;
  position: relative;
  z-index: 5;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-card);
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: var(--color-primary-darker);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item__icon svg { width: 24px; height: 24px; }
.trust-item__text strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 2px;
}
.trust-item__text span { font-size: 0.86rem; color: var(--text-muted); }

/* -------------------------------------------------------------------
   7. Services
   ------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #BAE6FD; }

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #E0F2FE;
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(0.2,0.7,0.2,1);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__body {
  position: relative;
  padding: 46px 22px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__icon {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
  z-index: 2;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--color-navy); }
.service-card p { font-size: 0.93rem; color: var(--text-muted); margin: 0 0 18px; }
.service-card__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: auto;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--color-primary);
  transition: gap .2s ease;
}
.service-card__link:hover { gap: 10px; }
.service-card__link svg { width: 14px; height: 14px; }

/* -------------------------------------------------------------------
   8. About
   ------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
/* About — imagem circular grande + foto circular pequena sobreposta + ícone flutuante */
.about__media {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}
.about__media__main {
  position: relative;
  width: 86%;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: 4%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(2, 27, 50, 0.30);
}
.about__media__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 15% center;
}
.about__media__small {
  position: absolute;
  left: 2%;
  bottom: 6%;
  width: 32%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 16px 32px -8px rgba(2, 27, 50, 0.25);
  background: #fff;
}
.about__media__small img { width: 100%; height: 100%; object-fit: cover; }

.about__media__icon {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 23%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px -6px rgba(2, 27, 50, 0.18);
}
.about__media__icon svg,
.about__media__icon img { width: 56%; height: auto; max-height: 56%; object-fit: contain; }

.about__text h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.2rem); }
.about__text p { color: var(--text-body); font-size: 1.02rem; }
.about__features {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}
.about__feature-check {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.30);
}
.about__feature-check svg { width: 13px; height: 13px; }
.about__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------------
   9. How it works — Models de contrato
   ------------------------------------------------------------------- */
.models__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.model-card {
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}
.model-card__num,
.model-card__tag,
.model-card h3,
.model-card p,
.model-card li,
.model-card li svg { transition: color .3s ease; }

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px -10px rgba(2, 132, 199, 0.45);
  background: var(--color-primary-deep);
  border-color: var(--color-primary-deep);
}
.model-card:hover .model-card__num { color: rgba(255, 255, 255, 0.22); }
.model-card:hover .model-card__tag,
.model-card:hover h3,
.model-card:hover p,
.model-card:hover li,
.model-card:hover li svg { color: #fff; }

.model-card__num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4.2rem;
  font-weight: 800;
  color: #E0F2FE;
  line-height: 1;
  z-index: 0;
}
.model-card__inner { position: relative; z-index: 1; }
.model-card__tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.model-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--color-navy); }
.model-card p { color: var(--text-body); margin-bottom: 16px; }
.model-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.model-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.94rem; color: var(--text-muted);
}
.model-card li svg {
  width: 18px; height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* -------------------------------------------------------------------
   10. Why choose
   ------------------------------------------------------------------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border-line);
  transition: transform .25s ease, box-shadow .3s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.why-card__icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.3);
}
.why-card__icon svg { width: 28px; height: 28px; }
.why-card h4 { color: var(--color-navy); margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Spotlight glow — borda azul que segue o cursor (CSS puro, coords locais) */
.spotlight-card { position: relative; }
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: radial-gradient(
    180px 180px at var(--mx, -300px) var(--my, -300px),
    hsl(var(--glow-h, 208) 96% 64% / 0.95),
    hsl(var(--glow-h, 208) 96% 56% / 0.38) 45%,
    transparent 72%
  );
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
          mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 3;
}
.spotlight-card.is-glowing::before { opacity: 1; }

/* -------------------------------------------------------------------
   11. Gallery — marquee horizontal infinito
   ------------------------------------------------------------------- */
.gallery-section {
  background: var(--color-navy-deep);
  color: var(--text-on-dark);
  padding-block: var(--section-y);
  overflow: hidden;
  position: relative;
}
.gallery-section .section-head h2 { color: #fff; }
.gallery-section .section-head p  { color: #94A3B8; }
.gallery-section .section-eyebrow {
  background: rgba(125, 211, 252, 0.14);
  color: #7DD3FC;
}

.gallery-marquee {
  width: 100%;
  overflow: hidden;
  padding-block: 12px;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.gallery-marquee__track {
  --gallery-gap: 20px;
  display: flex;
  gap: var(--gallery-gap);
  width: max-content;
  animation: gallery-scroll 50s linear infinite;
  will-change: transform;
}
.gallery-marquee:hover .gallery-marquee__track,
.gallery-marquee:focus-within .gallery-marquee__track { animation-play-state: paused; }

.gallery-marquee__item {
  flex-shrink: 0;
  width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  cursor: zoom-in;
  background: #0C2A47;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.55);
  transition: transform .35s cubic-bezier(0.2, 0.7, 0.2, 1), filter .35s ease, box-shadow .35s ease;
}
.gallery-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-marquee__item:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
  box-shadow: 0 28px 52px -10px rgba(14, 165, 233, 0.45);
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--gallery-gap) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-marquee__track { animation: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 33, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 32px;
  opacity: 0;
  transition: opacity .3s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  animation: zoomIn .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

/* -------------------------------------------------------------------
   12. CTA Band (dark, parallax-ish)
   ------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: 90px;
  background:
    linear-gradient(120deg, rgba(3, 56, 181, 0.92) 0%, rgba(13, 81, 147, 0.78) 100%), url('../images/limpeza-de-piscinas-em-sao-paulo-2.webp') center / cover no-repeat fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(241, 245, 249, 0.92);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-band .btn-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* -------------------------------------------------------------------
   13. Contact form
   ------------------------------------------------------------------- */
.contact {
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 14px; }
.contact__info p { color: var(--text-body); margin-bottom: 28px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-list li:hover { border-color: var(--color-primary); transform: translateX(2px); }
.contact-list__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: var(--color-primary-darker);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-list a, .contact-list span:not(.contact-list__icon) {
  font-size: 0.96rem;
  color: var(--text-strong);
  font-weight: 500;
  word-break: break-word;
}
.contact-list a:hover { color: var(--color-primary); }

.social-row { display: inline-flex; gap: 12px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-line);
  color: var(--color-navy);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-row a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.contact-form__head { margin-bottom: 22px; }
.contact-form__head h3 { color: var(--color-navy); margin-bottom: 4px; }
.contact-form__head p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
}
.field label .req { color: #EF4444; margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-strong);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #EF4444; }
.field__error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #DC2626;
}

.recaptcha-wrap { margin: 6px 0 18px;  justify-content: center; }

.form-alert {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  display: block;
}
.form-alert--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-alert--success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-alert[hidden] { display: none; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1.02rem;
}
.btn-submit[disabled] { opacity: 0.65; cursor: not-allowed; }

/* Loading overlay */
.form-loading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-xl);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.form-loading.is-active { display: flex; }
.form-loading__ring {
  width: 56px; height: 56px;
  border: 4px solid #E0F2FE;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}
.form-loading__text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--color-navy);
}
.form-loading__sub { font-size: 0.86rem; color: var(--text-muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy-deep);
  color: #CBD5E1;
  padding-block: 60px 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand img { max-height: 60px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #94A3B8; font-size: 0.92rem; line-height: 1.65; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a {
  color: #CBD5E1;
  font-size: 0.93rem;
  transition: color .2s ease, padding-left .2s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-list a:hover { color: #fff; padding-left: 4px; }
.footer-list svg { width: 14px; height: 14px; color: var(--color-primary); }

.footer-contact {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 14px;
}
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: #CBD5E1;
}
.footer-contact svg { width: 16px; height: 16px; color: var(--color-primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: #fff; }

.footer__bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.86rem;
  color: #94A3B8;
}
.footer__bottom a { color: #CBD5E1; }
.footer__bottom a:hover { color: #fff; }
.footer__credit img { max-height: 52px; opacity: 0.8; transition: opacity .2s ease; }
.footer__credit a:hover img { opacity: 1; }

/* -------------------------------------------------------------------
   15. WhatsApp floating button
   ------------------------------------------------------------------- */
.fab-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-whatsapp);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  animation: fabPulse 2.4s ease-out infinite;
}
.fab-whatsapp svg { width: 22px; height: 22px; }
.fab-whatsapp:hover { background: var(--color-whatsapp-deep); }
@keyframes fabPulse {
  0%   { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 89;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  border: 1px solid var(--border-line);
  display: inline-flex;
  align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background .2s ease, color .2s ease;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease, visibility 0s, background .2s ease, color .2s ease; }
.fab-top:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.fab-top svg { width: 20px; height: 20px; }

/* -------------------------------------------------------------------
   16. Animations & accessibility
   ------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.u-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.u-noscroll { overflow: hidden; }

/* -------------------------------------------------------------------
   17. Thanks page (obrigado.html)
   ------------------------------------------------------------------- */
.thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 80px;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(14, 165, 233, 0.10) 0%, transparent 70%),
    var(--bg-soft);
}
.thanks-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-line);
}
.thanks-check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.30);
  animation: popIn .55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.thanks-check svg { width: 38px; height: 38px; }
@keyframes popIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
.thanks-card h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; color: var(--color-navy); }
.thanks-card p { color: var(--text-muted); font-size: 1rem; }
.thanks-ctas { margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
