/* =========================================================
   Dra. Marina Barreto · Biolink
   INFORMAÇÕES EDITÁVEIS
   - Cores: variáveis logo abaixo, em :root
   - Foto: seção HERO, tag <img class="hero-foto">
   - Telefone/links do WhatsApp e endereços: objeto CONFIG em script.js
   - Textos: diretamente no HTML de cada seção
   ========================================================= */

:root {
  --bg:        #E9D7CC;
  --card:      #D5BFB3;
  --btn:       #A58172;
  --btn-hover: #7E6357;
  --titulo:    #64453D;
  --texto:     #53352D;
  --detalhe:   #C4A292;
  --divisor:   rgba(100,69,61,0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--font-sans);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.page { max-width: 440px; margin: 0 auto; padding-bottom: 56px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--titulo); color: var(--bg);
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--titulo); outline-offset: 2px; }

/* ===== REVEAL =====
   O conteúdo só é escondido quando o script.js confirma que assumiu o controle
   (classe js-anim no <html>). Se o JS não carregar, nada fica invisível. */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
html.js-anim .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js-anim .reveal { opacity: 1; transform: none; }
}

/* ===== HERO ===== */
.hero { padding: 40px 24px 0; text-align: center; }

.hero-foto-wrap {
  width: 148px; height: 190px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(83,53,45,0.20);
  position: relative;
}
.hero-foto {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  background: var(--card);
}
.hero-foto-frame {
  position: absolute; inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  pointer-events: none;
}

.hero-nome {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.08;
  color: var(--titulo);
  letter-spacing: -0.01em;
}

.hero-areas {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.area-badge {
  padding: 6px 14px;
  border: 1px solid var(--detalhe);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--titulo);
  background: var(--card);
}

.hero-desc {
  margin: 18px auto 0;
  max-width: 300px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--texto);
}

/* ===== AÇÕES (lista empilhada) ===== */
.acoes {
  padding: 30px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banner {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(83,53,45,0.10);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s, background 0.28s;
  width: 100%;
  text-align: left;
}
.banner:hover, .banner:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(83,53,45,0.18);
}

.banner-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--titulo);
}
.banner-icon svg { width: 19px; height: 19px; }

.banner-text { flex: 1; min-width: 0; }
.banner-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--btn);
  margin-bottom: 2px;
}
.banner-titulo {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 18px;
  color: var(--titulo);
  line-height: 1.15;
}

.banner-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--titulo);
  transition: background 0.25s, transform 0.25s, color 0.25s;
}
.banner-arrow svg { width: 13px; height: 13px; }
.banner:hover .banner-arrow { background: var(--btn); color: var(--bg); transform: translateX(3px); }

/* Banner principal (WhatsApp) em destaque */
.banner--principal { background: var(--btn); }
.banner--principal .banner-icon { background: rgba(255,255,255,0.20); color: var(--texto); }
.banner--principal .banner-tag { color: rgba(83,53,45,0.62); }
.banner--principal .banner-titulo { color: var(--texto); }
.banner--principal .banner-arrow { background: rgba(255,255,255,0.25); color: var(--texto); }
.banner--principal:hover { background: var(--btn-hover); }
.banner--principal:hover .banner-arrow { background: rgba(255,255,255,0.3); color: var(--bg); }

/* ===== FOOTER ===== */
.footer {
  margin: 52px 20px 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--divisor);
  text-align: center;
}
.footer-nome {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--titulo);
}
.footer-especialidade {
  margin-top: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--btn);
}
.footer-cidades {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--texto);
  opacity: 0.75;
}
.footer-cro {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--texto);
  opacity: 0.55;
}
.footer-cro:empty { display: none; }
.footer-brand {
  margin-top: 18px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--detalhe);
}