/* ============================================================
   VERDADEIRO CUIDADO — style.css
   Tema: azul saúde & bem-estar (navy + azure + acento mint/teal)
   Tipografia: Bricolage Grotesque (títulos) + Mulish (texto)
   ============================================================ */

:root {
  /* Azuis */
  --blue-900: #0a2c4d;
  --blue-800: #0d3b66;
  --blue-700: #12507f;
  --blue-600: #1a6aa3;
  --blue-500: #2489c6;
  --blue-400: #4aa8dd;
  --blue-200: #b9def0;
  --blue-100: #e2f0f8;
  --blue-50:  #f0f7fb;

  /* Acento saúde (mint/teal) */
  --teal:      #14b8a6;
  --teal-600:  #0f9e8e;
  --teal-100:  #d5f3ee;

  /* CTA (azul vivo, alto contraste) */
  --cta:       #1a8fd1;
  --cta-600:   #1477b3;

  /* Neutros */
  --paper:  #ffffff;
  --mist:   #f4f9fc;
  --mist-2: #e9f2f8;
  --ink:    #17293a;
  --ink-soft: #4d6373;
  --line:   #dde9f1;

  /* Tipografia (iguais à Puro Cuidado) */
  --display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --sans:    "Figtree", system-ui, -apple-system, sans-serif;

  /* Estrutura */
  --wrap: 1180px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 12px rgba(13,59,102,.07);
  --shadow: 0 18px 40px -18px rgba(13,59,102,.28);
  --shadow-lg: 0 40px 80px -30px rgba(10,44,77,.42);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* ---------- Tipografia utilitária ---------- */
.overline {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 15px;
}
.overline__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-100); }
.section__head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-family: var(--display); font-weight: 600; line-height: 1.08;
  font-size: clamp(1.9rem, 1rem + 3vw, 3rem);
  letter-spacing: -.02em; color: var(--blue-900);
}
.section__sub { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }
.note-inline { font-size: .95rem; font-style: italic; opacity: .85; }

.section { padding: clamp(62px, 7vw, 110px) 0; }

/* ---------- Botões ---------- */
.btn {
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 100px; font-weight: 700; font-size: .98rem;
  line-height: 1; white-space: nowrap; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  color: var(--btn-fg);
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(180deg, var(--cta), var(--cta-600)); box-shadow: 0 12px 24px -10px rgba(26,143,209,.75); }
.btn--primary:hover { box-shadow: 0 18px 32px -10px rgba(26,143,209,.85); }
.btn--dark { background: var(--blue-800); }
.btn--dark:hover { background: var(--blue-900); }
.btn--ghost { background: transparent; color: var(--blue-800); box-shadow: inset 0 0 0 1.6px var(--blue-200); }
.btn--ghost:hover { background: var(--blue-100); }
.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { background: var(--blue-900); color: #cfe3f2; font-size: .85rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__msg { display: flex; align-items: center; gap: 9px; }
.topbar__msg strong { color: #fff; }
.topbar__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; }
.topbar__phone svg { width: 15px; height: 15px; fill: var(--teal); }
.topbar__phone:hover { color: var(--blue-200); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20,184,166,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(20,184,166,.55)} 70%{box-shadow:0 0 0 9px rgba(20,184,166,0)} 100%{box-shadow:0 0 0 0 rgba(20,184,166,0)} }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,249,252,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.92); }
.header__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo { height: 56px; width: auto; display: block; }
.footer__brand .brand__logo { height: 70px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 22px; height: 22px; fill: var(--teal); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.28rem; color: var(--blue-900); letter-spacing: -.01em; }
.brand__name span { color: var(--teal-600); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: var(--teal); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { padding: 9px 14px; border-radius: 100px; font-weight: 600; font-size: .96rem; color: var(--blue-800); transition: background .2s, color .2s; }
.nav > a:hover { background: var(--blue-100); }
.nav__cta { background: var(--blue-800); color: #fff !important; margin-left: 8px; }
.nav__cta:hover { background: var(--blue-900) !important; }

.nav-scrim { display: none; }
.nav__close, .nav__phone { display: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — vídeo full-bleed em toda a secção (estilo Puro Cuidado)
   ============================================================ */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(90vh, 820px); padding: clamp(56px, 8vh, 110px) 0;
  overflow: hidden; background: var(--blue-900); isolation: isolate;
}
/* Camada do vídeo de fundo (com folga vertical para parallax) */
.hero__bg { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
/* Fundo animado (fallback enquanto não há vídeo) */
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800) 45%, var(--teal-600));
  background-size: 260% 260%; animation: meshmove 12s ease infinite;
}
.hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
@keyframes meshmove { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* Overlay para legibilidade do texto */
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(8,34,60,.88) 0%, rgba(8,34,60,.66) 48%, rgba(8,34,60,.32) 100%),
    linear-gradient(0deg, rgba(8,34,60,.55), transparent 55%);
}

.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__copy { max-width: 660px; }

.hero .overline { color: #7fe8db; }
.hero .overline__dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.28); }

.hero__title {
  font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.05;
  font-size: clamp(2.4rem, 1rem + 5.4vw, 4rem); color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__title em { font-style: normal; color: #7fe8db; position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: rgba(20,184,166,.45); border-radius: 3px; z-index: -1;
}
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem); color: #d7e6f2; max-width: 34em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__reassure { display: flex; align-items: center; gap: 9px; margin-top: 20px; font-size: .92rem; color: #bcd6e8; }
.hero__reassure svg { flex: none; width: 18px; height: 18px; stroke: var(--teal); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__chips li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; color: #e6f1f8; }
.hero__chips svg {
  width: 18px; height: 18px; padding: 4px; box-sizing: content-box; flex: none;
  border-radius: 50%; background: rgba(20,184,166,.18);
  stroke: var(--teal); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* Indicador de scroll */
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 3px; background: #fff; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0%{opacity:0; transform:translateY(-4px)} 40%{opacity:1} 80%{opacity:0; transform:translateY(8px)} 100%{opacity:0} }

/* ============================================================
   SITUATION (consultative)
   ============================================================ */
.situ { background: var(--paper); }
.situ__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.situ__card {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.situ__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.situ__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: var(--blue-100); }
.situ__icon svg { width: 27px; height: 27px; stroke: var(--blue-600); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.situ__card h3 { font-family: var(--display); font-weight: 600; font-size: 1.28rem; color: var(--blue-900); margin-bottom: 10px; }
.situ__card p { color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(145deg, var(--teal), var(--blue-600));
  box-shadow: 0 12px 22px -10px rgba(20,132,163,.55);
}
.svc__icon svg { width: 27px; height: 27px; stroke: #fff; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon img { width: 30px; height: 30px; object-fit: contain; }
.svc h3 { font-family: var(--display); font-weight: 600; font-size: 1.16rem; color: var(--blue-900); margin-bottom: 7px; }
.svc p { color: var(--ink-soft); font-size: .95rem; }
.services__note { text-align: center; margin-top: 40px; color: var(--ink-soft); }
.services__note a { color: var(--cta); font-weight: 700; border-bottom: 1.5px solid var(--blue-100); }
.services__note a:hover { border-color: var(--cta); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--blue-800); color: #e6f1f8; position: relative; overflow: hidden; }
.how::before { content: ""; position: absolute; inset: auto -5% -30% auto; width: 42vw; height: 42vw; max-width: 480px; max-height: 480px; background: radial-gradient(circle, rgba(20,184,166,.22), transparent 60%); }
.how .overline { color: var(--teal); }
.how .overline__dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.25); }
.how .section__title { color: #fff; }
.how .section__sub { color: #b7d3e7; }
.how__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; }
.how__step {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg);
  padding: 30px 24px; position: relative; transition: background .3s, transform .3s var(--ease);
}
.how__step:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.how__num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff;
  background: linear-gradient(180deg, var(--teal), var(--teal-600)); margin-bottom: 18px; box-shadow: 0 10px 20px -8px rgba(20,184,166,.7);
}
.how__step h3 { font-family: var(--display); font-weight: 600; font-size: 1.22rem; color: #fff; margin-bottom: 9px; }
.how__step p { color: #b7d3e7; font-size: .96rem; }
.how__step p strong { color: #fff; }
.how__cta { text-align: center; margin-top: 44px; position: relative; z-index: 1; }

/* ============================================================
   WHY US
   ============================================================ */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.why__intro .section__title { text-align: left; }
.why__intro .btn { margin-top: 26px; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__item {
  display: flex; gap: 15px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); }
.why__ic svg { width: 24px; height: 24px; stroke: var(--blue-600); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--blue-900); margin-bottom: 5px; }
.why__item p { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust { background: var(--mist-2); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust__big { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 1rem + 4vw, 3.3rem); color: var(--cta); line-height: 1; letter-spacing: -.02em; }
.trust__lbl { display: block; margin-top: 10px; font-size: .92rem; color: var(--blue-800); font-weight: 600; }
.trust__badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 46px; }
.badge-slot { font-size: .82rem; color: var(--ink-soft); border: 1.5px dashed var(--blue-200); border-radius: 100px; padding: 8px 16px; background: rgba(255,255,255,.5); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--paper); }
.testi__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.testi__track { display: flex; transition: transform .5s var(--ease); }
.testi__card { flex: 0 0 100%; padding: 44px clamp(24px, 5vw, 72px); text-align: center; }
.testi__stars { color: #f5b301; letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 18px; }
.testi__card blockquote {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.4vw, 1.8rem);
  line-height: 1.4; color: var(--blue-900); max-width: 20em; margin-inline: auto;
}
.testi__card figcaption { margin-top: 22px; }
.testi__card figcaption strong { display: block; color: var(--blue-800); font-size: 1rem; }
.testi__card figcaption span { color: var(--ink-soft); font-size: .88rem; }
.testi__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.testi__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); border: 1px solid var(--line); transition: background .2s, transform .2s; }
.testi__arrow:hover { background: var(--blue-100); transform: scale(1.06); }
.testi__arrow svg { width: 20px; height: 20px; stroke: var(--blue-800); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.testi__dots { display: flex; gap: 9px; }
.testi__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-200); opacity: .6; transition: opacity .2s, width .3s, background .2s; }
.testi__dots button.is-active { opacity: 1; width: 26px; border-radius: 100px; background: var(--cta); }

/* ============================================================
   LEAD MAGNET
   ============================================================ */
.magnet__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: linear-gradient(150deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 64px); color: #e6f1f8;
  position: relative; overflow: hidden;
}
.magnet__grid::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(20,184,166,.22), transparent 60%); }
.magnet__copy { position: relative; z-index: 1; }
.magnet .overline { color: var(--teal); }
.magnet__copy .section__title { color: #fff; text-align: left; font-size: clamp(1.6rem, 1rem + 2vw, 2.2rem); }
.magnet__list { margin-top: 24px; display: grid; gap: 12px; }
.magnet__list li { display: flex; align-items: flex-start; gap: 11px; color: #cfe3f2; font-size: 1rem; }
.magnet__list svg { flex: none; width: 20px; height: 20px; stroke: var(--teal); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.magnet__form { position: relative; z-index: 1; background: var(--paper); border-radius: var(--radius); padding: 30px; color: var(--ink); box-shadow: var(--shadow-lg); }
.magnet__form h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--blue-900); margin-bottom: 18px; }
.magnet__ok { color: var(--teal-600); font-weight: 700; margin-top: 12px; }

/* ============================================================
   FIELDS
   ============================================================ */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .86rem; font-weight: 700; color: var(--blue-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(26,143,209,.14); }
.field input.invalid, .field select.invalid { border-color: #e0574f; box-shadow: 0 0 0 4px rgba(224,87,79,.12); }
.fineprint { font-size: .78rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ============================================================
   COVERAGE (mapa Google)
   ============================================================ */
.zona__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.zona__copy .section__title { text-align: left; }
.zona__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.zona__list li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 100px; background: var(--blue-100); color: var(--blue-800);
  font-weight: 700; font-size: .9rem;
}
.zona__list svg { width: 16px; height: 16px; stroke: var(--teal-600); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.zona__map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid var(--paper); background: var(--mist-2); aspect-ratio: 4 / 3;
}
.zona__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(1.05); }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contacto { background: var(--mist-2); }
.contacto__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.contacto__copy { position: sticky; top: 96px; }
.contacto__copy .section__title { text-align: left; }
.contacto__perks { margin: 26px 0; display: grid; gap: 12px; }
.contacto__perks li { display: flex; align-items: center; gap: 11px; color: var(--blue-800); font-weight: 600; }
.contacto__perks svg { flex: none; width: 20px; height: 20px; stroke: var(--teal); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contacto__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.contacto__alt span { width: 100%; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

.contacto__form { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 18px; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--cta); }
.consent .link { color: var(--cta); font-weight: 700; text-decoration: underline; }

.form__success { position: absolute; inset: 0; background: var(--paper); border-radius: var(--radius-lg); display: grid; place-content: center; text-align: center; padding: 40px; gap: 6px; animation: fadein .4s var(--ease); }
.form__success[hidden] { display: none; }
.form__success-ic { width: 68px; height: 68px; border-radius: 50%; background: var(--teal-100); display: grid; place-items: center; margin: 0 auto 8px; }
.form__success-ic svg { width: 34px; height: 34px; stroke: var(--teal-600); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.form__success h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--blue-900); }
.form__success p { color: var(--ink-soft); max-width: 28em; margin: 4px auto 16px; }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq__list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; background: var(--paper); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--blue-900); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2.4px; background: var(--teal); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { color: var(--ink-soft); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { background: linear-gradient(150deg, var(--blue-800), var(--blue-900)); color: #fff; padding: clamp(64px, 8vw, 110px) 0; text-align: center; position: relative; overflow: hidden; }
.finalcta::before { content: ""; position: absolute; inset: -40% auto auto 50%; transform: translateX(-50%); width: 720px; height: 720px; background: radial-gradient(circle, rgba(20,184,166,.16), transparent 60%); }
.finalcta__inner { position: relative; z-index: 1; max-width: 740px; margin-inline: auto; }
.finalcta__icon { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 20px; opacity: .95; }
.finalcta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1rem + 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.finalcta p { margin-top: 16px; color: #b7d3e7; font-size: 1.12rem; }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blue-900); color: #a9c6dc; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer__brand p { margin: 18px 0 20px; font-size: .95rem; max-width: 32ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--teal); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer__col h4 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; font-size: .93rem; transition: color .2s; }
.footer__col a:hover { color: var(--teal); }
.footer__contact a { display: flex; align-items: center; gap: 9px; }
.footer__contact svg, .footer__loc svg { flex: none; width: 18px; height: 18px; stroke: var(--teal); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer__loc { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .93rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer__bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; font-size: .85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: var(--teal); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta .btn--dark { flex: 0 0 52px; padding: 13px; }
.mobile-cta .btn--dark svg { fill: none; stroke: #fff; }

/* ============================================================
   MOTION SYSTEM
   Filosofia: suave e contemplativo. Nada abrupto.
   Curva longa, blur-in, stagger. Adequado a saúde & bem-estar.
   ============================================================ */

/* --- Scroll reveal com blur-in (premium, calmo) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.in { will-change: auto; }

/* --- Text reveal por palavras (hero) --- */
.word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word > i {
  display: inline-block; font-style: inherit;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.is-revealed .word > i { transform: translateY(0); }

/* --- Barra de progresso de scroll --- */
.scrollbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--blue-400));
  z-index: 200; transition: width .1s linear;
  box-shadow: 0 0 12px rgba(20,184,166,.5);
}

/* --- Parallax subtil (hero) --- */
.hero__bg { will-change: transform; }

/* --- Marquee de valores --- */
.marquee {
  overflow: hidden; background: var(--blue-900); padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--display); font-weight: 500; font-size: 1.02rem; color: #dcecf7;
  white-space: nowrap; letter-spacing: .01em;
}
.marquee__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* --- Sheen nos cartões (hover cinematográfico) --- */
.svc, .situ__card, .why__item { position: relative; overflow: hidden; }
.svc::after, .situ__card::after, .why__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.svc:hover::after, .situ__card:hover::after, .why__item:hover::after { transform: translateX(120%); }

/* --- Botões magnéticos + brilho --- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::before { transform: translateX(120%); }

/* --- Contadores --- */
.trust__big { font-variant-numeric: tabular-nums; display: inline-block; }
.trust__item.in .trust__big { animation: statpop .7s var(--ease) both; }
@keyframes statpop {
  0%   { transform: scale(.6);  opacity: 0; }
  55%  { transform: scale(1.12); }
  100% { transform: scale(1);   opacity: 1; }
}
/* linha de acento que cresce por baixo de cada número */
.trust__item { position: relative; }
.trust__big::after {
  content: ""; display: block; height: 3px; width: 0; margin: 12px auto 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--blue-400));
  transition: width .8s var(--ease) .3s;
}
.trust__item.in .trust__big::after { width: 42px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---- Tablet ---- */
@media (max-width: 1000px) {
  .how__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .services__grid, .situ__grid { grid-template-columns: repeat(2, 1fr); }
  .brand__logo { height: 50px; }
  .footer__brand .brand__logo { height: 62px; }
}
@media (max-width: 960px) {
  .why__grid, .zona__grid, .contacto__grid, .magnet__grid { grid-template-columns: 1fr; }
  .contacto__copy { position: static; }
  .why__intro .section__title, .zona__copy .section__title { text-align: center; }
  .why__intro { text-align: center; }
  .why__intro .btn { margin-inline: auto; }
  .zona__copy { text-align: center; }
  .zona__list { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
/* ---- Mobile ---- */
@media (max-width: 760px) {
  /* Menu off-canvas (drawer) */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 16px 24px calc(26px + env(safe-area-inset-bottom));
    gap: 0; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .38s var(--ease); z-index: 99; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 98; background: rgba(8,34,60,.5); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .nav-scrim.open { opacity: 1; visibility: visible; }

  /* Botão fechar */
  .nav__close { display: inline-flex; align-self: flex-end; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--mist); margin-bottom: 6px; transition: background .2s; }
  .nav__close:hover { background: var(--blue-100); }
  .nav__close svg { width: 22px; height: 22px; stroke: var(--blue-900); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

  /* Links como lista com divisórias + chevron */
  .nav > a:not(.nav__cta):not(.nav__phone) {
    display: flex; align-items: center; justify-content: space-between;
    padding: 17px 4px; font-size: 1.12rem; font-weight: 600; color: var(--blue-900);
    border-bottom: 1px solid var(--line); border-radius: 0; background: none;
  }
  .nav > a:not(.nav__cta):not(.nav__phone):hover { background: none; color: var(--cta); }
  .nav > a:not(.nav__cta):not(.nav__phone)::after {
    content: ""; width: 9px; height: 9px; border-right: 2px solid var(--blue-400);
    border-top: 2px solid var(--blue-400); transform: rotate(45deg); transition: transform .2s;
  }
  .nav > a:not(.nav__cta):not(.nav__phone):hover::after { transform: rotate(45deg) translate(2px, -2px); }

  /* CTA + telefone no fundo */
  .nav__cta { margin: 22px 0 0; text-align: center; padding: 16px; }
  .nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; padding: 14px; border-radius: 100px; font-weight: 700; color: var(--blue-800); background: var(--blue-100); }
  .nav__phone svg { width: 18px; height: 18px; fill: var(--blue-700); }
  .nav__phone:hover { background: var(--blue-200); }

  .burger { display: flex; }

  /* Grelhas para 1 coluna */
  .situ__grid, .services__grid, .how__steps, .why__list, .form__row { grid-template-columns: 1fr; }

  /* Cartões centrados no telemóvel */
  .svc, .situ__card, .how__step { text-align: center; }
  .svc__icon, .situ__icon, .how__num { margin-inline: auto; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .section__head { text-align: center; margin-bottom: 40px; }
  .section__sub { font-size: 1rem; }

  /* Header / topbar */
  .header__row { min-height: 64px; }
  .brand__logo { height: 46px; }
  .topbar { font-size: .8rem; }
  .topbar__msg { font-size: .76rem; }
  /* IMPORTANTE: sem backdrop-filter no mobile, senão o menu fixed fica preso dentro do header */
  .header, .header.is-stuck {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: var(--mist); box-shadow: var(--shadow-sm); border-color: var(--line);
  }

  /* Barra CTA fixa + espaço no fundo */
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }

  /* HERO — compacto no mobile */
  .hero { min-height: auto; padding: 30px 0 38px; }
  /* overlay mais leve para o VÍDEO SE VER, com sombra no texto a garantir leitura */
  .hero__overlay { background: linear-gradient(180deg, rgba(8,34,60,.58) 0%, rgba(8,34,60,.32) 45%, rgba(8,34,60,.68) 100%); }
  .hero__title { text-shadow: 0 2px 18px rgba(0,20,40,.7); }
  .hero__lead, .hero__reassure { text-shadow: 0 1px 12px rgba(0,20,40,.85); }
  .hero__chips li { text-shadow: 0 1px 10px rgba(0,20,40,.9); }
  .hero__copy { max-width: 100%; }
  .hero .overline { font-size: .72rem; letter-spacing: .07em; margin-bottom: 13px; }
  .hero__title { line-height: 1.13; }
  .hero__lead { margin-top: 15px; font-size: 1rem; line-height: 1.55; }
  .hero__actions { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 11px; }
  .hero__actions .btn { width: 100%; }
  .hero__reassure { margin-top: 15px; font-size: .85rem; }
  .hero__chips { flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 18px; padding-top: 18px; }
  .hero__chips li { font-size: .92rem; }
  .hero__scroll { display: none; }

  /* Botões de secção a toda a largura (mais fáceis de tocar) */
  .how__cta .btn, .why__intro .btn, .zona__copy .btn,
  .finalcta__actions .btn, .contacto__alt .btn { width: 100%; }
  .finalcta__actions { flex-direction: column; }
  .contacto__alt { flex-direction: column; align-items: stretch; }

  /* Marquee mais compacto */
  .marquee { padding: 13px 0; }
  .marquee__track { gap: 20px; }
  .marquee__track span { font-size: .9rem; }

  /* Testemunhos */
  .testi__card { padding: 34px 20px; }

  /* Rodapé */
  .footer__grid { gap: 28px; }
  .footer__bottom-row { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer__legal { justify-content: center; gap: 14px 20px; }
}

/* ---- Telemóveis pequenos ---- */
@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  .section { padding: 54px 0; }
  .hero__title { font-size: clamp(1.6rem, 1rem + 4.2vw, 1.95rem); line-height: 1.16; }
  .hero__lead { font-size: .96rem; margin-top: 14px; }
  .section__title { font-size: clamp(1.7rem, 1rem + 5vw, 2.1rem); }
  .btn--lg { padding: 15px 22px; font-size: 1rem; }
  .trust__grid { gap: 26px 14px; }
  .zona__map { aspect-ratio: 4 / 3.4; }
  .magnet__form { padding: 24px; }
  .contacto__form { padding: 22px; }
  .faq__item summary { padding: 18px 18px; font-size: 1.02rem; }
  .faq__body { padding: 0 18px 20px; }
  .topbar__extra { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .mobile-cta .btn--primary { font-size: .92rem; }
  .btn--lg { padding: 14px 18px; }
  .hero__lead { font-size: .94rem; }
}

/* ============================================================
   FEEDBACK AO TOQUE (ecrãs táteis não têm hover)
   O equivalente mobile do hover: reação ao carregar.
   ============================================================ */
@media (hover: none) {
  .btn { transition: transform .12s var(--ease), box-shadow .25s var(--ease), background .2s; }
  .btn:active { transform: scale(.96); }
  .btn--primary:active { box-shadow: 0 6px 14px -6px rgba(26,143,209,.9); }

  .svc:active, .situ__card:active, .why__item:active {
    transform: translateY(-3px) scale(.995); box-shadow: var(--shadow); border-color: transparent;
  }
  .svc:active::before { transform: scaleX(1); }

  .faq__item summary:active { background: var(--blue-100); }
  .nav > a:active { background: var(--blue-100); }
  .testi__arrow:active { background: var(--blue-100); transform: scale(.92); }
  .zona__list li:active { background: var(--blue-200); }
  .footer__col a:active, .footer__legal a:active { color: var(--teal); }
  .footer__social a:active { background: var(--teal); }
  .nav__close:active { background: var(--blue-100); }
  .nav__phone:active { background: var(--blue-200); }

  /* remove o realce azul feio do iOS ao tocar */
  a, button, summary { -webkit-tap-highlight-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  /* Nota: a faixa (marquee) fica SEMPRE a rolar, por decisão do cliente. */
  .pulse, .hero__bg::before, .hero__scroll span,
  .zona__pin span::after { animation: none !important; }
  html { scroll-behavior: auto; }
  /* fade sem movimento: acessível, mas o site não fica morto */
  .reveal { opacity: 0; transform: none; filter: none; transition: opacity .6s ease; }
  .reveal.in { opacity: 1; }
  .word > i { transform: none; transition: none; }
  .trust__item.in .trust__big { animation: none; }
  .svc::after, .situ__card::after, .why__item::after, .btn--primary::before { display: none; }
  .scrollbar { display: none; }
}

:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 6px; }
