/* Dr. Murari — estilos do site (gerado a partir do layout aprovado) */
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}
/* Typewriter Inked: a fonte não tem acentos — usar só em palavras sem acento */
@font-face {
  font-family: "Typewriter Inked";
  src: url("../fonts/typewriter-inked.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Consolas";
  src: url("../fonts/consolas.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Consolas";
  src: url("../fonts/consolas-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*
 * Estrutura e medidas espelhadas do template de referência (Healia),
 * com a paleta oficial Dr. Murari. Variações = transparências das 4 cores.
 */
:root {
  --azul: #16314c;
  --terracota: #ad4e1a;
  --areia: #bd9d6b;
  --bege: #efebe4;
  --azul-rgb: 22 49 76;
  --areia-rgb: 189 157 107;
  --bege-rgb: 239 235 228;
  --terracota-rgb: 173 78 26;

  --text: rgb(var(--azul-rgb) / 0.78);
  --muted: rgb(var(--azul-rgb) / 0.45);
  --card: rgb(var(--areia-rgb) / 0.17);
  --line: rgb(var(--azul-rgb) / 0.13);
  --chip: rgb(var(--bege-rgb) / 1);

  --font: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 1440px;
  --wrap: 1200px;
  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(80px, 7.3vw, 140px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bege);
  color: var(--azul);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabeçalho de seção: "(Rótulo)" + título em dois tons, centralizado, 800px */
.head { max-width: 800px; margin-inline: auto; text-align: center; }
.tag { display: block; font-size: 14px; color: var(--terracota); }
.dm-title {
  margin-top: 10px;
  font-size: clamp(32px, 2.5vw + 0.4rem, 48px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.dm-title .soft { display: block; color: var(--muted); }

/* Botões (18px, raio 6, 20px 30px) */
.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1.3;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.dm-btn .dm-ico { width: 18px; height: 18px; flex: none; }
.dm-btn--solid { background: var(--terracota); color: var(--bege); }
.dm-btn--solid:hover { background: var(--azul); }
.dm-btn--dark { background: var(--azul); color: var(--bege); }
.dm-btn--dark:hover { background: var(--terracota); }
.dm-btn--block { display: flex; width: 100%; }

/* Reveal (só esconde com JS) */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease) var(--reveal-delay, 0ms), transform 0.8s var(--ease) var(--reveal-delay, 0ms); }
.js [data-reveal][data-visible="true"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
@media (max-width: 520px) { .dm-btn { font-size: 16px; padding: 16px 22px; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgb(173 78 26 / 0.45), 0 10px 26px -10px rgb(22 49 76 / 0.6); } 70% { box-shadow: 0 0 0 14px rgb(173 78 26 / 0), 0 10px 26px -10px rgb(22 49 76 / 0.6); } 100% { box-shadow: 0 0 0 0 rgb(173 78 26 / 0), 0 10px 26px -10px rgb(22 49 76 / 0.6); } }

.wa {
  position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 90;
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 999px;
  background: var(--terracota); color: var(--bege);
  box-shadow: 0 10px 26px -10px rgb(22 49 76 / 0.6);
  animation: waPulse 2.8s ease-out 2s infinite;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s;
}
.wa:hover { background: var(--azul); }
@media (max-width: 960px) { .wa:not(.wa--on) { opacity: 0; transform: translateY(16px); pointer-events: none; } }

/* ===== Header ===== */
/* Menu em cápsula: 1440 × 61, a 30px do topo */
.hdr-header {
  position: fixed;
  top: clamp(14px, 1.6vw, 30px);
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.hdr-bar {
  pointer-events: auto;
  max-width: var(--wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 61px;
  padding: 0 10px 0 20px;
  background: var(--bege);
  border-radius: 999px;
  transition: box-shadow 0.3s var(--ease);
}
.hdr-scrolled .hdr-bar { box-shadow: 0 10px 30px -14px rgb(var(--azul-rgb) / 0.4); }

.hdr-logo { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--azul); white-space: nowrap; }

.hdr-nav { margin-inline: auto; }
.hdr-nav ul { display: flex; }
.hdr-nav a { display: block; padding: 8px 18px; border-radius: 999px; font-size: 16px; font-weight: 500; color: rgb(var(--azul-rgb) / 0.75); transition: color 0.2s, background-color 0.2s; }
.hdr-nav a:hover { color: var(--azul); background: var(--card); }
.hdr-nav a[aria-current="page"] { color: var(--terracota); background: rgb(var(--terracota-rgb) / 0.08); }

.hdr-cta {
  display: inline-flex;
  align-items: center;
  height: 41px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--terracota);
  color: var(--bege);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease);
}
.hdr-cta:hover { background: var(--azul); }

.hdr-toggle { display: none; position: relative; width: 41px; height: 41px; margin-left: auto; border-radius: 999px; background: var(--azul); }
.hdr-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--bege); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.hdr-toggle span:first-child { top: 16px; }
.hdr-toggle span:last-child { top: 23px; }
.hdr-toggle[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.hdr-toggle[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.hdr-drop {
  pointer-events: auto;
  display: none;
  max-width: var(--wide);
  margin: 8px auto 0;
  padding: 10px 16px 16px;
  background: var(--bege);
  border-radius: 16px;
  box-shadow: 0 16px 40px -16px rgb(var(--azul-rgb) / 0.45);
}
.hdr-drop ul { margin-bottom: 12px; }
.hdr-drop li + li { border-top: 1px solid var(--line); }
.hdr-drop a:not(.dm-btn) { display: block; padding: 13px 4px; font-size: 17px; font-weight: 500; color: var(--azul); }
.hdr-drop a[aria-current="page"] { color: var(--terracota); }

@media (max-width: 1100px) { .hdr-nav a { padding: 8px 12px; } }
@media (max-width: 960px) {
  .hdr-bar { height: 56px; }
  .hdr-nav, .hdr-cta { display: none; }
  .hdr-toggle { display: block; }
  .hdr-drop { display: block; opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .hdr-drop-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
}

/* ===== Hero ===== */
.hero-hero {
  position: relative;
  display: grid;
  grid-template-columns: 48.5% 1fr;
  min-height: max(660px, min(100vh, 920px));
  background: var(--azul);
  color: var(--bege);
  overflow: hidden;
}
/* textura sutil de linhas no lado azul */
.hero-hero::before {
  content: "";
  position: absolute;
  inset: 0 51.5% 0 0;
  background: radial-gradient(90% 70% at 0% 100%, rgb(var(--areia-rgb) / 0.12), transparent 60%);
  pointer-events: none;
}

.hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(130px, 9vw, 170px);
  padding-bottom: clamp(90px, 8vw, 150px);
  padding-left: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  padding-right: clamp(24px, 4vw, 80px);
}

.hero-title {
  font-size: clamp(36px, 3.05vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 660px;
  text-wrap: balance;
}
.hero-word { display: inline-block; opacity: 0; transform: translateY(0.4em); animation: hero-rise 0.9s var(--ease) forwards; animation-delay: calc(var(--d) + 150ms); }
.hero-accent { color: var(--areia); font-style: normal; }

.hero-support { margin-top: 28px; display: grid; gap: 10px; animation: hero-fadeUp 0.9s var(--ease) 0.9s both; }
.hero-support li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: rgb(var(--bege-rgb) / 0.88); }
.hero-ico { width: 20px; height: 20px; flex: none; color: var(--areia); }

.hero-cta {
  margin-top: 36px;
  padding: 22px 30px;
  border: 1px solid var(--terracota);
  color: var(--bege);
  background: rgb(var(--terracota-rgb) / 0.12);
  animation: hero-fadeUp 0.9s var(--ease) 1.05s both;
}
.hero-cta .dm-ico { color: var(--areia); transition: transform 0.35s var(--ease), color 0.3s; }
.hero-cta:hover { background: var(--terracota); }
.hero-cta:hover .dm-ico { color: var(--bege); transform: translateX(4px); }

.hero-right { position: relative; min-height: 360px; overflow: hidden; }
.hero-photo-wrap { position: absolute; inset: 0; animation: hero-settle 2.4s var(--ease) both; }

.hero-on-photo {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(90px, 8vw, 150px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  border-radius: 10px;
  background: rgb(var(--azul-rgb) / 0.35);
  border: 1px solid rgb(var(--bege-rgb) / 0.18);
  backdrop-filter: blur(14px) saturate(120%);
  color: var(--bege);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.5);
  animation: hero-fadeUp 0.9s var(--ease) 1.2s both;
}
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terracota); box-shadow: 0 0 0 4px rgb(var(--terracota-rgb) / 0.25); flex: none; }
.hero-name { font-size: 17px; font-weight: 500; }
.hero-name span { color: var(--areia); margin-inline: 3px; font-weight: 400; }
.hero-crm { margin-top: 2px; font-size: 12.5px; letter-spacing: 0.03em; color: rgb(var(--bege-rgb) / 0.78); }
.hero-crm i { font-style: normal; margin-inline: 4px; color: var(--areia); }

@keyframes hero-rise { to { opacity: 1; transform: none; } }
@keyframes hero-fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 960px) {
  .hero-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-hero::before { display: none; }
  .hero-br { display: none; }
  .hero-right { order: -1; height: 58svh; min-height: 360px; }
  .hero-on-photo { bottom: 64px; }
  .hero-left { padding: 36px var(--gutter) 88px; }
  .hero-support li { font-size: 15px; align-items: flex-start; }
  .hero-cta { width: 100%; }
}

/* ===== Photo ===== */
.ph-photo { position: relative; overflow: hidden; }
.ph-photo.ph-abs { position: absolute; inset: 0; }
.ph-img { object-fit: cover; transition: transform 1.2s var(--ease); }

/* Placeholder "direção de arte": gradiente na paleta + grão fino + moldura */
.ph-ph { isolation: isolate; }
.ph-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.16;
  mix-blend-mode: overlay;
}
.ph-dark {
  background:
    radial-gradient(60% 55% at 72% 30%, rgb(var(--areia-rgb) / 0.55), transparent 70%),
    radial-gradient(45% 40% at 20% 85%, rgb(var(--terracota-rgb) / 0.35), transparent 70%),
    linear-gradient(160deg, #1f4063 0%, var(--azul) 60%, #0e2236 100%);
  color: rgb(var(--bege-rgb) / 0.9);
}
.ph-light {
  background:
    radial-gradient(70% 60% at 30% 25%, rgb(255 255 255 / 0.45), transparent 70%),
    radial-gradient(50% 45% at 85% 90%, rgb(var(--terracota-rgb) / 0.18), transparent 70%),
    linear-gradient(170deg, rgb(var(--areia-rgb) / 0.35), rgb(var(--areia-rgb) / 0.6));
  color: rgb(var(--azul-rgb) / 0.75);
}

/* Linhas finas concêntricas: eco do mar/ondas da marca */
.ph-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background: repeating-radial-gradient(circle at 70% 120%, transparent 0 22px, currentColor 22px 23px);
  mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
}

.ph-label {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgb(var(--azul-rgb) / 0.1);
  border: 1px solid currentColor;
  border-color: rgb(var(--azul-rgb) / 0.12);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.ph-dark .ph-label { background: rgb(var(--bege-rgb) / 0.1); border-color: rgb(var(--bege-rgb) / 0.2); }
.ph-label svg { width: 14px; height: 14px; }

/* ===== SeaVisual ===== */
.sea-sea {
  position: absolute;
  inset: 0;
  background: var(--azul);
  overflow: hidden;
}

.sea-svg {
  width: 100%;
  height: 100%;
}

.sea-drift-a { animation: sea-drift 22s ease-in-out infinite alternate; }
.sea-drift-b { animation: sea-drift 28s ease-in-out infinite alternate-reverse; }
.sea-shimmer { animation: sea-shimmer 7s ease-in-out infinite alternate; }

@keyframes sea-drift {
  from { transform: translateX(-60px); }
  to { transform: translateX(60px); }
}

@keyframes sea-shimmer {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

/* ===== Sections ===== */
.sec-section { padding-block: var(--section); }
.sec-no-top { padding-top: 0; }
.sec-page-top { padding-top: calc(clamp(14px, 1.6vw, 30px) + 61px + clamp(60px, 6vw, 110px)); }

/* ---------- Linha clicável: barra flutuante sobre o banner ---------- */
.sec-quick { position: relative; z-index: 5; margin-top: -48px; }
.sec-quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 14px;
  background: var(--bege);
  box-shadow: 0 24px 50px -28px rgb(var(--azul-rgb) / 0.55), 0 0 0 1px rgb(var(--azul-rgb) / 0.06);
}
.sec-quick-bar li + li { border-left: 1px solid var(--line); }
.sec-quick-bar a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 80px;
  padding: 0 22px;
  border-radius: 10px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.sec-quick-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  color: var(--terracota);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.sec-quick-ico svg { width: 22px; height: 22px; }
.sec-quick-label { font-size: 18px; }
.sec-quick-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform 0.35s var(--ease), color 0.3s; }
.sec-quick-bar a:hover { background: var(--azul); color: var(--bege); }
.sec-quick-bar a:hover .sec-quick-ico { background: rgb(var(--bege-rgb) / 0.12); color: var(--areia); }
.sec-quick-bar a:hover .sec-quick-arrow { color: var(--areia); transform: translateX(4px); }

/* ---------- Sobre (Core benefits: cartão r12 com borda + foto r12) ---------- */
.sec-about-row {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 30px;
}
.sec-about-card {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 50px 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.sec-about-fig { position: relative; min-height: 460px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; }
.sec-mark {
  background: linear-gradient(transparent 62%, rgb(var(--areia-rgb) / 0.4) 62%);
  color: var(--azul);
  padding-inline: 1px;
}
.sec-quote-mark { display: block; height: 30px; font-size: 56px; line-height: 1; color: var(--areia); }
.sec-glass {
  position: relative;
  margin: 20px;
  padding: 20px;
  border-radius: 6px;
  background: rgb(var(--azul-rgb) / 0.55);
  border: 1px solid rgb(var(--bege-rgb) / 0.16);
  backdrop-filter: blur(10px);
  color: var(--bege);
  font-size: 18px;
  line-height: 1.35;
}

/* ---------- Atendimentos (What's included) ---------- */
.sec-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.sec-card { position: relative; overflow: hidden; scroll-margin-top: 110px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.sec-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgb(var(--azul-rgb) / 0.55); }
.sec-card .photo-img, .sec-card [role="img"] { transition: transform 1.2s var(--ease); }
.sec-card:hover [role="img"], .sec-card:hover .photo-img { transform: scale(1.04); }
.sec-badge {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bege);
  color: var(--terracota);
  box-shadow: 0 0 0 6px rgb(var(--bege-rgb) / 0.5);
}
.sec-badge svg { width: 26px; height: 26px; }
.sec-badge-light { position: absolute; top: 32px; left: 32px; background: rgb(var(--bege-rgb) / 0.14); color: var(--bege); box-shadow: none; border: 1px solid rgb(var(--bege-rgb) / 0.25); backdrop-filter: blur(8px); }

.sec-photo-card { min-height: 486px; border-radius: 12px; display: flex; align-items: flex-end; color: var(--bege); }
.sec-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--azul-rgb) / 0.8), rgb(var(--azul-rgb) / 0) 65%); }
.sec-photo-card-body { position: relative; width: 100%; display: grid; gap: 20px; padding: 40px; }
.sec-h3-light { font-size: clamp(24px, 1.6vw, 30px); line-height: 1.2; }
.sec-glass-box {
  padding: 20px;
  border-radius: 6px;
  background: rgb(var(--bege-rgb) / 0.1);
  border: 1px solid rgb(var(--bege-rgb) / 0.12);
  backdrop-filter: blur(8px);
  font-size: 16px;
  line-height: 1.4;
  color: rgb(var(--bege-rgb) / 0.95);
}

.sec-plain { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: 8px; background: var(--card); }
.sec-h3 { font-size: clamp(24px, 1.6vw, 30px); line-height: 1.2; text-align: center; }
.sec-line-box {
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}
.sec-inner-photo { position: relative; flex: 1; min-height: 180px; border-radius: 6px; overflow: hidden; }

.sec-wide-card { grid-column: 1 / -1; padding-bottom: 0; }
.sec-card-text { max-width: 580px; margin-inline: auto; text-align: center; font-size: 16px; line-height: 1.4; color: var(--text); }
.sec-wide-photo { position: relative; width: min(100%, 550px); height: 300px; margin: 16px auto 0; border-radius: 8px 8px 0 0; overflow: hidden; }

.sec-bar { margin-top: 80px; }

/* ---------- Banner ALMA (Why choosing) ---------- */
.sec-alma { position: relative; isolation: isolate; overflow: hidden; padding-block: 100px; }
.sec-sea { z-index: -2; }
.sec-alma-dim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(var(--areia-rgb) / 0.18), rgb(var(--areia-rgb) / 0.08)); }
.sec-alma-card {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 411px);
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--azul);
  border: 1px solid rgb(var(--bege-rgb) / 0.14);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6);
  color: var(--bege);
}
.sec-alma-main { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(28px, 3.6vw, 68px); }
.sec-alma-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.sec-alma-title { max-width: 561px; font-size: clamp(28px, 2vw, 38px); line-height: 1.2; }
.sec-alma-head .dm-btn { flex: none; }
.sec-alma-text { max-width: 640px; font-size: 18px; line-height: 1.5; padding-top: 28px; border-top: 1px solid rgb(var(--bege-rgb) / 0.14); line-height: 1.45; color: rgb(var(--bege-rgb) / 0.85); }
.sec-alma-window { position: relative; min-height: 220px; display: grid; place-items: center; overflow: hidden; }
.sec-alma-letters {
  position: relative;
  font-size: clamp(64px, 6vw, 110px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--bege-rgb) / 0.55);
}

/* ---------- Método ALMA (How it works) ---------- */
.sec-intro { margin-top: 24px; display: grid; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--text); }
.sec-intro p:first-child { color: var(--azul); }
.sec-method-box { margin-top: 60px; }

@media (max-width: 960px) {
  .sec-quick { margin-top: -36px; }
  .sec-quick-bar { grid-template-columns: 1fr; padding: 6px; }
  .sec-quick-bar li + li { border-left: 0; border-top: 1px solid var(--line); }
  .sec-quick-bar a { height: 64px; }
  .sec-badge-light { top: 22px; left: 22px; }
  .sec-about-row, .sec-grid, .sec-alma-card { grid-template-columns: 1fr; }
  .sec-about-card, .sec-plain { padding: 28px 22px; }
  .sec-photo-card-body { padding: 22px; }
  .sec-wide-card { padding-bottom: 0; }
  .sec-about-fig { min-height: 420px; }
  .sec-photo-card { min-height: 460px; }
  .sec-alma-head { flex-direction: column; }
  .sec-alma-head .dm-btn { width: 100%; }
  .sec-bar { margin-top: 40px; }
}

/* ===== AlmaTabs ===== */
.tabs-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: clamp(16px, 2.1vw, 40px);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgb(var(--areia-rgb) / 0.05);
}
.tabs-left { display: flex; flex-direction: column; min-width: 0; }

/* Abas */
.tabs-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tabs-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--card);
  font-size: 15px;
  color: var(--azul);
  text-align: left;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.tabs-tab b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: rgb(var(--azul-rgb) / 0.08);
  font-weight: 600;
  font-size: 13px;
  transition: background-color 0.25s, color 0.25s;
}
.tabs-tab:hover { border-color: rgb(var(--terracota-rgb) / 0.4); }
.tabs-tab[aria-selected="true"] { background: var(--bege); border-color: var(--terracota); color: var(--terracota); }
.tabs-tab[aria-selected="true"] b { background: var(--terracota); color: var(--bege); }

.tabs-progress { position: relative; height: 2px; margin-top: 14px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tabs-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--terracota);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 0.55s var(--ease);
}

/* Painel */
.tabs-panel { margin-top: 26px; margin-bottom: 30px; animation: tabs-fade 0.45s var(--ease); }
.tabs-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tabs-panel-title { font-size: 14px; letter-spacing: 0.1em; color: var(--terracota); }
.tabs-stepper { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tabs-stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--azul);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.tabs-stepper button:hover { background: var(--azul); border-color: var(--azul); color: var(--bege); }
.tabs-stepper .dm-ico { width: 15px; height: 15px; }
.tabs-flip { transform: rotate(180deg); }
.tabs-paras { margin-top: 16px; display: grid; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--text); }
.tabs-paras li:first-child { font-size: clamp(19px, 1.3vw, 22px); line-height: 1.35; color: var(--azul); }
.tabs-paras li + li { position: relative; padding-left: 18px; }
.tabs-paras li + li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--terracota); }

/* Blocos de destaque (clicáveis) */
.tabs-highlights {
  margin-top: auto;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-radius: 12px;
  background: var(--card);
}
.tabs-highlights button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  color: var(--azul);
  transition: background-color 0.25s;
}
.tabs-highlights button:hover { background: rgb(var(--bege-rgb) / 0.7); }
.tabs-hl-active { background: var(--bege) !important; }
.tabs-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--terracota);
  color: var(--terracota);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.25s, color 0.25s;
}
.tabs-hl-active .tabs-icon { background: var(--terracota); color: var(--bege); }

/* Imagem + cartão de vidro */
.tabs-right { position: relative; min-height: clamp(460px, 34vw, 640px); border-radius: 10px; overflow: hidden; display: grid; place-items: center; padding: 24px; }
.tabs-float {
  position: relative;
  width: min(100%, 360px);
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  background: rgb(var(--bege-rgb) / 0.08);
  border: 1px solid rgb(var(--bege-rgb) / 0.18);
  backdrop-filter: blur(14px);
  color: var(--bege);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55);
}
.tabs-float-head { display: grid; justify-items: center; gap: 8px; padding: 34px 0 22px; border-radius: 8px; background: rgb(var(--azul-rgb) / 0.4); animation: tabs-fade 0.5s var(--ease); }
.tabs-big-letter { font-size: 110px; line-height: 0.95; font-weight: 500; }
.tabs-float-title { font-size: 24px; line-height: 1.2; color: var(--areia); }
.tabs-dots { display: flex; gap: 6px; margin-top: 8px; }
.tabs-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgb(var(--bege-rgb) / 0.3); transition: width 0.4s var(--ease), background-color 0.3s; }
.tabs-dots .tabs-dot-on { width: 22px; background: var(--terracota); }
.tabs-float-btn { font-size: 16px; padding: 15px 20px; }

@keyframes tabs-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1200px) { .tabs-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .tabs-box { grid-template-columns: 1fr; }
  .tabs-highlights { margin-top: 0; }
  .tabs-right { min-height: 420px; }
}
@media (max-width: 520px) {
  .tabs-highlights { grid-template-columns: 1fr; }
  .tabs-tab { font-size: 14px; padding: 10px; }
  .tabs-big-letter { font-size: 88px; }
}

/* ===== Footer ===== */
/* Rodapé: faixa escura, py 100, coluna esquerda + cartão de links à direita, logo embaixo */
.ftr-footer { background: var(--azul); color: var(--bege); padding-block: 100px; }
.ftr-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 60px; align-items: start; }

.ftr-name { max-width: 516px; font-size: clamp(28px, 2vw, 38px); line-height: 1.2; }
.ftr-crm { margin-top: 8px; font-size: 14px; color: var(--areia); }
.ftr-text { margin-top: 18px; max-width: 645px; font-size: 16px; line-height: 1.35; color: rgb(var(--bege-rgb) / 0.82); }

.ftr-social { display: flex; gap: 16px; margin-top: 40px; }
.ftr-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgb(var(--bege-rgb) / 0.16);
  color: var(--areia);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ftr-social a:hover { background: var(--terracota); border-color: var(--terracota); color: var(--bege); }

.ftr-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgb(var(--bege-rgb) / 0.12);
  font-size: 16px;
}
.ftr-links { display: grid; gap: 20px; order: -1; }
.ftr-links a { color: rgb(var(--bege-rgb) / 0.82); transition: color 0.2s; }
.ftr-links a:hover { color: var(--terracota); }
.ftr-places { display: grid; gap: 20px; color: rgb(var(--bege-rgb) / 0.82); }

.ftr-bottom { margin-top: 70px; }
.ftr-logo { font-size: 34px; font-weight: 600; letter-spacing: -0.01em; }

@media (max-width: 960px) {
  .ftr-footer { padding-block: 70px 100px; }
  .ftr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .ftr-card { grid-template-columns: 1fr; } }

.ftr-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; border-top: 1px solid rgb(var(--bege-rgb) / 0.1); }
.ftr-top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(var(--bege-rgb) / 0.2); color: var(--areia); transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.ftr-top svg { width: 18px; height: 18px; }
.ftr-top:hover { background: var(--terracota); border-color: var(--terracota); color: var(--bege); transform: translateY(-3px); }

/* ===== Compatibilidade com Bootstrap (reboot) ===== */
body { font-family: var(--font); font-size: 16px; line-height: 1.45; color: var(--azul); background: var(--bege); }
h1, h2, h3, h4 { font-weight: 400; margin: 0; line-height: inherit; }
blockquote, figure { margin: 0; }
mark { padding-block: 0; }

/* Menu mobile com o Collapse do Bootstrap */
@media (min-width: 961px) { .hdr-drop { display: none !important; } }
@media (max-width: 960px) {
  .hdr-drop { opacity: 1; transform: none; visibility: visible; transition: none; }
  .hdr-drop.collapse:not(.show) { display: none; }
  .hdr-drop.collapsing { display: block; transition: height 0.3s var(--ease); }
}

/* Abas do Método ALMA com o Tab do Bootstrap */
.tabs-tab.active { background: var(--bege); border-color: var(--terracota); color: var(--terracota); }
.tabs-tab.active b { background: var(--terracota); color: var(--bege); }
.tabs-float-head.is-changing { animation: none; }
.tabs-float-head.is-in { animation: tabs-fade 0.5s var(--ease); }

/* Vídeo do mar (quando existir) */
video.sea-sea { width: 100%; height: 100%; object-fit: cover; }

/* ===== Tipografia da marca ===== */
:root {
  --font-type: "Typewriter Inked", "Courier New", monospace;
  --font-mono: Consolas, "SFMono-Regular", Menlo, monospace;
}
/* Etiquetas de seção, palavra de destaque do topo e letra do ALMA */
.tag { font-family: var(--font-type); font-size: 17px; letter-spacing: 0.01em; }
.hero-accent { font-family: var(--font-type); font-size: 1em; line-height: 1; letter-spacing: -0.01em; }
.tabs-big-letter { font-family: var(--font-type); font-weight: 400; }
/* Dados técnicos: CRM/RQE e contador do ALMA */
.hero-crm, .ftr-crm, .tabs-stepper { font-family: var(--font-mono); }
.hero-crm { letter-spacing: 0; }

/* ===== Identidade visual (manual de rebranding) ===== */
/* Logo */
.hdr-logo { display: inline-flex; align-items: center; line-height: 0; }
.hdr-logo img { height: 30px; width: auto; display: block; }
@media (max-width: 520px) { .hdr-logo img { height: 22px; } }
.ftr-logo { height: 34px; width: auto; display: block; }
@media (max-width: 520px) { .ftr-logo { height: 24px; } }

/* Texturas no lugar do mar desenhado */
img.sea-sea { width: 100%; height: 100%; object-fit: cover; }

/* Topo: enquanto a foto não chega, o fundo é o gradiente da marca */
.hero-photo-wrap .ph-dark { background: #0e2236 url("../images/marca/gradiente.webp") center / cover no-repeat; }
.hero-photo-wrap .ph-dark .ph-lines { display: none; }

/* Selo "cuide de você / cuide da sua alma" sobre a foto da biografia */
.sec-selo {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: clamp(110px, 10vw, 150px); height: auto;
  padding: 8px; border-radius: 50%;
  background: rgb(var(--bege-rgb) / 0.92);
  box-shadow: 0 18px 40px -22px rgb(var(--azul-rgb) / 0.55);
  transform: rotate(-6deg);
  animation: selo-float 7s ease-in-out infinite alternate;
}
@keyframes selo-float { to { transform: rotate(-2deg) translateY(-6px); } }

/* Banner ALMA: ilustração do mar em papel rasgado */
.sec-alma-window { background: rgb(var(--bege-rgb) / 0.96); padding: 28px 24px 18px; gap: 6px; align-content: center; }
.sec-alma-art { width: min(100%, 260px); height: auto; max-height: 300px; object-fit: contain; filter: drop-shadow(0 16px 26px rgb(var(--azul-rgb) / 0.25)); }
.sec-alma-letters { font-family: var(--font-type); font-weight: 400; font-size: clamp(34px, 3vw, 48px); letter-spacing: 0.3em; margin-right: -0.3em; color: var(--azul); -webkit-text-stroke: 0; }

/* Banner ALMA: cartão translúcido para o vídeo do mar aparecer por trás */
.sec-alma-dim { background: linear-gradient(rgb(var(--azul-rgb) / 0.18), rgb(var(--azul-rgb) / 0.32)); }
.sec-alma-card { background: rgb(var(--azul-rgb) / 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Método ALMA: painel com o gradiente da marca */
.tabs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tabs-dim { position: absolute; inset: 0; background: linear-gradient(160deg, rgb(var(--azul-rgb) / 0.1), rgb(var(--azul-rgb) / 0.45)); pointer-events: none; }
.tabs-float { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) { .sec-selo { animation: none; } }

/* Ícone do WhatsApp à frente dos botões que abrem o WhatsApp */
.wa-ico { width: 20px; height: 20px; flex: none; }
@media (min-width: 961px) { .hdr-cta { display: inline-flex; align-items: center; gap: 8px; } }
.hdr-cta .wa-ico { width: 18px; height: 18px; }
.lp-wa-link { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; margin-left: 4px; }
.lp-wa-link .wa-ico { width: 15px; height: 15px; }

/* Botões em barra: metade da largura, centralizados (no celular seguem inteiros) */
@media (min-width: 721px) { .sec-bar.dm-btn--block { width: 50%; min-width: 420px; margin-inline: auto; } }

/* Frase sobre a foto da biografia: uma linha por trecho */
.sec-quote-line { display: block; white-space: nowrap; }
@media (max-width: 380px) { .sec-quote-line { white-space: normal; } }

/* Cartão sobre a foto do topo, sem a bolinha */
.hero-on-photo { padding: 14px 22px; }

/* ===== Topo da Home: mar em movimento ao fundo + foto recortada do Dr. Murari ===== */
.hero-home { isolation: isolate; }
.hero-home::before { display: none; }
.hero-home .hero-sea { z-index: -2; }
.hero-sea-dim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--azul-rgb) / 0.78) 0%, rgb(var(--azul-rgb) / 0.5) 48%, rgb(var(--azul-rgb) / 0.12) 100%), linear-gradient(0deg, rgb(var(--azul-rgb) / 0.55) 0%, transparent 30%); }
.hero-home .hero-right { background: none; }
.hero-home .hero-photo-wrap { animation-name: hero-fadeUp; animation-duration: 1.2s; }
.hero-home .hero-photo-wrap::after { display: none; }
.hero-home .hero-photo-wrap .ph-img {
  inset: auto; left: 50%; top: 96px; width: auto; height: 132%; max-width: none;
  transform: translateX(-50%); object-fit: contain;
  filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.35));
}
.hero-home .hero-on-photo { background: rgb(var(--azul-rgb) / 0.6); }
@media (max-width: 960px) {
  .hero-sea-dim { background: linear-gradient(0deg, rgb(var(--azul-rgb) / 0.88) 0%, rgb(var(--azul-rgb) / 0.75) 45%, rgb(var(--azul-rgb) / 0.2) 100%); }
  .hero-home .hero-right { height: 62svh; }
  .hero-home .hero-photo-wrap .ph-img { top: 78px; height: 125%; }
  .hero-home .hero-photo-wrap { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
}

/* Biografia: foto espelhada (ele olha para o texto) — selo à esquerda, frase à direita */
#biografia .sec-about-fig .sec-selo { right: auto; left: 20px; }
#biografia .sec-about-fig { justify-content: flex-end; }

/* Topo: textos alinhados com o "M" do logo (borda do menu 20px + "DR." 25px) */
@media (min-width: 961px) {
  .hero-left { padding-left: calc(max(var(--gutter), (100vw - var(--sbw, 0px) - var(--wide)) / 2) + 45px); }
}

.ftr-dev{display:inline-flex;align-items:center;gap:7px;margin-left:auto;margin-right:24px;font-size:13px;letter-spacing:.3px;color:rgb(var(--bege-rgb) / .55);text-decoration:none;transition:color .3s}
.ftr-dev img{width:15px;height:15px;opacity:.75;transition:opacity .3s}
.ftr-dev b{font-weight:600;color:rgb(var(--bege-rgb) / .8)}
.ftr-dev:hover{color:var(--bege)}.ftr-dev:hover img{opacity:1}
@media (max-width:560px){.ftr-bottom{flex-wrap:wrap;gap:18px}.ftr-dev{order:3;width:100%;margin:0;justify-content:center}}
/* Fotos reais */
/* ===== Atendimentos: três blocos na mesma linha (título, foto, texto) ===== */
.sec-trio { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sec-tcard { display: flex; flex-direction: column; gap: 20px; padding: 28px 24px 26px; border-radius: 12px; background: var(--card); }
.sec-tcard-head { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.sec-tcard-head .sec-badge { width: 44px; height: 44px; flex: none; align-self: center; box-shadow: 0 0 0 5px rgb(var(--bege-rgb) / 0.5); }
.sec-tcard-head .sec-badge svg { width: 22px; height: 22px; }
.sec-tcard-head .sec-h3 { text-align: left; font-size: clamp(20px, 1.5vw, 25px); }
.sec-tcard-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.sec-tcard-text { font-size: 16px; line-height: 1.5; color: var(--text); }
@media (max-width: 1040px) { .sec-trio { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 520px) { .sec-tcard { padding: 22px 18px; } }

/* Fotos reais */
/* Card Atendimento Adulto com foto real: sombra mais forte para o texto */
#adulto .sec-shade { background: linear-gradient(180deg, transparent 35%, rgb(var(--azul-rgb) / 0.55) 62%, rgb(var(--azul-rgb) / 0.92) 100%); }
@media (max-width: 960px) { #adulto .ph-img { object-position: 50% 8% !important; } }
/* Card Atendimento Infantil: foto maior */
#infantil { gap: 20px; }
#infantil .sec-inner-photo { min-height: 380px; border-radius: 8px; }
#infantil .sec-inner-photo .ph-img { transition: transform 1.2s var(--ease); }
@media (max-width: 960px) { #infantil .sec-inner-photo { min-height: 340px; } }
.ph-photo > .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Topo: foto funde com o azul do lado esquerdo */
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--azul-rgb) / 0.55) 0%, transparent 22%), linear-gradient(0deg, rgb(var(--azul-rgb) / 0.55) 0%, transparent 35%); }
@media (max-width: 960px) { .hero-photo-wrap::after { background: linear-gradient(0deg, var(--azul) 0%, transparent 40%); } }
