/* ============ Design tokens ============ */
:root {
  --plum: #30133e;
  --plum-deep: #22102c;
  --violet: #674174;
  --violet-soft: #f4edf7;
  --coral: #ffad7d;
  --coral-deep: #f4945e;
  --orange: #9b3c19;
  --ink: #2f2334;
  --muted: #756c78;
  --line: #e7e0e9;
  --paper: #fff;
  --soft: #f6f3f7;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --wa-deep: #075e54;
  --shadow-1: 0 2px 10px #30133e10;
  --shadow-2: 0 14px 40px #30133e1c;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: 40px;
  --header-h: 86px;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
ul, ol { margin: 0; padding-left: 1.2em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #f49662; outline-offset: 3px;
}
svg { flex-shrink: 0; }
.icon { height: 24px; width: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, 100% - 80px); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; background: #fff; z-index: 100; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow-2); }
.skip-link:focus { top: 10px; }

::selection { background: var(--coral); color: var(--plum-deep); }

/* ============ Buttons / CTAs ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 26px; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn .icon { height: 18px; width: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-deep); box-shadow: var(--shadow-2); }
.btn-coral { background: var(--coral); color: var(--orange); }
.btn-coral:hover { background: var(--coral-deep); box-shadow: 0 10px 26px #ffad7d55; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; box-shadow: 0 10px 26px #25d36655; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-ghost:hover { background: #ffffff14; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ Título de seção ============ */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-heading { max-width: 720px; }
.section-heading h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; }
.section-heading h2 span, .hero h1 span { color: var(--coral); }
.section-heading .lede { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 40;
  background: #fffffff5; backdrop-filter: blur(14px);
  border-bottom: 1px solid #eee7ef;
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 126px; height: 72px; overflow: hidden; display: grid; place-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; display: block; }
.desktop-nav { display: flex; gap: 6px; font-size: 14px; font-weight: 600; }
.desktop-nav a { padding: 12px 14px; border-radius: 100px; color: var(--muted); }
.desktop-nav a:hover { color: var(--orange); background: var(--soft); }
.desktop-nav a[aria-current="page"] { color: var(--plum); background: var(--violet-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--plum); color: #fff; border-radius: 100px;
  font-size: 14px; font-weight: 700; padding: 12px 20px; transition: background .15s;
}
.header-call .icon { height: 17px; width: 17px; }
.header-call:hover { background: var(--plum-deep); }
.mobile-menu { display: none; position: relative; }

/* ============ Hero (home) ============ */
.hero { background: var(--plum); color: #fff; position: relative; isolation: isolate; }
.hero-image { position: absolute; inset: 0 0 0 43%; z-index: -2; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #30133e 0%, #30133eed 46%, #30133ea6 72%, #30133e2e 100%); }
.image-caption {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  font-size: 11px; background: #ffffff22; color: #ffe9f2; backdrop-filter: blur(6px);
  border-radius: 100px; padding: 5px 11px; letter-spacing: .02em;
}
.hero-inner { min-height: 640px; display: grid; grid-template-columns: 1.15fr .75fr; align-items: center; gap: 40px; padding-block: 72px; }
.location-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); border: 1px solid #ad88ba66; border-radius: 100px; padding: 7px 14px; margin-bottom: 22px;
}
.location-pill .icon { height: 14px; width: 14px; }
.hero h1 { font-size: clamp(42px, 6vw, 66px); font-weight: 700; letter-spacing: -.055em; line-height: 1.02; }
.hero-copy > p { margin-top: 18px; color: #e5d7ea; font-size: 18px; max-width: 460px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: #d9c5e2; font-weight: 600; font-size: 14px; }
.hero-secondary:hover { color: #fff; }
.hero-seal {
  max-width: 330px; padding: 26px 30px; border-radius: var(--radius-lg);
  background: #ffffff14; border: 1px solid #ffffff24; color: #fff;
  font-size: 15px; line-height: 1.4;
}
.hero-seal .icon { height: 30px; width: 30px; color: var(--coral); margin-bottom: 12px; }
.hero-seal strong { font-family: 'Manrope', sans-serif; font-weight: 700; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #d9c5e2; font-size: 13px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { height: 16px; width: 16px; color: var(--coral); }

/* ============ Quick care strip ============ */
.quick-wrap { margin-top: -34px; position: relative; z-index: 5; }
.quick-care {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2);
}
.quick-care > * { background: var(--paper); padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.quick-care a { transition: background .15s; }
.quick-care a:hover { background: var(--soft); }
.quick-icon {
  width: 42px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #fde9db; color: var(--orange);
}
.quick-icon.violet { background: var(--violet-soft); color: var(--violet); }
.quick-icon .icon { height: 22px; width: 22px; }
.quick-care small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.quick-care strong { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; }
.quick-care .arrow { margin-left: auto; color: var(--muted); height: 18px; width: 18px; }
.quick-location .icon { height: 22px; width: 22px; color: var(--violet); }
.quick-location span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.quick-location strong { display: block; color: var(--ink); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; }

/* ============ Seções ============ */
.section { padding-block: 88px; }
.section-alt { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-head > p { max-width: 420px; color: var(--muted); }

/* ============ Cards de especialidades ============ */
.specialties { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.specialty {
  position: relative; padding: 34px 34px 30px; border-radius: var(--radius-lg);
  color: #fff; display: flex; flex-direction: column; overflow: hidden; min-height: 420px;
}
.specialty.dental { background: linear-gradient(135deg, #431d56 0%, #2c1038 70%); }
.specialty.psychology { background: linear-gradient(135deg, #6d3f7f 0%, #3a1a49 72%); }
.specialty:after {
  content: ''; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px;
  border-radius: 50%; background: #ffffff10; pointer-events: none;
}
.card-head { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.card-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--coral); }
.card-head .icon { height: 26px; width: 26px; color: var(--coral); }
.card-content { position: relative; z-index: 1; margin-top: auto; padding-top: 40px; }
.card-content h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.card-content p { margin-top: 14px; color: #e6d3ef; font-size: 15px; max-width: 380px; }
.specialty > a {
  position: relative; z-index: 1; margin-top: 26px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: #fff; border-bottom: 2px solid var(--coral); padding-bottom: 2px; align-self: flex-start;
}
.specialty > a .icon { height: 17px; width: 17px; color: var(--coral); transition: transform .2s; }
.specialty > a:hover .icon { transform: translateX(4px); }

/* ============ Sobre (home) ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.about-title h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.about-title h2 span { color: var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; font-size: 14px; color: var(--orange); }
.text-link .icon { height: 17px; width: 17px; }
.about-content .about-intro { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; }
.about-content > p { margin-top: 16px; color: var(--muted); }
.value { display: flex; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.value .icon { height: 26px; width: 26px; color: var(--violet); }
.value h3 { font-size: 18px; font-weight: 700; }
.value p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ============ Checklist de passos ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 13px; color: var(--coral); letter-spacing: .1em; }
.step h3 { font-size: 17px; font-weight: 700; margin-top: 10px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ============ FAQ ============ */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.faq h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.faq-intro { color: var(--muted); margin-top: 14px; }
.questions details {
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
  margin-bottom: 12px; overflow: hidden;
}
.questions summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px; padding: 18px 20px;
}
.questions summary::-webkit-details-marker { display: none; }
.questions details[open] summary { color: var(--orange); }
.plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.plus:before, .plus:after { content: ''; position: absolute; background: currentColor; transition: transform .2s; }
.plus:before { top: 7px; left: 0; width: 16px; height: 2px; }
.plus:after { top: 0; left: 7px; width: 2px; height: 16px; }
details[open] .plus:after { transform: scaleY(0); }
.questions details p { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }
.questions details p a { color: var(--orange); font-weight: 700; text-decoration: underline; }
.questions details p a:hover { text-decoration: none; }

/* ============ Contato ============ */
.contact-section { background: var(--plum); color: #fff; padding-block: 88px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact-grid .eyebrow { color: var(--coral); }
.contact-grid h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.05; }
.contact-grid h2 span { color: var(--coral); }
.contact-hint { margin-top: 18px; color: #d9c5e2; font-size: 15px; }
.contact-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-card {
  background: #ffffff14; border: 1px solid #ffffff24; border-radius: var(--radius-lg); padding: 34px;
}
.contact-card .card-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--coral); }
.contact-card h3 { font-size: 26px; font-weight: 700; margin-top: 8px; }
.contact-card address { font-style: normal; margin-top: 18px; color: #e5d7ea; line-height: 1.7; }
.contact-card .contact-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.contact-card .contact-actions a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 4px; border-top: 1px solid #ffffff1c; color: #fff; font-weight: 600; font-size: 15px;
}
.contact-card .contact-actions a .icon { height: 17px; width: 17px; color: var(--coral); transition: transform .2s; }
.contact-card .contact-actions a:hover .icon { transform: translateX(4px); }
.location-icon { height: 34px; width: 34px; color: var(--coral); margin-bottom: 16px; }

/* ============ Página interna: hero ============ */
.page-hero { background: linear-gradient(135deg, var(--plum), var(--plum-deep)); color: #fff; padding-block: 64px 78px; }
.page-hero .container { display: flex; flex-direction: column; gap: 14px; }
.page-hero .eyebrow { color: var(--coral); }
.page-hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; max-width: 760px; }
.page-hero p { color: #e5d7ea; font-size: 17px; max-width: 620px; }
.page-hero-cta, .page-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }

/* ============ Breadcrumb ============ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: #d9c5e2; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .sep { opacity: .6; }

/* ============ Prose (conteúdo textual) ============ */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { color: var(--muted); margin: 14px 0; font-size: 16px; }
.prose ul, .prose ol { color: var(--muted); margin: 14px 0 14px 4px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--orange); font-weight: 700; text-decoration: underline; }
.prose blockquote { margin: 26px 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--coral); color: var(--plum); font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 700; }

/* ============ Grid de features / serviços ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.feature .icon { height: 30px; width: 30px; color: var(--violet); }
.feature.coral .icon { color: var(--orange); }
.feature h3 { font-size: 18px; font-weight: 700; margin-top: 16px; }
.feature p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ============ Profile / equipe cards ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s;
}
.team-card:hover { box-shadow: var(--shadow-2); }
.team-avatar {
  aspect-ratio: 4 / 4.4; background: linear-gradient(135deg, var(--violet-soft), #efe6f3);
  display: grid; place-items: center; color: var(--violet);
}
.team-avatar .icon { height: 58px; width: 58px; }
.team-body { padding: 22px 24px 26px; }
.team-body h3 { font-size: 19px; font-weight: 700; }
.team-body .role { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--orange); text-transform: uppercase; margin-top: 4px; }
.team-body p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ============ Convênios ============ */
.insurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.insurance {
  background: var(--soft); border: 1px dashed #cfc2d6; border-radius: var(--radius);
  padding: 26px 22px; text-align: center; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--plum);
}
.insurance small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ============ Avisos / notas ============ */
.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; font-size: 15px; line-height: 1.5;
}
.note .icon { height: 20px; width: 20px; margin-top: 2px; }
.note-info { background: #fdf1e7; color: #7a3b1e; border: 1px solid #f6dcc8; }
.note-info .icon { color: var(--orange); }
.note-pending { background: var(--violet-soft); color: var(--plum); border: 1px solid #dfd1e7; }
.note-pending .icon { color: var(--violet); }

/* ============ Formulário ============ */
.form-card {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; max-width: 720px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px #67417422;
}
.form-hint { font-size: 12.5px; color: var(--muted); }
.form-foot { margin-top: 18px; }

/* ============ Linktree (/links) ============ */
.links-page { min-height: 100vh; background: linear-gradient(160deg, var(--plum), #3a1c4a 55%, var(--plum-deep)); color: #fff; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.links-card { width: min(560px, 100%); text-align: center; }
.links-avatar { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; background: #fff; padding: 8px; box-shadow: var(--shadow-2); }
.links-avatar img { width: 100%; height: 100%; object-fit: contain; }
.links-card h1 { font-size: 26px; font-weight: 700; }
.links-card .links-desc { color: #d9c5e2; font-size: 15px; margin-top: 8px; }
.links-list { display: flex; flex-direction: column; gap: 13px; margin-top: 30px; }
.links-list a {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #ffffff12; border: 1px solid #ffffff22; border-radius: 100px; padding: 16px 22px;
  font-weight: 600; transition: background .15s, transform .15s;
}
.links-list a:hover { background: #ffffff20; transform: translateY(-2px); }
.links-list .icon { height: 22px; width: 22px; color: var(--coral); }
.links-list a small { display: block; font-size: 12px; color: #c9b3d4; font-weight: 400; }
.links-foot { margin-top: 26px; font-size: 13px; color: #b79bc6; }

/* ============ WhatsApp flutuante ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; border-radius: 100px;
  padding: 14px 20px; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 10px 30px #25d36655; transition: transform .2s, background .2s;
}
.wa-float .icon { height: 26px; width: 26px; }
.wa-float:hover { background: #1ebe5b; transform: translateY(-2px); }
.wa-float .label-mobile { display: none; }

/* ============ Footer ============ */
.site-footer { background: var(--plum-deep); color: #cdbcd6; padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .footer-name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 21px; color: #fff; }
.footer-brand p { margin-top: 10px; font-size: 14px; max-width: 260px; }
.site-footer h3,
.site-footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 14px; color: #cdbcd6; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid #ffffff18; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #9f8cab; }
.footer-bottom a { color: #cdbcd6; }
.footer-bottom a:hover { color: #fff; }

/* ============ Dock móvel ============ */
.mobile-dock { display: none; }

/* ============ Animação reveal ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
  .hero-copy { animation: enter .7s ease both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

/* ============ 404 ============ */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 90px 110px; }
.error-page h1 { font-size: clamp(90px, 18vw, 160px); font-weight: 800; letter-spacing: -.06em; color: var(--violet-soft); line-height: 1; }
.error-page h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 700; }
.error-page p { color: var(--muted); margin: 12px auto 26px; max-width: 420px; }

/* ============ Responsivo ============ */
@media (max-width: 1020px) {
  :root { --gutter: 24px; }
  .container { width: calc(100% - 48px); }
  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 26px; }
  .hero-seal { padding: 22px; }
  .quick-care { grid-template-columns: 1fr 1fr; }
  .quick-location { display: none; }
  .about-grid, .contact-grid, .faq { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .desktop-nav { gap: 2px; }
  .desktop-nav a { padding-inline: 11px; }
}

@media (max-width: 700px) {
  :root { --header-h: 72px; }
  html { scroll-padding-top: 84px; }
  body.has-mobile-dock { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 40px); }
  .header-inner { height: var(--header-h); gap: 12px; }
  .brand { width: 104px; height: 62px; }
  .desktop-nav { display: none; }
  .header-call {
    margin-left: auto; background: var(--violet-soft); color: var(--plum); padding: 11px;
    min-width: 44px; min-height: 44px; justify-content: center;
  }
  .header-call span { display: none; }
  .header-call .icon { width: 18px; height: 18px; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; min-width: 44px; height: 44px; min-height: 44px; cursor: pointer; padding: 9px;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary > span { display: block; width: 22px; height: 1.5px; background: var(--plum); transition: transform .2s; }
  .mobile-menu[open] summary > span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .mobile-menu[open] summary > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-menu nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; width: 100vw;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 24px 22px; background: #fff; box-shadow: 0 15px 30px #30133e15; border-top: 1px solid var(--line);
  }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid #f0eaf3; }

  .hero { min-height: 660px; }
  .hero-image { inset: 0; max-height: none; }
  .hero-image img { height: 460px; object-position: 50% 26%; opacity: .95; }
  .hero-image:after { background: linear-gradient(0deg, #30133e 0%, #30133e 26%, #30133ef0 38%, #30133e80 56%, #30133e00 84%); }
  .hero-inner { min-height: 660px; padding-top: 250px; padding-bottom: 0; grid-template-columns: 1fr; align-items: end; }
  .hero h1 { font-size: clamp(37px, 10.8vw, 48px); }
  .hero-copy > p { font-size: 16px; }
  .hero-copy > p br { display: none; }
  .hero-seal { display: none; }
  .hero-cta .btn { min-height: 48px; }

  .quick-wrap { margin-top: 0; }
  .quick-care { grid-template-columns: 1fr; margin-top: -34px; }
  .quick-care > * { padding: 15px 18px; }

  .section { padding-block: 62px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
  .section-head > p { max-width: 100%; }
  .specialties { grid-template-columns: 1fr; }
  .specialty { min-height: 340px; padding: 26px 24px; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .form-field input, .form-field select, .form-field textarea { min-height: 48px; }
  .contact-section { padding-block: 62px; }
  .contact-cta-row .btn { width: 100%; }
  .wa-float { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); padding: 13px; min-height: 48px; }
  .wa-float .label { display: none; }
  .wa-float .label-mobile { display: inline; content: 'WhatsApp'; }

  .mobile-dock {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 45; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-dock a {
    min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 8px 4px; font-size: 10.5px; font-weight: 700; color: var(--muted);
  }
  .mobile-dock a .icon { height: 21px; width: 21px; }
  .mobile-dock .dock-wa { background: var(--wa); color: #fff; }
  .mobile-dock .dock-wa .icon { height: 22px; width: 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding-block: 46px 60px; }
  .page-hero-cta .btn, .page-hero-cta .btn-lg { width: 100%; min-height: 48px; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 36px; }
  .quick-care > a { padding-inline: 12px; gap: 10px; }
  .quick-icon { width: 34px; height: 36px; }
  .mobile-dock a { font-size: 10px; }
}
.qr-img { margin-top: 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }

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

/* Security-safe layout helpers */
.form-hint-spaced{margin-top:12px}
.contact-location-card{background:var(--paper);border:1px solid var(--line);max-width:640px}
.icon-violet{color:var(--violet)}
.icon-orange{color:var(--orange)}
.text-ink{color:var(--ink)}
.address-muted{color:var(--muted);margin-top:12px}
.contact-actions-bordered{border-top:1px solid var(--line);margin-top:22px}
.map-block-spaced{margin-top:24px;max-width:900px}
.note-max-780{max-width:780px}
.note-max-780-spaced{max-width:780px;margin-top:26px}
.note-max-820-bottom{max-width:820px;margin-bottom:40px}
.section-head-spaced{margin-top:60px}
.cta-centered{justify-content:center}
.cta-row-centered{ text-align:center; margin-top:30px }
.cta-row-centered-lg{ text-align:center; margin-top:34px }
.link-underlined{text-decoration:underline}
.offline-title{font-size:clamp(48px,10vw,88px);color:var(--plum)}
.qr-img{margin-top:18px;border-radius:10px;border:1px solid var(--line);background:#fff}
