/* Libertese — landing de captação */

:root {
  --navy: #04243a;
  --navy-deep: #021624;
  --ink: #102838;
  --blue: #0a6e96;
  --teal: #0c8f9c;
  --green: #14915a;
  --green-deep: #0c6b42;
  --gold: #e8b84a;
  --whatsapp: #128c7e;
  --whatsapp-deep: #075e54;
  --wa-bright: #25d366;
  --surface: #f5f3ee;
  --tint: #e7f3ef;
  --white: #ffffff;
  --muted: #4c6270;
  --line: #d5e2e2;
  --danger: #e23b3b;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
  --step--1: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
  --step-3: clamp(1.7rem, 1.3rem + 1.6vw, 2.55rem);
  --step-4: clamp(2.15rem, 1.45rem + 2.6vw, 3.5rem);
  --header: 76px;
  --radius: 22px;
  --shadow: 0 18px 50px rgb(4 36 58 / 0.12);
  --container: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { text-wrap: pretty; }

a { color: var(--blue); text-underline-offset: 0.18em; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: #d5efe4; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.icon { width: 1.2em; height: 1.2em; display: inline-flex; flex: none; }
.icon svg { width: 100%; height: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }

.lead { color: var(--muted); font-size: var(--step-1); }

.section { padding: clamp(3.5rem, 6vw, 6.2rem) 0; }
.section--white { background: var(--white); }
.section--navy {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgb(12 143 156 / 0.35), transparent 55%),
    radial-gradient(ellipse 40% 70% at 0% 100%, rgb(20 145 90 / 0.28), transparent 50%),
    var(--navy);
  color: rgb(255 255 255 / 0.86);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section__head { max-width: 40rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section__head p:last-child { margin-top: 0.8rem; }
.section__head--light p { color: rgb(255 255 255 / 0.78); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--lg { min-height: 56px; padding-inline: 1.5rem; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: 0.45rem 0.95rem; font-size: 0.92rem; }

.btn--wa {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px rgb(7 94 84 / 0.28);
}
.btn--wa:hover { background: var(--whatsapp-deep); color: var(--white); transform: translateY(-1px); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { color: var(--navy); transform: translateY(-1px); }

.btn--outline-light {
  border-color: rgb(255 255 255 / 0.45);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover { background: rgb(255 255 255 / 0.1); color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(4 36 58 / 0.06);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand { display: flex; align-items: center; margin-right: auto; min-width: 0; text-decoration: none; }
.brand img { width: min(210px, 48vw); height: auto; }
.site-header__cta { flex-shrink: 0; white-space: nowrap; }

.site-nav ul { display: flex; gap: 1.15rem; }
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--teal); }

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(165deg, #021624 0%, #04283f 48%, #06344c 100%);
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero__glow--gold {
  width: 280px; height: 280px; top: -80px; right: 8%;
  background: radial-gradient(circle, rgb(232 184 74 / 0.45), transparent 68%);
}
.hero__glow--green {
  width: 340px; height: 340px; left: -80px; bottom: -40px;
  background: radial-gradient(circle, rgb(20 145 90 / 0.4), transparent 68%);
}
.hero__glow--teal {
  width: 260px; height: 260px; right: -40px; bottom: 10%;
  background: radial-gradient(circle, rgb(12 143 156 / 0.4), transparent 68%);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 { color: var(--white); max-width: 14ch; }
.hero__lead {
  margin-top: 1rem;
  max-width: 38rem;
  color: rgb(255 255 255 / 0.82);
  font-size: var(--step-1);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__note { margin-top: 0.9rem; color: rgb(255 255 255 / 0.62); font-size: var(--step--1); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); }

.hero__glass {
  padding: 1.2rem 1.2rem 0.4rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.04));
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.28);
  backdrop-filter: blur(8px);
}

.hero__glass--photo {
  padding: 0.5rem;
  border-radius: 30px;
}
.hero__glass--photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 55% center;
  border-radius: 24px;
}

.hero__pill {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}
.hero__pill--top { top: 12%; left: -6%; }
.hero__glass--photo ~ .hero__pill--top { top: 5%; }
.hero__pill--bottom { right: -4%; bottom: 14%; background: var(--navy); color: var(--white); border: 1px solid rgb(232 184 74 / 0.7); }

/* Strip ------------------------------------------------------------------ */

.strip {
  background: linear-gradient(100deg, var(--green-deep), var(--teal) 55%, #0a6e96);
  color: var(--white);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.35rem 0;
}
.strip h2 { color: var(--white); font-size: clamp(1.35rem, 2vw, 1.8rem); }
.strip p { color: rgb(255 255 255 / 0.86); }
.strip__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 0 0 rgb(61 255 138 / 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgb(61 255 138 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(61 255 138 / 0); }
}

/* Family ----------------------------------------------------------------- */

.family__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.family__quote {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.family__quote em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.family .lead, .family__grid .lead { margin-bottom: 1.4rem; }

.steps { display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.steps span {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
}
.steps p { color: var(--muted); }

/* Diferenciais ----------------------------------------------------------- */

.diff__grid {
  display: grid;
  gap: 1rem;
}
.diff {
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset;
}
.diff h3 { margin: 0.9rem 0 0.4rem; }
.diff p { color: var(--muted); }
.diff__mark {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, #8ddec0, transparent 55%),
    linear-gradient(145deg, var(--green), #0a6e96);
}
.diff__mark--teal { background: linear-gradient(145deg, var(--teal), #0a4e78); }
.diff__mark--gold { background: linear-gradient(145deg, var(--gold), #c9842a); }
.diff__mark--navy { background: linear-gradient(145deg, #0a4e78, var(--navy)); }

/* Tratamento ------------------------------------------------------------- */

.treatment__grid {
  display: grid;
  gap: 1rem;
}
.treatment__card {
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.treatment__kicker {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.treatment__card p:last-child { margin-top: 0.55rem; color: rgb(255 255 255 / 0.78); }
.treatment__cta { margin-top: 1.6rem; }

/* Cuidado ---------------------------------------------------------------- */

.care__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.care__grid li {
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.care__grid strong { display: block; color: var(--navy); font-family: var(--display); }
.care__grid span { color: var(--muted); font-size: 0.92rem; }

/* Remoção ---------------------------------------------------------------- */

.removal {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 6vw, 5.5rem) 0;
  color: rgb(255 255 255 / 0.86);
  background:
    radial-gradient(circle at 15% 50%, rgb(232 184 74 / 0.18), transparent 28%),
    linear-gradient(120deg, #031826, #0a3d4e 60%, #0c6b42);
}
.removal h2 { color: var(--white); }
.removal__grid { display: grid; gap: 1rem; align-items: center; }
.removal__hour {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgb(232 184 74 / 0.85);
}
.removal p:not(.eyebrow):not(.removal__hour) { margin: 0.9rem 0 1.3rem; max-width: 38rem; }

/* Unidades --------------------------------------------------------------- */

.units__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.4rem;
}
.units__head .section__head { margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  min-height: 42px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.units__grid {
  display: grid;
  gap: 1rem;
}
.unit,
.unit article,
.unit__thumbs { min-width: 0; }
.unit article {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgb(4 36 58 / 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.unit article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.unit__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.unit__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.unit article:hover .unit__media img { transform: scale(1.04); }
.unit__placeholder {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 18%, rgb(232 184 74 / 0.5), transparent 34%),
    radial-gradient(circle at 88% 78%, rgb(12 144 180 / 0.4), transparent 38%),
    linear-gradient(155deg, #128a55 0%, #0a6284 52%, #04243a 100%);
}
.unit__placeholder svg { width: min(72%, 200px); }
.unit__placeholder span {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgb(4 36 58 / 0.82);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag--feminina { background: rgb(12 111 150 / 0.92); }
.tag--masculina { background: rgb(12 107 66 / 0.92); }
.unit__media--wait .tag--masculina { background: #fff; color: var(--green-deep); }
.unit__media--wait .tag--feminina { background: #fff; color: #0a6284; }
.unit__count {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgb(4 36 58 / 0.78);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}
.unit__thumbs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.7rem 0.75rem 0.15rem;
  scroll-snap-type: x mandatory;
}
.unit__thumb {
  flex: 0 0 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  scroll-snap-align: start;
}
.unit__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.unit__thumb[aria-current="true"] { border-color: var(--teal); }
.unit__body { padding: 0.85rem 1.05rem 1.15rem; }
.unit__body p { color: var(--muted); font-size: 0.95rem; }
.units__empty { margin-top: 1rem; color: var(--muted); }
.units__cta { margin-top: 1.5rem; }

.units__notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.75rem;
  padding: clamp(1.25rem, 2.6vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgb(12 111 150 / 0.18);
  border-left: 5px solid #0c6f96;
  border-radius: var(--radius);
  background: linear-gradient(110deg, #eaf4f9 0%, #f4f9fb 60%, #ffffff 100%);
  box-shadow: 0 12px 32px rgb(4 36 58 / 0.07);
}
.units__notice-text { flex: 1 1 320px; }
.units__notice .tag { position: static; display: inline-block; }
.units__notice h3 {
  margin: 0.6rem 0 0.25rem;
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.units__notice p { margin: 0; color: var(--muted); font-size: var(--step-0); }

@media (max-width: 640px) {
  .units__notice { border-left: 1px solid rgb(12 111 150 / 0.18); border-top: 5px solid #0c6f96; }
  .units__notice .btn { width: 100%; justify-content: center; }
}

.section--cities { padding-top: 0; background: var(--white); }
.cities {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid #d7ebe4;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgb(20 145 90 / 0.08), transparent 55%),
    var(--white);
  box-shadow: 0 16px 40px rgb(4 36 58 / 0.05);
}
.cities h2 { max-width: 16ch; margin-bottom: 0.7rem; }
.cities > p { max-width: 40rem; color: var(--muted); }
.cities__list {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 0.65rem 0.7rem;
  margin: 1.35rem 0 1.5rem;
}
.cities__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
  width: auto;
  min-height: 42px;
  padding: 0.3rem 0.45rem 0.3rem 0.7rem;
  border: 1px solid #d5e4de;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.cities__item .icon { width: 1rem; height: 1rem; color: var(--green-deep); }
.cities__count {
  display: grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Caminho ---------------------------------------------------------------- */

.path {
  display: grid;
  gap: 0.9rem;
  counter-reset: none;
}
.path li {
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.path span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.path p { margin-top: 0.4rem; color: var(--muted); }

/* FAQ -------------------------------------------------------------------- */

.faq-grid { display: grid; gap: 1.5rem; }
.faq { display: grid; gap: 0.7rem; }
.faq__item {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}
.faq__item[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq__item p { padding: 0 1.1rem 1.1rem; color: var(--muted); }

/* Final ------------------------------------------------------------------ */

.final {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: rgb(255 255 255 / 0.86);
  background:
    radial-gradient(circle at 80% 20%, rgb(232 184 74 / 0.25), transparent 26%),
    radial-gradient(circle at 10% 80%, rgb(20 145 90 / 0.35), transparent 32%),
    var(--navy-deep);
}
.final__inner { max-width: 42rem; }
.final h2 { color: var(--white); }
.final p:not(.eyebrow) { margin: 0.9rem 0 1.4rem; font-size: var(--step-1); }
.final__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: #02131f;
  color: rgb(255 255 255 / 0.72);
  padding: 3rem 0 1.5rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
}
.site-footer__brand img { width: 180px; height: auto; margin-bottom: 0.9rem; }
.site-footer__brand p { max-width: 28rem; }
.site-footer__title {
  margin-bottom: 0.7rem;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__list { display: grid; gap: 0.4rem; }
.site-footer__legal {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.88rem;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: space-between;
  margin-top: 1rem;
}

/* Bottom nav ------------------------------------------------------------- */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: calc(62px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgb(255 255 255 / 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
}
.bottom-nav .icon { width: 1.35rem; height: 1.35rem; }

/* WhatsApp widget -------------------------------------------------------- */

.wa-widget {
  position: fixed;
  right: 1rem;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.wa-fab {
  position: relative;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--wa-bright);
  color: var(--white);
  box-shadow: 0 12px 28px rgb(7 94 84 / 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .icon { width: 34px; height: 34px; margin: 0 auto; }
.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 22px;
  box-shadow: 0 0 0 2px var(--white);
}
.wa-widget.is-open .wa-badge { display: none; }
.wa-widget.is-deferred:not(.is-open) .wa-fab {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
}

.wa-panel {
  width: min(360px, calc(100vw - 1.5rem));
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 60px rgb(4 36 58 / 0.28);
  transform-origin: bottom right;
}
.wa-panel[hidden] { display: none; }
.wa-widget.is-open .wa-panel { animation: panel-in 0.28s ease; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.wa-panel__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 0.85rem;
  background: linear-gradient(100deg, var(--whatsapp-deep), #128c7e);
  color: var(--white);
}
.wa-panel__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
}
.wa-panel__avatar .icon { width: 1.3rem; height: 1.3rem; }
.wa-panel__name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.wa-panel__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.88);
}
.wa-panel__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.wa-panel__close:hover { background: rgb(255 255 255 / 0.12); }
.wa-panel__body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0.9rem 1.1rem;
  background-color: #efeae2;
  background-image: radial-gradient(rgb(7 94 84 / 0.05) 0.6px, transparent 0.6px);
  background-size: 12px 12px;
}
.wa-bubble {
  max-width: 92%;
  padding: 0.65rem 0.75rem 0.4rem;
  border-radius: 0 14px 14px 14px;
  background: var(--white);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.06);
}
.wa-bubble p { color: #1f2a28; font-size: 0.95rem; }
.wa-bubble time {
  display: block;
  margin-top: 0.25rem;
  text-align: right;
  color: #8b9794;
  font-size: 0.72rem;
}
.wa-panel__footer { padding: 0.85rem; }
.wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  border-radius: 999px;
  background: var(--wa-bright);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}
.wa-cta:hover { background: #1ebe5d; color: var(--white); }
.wa-micro {
  margin-top: 0.55rem;
  text-align: center;
  color: #7d8a90;
  font-size: 0.78rem;
}
.wa-micro a { color: var(--whatsapp-deep); font-weight: 700; }

/* Legal ------------------------------------------------------------------ */

.legal { padding: 2.5rem 0 4rem; background: var(--white); }
.legal__inner { max-width: 44rem; display: grid; gap: 0.8rem; }
.legal h1 { margin-bottom: 0.3rem; }
.legal h2 { margin-top: 1rem; font-size: var(--step-2); }

/* Breakpoints ------------------------------------------------------------ */

@media (max-width: 860px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .site-nav { display: none; }
  .hero__pill--top { left: 0; }
  .hero__pill--bottom { right: 0; }
}

@media (min-width: 720px) {
  .diff__grid { grid-template-columns: 1fr 1fr; }
  .care__grid { grid-template-columns: repeat(4, 1fr); }
  .units__grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
}

@media (min-width: 861px) {
  .bottom-nav { display: none; }
  .wa-widget { bottom: 1.25rem; right: 1.25rem; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .family__grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .removal__grid { grid-template-columns: auto 1fr; gap: 2.5rem; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
}

@media (min-width: 1040px) {
  .treatment__grid { grid-template-columns: 0.8fr 1fr 1.15fr; }
  .units__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
