/* ===========================================================
   Dra. Camila Camelier — Folha de estilos principal
   =========================================================== */

:root {
  --navy: #16324a;
  --navy-deep: #0f2436;
  --navy-light: #2c5578;
  --blue-accent: #7fb2ce;
  --blue-pale: #eaf3f7;
  --cream: #faf8f4;
  --white: #ffffff;
  --gold: #b98249;
  --gold-dark: #9c6c39;
  --text: #2a3742;
  --text-light: #4c5c68;
  --border: #e3e0d8;
  --shadow: 0 10px 30px rgba(22, 50, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(22, 50, 74, 0.14);
  --radius: 14px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; } /* base 16px padrão */

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem; /* levemente maior que o padrão, para facilitar a leitura sem exagerar */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}

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

section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.bg-pale { background: var(--blue-pale); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.82); }

.text-center { text-align: center; }
.max-w { max-width: 700px; margin-left: auto; margin-right: auto; }
/* Quando o bloco não está centralizado (sem .text-center), o título e a
   descrição devem começar na mesma margem esquerda do conteúdo abaixo
   (lista, card, etc.) — sem isso, o .max-w centralizava o cabeçalho
   sozinho, deixando-o deslocado para a direita em relação ao resto. */
.max-w:not(.text-center) { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(185, 130, 73, 0.35);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 44px; width: auto; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.brand-text span {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 10px 2px;
  display: inline-block;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-dark); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-cta .btn { padding: 11px 24px; font-size: 0.9rem; }

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

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero (full-bleed, foto integrada ao fundo) ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
  padding: 0 !important;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 540px;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(24px, 6vw, 96px) 56px clamp(24px, 6vw, 110px);
  color: var(--white);
}
.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-accent);
  margin-bottom: 16px;
}
.hero-content h1 { color: var(--white); margin-bottom: 0.35em; }
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.9em;
}
.hero-desc { font-size: 1rem; max-width: 480px; color: rgba(255,255,255,0.78); }

.hero-infobox {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
}
.hero-infobox .info-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255,255,255,0.94);
}
.hero-infobox .info-line svg { flex-shrink: 0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline-navy { border-color: rgba(255,255,255,0.55); color: var(--white); }
.hero .btn-outline-navy:hover { background: rgba(255,255,255,0.14); }

.hero-media {
  position: relative;
  min-height: 320px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy) 0%, rgba(22,50,74,0.05) 22%);
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: 320px; }
  .hero-media::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(22,50,74,0) 30%); }
  .hero-content { padding: 40px clamp(24px, 6vw, 60px) 56px; }
  .hero-infobox { max-width: none; }
}

/* ---------- Pillars / cards ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-img { height: 190px; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; }
.pillar-body { padding: 26px 26px 30px; }
.pillar-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.pillar-body h3 { margin-bottom: 10px; }
.pillar-body p { color: var(--text-light); font-size: 0.96rem; margin: 0; }

@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ---------- About / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .split-media { max-width: 380px; margin: 0 auto; }
}

/* ---------- Info / practical cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.info-card .info-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.info-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.info-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline (Formação / Experiência) ---------- */
.timeline { position: relative; margin-top: 50px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 22px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-left: 66px;
  margin-bottom: 42px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 10px; top: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  z-index: 1;
}
.timeline-period {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h3 { margin-bottom: 4px; }
.timeline-org { color: var(--text-light); font-weight: 500; margin-bottom: 10px; font-size: 0.95rem; }
.timeline-item ul { margin: 0; padding-left: 20px; color: var(--text); }
.timeline-item li { margin-bottom: 4px; }

/* ---------- Tag / chip lists (idiomas, cursos) ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tag {
  background: var(--blue-pale);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.two-col-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
}
.two-col-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
@media (max-width: 700px) { .two-col-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 24px;
  padding: 56px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 26px;
  margin-top: 40px;
}
.site-footer p { color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand strong { font-family: var(--serif); color: var(--white); font-size: 1.15rem; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.93rem; }
.footer-col a:hover { color: var(--blue-accent); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a, .footer-social span {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 200;
  background: #25d366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }
/* Fica escondido enquanto a seção principal (que já tem seu próprio botão
   de WhatsApp) está visível, evitando sobrepor o texto. */
.whatsapp-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(0.85); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--blue-pale);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--text-light); }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--navy-light); font-weight: 600; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-row strong { display: block; color: var(--navy); margin-bottom: 3px; }
.contact-row span, .contact-row a { color: var(--text-light); font-size: 0.95rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   Formulário (avaliação de novos pacientes)
   =========================================================== */
.form-page-header {
  background: var(--navy);
  color: var(--white);
  padding: 46px 0 40px;
  text-align: center;
}
.form-page-header h1 { color: var(--white); margin-bottom: 8px; }
.form-page-header p { color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto; }

.form-wrap { max-width: 820px; margin: -30px auto 0; padding: 0 24px 90px; }
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
@media (max-width: 640px) { .form-card { padding: 26px 20px; } }

.form-section { margin-bottom: 40px; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  border-bottom: 2px solid var(--blue-pale);
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}
.field .hint { font-size: 0.78rem; color: var(--text-light); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input[readonly] {
  background: #eef1f4;
  color: var(--text-light);
  cursor: default;
}
.field input[readonly]:focus { border-color: var(--border); background: #eef1f4; }

.choice-group { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  cursor: pointer;
}
.choice-group input { accent-color: var(--gold); width: 16px; height: 16px; }

.sub-block {
  background: var(--blue-pale);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 6px;
}
.sub-block-title { font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-bottom: 10px; }

.consent-box {
  background: var(--blue-pale);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 34px 0 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.consent-box input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.consent-box p { margin: 0; font-size: 0.88rem; color: var(--text); }
.consent-box a { color: var(--navy-light); font-weight: 600; text-decoration: underline; }

.form-submit { text-align: center; }
.form-submit .btn { width: 100%; justify-content: center; padding: 16px; font-size: 1.02rem; }
@media (min-width: 480px) { .form-submit .btn { width: auto; padding: 16px 54px; } }

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* Confirmation state */
.form-success {
  max-width: 620px;
  margin: 70px auto;
  text-align: center;
  padding: 0 24px;
}
.form-success .icon-check {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 22px;
}

/* Utility */
.mt-0 { margin-top: 0 !important; }
/* O conteúdo é sempre visível por padrão — sem depender de JavaScript
   ou de temporização de scroll para aparecer. */
.reveal { opacity: 1; }
