/* =========================================================
   Luana Amaral — Biomédica Esteta
   Estrutura no estilo do site da Nádia Fadel (formas orgânicas,
   cartões flutuantes, botões arredondados, faixas escuras) com a
   paleta própria da Luana: off-white quente + verde-teal/jade.
   Spectral (títulos) + Hanken Grotesk (texto), auto-hospedadas.
   ========================================================= */

:root {
  /* Grounds */
  --paper: #FAF8F5;
  --paper-deep: #F2EEE7;
  --white: #FFFFFF;
  --sand: #E8DCC8;
  --sand-deep: #C9B79A;

  /* Ink — deep teal instead of black */
  --ink: #0E3B38;
  --ink-soft: #1F4F4B;
  --text: #4F5E5B;
  --line: rgba(14, 59, 56, 0.1);

  /* Accent — the Luana teal/jade family */
  --teal-700: #115E59;
  --teal-600: #0F766E;
  --teal-500: #14B8A6;
  --teal-100: #D2F0EC;
  --teal-50: #ECF8F6;

  /* Dark bands */
  --deep: #0E3B38;
  --deep-2: #115E59;
  --footer: #0B2E2B;
  --on-deep: #FAF8F5;
  --on-deep-soft: #9FD8CF;

  --whatsapp: #25D366;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 36px 60px -28px rgba(14, 59, 56, 0.28);
  --shadow-soft: 0 20px 40px -16px rgba(14, 59, 56, 0.22);
  --shadow-photo: 0 40px 70px -25px rgba(14, 59, 56, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
address { font-style: normal; }

::selection { background: var(--teal-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--teal-600) var(--paper-deep); }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: 12px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 48px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal-500); transform: rotate(45deg); flex-shrink: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--on-deep-soft); }
.eyebrow--light::before { background: var(--on-deep-soft); }

/* ---------- Buttons (pill, like the reference) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  border-radius: 999px; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn--primary {
  background: var(--ink); color: var(--paper);
  padding: 14px 30px;
  box-shadow: 0 8px 24px -10px rgba(14, 59, 56, 0.45);
}
.btn--primary:hover { background: var(--teal-700); transform: translateY(-3px); box-shadow: 0 14px 32px -8px rgba(14, 59, 56, 0.5); }
.btn--accent {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #fff;
  padding: 16px 36px; font-size: 15px;
  box-shadow: 0 10px 28px -8px rgba(15, 118, 110, 0.55);
}
.btn--accent:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px -8px rgba(15, 118, 110, 0.65); }
.btn--outline { border: 1.4px solid var(--ink); color: var(--ink); padding: 13px 28px; }
.btn--outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn--lg { padding: 17px 38px; font-size: 15.5px; }
.btn--nav { padding: 11px 24px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-500), var(--ink));
}
.logo__mark svg { width: 20px; height: 20px; }
.logo__mark--light { background: linear-gradient(135deg, var(--teal-100), var(--teal-500)); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.logo__role { font-size: 12px; font-weight: 500; color: var(--teal-600); margin-top: 2px; }
.logo--light .logo__name { color: var(--on-deep); }
.logo--light .logo__role { color: var(--on-deep-soft); }

.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a { position: relative; padding: 4px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--teal-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.ham { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin-right: -10px; z-index: 201; }
.ham span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.ham[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ham[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 80px;
}
.bg-shape { position: absolute; pointer-events: none; z-index: 0; }
.hero__shape { top: -10%; right: -12%; width: 62%; height: 120%; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; width: 100%; }
.hero__copy .eyebrow { margin-bottom: 18px; }
.hero__copy h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); line-height: 1.14; letter-spacing: -0.015em; margin-bottom: 26px; }
.hero__copy h1 em, .about__copy h2 em { font-style: italic; color: var(--teal-600); font-weight: 500; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text); max-width: 480px; margin-bottom: 38px; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); }
.hero__note svg { width: 16px; height: 16px; }
.hero__stats { display: flex; gap: 0; margin-top: 52px; }
.hero__stats > div { padding: 4px 32px; border-left: 1px solid var(--line); }
.hero__stats > div:first-child { padding-left: 0; border-left: 0; }
.hero__stats dt { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.hero__stats dd { font-size: 12.5px; color: var(--text); margin-top: 2px; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.photo-frame { position: relative; width: 100%; max-width: 420px; }
.photo-frame__blob { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); z-index: 0; }
/* Soft offset "ring": a paler copy of the oval, tilted behind the photo */
.photo-frame::before {
  content: ""; position: absolute; z-index: 1;
  inset: -4% -3% -6% -9%;
  border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%;
  background: rgba(20, 184, 166, 0.2);
  transform: rotate(-9deg);
}
.photo-frame__wrap {
  position: relative; z-index: 2; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 38% 62% 58% 42% / 48% 42% 58% 52%;
  box-shadow: var(--shadow-photo);
  background: var(--teal-50);
  animation: ovalDrift 14s ease-in-out infinite;
}
.photo-frame__wrap picture, .about__frame picture { display: block; height: 100%; }
.photo-frame__wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@keyframes ovalDrift {
  0%, 100% { border-radius: 38% 62% 58% 42% / 48% 42% 58% 52%; transform: translateY(0); }
  50% { border-radius: 44% 56% 52% 48% / 44% 48% 52% 56%; transform: translateY(-6px); }
}

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  animation: floaty 6s ease-in-out infinite;
}
.float-card--1 { top: 6%; left: -14%; }
.float-card--2 { bottom: 10%; right: -12%; animation-delay: 1.4s; }
.float-card__ic { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); }
.float-card__ic svg { width: 19px; height: 19px; }
.float-card strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.float-card small { display: block; font-size: 11.5px; color: var(--text); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section-pad { padding: 130px 0; }
.section-pad-sm { padding: 90px 0; }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.2; margin-top: 16px; }
.section-head p { font-size: 16.5px; line-height: 1.65; color: var(--text); margin-top: 18px; }

/* ---------- Sobre ---------- */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.about__photo { position: relative; }
.about__photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--teal-500); border-radius: 28px; z-index: 0;
}
.about__frame { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 50px 90px -35px rgba(14, 59, 56, 0.4); }
.about__frame img { width: 100%; height: 540px; object-fit: cover; object-position: 50% 30%; }
.badge-exp {
  position: absolute; z-index: 2; bottom: -28px; left: -28px;
  display: flex; flex-direction: column;
  background: var(--deep); color: var(--on-deep);
  border-radius: 20px; padding: 22px 26px;
  box-shadow: 0 24px 48px -20px rgba(14, 59, 56, 0.5);
}
.badge-exp__n { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; }
.badge-exp__l { font-size: 12.5px; color: var(--on-deep-soft); margin-top: 6px; line-height: 1.4; }
.about__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.2; margin: 16px 0 24px; }
.about__copy > p { font-size: 16.5px; line-height: 1.8; color: var(--text); margin-bottom: 18px; max-width: 58ch; }
.about__copy .quote-line {
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--ink);
  margin: 30px 0; padding-left: 24px; border-left: 2px solid var(--teal-500);
}
.about__cta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Diferenciais ---------- */
.approaches { position: relative; overflow: hidden; background: var(--paper-deep); }
.wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; pointer-events: none; }
.approaches .container { position: relative; z-index: 2; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.approach-card {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: 22px; padding: 36px 28px;
  box-shadow: 0 2px 0 rgba(14, 59, 56, 0.04);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.approach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.icon-wrap {
  width: 58px; height: 58px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-700);
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.icon-wrap svg { width: 26px; height: 26px; }
.approach-card .icon-wrap { margin-bottom: 24px; }
.approach-card:hover .icon-wrap { background: var(--ink); color: var(--teal-100); transform: rotate(-6deg) scale(1.05); }
.approach-card h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 12px; }
.approach-card p { font-size: 14.5px; line-height: 1.65; color: var(--text); }

/* ---------- Procedimentos ---------- */
.services { background: var(--white); }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 24px; padding: 40px;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(14, 59, 56, 0.3); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--teal-700); background: var(--teal-100);
  padding: 6px 14px; border-radius: 999px;
}
.service-card h3 { font-size: 24px; margin-bottom: 12px; }
.service-card__desc { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 24px; }
.checklist {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 0; margin-bottom: 28px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  flex: 1;
}
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text); line-height: 1.5; }
.checklist svg { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }
.checklist strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }

/* Wide procedure cards: content column + media/list column */
.service-card--wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.service-card__body { display: flex; flex-direction: column; }
.service-card--wide .checklist { flex: none; }
.service-card--list { align-items: center; }
.checklist--side { margin: 0; padding: 8px 0; border-top: 0; border-bottom: 0; gap: 0; }
.checklist--side li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist--side li:first-child { padding-top: 0; }
.checklist--side li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Before/after viewer */
.results { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.results__title { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.results__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.results__tab {
  min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.results__tab:hover { border-color: var(--teal-500); color: var(--ink); }
.results__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ba { margin: 0; }
.ba[hidden] { display: none; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba__img { position: relative; border-radius: 14px; overflow: hidden; background: var(--teal-50); aspect-ratio: 4 / 3; }
.ba__img picture, .ba__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba__label {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ba__img + .ba__img .ba__label { background: var(--ink); color: var(--paper); }
.ba figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--text); }
.ba figcaption strong { color: var(--ink); font-weight: 600; }
.results__note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-deep); }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.3s; }
.faq__item.is-open { border-color: var(--teal-500); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq__arrow {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--teal-100); color: var(--ink);
  transition: background 0.3s, color 0.3s;
}
.faq__arrow svg { width: 13px; height: 13px; transition: transform 0.35s var(--ease); }
.faq__item.is-open .faq__arrow { background: var(--ink); color: var(--paper); }
.faq__item.is-open .faq__arrow svg { transform: rotate(180deg); }
.faq__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s; }
.faq__body > p { overflow: hidden; min-height: 0; padding: 0 28px; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.faq__item.is-open .faq__body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.45s var(--ease), visibility 0s; }
.faq__item.is-open .faq__body > p { padding-bottom: 24px; }

/* ---------- Compromisso (dark band) ---------- */
.trust { position: relative; overflow: hidden; background: var(--deep); }
.trust__shape { top: -30%; right: -15%; width: 50%; height: 160%; opacity: 0.5; }
.trust__inner { position: relative; z-index: 2; text-align: left; padding-left: clamp(0px, 8vw, 110px); }
.trust__mark {
  position: absolute; left: 0; top: -0.35em;
  font-family: var(--serif); font-size: clamp(90px, 12vw, 150px); line-height: 1;
  color: var(--teal-500); opacity: 0.55;
}
.trust__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.5;
  color: var(--on-deep); max-width: 820px; margin: 22px 0 28px;
}
.trust__meta { font-size: 14px; font-weight: 500; color: var(--on-deep-soft); }

/* ---------- Contato ---------- */
.contact { background: var(--paper-deep); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-card { background: var(--white); border-radius: 26px; padding: 46px 42px; box-shadow: 0 40px 70px -35px rgba(14, 59, 56, 0.25); }
.contact-card h3 { font-size: 26px; margin-bottom: 28px; }
.contact-row { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.contact-row__ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); }
.contact-row__ic svg { width: 20px; height: 20px; }
.contact-row__ttl { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.contact-row__val { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.contact-row__link { color: var(--teal-600); font-weight: 600; transition: color 0.3s; }
.contact-row__link:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.contact-card__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.map-frame {
  position: relative; min-height: 480px;
  border-radius: 26px; overflow: hidden;
  background: var(--teal-50);
  box-shadow: 0 40px 70px -35px rgba(14, 59, 56, 0.25);
}
.map-frame__fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 2rem; text-align: center; color: var(--text);
}
.map-frame__fallback svg { width: 30px; height: 30px; color: var(--teal-700); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85) sepia(0.06); }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--deep) 0%, var(--deep-2) 100%); }
.final-cta__shape { top: -40%; right: -10%; width: 40%; height: 180%; opacity: 0.22; }
.final-cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { color: var(--on-deep); font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.2; max-width: 22ch; margin: 0 0 14px; }
.final-cta p { color: var(--on-deep-soft); font-size: 17px; max-width: 520px; }
.final-cta .btn--accent { background: linear-gradient(135deg, var(--teal-100), #FFFFFF); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(4, 24, 22, 0.45); }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--on-deep); padding: 80px 0 112px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(250, 248, 245, 0.66); max-width: 320px; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(250, 248, 245, 0.08); color: var(--on-deep);
  border: 1px solid rgba(250, 248, 245, 0.14);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--teal-500); color: var(--footer); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer h4 { font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--on-deep-soft); margin-bottom: 20px; }
.footer ul { display: flex; flex-direction: column; gap: 13px; }
.footer ul a { font-size: 14px; line-height: 1.6; color: rgba(250, 248, 245, 0.78); transition: color 0.3s; }
.footer ul a:hover { color: var(--on-deep-soft); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 30px; border-top: 1px solid rgba(250, 248, 245, 0.12);
  font-size: 13px; color: rgba(250, 248, 245, 0.6);
}

/* ---------- Blog: cards (homepage teaser, blog index, related) ---------- */
.home-blog { background: var(--white); }
.home-blog__all { text-align: center; margin-top: 44px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-grid--two { grid-template-columns: repeat(2, 1fr); }
.post-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.post-card h2, .post-card h3 { font-size: 21px; line-height: 1.3; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { font-size: 14.5px; line-height: 1.65; color: var(--text); flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--teal-600); }
.post-card__more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }
.post-card:focus-within { outline: 2px solid var(--teal-600); outline-offset: 3px; }
.post-card a:focus-visible { outline: none; }

/* ---------- Blog: index page ---------- */
.blog-hero { padding: 150px 0 20px; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; max-width: 20ch; margin: 16px 0 20px; }
.blog-hero .lead { margin-bottom: 0; }
.blog-list { padding-top: 40px; }

/* ---------- Blog: article ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); margin-bottom: 28px; }
.breadcrumb a { color: var(--teal-600); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article { padding: 150px 0 40px; }
.article__container { max-width: 780px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.15; margin: 16px 0 18px; }
.article__meta { font-size: 14px; color: var(--text); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.prose { padding-top: 32px; font-size: 17.5px; line-height: 1.8; color: var(--ink-soft); }
.prose > p:first-child { font-size: 19px; color: var(--ink); }
.prose p { margin-bottom: 22px; max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.25; margin: 44px 0 16px; }
.prose ul { margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 24px; max-width: 64ch; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; background: var(--teal-500); transform: rotate(45deg); }
.prose strong { color: var(--ink); font-weight: 600; }
.article-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 48px; padding: 34px 36px; border-radius: 24px;
  background: linear-gradient(150deg, var(--deep), var(--deep-2));
}
.article-cta h2 { color: var(--on-deep); font-size: 24px; line-height: 1.25; margin-bottom: 8px; }
.article-cta p { color: var(--on-deep-soft); font-size: 15px; }
.article-cta .btn--accent { flex-shrink: 0; background: linear-gradient(135deg, var(--teal-100), #FFFFFF); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(4, 24, 22, 0.45); }
.article__note { margin-top: 24px; font-size: 13.5px; color: var(--text); }
.related { background: var(--paper-deep); }
.related__title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 28px; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float { position: fixed; right: 28px; bottom: 28px; z-index: 150; }
.whatsapp-float a {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 16px; border-radius: 999px;
  background: var(--whatsapp); color: #fff;
  font-size: 14.5px; font-weight: 600;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-float a:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -6px rgba(37, 211, 102, 0.6); }
.whatsapp-float svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ---------- Motion ----------
   Content is visible by default; JS arms .reveal-pending only once the
   observer is wired, so a script failure never hides anything. */
.hero-in { animation: heroIn 0.9s var(--ease) 0.1s both; }
.hero-in--zoom { animation: heroInZoom 1s var(--ease) 0.25s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroInZoom { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }
.reveal.reveal-pending { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.reveal-pending.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 24px; }
  .nav__links a { font-size: 14px; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav__links, .btn--nav { display: none; }
  .ham { display: flex; }

  .hero { min-height: 0; padding: 110px 0 70px; }
  .hero__shape { width: 110%; right: -45%; top: 30%; height: 80%; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__visual { flex-direction: column; align-items: center; }
  .photo-frame { max-width: 320px; }
  .float-card--1 { left: -8%; top: 4%; }
  .float-card--2 { right: -6%; bottom: 6%; }
  .lead { font-size: 16px; }
  .hero__stats { gap: 28px; margin-top: 44px; }

  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__frame img { height: 420px; }
  .badge-exp { left: 16px; bottom: -24px; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-template-columns: 1fr; gap: 28px; }
  .map-frame { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .post-grid, .post-grid--two { grid-template-columns: 1fr; }
  .blog-hero, .article { padding-top: 120px; }
  .article-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .prose { font-size: 16.5px; }
  .prose > p:first-child { font-size: 17.5px; }

  .section-pad { padding: 84px 0; }
  .section-pad-sm { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }

  .whatsapp-float { right: 18px; bottom: 18px; }
  .whatsapp-float a { width: 56px; padding: 0; justify-content: center; }
  .whatsapp-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .final-cta__inner { flex-direction: column; align-items: flex-start; }
  .about__photo::before { inset: 16px -12px -16px 16px; }
}

@media (max-width: 600px) {
  .hero__copy h1 { font-size: 30px; }
  .hero__cta { gap: 18px; }
  .hero__cta .btn, .contact-card__cta .btn { width: 100%; padding-inline: 20px; }
  .hero__stats > div { padding: 4px 16px; }
  .hero__stats dt { font-size: 28px; }
  .float-card { padding: 12px 14px; border-radius: 14px; }
  .float-card--1 { left: -4%; }
  .float-card--2 { right: -4%; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 24px; }
  .results { padding: 16px; }
  .ba__pair { gap: 8px; }
  .results__tab { padding: 8px 13px; font-size: 13px; }
  .contact-card { padding: 32px 24px; }
  .contact-card__cta .btn { width: 100%; }
  .faq__btn { padding: 20px 20px; }
  .faq__body > p { padding: 0 20px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
