/* ============================================================
   Clínica Vértice — style.css
   Paleta: azul #1D466B · azul escuro #14324E · creme #FAF9F6
           bege #F1EDE5 · bordas #E8E3DA / #DDD6CA
           texto #22302F · texto secundário #4A5654
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: #FAF9F6;
  color: #22302F;
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: #1D466B; }
a:hover { color: #14324E; }

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

/* ---------- Utilitários ---------- */

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

.section {
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1D466B;
}

h1 {
  margin-bottom: 20px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #22302F;
  text-wrap: pretty;
}

h2 {
  margin-bottom: 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #22302F;
}

h2.tight { margin-bottom: 8px; }

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #4A5654;
  text-wrap: pretty;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Public Sans', sans-serif;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline {
  font-size: 14px;
  color: #1D466B;
  border: 1px solid #1D466B;
  border-radius: 10px;
  padding: 9px 18px;
  white-space: nowrap;
}
.btn-outline:hover { background: #1D466B; color: #FAF9F6; }

.btn-solid {
  color: #FAF9F6;
  background: #1D466B;
  border: none;
  padding: 14px 28px;
}
.btn-solid:hover { background: #14324E; color: #FAF9F6; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E8E3DA;
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1D466B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF9F6;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.brand-mark-invert {
  width: 28px;
  height: 28px;
  background: #FAF9F6;
  color: #1D466B;
  font-size: 14px;
}

.brand-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #22302F;
  letter-spacing: -0.01em;
}
.brand-name.light { font-size: 16px; color: #FAF9F6; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 400;
  color: #4A5654;
}
.main-nav a:hover { color: #1D466B; }

/* ---------- Decorações (SVGs odontológicos) ---------- */

.deco {
  position: absolute;
  pointer-events: none;
}

.deco-hero-tooth { top: 15px; left: -70px; width: 320px; opacity: 0.055; }
.deco-infobar-tooth { top: 50%; right: 28px; width: 74px; transform: translateY(-50%) rotate(10deg); opacity: 0.1; }
.deco-toothbrush { top: clamp(60px, 8vw, 104px); right: 26px; width: 104px; transform: rotate(-8deg); opacity: 0.09; }
.deco-mirror { bottom: 26px; right: 4%; width: 92px; transform: rotate(8deg); opacity: 0.1; }
.deco-equipe-tooth { top: 20px; right: 0; width: 170px; transform: rotate(12deg); opacity: 0.055; }
.deco-smile { top: clamp(66px, 8vw, 112px); right: 24px; width: 96px; opacity: 0.1; }
.deco-contato-tooth { top: 40px; right: 4%; width: 84px; transform: rotate(-10deg); opacity: 0.08; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 40px);
  justify-content: center;
}

.divider-line {
  height: 1px;
  flex: 0 0 56px;
  background: #DDD6CA;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 24px clamp(48px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-text { flex: 1 1 420px; min-width: 300px; }

.hero-text .eyebrow { margin-bottom: 18px; }

.lead {
  margin-bottom: 32px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: #4A5654;
  max-width: 46ch;
  text-wrap: pretty;
}

.hero-media { flex: 1 1 380px; min-width: 280px; }

.hero-img {
  width: 100%;
  height: clamp(300px, 34vw, 460px);
  object-fit: cover;
  border-radius: 20px;
  background: #E8E3DA;
}

/* ---------- Barra de informações ---------- */

.infobar {
  background: #1D466B;
  position: relative;
  overflow: hidden;
}

.infobar-grid {
  padding-top: 36px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.infobar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.infobar-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9AB3CB;
}
.infobar-label.blue { color: #1D466B; }

.infobar-value {
  font-size: 15px;
  line-height: 1.5;
  color: #FAF9F6;
}

/* ---------- Especialidades ---------- */

.especialidades {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  overflow: hidden;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: #FFFFFF;
  border: 1px solid #E8E3DA;
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}
.card:hover { border-color: #1D466B; }

.card h3 {
  margin-bottom: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #22302F;
}

.card p {
  font-size: 15px;
  line-height: 1.65;
  color: #4A5654;
}

/* ---------- Faixas com fundo bege (A Clínica / Contato) ---------- */

.band {
  background: #F1EDE5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 11v10M11 16h10' stroke='%231D466B' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
}

/* ---------- Layout de duas colunas ---------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
}

.split-center { align-items: center; gap: clamp(32px, 5vw, 72px); }

.split-media { flex: 1 1 380px; min-width: 280px; }

.split-text { flex: 1 1 420px; min-width: 300px; }

.split-text h2 { margin-bottom: 18px; }

.split-text p:not(.eyebrow):not(.role):not(.section-desc) {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #4A5654;
  text-wrap: pretty;
}

.split-text p:last-child { margin-bottom: 0; }

.clinica-img {
  width: 100%;
  height: clamp(280px, 30vw, 420px);
  object-fit: cover;
  border-radius: 20px;
  background: #E8E3DA;
}

/* ---------- A Dentista ---------- */

.equipe {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  overflow: hidden;
}

.split-media-portrait { flex: 0 1 380px; }

.portrait-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: #E8E3DA;
}

.role {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1D466B;
}

.creds {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #E8E3DA;
  padding-top: 20px;
  margin-top: 24px;
}

.cred-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.cred-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D466B;
  min-width: 110px;
}

.cred-value {
  font-size: 14.5px;
  color: #4A5654;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

.faq-head { margin-bottom: clamp(32px, 4vw, 48px); }
.faq-head h2 { margin-bottom: 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E8E3DA;
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #22302F;
  min-height: 44px;
}

.faq-icon {
  font-weight: 400;
  font-size: 20px;
  color: #1D466B;
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #4A5654;
}

.faq-item.open .faq-a { display: block; }

/* ---------- Contato ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  margin-top: 28px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #22302F;
}

.contact-form input,
.contact-form select {
  padding: 13px 16px;
  border: 1px solid #DDD6CA;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Public Sans', sans-serif;
  background: #FFFFFF;
  color: #22302F;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus { border-color: #1D466B; }

.form-submit {
  margin-top: 6px;
  min-height: 44px;
}

.contact-side {
  flex: 1 1 380px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-side iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 1px solid #DDD6CA;
  border-radius: 16px;
}

.map-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  background: repeating-linear-gradient(45deg, #E8E3DA, #E8E3DA 10px, #EFEAE1 10px, #EFEAE1 20px);
  border: 1px solid #DDD6CA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder span {
  font-family: monospace;
  font-size: 13px;
  color: #6B7472;
  background: #FAF9F6;
  padding: 8px 14px;
  border-radius: 8px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info span:last-child {
  font-size: 15px;
  line-height: 1.55;
  color: #4A5654;
}

/* ---------- Rodapé ---------- */

.site-footer { background: #1D466B; }

.footer-inner {
  padding-top: 48px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 14px;
  color: #9AB3CB;
  text-decoration: none;
}
.footer-social a:hover { color: #FAF9F6; }

.footer-legal {
  border-top: 1px solid rgba(250, 249, 246, 0.15);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal p {
  font-size: 14px;
  line-height: 1.6;
  color: #C7D3E0;
}

.footer-legal p.fine {
  font-size: 13px;
  color: #9AB3CB;
}

/* ---------- WhatsApp fixo ---------- */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #DDD6CA;
  box-shadow: 0 4px 16px rgba(34, 48, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.06); }

/* ---------- Responsivo ---------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
}
