/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --roxo:        #1A7460;   /* verde esmeralda — cor principal da marca */
  --roxo-claro:  #E8F4F0;   /* verde muito claro — fundos suaves */
  --roxo-medio:  #2A9478;   /* verde médio */
  --rosa:        #B8975A;   /* dourado — acento da marca */
  --rosa-claro:  #F5EDD5;   /* dourado claro / creme */
  --texto:       #1a2e2a;
  --texto-medio: #4a5e58;
  --texto-claro: #7a8e88;
  --borda:       #d5e8e2;
  --fundo:       #ffffff;
  --fundo-2:     #f5f9f7;
  --radius:      12px;
  --radius-sm:   8px;
  --sombra:      0 2px 16px rgba(26,116,96,0.10);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto);
  background: var(--fundo);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--roxo); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--fundo);
  border-bottom: 1px solid var(--borda);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.logo {
  display: flex; flex-direction: column;
  font-weight: 600; font-size: 1rem;
  color: var(--roxo); line-height: 1.2;
  text-decoration: none;
}
.logo span { font-size: 0.75rem; font-weight: 400; color: var(--texto-claro); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { font-size: 0.9rem; color: var(--texto-medio); }
.nav a:hover { color: var(--roxo); text-decoration: none; }

.btn-nav {
  background: var(--roxo); color: white !important;
  padding: 0.5rem 1.1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  transition: background 0.2s;
}
.btn-nav:hover { background: #145e4d; text-decoration: none !important; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--roxo); }

.nav-mobile { display: none; flex-direction: column; gap: 0; background: var(--fundo); border-top: 1px solid var(--borda); }
.nav-mobile a { padding: 0.9rem 1.5rem; font-size: 0.95rem; color: var(--texto-medio); border-bottom: 1px solid var(--borda); }
.nav-mobile.open { display: flex; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--roxo-claro) 0%, var(--rosa-claro) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  background: white; color: var(--roxo);
  font-size: 0.8rem; font-weight: 500;
  padding: 0.3rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--borda);
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; color: var(--texto);
  max-width: 700px; margin: 0 auto 1rem;
  line-height: 1.25;
}
.hero p {
  font-size: 1.1rem; color: var(--texto-medio);
  max-width: 550px; margin: 0 auto 2rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--roxo); color: white;
  padding: 0.8rem 2rem; border-radius: 50px;
  font-weight: 500; font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: #145e4d; text-decoration: none; }

.btn-outline {
  background: white; color: var(--roxo);
  padding: 0.8rem 2rem; border-radius: 50px;
  border: 1.5px solid var(--roxo);
  font-weight: 500; font-size: 0.95rem;
}
.btn-outline:hover { background: var(--roxo-claro); text-decoration: none; }

/* ── Seções ── */
.section { padding: 4rem 0; }
.section-alt { background: var(--fundo-2); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 1.8rem; font-weight: 600; color: var(--texto); margin-bottom: 0.5rem; }
.section-header p { color: var(--texto-medio); max-width: 500px; margin: 0 auto; }

/* ── Cards de serviço ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block; color: var(--texto);
}
.service-card:hover { box-shadow: var(--sombra); transform: translateY(-3px); text-decoration: none; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--roxo); }
.service-card p { font-size: 0.9rem; color: var(--texto-medio); }
.service-link { display: inline-block; margin-top: 0.75rem; font-size: 0.85rem; color: var(--roxo); font-weight: 500; }

/* ── Sobre ── */
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem; align-items: center;
}
.sobre-foto {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
}
.sobre-foto img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Galeria ── */
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.galeria img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3; }

/* ── Vídeo do consultório ── */
.video-consultorio { width: 100%; border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.video-consultorio video { width: 100%; display: block; max-height: 480px; object-fit: cover; }

/* ── PDF download ── */
.btn-download {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 2px solid var(--roxo);
  color: var(--roxo); padding: 0.6rem 1.4rem;
  border-radius: 50px; font-weight: 500; font-size: 0.9rem;
  text-decoration: none; transition: background 0.2s, color 0.2s;
  margin-top: 1rem;
}
.btn-download:hover { background: var(--roxo); color: #fff; }
.sobre-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 500;
  color: var(--rosa); background: var(--rosa-claro);
  padding: 0.25rem 0.9rem; border-radius: 50px; margin-bottom: 0.75rem;
}
.sobre-acoes { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; align-items: center; }
.sobre-texto h2 { font-size: 1.7rem; font-weight: 600; margin-bottom: 1rem; }
.sobre-texto p { color: var(--texto-medio); margin-bottom: 1rem; }
.credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.credential {
  background: var(--roxo-claro); color: var(--roxo);
  font-size: 0.8rem; font-weight: 500;
  padding: 0.3rem 0.8rem; border-radius: 50px;
}

/* ── Timeline de formação ── */
.timeline { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem 0; border-left: 2px solid var(--borda);
  padding-left: 1.5rem; position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: -7px; top: 1.75rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--rosa); border: 2px solid white;
  box-shadow: 0 0 0 2px var(--rosa);
}
.timeline-ano {
  min-width: 52px; font-size: 0.8rem; font-weight: 700;
  color: var(--rosa); padding-top: 0.1rem;
}
.timeline-conteudo h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.timeline-conteudo p { font-size: 0.875rem; color: var(--texto-medio); margin: 0; }

/* ── Especialidades ── */
.especialidades-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem;
}
.especialidade-card {
  background: var(--fundo); border: 1px solid var(--borda);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  text-align: center;
}
.especialidade-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.especialidade-card h3 { font-size: 1rem; font-weight: 600; color: var(--roxo); margin-bottom: 0.5rem; }
.especialidade-card p { font-size: 0.875rem; color: var(--texto-medio); }

/* ── Valores ── */
.valores-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.valor-card {
  background: var(--fundo); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  border-top: 3px solid var(--rosa);
}
.valor-icone { font-size: 2.2rem; margin-bottom: 0.75rem; }
.valor-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.valor-card p { font-size: 0.875rem; color: var(--texto-medio); }

/* ── Blog cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.blog-card {
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: block; color: var(--texto);
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: var(--sombra); text-decoration: none; }
.blog-tag {
  font-size: 0.75rem; font-weight: 500;
  color: var(--roxo); background: var(--roxo-claro);
  padding: 0.2rem 0.7rem; border-radius: 50px;
  display: inline-block; margin-bottom: 0.75rem;
}
.blog-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; color: var(--texto-medio); }

/* ── CTA banner ── */
.cta-banner {
  background: var(--roxo);
  color: white; text-align: center;
  padding: 4rem 1.5rem;
}
.cta-banner h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.cta-banner p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 2rem; }
.btn-white {
  background: white; color: var(--roxo);
  padding: 0.85rem 2.2rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
}
.btn-white:hover { background: var(--roxo-claro); text-decoration: none; }

/* ── Contato ── */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.contato-info h2 { font-size: 1.7rem; font-weight: 600; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.info-icon { font-size: 1.3rem; margin-top: 0.1rem; }
.info-item strong { display: block; font-size: 0.85rem; color: var(--texto-claro); margin-bottom: 0.15rem; }
.info-item span { font-size: 0.95rem; }
.contato-form { background: var(--fundo-2); border: 1px solid var(--borda); border-radius: var(--radius); padding: 2rem; }
.contato-form h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--texto-medio); margin-bottom: 0.4rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--borda); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: inherit;
  background: var(--fundo); color: var(--texto);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--roxo); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-form {
  width: 100%; background: var(--roxo); color: white;
  padding: 0.85rem; border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: background 0.2s;
}
.btn-form:hover { background: #145e4d; }

/* ── Página interna serviço ── */
.page-hero {
  background: var(--roxo-claro);
  padding: 3.5rem 0 2.5rem;
}
.page-hero .breadcrumb { font-size: 0.82rem; color: var(--texto-claro); margin-bottom: 0.75rem; }
.page-hero .breadcrumb a { color: var(--roxo); }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; max-width: 650px; }
.page-hero p { font-size: 1rem; color: var(--texto-medio); max-width: 600px; margin-top: 0.75rem; }

.servico-content { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.servico-texto h2 { font-size: 1.4rem; font-weight: 600; margin: 2rem 0 0.75rem; color: var(--roxo); }
.servico-texto h2:first-child { margin-top: 0; }
.servico-texto p { color: var(--texto-medio); margin-bottom: 1rem; }
.servico-texto ul { padding-left: 1.25rem; color: var(--texto-medio); }
.servico-texto ul li { margin-bottom: 0.4rem; }
.servico-aside { position: sticky; top: 90px; }
.aside-card {
  background: var(--fundo-2); border: 1px solid var(--borda);
  border-radius: var(--radius); padding: 1.5rem;
  margin-bottom: 1rem;
}
.aside-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.aside-card p { font-size: 0.875rem; color: var(--texto-medio); margin-bottom: 1rem; }

/* ── Blog ── */
.blog-header { background: var(--roxo-claro); padding: 3rem 0 2rem; }
.blog-header h1 { font-size: 2rem; font-weight: 600; }
.blog-header p { color: var(--texto-medio); margin-top: 0.5rem; }
.post-content { max-width: 720px; margin: 0 auto; }
.post-content h1 { font-size: 1.9rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.3; }
.post-meta { font-size: 0.85rem; color: var(--texto-claro); margin-bottom: 2rem; }
.post-content h2 { font-size: 1.35rem; font-weight: 600; color: var(--roxo); margin: 2rem 0 0.75rem; }
.post-content p { color: var(--texto-medio); margin-bottom: 1rem; }
.post-content ul { padding-left: 1.25rem; color: var(--texto-medio); margin-bottom: 1rem; }
.post-content ul li { margin-bottom: 0.4rem; }

/* ── Footer ── */
.footer { background: var(--texto); color: white; padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; padding-bottom: 2rem; }
.footer-col strong { display: block; margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-col p { font-size: 0.85rem; color: #aaa; line-height: 1.6; }
.footer-col a { display: block; font-size: 0.85rem; color: #aaa; margin-bottom: 0.4rem; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid #333; padding: 1rem 1.5rem; text-align: center; font-size: 0.8rem; color: #666; }

/* ── WhatsApp flutuante ── */
.whatsapp-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  background: #25D366; border-radius: 50%;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* ── Responsivo ── */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-foto { aspect-ratio: 1/1; max-width: 250px; margin: 0 auto; }
  .servico-content { grid-template-columns: 1fr; }
  .servico-aside { position: static; }
  .contato-grid { grid-template-columns: 1fr; }
}
