/* =========================================================
   Dra. Andresa Oliveira — estilo do site
   Escrito primeiro para o CELULAR; ajustes para telas maiores
   ficam nos blocos @media no fim do arquivo.
   ========================================================= */

/* ---------- Cores e fontes (mude aqui e o site todo muda) ---------- */
:root {
  --fundo: #f7f4ef;        /* off-white quente: base do site */
  --fundo-tom: #e8f0ee;    /* verde-água bem claro: fundo das seções alternadas */
  --texto: #1d3436;        /* petróleo bem escuro: textos */
  --texto-suave: #4a5f60;  /* petróleo acinzentado: textos secundários (contraste bom) */
  --destaque: #1f4f53;     /* azul-petróleo: COR DE DESTAQUE (botões, detalhes) */
  --destaque-escuro: #163a3d; /* botão ao passar o mouse */
  --champanhe: #b89a6a;    /* dourado suave: só em linhas e enfeites */
  --whatsapp: #25d366;     /* verde do WhatsApp: só no botão flutuante */

  --fonte-titulo: "Cormorant Garamond", Georgia, serif;
  --fonte-texto: "Manrope", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; } /* âncoras não ficam escondidas atrás do topo */
body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
}
img, svg, iframe { max-width: 100%; }
h1, h2 {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 10vw, 4.2rem); }
h2 { font-size: clamp(2rem, 8vw, 3rem); }
p { margin: 0 0 1em; }
a { color: var(--destaque); }

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

/* Texto só para leitores de tela (acessibilidade) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Marcação amarela de dado que falta: TIRE quando preencher */
.preencher { background: #ffeb3b; color: #000; padding: 0 .3em; font-weight: 700; outline: 2px dashed #e53935; }

/* Pequeno texto acima dos títulos ("Tratamentos", "Sobre"...) */
.sobretitulo {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7d6338; /* champanhe escurecido, para dar contraste com o fundo claro */
  margin-bottom: .6em;
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;           /* fácil de tocar com o dedo */
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--destaque);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--destaque);
  transition: background .2s;
}
.botao:hover, .botao:focus-visible { background: var(--destaque-escuro); border-color: var(--destaque-escuro); }
.botao-grande { min-height: 56px; font-size: 1.05rem; width: 100%; }
.botao-contorno { background: transparent; color: var(--destaque); }
.botao-contorno:hover, .botao-contorno:focus-visible { color: #fff; }
.icone-wpp { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.link-seta { font-weight: 700; text-decoration: none; padding: 12px 0; display: inline-block; }
.link-seta::after { content: " ↓"; }

/* ---------- 1. Topo fixo ---------- */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--fundo) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--champanhe) 40%, transparent);
}
.topo-conteudo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.marca { text-decoration: none; color: var(--texto); display: flex; flex-direction: column; line-height: 1.2; }
.marca-nome { font-family: var(--fonte-titulo); font-size: 1.45rem; font-weight: 600; }
.marca-cro { font-size: .72rem; color: var(--texto-suave); margin-top: 2px; }
.menu { display: none; } /* no celular, sem menu: só nome + botão */
.botao-topo { min-height: 44px; padding: 8px 18px; font-size: .95rem; }

/* ---------- 2. Hero ---------- */
.hero { padding: 40px 0 24px; overflow: hidden; }
.hero h1 em { font-style: italic; color: var(--destaque); }
.hero-sub { font-size: 1.1rem; color: var(--texto-suave); max-width: 34em; }
.hero-acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 28px 0 20px; }
.hero-cro { font-size: .85rem; color: var(--texto-suave); }

/* Desenho do dente (SVG). Cores definidas aqui para ficar fácil de trocar. */
.hero-arte { max-width: 300px; margin: 8px auto 0; }
.hero-arte svg { display: block; width: 100%; height: auto; }
.arte-circulo { fill: var(--fundo-tom); }
.arte-pontilhado { fill: none; stroke: var(--champanhe); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.arte-dente { fill: #fff; stroke: var(--destaque); stroke-width: 3; stroke-linejoin: round; }
.arte-brilho { fill: none; stroke: var(--champanhe); stroke-width: 3; stroke-linecap: round; }
.arte-sorriso { fill: none; stroke: var(--champanhe); stroke-width: 3; stroke-linecap: round; }
.arte-ponto { fill: var(--champanhe); }
.arte-estrela { stroke: var(--champanhe); stroke-width: 2.5; stroke-linecap: round; }

/* Divisor: um arco dourado fininho, como um sorriso */
.divisor { text-align: center; padding: 8px 0; }
.divisor svg { width: 120px; height: 20px; }
.divisor path { fill: none; stroke: var(--champanhe); stroke-width: 2; stroke-linecap: round; }

/* ---------- Seções em geral ---------- */
.secao { padding: 56px 0; }
.secao-tom { background: var(--fundo-tom); }
.secao-intro { color: var(--texto-suave); max-width: 36em; }

/* ---------- 3. Serviços (grupos que abrem e fecham) ---------- */
.grupos { display: grid; gap: 12px; margin: 28px 0 20px; }
.grupo {
  background: #fff;
  border: 1px solid #dfe6e4;
  border-radius: 16px;
  padding: 0 18px;
}
.grupo summary {
  list-style: none;              /* tira a setinha padrão */
  display: flex; align-items: center; gap: 14px;
  min-height: 64px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
}
.grupo summary::-webkit-details-marker { display: none; }
.grupo summary span { flex: 1; }
/* Sinal de "+" que vira "−" quando o grupo está aberto */
.grupo summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--destaque); }
.grupo[open] summary::after { content: "−"; }
.grupo-icone {
  width: 32px; height: 32px; flex-shrink: 0;
  fill: none; stroke: var(--destaque); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.grupo ul { margin: 0 0 18px; padding: 14px 0 0; list-style: none; border-top: 1px dashed var(--champanhe); }
.grupo li { padding: 6px 0 6px 22px; position: relative; }
/* bolinha dourada antes de cada item */
.grupo li::before { content: ""; position: absolute; left: 4px; top: .95em; width: 7px; height: 7px; border-radius: 50%; background: var(--champanhe); }

.aviso { font-size: .9rem; color: var(--texto-suave); font-style: italic; }

/* ---------- 4. Sobre ---------- */
.sobre-grade { display: grid; gap: 28px; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.passos li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 18px; }
.passos p { margin: 2px 0 0; color: var(--texto-suave); font-size: .95rem; }
.passo-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--champanhe);
  font-family: var(--fonte-titulo); font-size: 1.4rem; font-weight: 600;
  color: var(--destaque);
}
.nota-google { margin-top: 14px; font-size: .9rem; color: var(--texto-suave); }

/* ---------- 5. Localização ---------- */
.local-grade { display: grid; gap: 28px; }
address { font-style: normal; font-size: 1.05rem; margin-bottom: 1em; }
.referencia { color: var(--texto-suave); }
.local-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.mapa { border-radius: 16px; overflow: hidden; border: 1px solid #dfe6e4; }
.mapa iframe { display: block; width: 100%; height: 320px; }

/* ---------- 6. Horários ---------- */
.horarios-grade { display: grid; gap: 20px; }
.horarios { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.horarios th, .horarios td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e6ecea; }
.horarios th { font-weight: 500; }
.horarios td { text-align: right; font-weight: 700; }
.horarios tr:last-child th, .horarios tr:last-child td { border-bottom: 0; }
.horarios .fechado td, .horarios .fechado th { color: var(--texto-suave); font-weight: 500; }

/* ---------- 7. Rodapé ---------- */
.rodape {
  background: var(--destaque-escuro);
  color: #eef3f2;           /* texto claro de verdade sobre fundo escuro */
  padding: 48px 0 110px;    /* espaço embaixo para o botão flutuante não cobrir nada */
  font-size: .95rem;
}
.rodape a { color: #fff; }
.rodape-nome { font-family: var(--fonte-titulo); font-size: 1.8rem; margin-bottom: .2em; }
.rodape-cro { margin-bottom: 1.4em; }
.rodape-contato { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 6px; }
.rodape-aviso { font-style: italic; color: #d9e3e1; }
.rodape-ano { color: #d9e3e1; font-size: .85rem; margin: 0; }

/* ---------- 8. Botão flutuante de WhatsApp ---------- */
.whatsapp-flutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.whatsapp-flutuante svg { width: 32px; height: 32px; fill: #fff; }

/* =========================================================
   TELAS MAIORES (tablet e computador)
   ========================================================= */
@media (min-width: 768px) {
  .hero { padding: 72px 0 40px; }
  .hero-grade { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; }
  .hero-arte { max-width: 400px; margin: 0; }
  .hero-acoes { flex-direction: row; align-items: center; gap: 24px; }
  .botao-grande { width: auto; }

  .secao { padding: 88px 0; }
  .grupos { grid-template-columns: 1fr 1fr; align-items: start; }

  .sobre-grade { grid-template-columns: 1.1fr 1fr; align-items: start; column-gap: 56px; }
  .sobre-acao { grid-column: 1 / -1; }

  .local-grade { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 48px; }
  .mapa iframe { height: 400px; }

  .horarios-grade { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
}

@media (min-width: 960px) {
  .menu { display: flex; gap: 28px; }
  .menu a { text-decoration: none; color: var(--texto); font-weight: 500; }
  .menu a:hover { color: var(--destaque); }
  .marca-cro { font-size: .78rem; }
  .grupos { grid-template-columns: repeat(3, 1fr); }
}
