/* =========================================================
   Luciane Sampaio — Enfermagem
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #20668D;
  --blue-dark: #123E57;
  --blue-light: #B3DCF3;
  --blue-bg: #EAF5FB;
  --coral: #C9474D;        /* botões (contraste AA com texto branco) */
  --coral-hover: #B23C42;
  --coral-bright: #DB545A; /* detalhes decorativos */
  --text: #1F2A30;
  --muted: #5B6B74;
  --white: #fff;
  --wa: #25D366;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(18, 62, 87, .10);
  --shadow-lg: 0 18px 44px rgba(18, 62, 87, .18);
  --header-h: 84px;
  --header-h-s: 64px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; color: var(--blue); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: var(--header-h-s); }

:focus-visible { outline: 3px solid var(--coral-bright); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue-dark); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.overline {
  font-family: var(--font-body); font-weight: 600; font-size: .8125rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--coral); margin-bottom: .75rem;
}
.lead { font-style: italic; font-size: 1.125rem; color: var(--muted); max-width: 60ch; }

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .875rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--coral); border: 2px solid var(--coral);
  padding: 14px 30px; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--coral-hover); border-color: var(--coral-hover); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(201, 71, 77, .35); }
.btn:active { transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(32, 102, 141, .3); }
.btn--sm { padding: 10px 22px; font-size: .8125rem; }
.btn--lg { padding: 17px 40px; font-size: .9375rem; }
.btn--block { width: 100%; }

/* ---------- 4. Barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--coral-bright); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: transparent; transition: background-color .3s, box-shadow .3s, height .3s var(--ease);
}
.header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 4px 20px rgba(18, 62, 87, .10); height: var(--header-h-s); }
@supports (backdrop-filter: blur(8px)) { .header.is-scrolled { backdrop-filter: blur(10px); } }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 44px; height: 44px; transition: transform .3s var(--ease); }
.header.is-scrolled .logo__mark { transform: scale(.88); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; color: var(--blue); }
.logo__sub { font-size: .625rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: var(--blue-light); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative; display: block; padding: 8px 12px; text-decoration: none; color: var(--text);
  font-weight: 600; font-size: .9375rem; transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--coral-bright);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; z-index: 130; }
.burger__line { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger__line:nth-child(1) { top: 16px; }
.burger__line:nth-child(2) { top: 22px; }
.burger__line:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 125; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--white); padding: 90px 20px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-16px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: center; gap: 4px; }
  .nav__link { font-family: var(--font-head); font-weight: 500; font-size: 1.75rem; padding: 10px 16px; }
  .nav__link::after { left: 16px; right: 16px; }
  .nav .btn { padding: 15px 34px; font-size: .875rem; }
}
body.menu-open { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: clip; background: linear-gradient(180deg, var(--blue-bg) 0%, #fff 100%);
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero__decor { position: absolute; inset: 0; pointer-events: none; }
.decor { position: absolute; border-radius: 50%; background: var(--blue-light); opacity: .45; will-change: transform; }
.decor--a { width: 420px; height: 420px; top: -140px; left: -150px; }
.decor--b { width: 200px; height: 200px; bottom: 80px; left: 38%; opacity: .3; }
.decor--c { width: 120px; height: 120px; top: 22%; right: 6%; background: transparent; border: 2px dashed var(--blue-light); opacity: 1; }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.1; margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 1.5rem; }

.checklist { display: grid; gap: 10px; margin-bottom: 2rem; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { display: flex; justify-content: center; }
.portrait { position: relative; width: min(100%, 440px); padding: 0 0 0 24px; }
.portrait__blob-wrap { position: absolute; inset: 40px -34px -34px 56px; }
.portrait__blob { display: block; width: 100%; height: 100%; background: var(--blue-light); border-radius: 46% 54% 42% 58% / 38% 44% 56% 62%; }
.portrait__card {
  position: relative; border-radius: 28px; overflow: hidden; background: #f4f6f7; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
}
.portrait__card img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -8px; bottom: 44px; z-index: 2; }
.badge__inner {
  display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px 12px 12px; border-radius: 18px; box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.badge__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); }
.badge__text { display: flex; flex-direction: column; line-height: 1.25; }
.badge__text strong { font-family: var(--font-head); font-weight: 500; color: var(--blue); font-size: 1.05rem; }
.badge__text small { color: var(--muted); font-size: .75rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Entrada do hero (só com JS) */
.js [data-hero] { opacity: 0; transform: translateY(26px); }
.js [data-hero-photo] { opacity: 0; transform: translateX(60px) scale(.97); }
.js .portrait__blob { transform: scale(.4); opacity: 0; }
.js .badge { opacity: 0; }
.js.is-ready [data-hero] {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 100ms);
}
.js.is-ready [data-hero-photo] { opacity: 1; transform: none; transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s; }
.js.is-ready .portrait__blob { opacity: 1; transform: none; transition: opacity .9s var(--ease) .1s, transform 1.2s var(--ease) .1s; }
.js.is-ready .badge { opacity: 1; transition: opacity .8s var(--ease) .9s; }

@media (max-width: 900px) {
  .hero { padding-bottom: 100px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; }
  .portrait { width: min(82%, 360px); margin-inline: auto; padding: 0; }
  .portrait__blob-wrap { inset: 32px -18px -22px 32px; }
  .badge { left: -14px; }
}

/* ---------- 7. Estatísticas ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--blue-dark); color: #fff;
  border-radius: 24px; box-shadow: var(--shadow-lg); padding: 34px 12px; overflow: hidden;
}
.stat { text-align: center; padding: 6px 16px; border-left: 1px solid rgba(179, 220, 243, .22); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: #fff; }
.stat__label { display: block; margin-top: 4px; color: var(--blue-light); font-size: .9375rem; }
@media (max-width: 760px) {
  .stats { margin-top: -50px; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 22px; padding: 26px 8px; }
  .stat:nth-child(odd) { border-left: 0; }
}

/* ---------- 8. Seções genéricas ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: clip; }
.section--tint { background: var(--blue-bg); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head .lead { margin-inline: auto; margin-top: 1rem; }

/* ---------- Pacotes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; max-width: 1080px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #DCEBF3; border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow); text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan__name { font-size: 1.5rem; margin-bottom: .35rem; }
.plan__desc { color: var(--muted); font-size: .9375rem; margin-bottom: 1.25rem; min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: .25rem; font-family: var(--font-head); color: var(--blue-dark); line-height: 1; }
.plan__cur { font-size: 1.25rem; align-self: flex-start; margin-top: .4em; }
.plan__val { font-size: clamp(2.75rem, 5vw, 3.5rem); font-weight: 500; }
.plan__per { font-family: var(--font-body); font-size: .9375rem; color: var(--muted); }
.plan__tag { display: inline-block; align-self: center; margin: .5rem 0 0; padding: 4px 14px; border-radius: 999px; background: #FBE7E8; color: var(--coral-hover); font-size: .8125rem; font-weight: 600; }
.plan__list { list-style: none; margin: 1.5rem 0 1.75rem; padding: 1.5rem 0 0; border-top: 1px solid #DCEBF3; text-align: left; display: grid; gap: .7rem; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; }
.plan__list .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--coral); }
.plan .btn { margin-top: auto; }

.plan--featured { background: var(--blue); border-color: var(--blue); color: #fff; padding-block: 48px; box-shadow: 0 22px 50px rgba(18, 62, 87, .28); }
.plan--featured .plan__name, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__per { color: #E3F1F9; }
.plan--featured .plan__list { border-top-color: rgba(179, 220, 243, .35); }
.plan--featured .plan__list .ico { color: var(--blue-light); }
.plan__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--coral); color: #fff; padding: 6px 18px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(201, 71, 77, .35);
}
.plans__note { max-width: 720px; margin: 36px auto 0; text-align: center; font-size: .875rem; color: var(--muted); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; gap: 36px; }
  .plan__desc { min-height: 0; }
}

/* ---------- 9. Serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-flow: dense; }
@media (min-width: 621px) and (max-width: 960px) { .cards > .card:last-child { grid-column: span 2; } }
.card {
  position: relative; background: #fff; border: 1px solid #DCEBF3; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(18, 62, 87, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.card__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 20px;
  background: var(--blue-bg); color: var(--blue); transition: background-color .35s, color .35s, transform .35s var(--ease);
}
.card__icon .ico { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--coral); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.card--featured { grid-column: span 2; background: var(--blue); border-color: var(--blue); color: #fff; padding: 36px 36px; overflow: hidden; }
.card--featured::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(179, 220, 243, .14); pointer-events: none;
}
.card--featured h3 { color: #fff; font-size: 1.75rem; }
.card--featured p { color: #E3F1F9; max-width: 54ch; }
.card--featured .card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.card--featured:hover { border-color: var(--blue); }
.card__link {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 1.25rem;
  color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; text-decoration: none;
  border-bottom: 2px solid var(--blue-light); padding-bottom: 2px;
}
.card__link .ico { width: 1.1rem; height: 1.1rem; transition: transform .25s var(--ease); }
.card__link:hover .ico { transform: translateX(5px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card--featured { grid-column: auto; padding: 32px 28px; } }

/* ---------- 10. Curativos ---------- */
.curativos { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.curativos__text h2 { margin-bottom: 1rem; }
.accordion { margin-top: 1.75rem; border-top: 1px solid #C9DFEC; }
.acc-item { border-bottom: 1px solid #C9DFEC; }
.acc-item h3 { font-size: 1rem; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 18px 4px; color: var(--blue);
  font: 500 1.2rem/1.3 var(--font-head);
}
.acc-btn:hover { color: var(--blue-dark); }
.acc-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue-light); transition: background-color .25s; }
.acc-plus::before, .acc-plus::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.acc-plus::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-plus { background: var(--blue-light); }
.acc-btn[aria-expanded="true"] .acc-plus::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); padding: 0 48px 18px 4px; margin: 0; }
.acc-btn[aria-expanded="true"] + * { }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
/* sem JS: tudo aberto */
html:not(.js) .acc-panel { grid-template-rows: 1fr; }

.steps-card { background: #fff; border-radius: 24px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); position: sticky; top: 100px; }
.steps-card h3 { font-size: 1.7rem; margin-bottom: 1.5rem; }
.steps-list { position: relative; display: grid; gap: 22px; }
.steps-list::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--blue-light); }
.steps-list li { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.steps-list__n { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 500; }
.steps-list strong { display: block; color: var(--blue-dark); font-size: 1.05rem; line-height: 1.3; }
.steps-list li div span { color: var(--muted); font-size: .9375rem; display: block; }
.note { display: flex; gap: 12px; align-items: flex-start; margin: 1.75rem 0 0; padding: 14px 16px; border-radius: 14px; background: #FDEEEF; color: #6B2A2E; font-size: .9rem; line-height: 1.55; }
.note .ico { color: var(--coral); margin-top: 1px; }
@media (max-width: 900px) { .curativos { grid-template-columns: 1fr; } .steps-card { position: static; } }

/* ---------- 11. Prescrição ---------- */
.prescricao { background: #fff; }
.prescricao__intro { max-width: 760px; margin-bottom: 44px; }
.prescricao__intro .lead { margin-top: 1rem; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini { padding: 26px 22px; border-radius: var(--radius); background: var(--blue-bg); border-top: 4px solid var(--blue); transition: transform .35s var(--ease), box-shadow .35s; }
.mini:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mini__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue); margin-bottom: 14px; }
.mini h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.mini p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
@media (max-width: 960px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- 12. Sobre ---------- */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: 56px; }
.quote { position: relative; margin: 0; padding: clamp(36px, 5vw, 56px); border-radius: 28px; background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.quote::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: rgba(179, 220, 243, .14); }
.quote__mark { width: 56px; color: var(--blue-light); margin-bottom: 18px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; margin: 0 0 1.5rem; }
.quote figcaption { position: relative; z-index: 1; font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.quote figcaption span { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-light); margin-top: 2px; }
.sobre__text h2 { margin-bottom: 1rem; }
.sobre__text .lead { margin-bottom: 1.2rem; }
.signature { margin-top: 1.5rem; padding-left: 16px; border-left: 3px solid var(--coral-bright); color: var(--blue-dark); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.value:hover { transform: translateY(-6px); }
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); margin-bottom: 16px; }
.value h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.value p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
@media (max-width: 960px) { .sobre { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- 13. Como funciona ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline::before, .timeline::after { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; }
.timeline::before { background: var(--blue-light); opacity: .55; }
.timeline::after { background: var(--coral-bright); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.timeline.is-drawn::after { transform: scaleX(1); }
html:not(.js) .timeline::after { transform: scaleX(1); }
.tl-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.tl-step__n {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; box-shadow: 0 0 0 8px #fff;
}
.tl-step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.tl-step p { color: var(--muted); margin: 0; font-size: .9375rem; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before, .timeline::after { top: 28px; bottom: 28px; left: 28px; right: auto; width: 3px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.is-drawn::after { transform: scaleY(1); }
  html:not(.js) .timeline::after { transform: scaleY(1); }
  .tl-step { text-align: left; padding: 0 0 0 84px; min-height: 58px; }
  .tl-step__n { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- 14. Faixa CTA ---------- */
.cta { position: relative; overflow: clip; background: var(--blue-dark); color: #fff; text-align: center; padding: clamp(64px, 9vw, 100px) 0; }
.cta__shapes span { position: absolute; border-radius: 50%; border: 2px solid rgba(179, 220, 243, .18); }
.cta__shapes span:nth-child(1) { width: 340px; height: 340px; left: -110px; top: -120px; }
.cta__shapes span:nth-child(2) { width: 220px; height: 220px; right: 8%; bottom: -90px; background: rgba(179, 220, 243, .07); border: 0; }
.cta__shapes span:nth-child(3) { width: 90px; height: 90px; right: 18%; top: 22%; border-style: dashed; }
.cta__inner { position: relative; }
.cta h2 { color: #fff; max-width: 780px; margin: 0 auto 1rem; }
.cta p { color: var(--blue-light); font-style: italic; font-size: 1.125rem; margin-bottom: 2rem; }

/* ---------- 15. Contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 16px; }
.info { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--blue-bg); }
.info__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--blue); }
.info h3 { font-size: 1.1rem; margin-bottom: 2px; }
.info a, .info p { margin: 0; color: var(--text); text-decoration: none; word-break: break-word; }
.info a:hover { color: var(--blue); text-decoration: underline; }

.form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid #DCEBF3; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--blue-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff; padding: 13px 16px; border: 1.5px solid #B9CDD8; border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 102, 141, .18); }
.field.has-error input { border-color: #B3261E; }
.field__error { margin: 6px 0 0; font-size: .85rem; color: #B3261E; min-height: 0; }
.field__error:empty { display: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 14px 0 0; font-size: .9375rem; text-align: center; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #1E7A45; }
.form__status.is-error { color: #B3261E; }
.form__status a { color: inherit; }
.form__hint { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- 16. Footer ---------- */
.footer { background: var(--blue-dark); color: #CFE3EF; padding-top: 64px; }
.footer a { color: #CFE3EF; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__col h2 { font-size: 1.1rem; color: #fff; margin-bottom: 14px; letter-spacing: .04em; }
.footer__col li { margin-bottom: 8px; word-break: break-word; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(179, 220, 243, .2); font-size: .875rem; }
.footer__bottom p { margin: 0; }
.footer__small { color: var(--blue-light); }
.footer__credit { flex-basis: 100%; text-align: center; font-size: .8125rem; color: rgba(179, 220, 243, .75); }
.footer__credit a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 3px; }
.footer__credit a:hover { color: #fff; }
@media (max-width: 800px) { .footer__bottom { padding-bottom: 96px; } }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- 17. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: scale(.6) translateY(20px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; animation: pulse 2.6s ease-out 1s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 8px 22px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 8px 22px rgba(0, 0, 0, .25), 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- 18. Revelação ao rolar (somente com JS) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade-left"] { transform: translateX(48px); }
.js [data-reveal="fade-right"] { transform: translateX(-48px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* após revelar, devolve transições rápidas aos efeitos de hover */
.js [data-reveal].is-done {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background-color .35s; transition-delay: 0ms;
}

/* ---------- 19. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-hero], .js [data-hero-photo], .js .portrait__blob, .js .badge { opacity: 1 !important; transform: none !important; }
  .timeline::after { transform: none !important; }
  .wa-float.is-visible { animation: none; }
}
