/* =========================================================
   Página da Maria Vitória Brandão (/mavi/)
   Reaproveita as seções da landing e troca a paleta pela
   identidade dela: Areia e Tinta como base, Rosé, Sálvia e
   Sereno como acentos. Carregado depois de style.css.
   ========================================================= */

html.theme-mavi {
  --ink: #43393a;          /* Tinta */
  --ink-950: #2f2829;
  --ink-900: #3a3132;
  --ink-800: #564a4b;
  --ink-700: #6b5d5e;
  --gold: #d9a8a0;         /* o acento principal passa a ser o Rosé */
  --gold-200: #e6c0b8;
  --gold-50: #faefe4;
  --sage: #a9b79e;
  --sereno: #aec4ca;
  --accent: #94574e;       /* rosé escuro, para texto sobre fundos claros */
  --on-light: #43393a;
  --on-light-muted: rgba(67, 57, 58, 0.78);
  --on-light-faint: rgba(67, 57, 58, 0.14);

  background: #f6f0e8;
  scrollbar-color: rgba(201, 139, 130, 0.6) #efe6db;
}
html.theme-mavi::-webkit-scrollbar { background: #efe6db; }
html.theme-mavi::-webkit-scrollbar-thumb { background: rgba(201, 139, 130, 0.6); border-color: #efe6db; }
html.theme-mavi::-webkit-scrollbar-thumb:hover { background: #c98b82; }

.theme-mavi :focus-visible { outline-color: var(--accent); }
.theme-mavi .skip-link { background: var(--gold); }

/* ---------- Header claro ---------- */
.theme-mavi .site-header { color: var(--tinta); }
.theme-mavi .site-header.is-solid { background: rgba(246, 240, 232, 0.88); box-shadow: 0 1px 0 rgba(67, 57, 58, 0.1); }
.theme-mavi .nav a:not(.btn) { color: rgba(67, 57, 58, 0.74); }
.theme-mavi .nav a:not(.btn):hover { color: var(--accent); }
.theme-mavi .nav .btn--ghost-light { border-color: rgba(67, 57, 58, 0.3); color: var(--tinta); }
.theme-mavi .nav .btn--ghost-light:hover { background: var(--tinta); border-color: var(--tinta); color: var(--sand); }
.mbrand { flex-direction: row; align-items: center; gap: 12px; }
.mbrand img { width: 44px; height: auto; }
.mbrand__text { display: flex; flex-direction: column; line-height: 1; }
.mbrand__name { font-family: var(--serif); font-size: 1.5rem; color: var(--tinta); letter-spacing: 0.01em; }
.mbrand__sub { margin-top: 5px; font-size: 0.5625rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--accent); }
.theme-mavi .scroll-progress { background: linear-gradient(90deg, #c98b82, var(--sage)); }

/* ---------- Acentos sobre fundos claros ---------- */
.theme-mavi .eyebrow { color: var(--accent); }
.theme-mavi .is-dark .eyebrow { color: var(--gold); }
.theme-mavi .text-link { color: var(--tinta); }
.theme-mavi .faq summary .icon,
.theme-mavi .address .icon { color: var(--accent); }
.theme-mavi .faq summary:hover { color: var(--accent); }
.theme-mavi .faq__answer a { color: var(--accent); }
.theme-mavi .site-footer a:hover { color: var(--gold); }

/* luz suave nas cores dela */
.theme-mavi .glow::before { background: radial-gradient(closest-side, rgba(217, 168, 160, 0.42), rgba(217, 168, 160, 0.12) 55%, transparent 72%); }
.theme-mavi .glow::after { background: radial-gradient(closest-side, rgba(169, 183, 158, 0.34), rgba(174, 196, 202, 0.12) 55%, transparent 72%); }
.theme-mavi .is-dark .glow::before { background: radial-gradient(closest-side, rgba(217, 168, 160, 0.28), rgba(217, 168, 160, 0.08) 55%, transparent 72%); }
.theme-mavi .is-dark .glow::after { background: radial-gradient(closest-side, rgba(201, 139, 130, 0.16), rgba(201, 139, 130, 0.04) 55%, transparent 72%); }
.theme-mavi .mfinal .glow::after { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12) 55%, transparent 72%); }

/* o botão aura em fundo claro precisa de mais corpo */
.theme-mavi .aura--rose {
  --aura-edge: #c98b82; --aura-mid: #d9a49c; --aura-core: #f1d8d1;
  --aura-b1: #c98b82; --aura-b2: #aec4ca; --aura-b3: #d9a49c;
  --aura-glow: rgba(170, 100, 92, 0.42);
}
.theme-mavi .is-dark .aura--rose {
  --aura-edge: #d9a8a0; --aura-mid: #e6c0b8; --aura-core: #f4e2dc;
  --aura-b1: #d9a8a0; --aura-b3: #e6c0b8;
  --aura-glow: rgba(217, 168, 160, 0.5);
}
.theme-mavi .btn--aura { color: var(--tinta); }

/* linha contínua da marca, desenhada atrás do conteúdo */
.mline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.mline path { fill: none; stroke: rgba(217, 168, 160, 0.55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* ---------- Hero ---------- */
.mhero {
  position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 72px; background: var(--sand); color: var(--tinta);
}
.mhero > .container { position: relative; z-index: 1; }
.mhero .river { height: 40%; }
.mhero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mhero h1 { max-width: 12ch; color: var(--tinta); }
.mhero .eyebrow { letter-spacing: 0.12em; }
.mhero__sub { margin: 26px 0 26px; max-width: 36ch; color: rgba(67, 57, 58, 0.8); }
.mhero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.mhero__chips li { font-size: 0.875rem; padding: 6px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(67, 57, 58, 0.12); }
.mhero__chips li:last-child { background: rgba(169, 183, 158, 0.22); border-color: rgba(169, 183, 158, 0.55); }
.mhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.mhero__media { position: relative; justify-self: end; width: min(100%, 460px); }
.mhero__media .arch { background: #eadfd3; aspect-ratio: 4 / 5; }
.mhero__media .arch img { object-position: 50% 20%; }
.theme-mavi .arch-outline path { stroke: rgba(201, 139, 130, 0.6); }
.mhero__lotus { position: absolute; left: -46px; bottom: 34px; width: 112px; height: auto; padding: 18px 16px 14px; border-radius: 22px; background: rgba(251, 248, 244, 0.92); box-shadow: 0 18px 40px -22px rgba(67, 57, 58, 0.45); }

/* ---------- Para quem ---------- */
.who__head { max-width: 680px; margin-bottom: clamp(48px, 6vw, 72px); }
.who__head .lead { margin-top: 18px; }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.who { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); border: 1px solid transparent; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.who:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(67, 57, 58, 0.45); }
.who--rose { background: #f1e0db; border-color: rgba(217, 168, 160, 0.55); }
.who--sage { background: #e8ecdf; border-color: rgba(169, 183, 158, 0.6); }
.who--sereno { background: #e2ebed; border-color: rgba(174, 196, 202, 0.7); }
.who__tag { align-self: flex-start; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 5px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.65); }
.who h3 { font-size: clamp(1.5rem, 2.1vw, 1.875rem); margin-top: 6px; }
.who p { margin: 0; color: rgba(67, 57, 58, 0.82); }
.who__note { margin-top: auto !important; padding-top: 16px; border-top: 1px solid rgba(67, 57, 58, 0.14); font-size: 0.9375rem; font-weight: 500; color: var(--tinta) !important; }

/* ---------- Quando procurar e caminho (cores) ---------- */
.theme-mavi .when__close { border-top-color: rgba(217, 168, 160, 0.35); }
.theme-mavi .path__rail { background: rgba(201, 139, 130, 0.25); }
.theme-mavi .path__fill { background: #c98b82; }
.theme-mavi .path__step::before { background: #c98b82; border-color: #c98b82; }
.theme-mavi.motion .path__step::before { background: var(--sand); }
.theme-mavi.motion .path__step.is-active::before { background: #c98b82; box-shadow: 0 0 0 8px rgba(201, 139, 130, 0.18); }
.theme-mavi .approach__lines div { grid-template-columns: 56px 1fr; }
.theme-mavi .approach__lines img { width: 56px; }

/* ---------- Convênios ---------- */
.plans__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.plans__intro .h-lg { margin-bottom: 22px; }
.plans__intro > p { color: var(--on-light-muted); max-width: 44ch; margin-bottom: 36px; }
.plan-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-lg); background: rgba(169, 183, 158, 0.16); border: 1px solid rgba(169, 183, 158, 0.45); }
.plan-list li { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(67, 57, 58, 0.08); font-size: 0.96rem; font-weight: 500; line-height: 1.25; }
.plan-list .icon { width: 18px; height: 18px; color: #6f8062; }
.plan-list__private { grid-column: 1 / -1; justify-content: center; background: #f1e0db !important; border-color: rgba(217, 168, 160, 0.7) !important; }
.plan-list__private .icon { color: var(--accent); }

/* ---------- Primeiro contato ---------- */
.theme-mavi .steps__line { background: rgba(217, 168, 160, 0.2); }
.theme-mavi .steps__fill { background: linear-gradient(90deg, var(--gold), var(--sage)); }
.theme-mavi .steps__dot { background: #fff4f0; box-shadow: 0 0 0 4px rgba(217, 168, 160, 0.25), 0 0 24px 6px rgba(217, 168, 160, 0.5); }

/* ---------- Convite final ---------- */
.mfinal { background: #f1e7df; color: var(--tinta); text-align: center; }
.mfinal .river { height: 55%; }
.mfinal .h-xl { max-width: 18ch; margin: 0 auto; }
.mfinal__lotus { width: 104px; height: auto; margin: 0 auto 32px; }
.mfinal__sub { margin: 24px auto 0; color: rgba(67, 57, 58, 0.78); }
.mfinal__card { max-width: 460px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 32px; border-radius: var(--radius-lg); background: rgba(251, 248, 244, 0.82); border: 1px solid rgba(67, 57, 58, 0.1); box-shadow: 0 30px 60px -40px rgba(67, 57, 58, 0.5); text-align: left; display: flex; flex-direction: column; gap: 18px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mfinal__who { display: flex; align-items: center; gap: 16px; }
.mfinal__who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(217, 168, 160, 0.8); }
.mfinal__who h3 { font-size: 1.625rem; }
.mfinal__who p { margin: 4px 0 0; font-size: 0.875rem; color: var(--accent); letter-spacing: 0.03em; }
.mfinal__info { margin: 0; color: rgba(67, 57, 58, 0.8); font-size: 0.98rem; }
.mfinal__card .btn { width: 100%; }
.mfinal__phone { margin: 0; text-align: center; font-size: 0.875rem; color: rgba(67, 57, 58, 0.7); }

/* ---------- Rodapé ---------- */
.mfoot__logo { display: inline-block; padding: 14px 18px; border-radius: 18px; background: var(--sand); }
.mfoot__logo img { height: 56px; width: auto; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .plan-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mbrand img { width: 38px; }
  .mbrand__name { font-size: 1.3rem; }
  .mhero { min-height: auto; padding-top: calc(var(--header-h) + 28px); padding-bottom: 64px; }
  .mhero__grid { grid-template-columns: 1fr; gap: 44px; }
  .mhero__media { justify-self: center; width: min(100%, 380px); }
  .mhero__lotus { left: -14px; bottom: 22px; width: 92px; padding: 14px 12px 10px; }
  .who__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plans__grid { grid-template-columns: 1fr; }
  .theme-mavi .steps__fill { background: linear-gradient(180deg, var(--gold), var(--sage)); }
}
@media (max-width: 640px) {
  .mhero__actions .btn { width: 100%; }
  .mhero__actions .text-link { margin: 0 auto; }
  .mhero__chips { margin-bottom: 32px; }
  .plan-list { padding: 14px; gap: 8px; }
  .plan-list li { min-height: 50px; padding: 8px 12px; font-size: 0.9rem; }
  .mfinal__card { padding: 24px; }
}

/* Estados iniciais de motion próprios desta página */
.motion .mhero__lotus, .motion .mfinal__lotus { visibility: hidden; }
