/* Dra. Grasiele Mattei — Design System (verde + branco, base Navi) */

@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brighten';
  src: url('fonts/Brighten Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors — paleta Bilhon */
  --primary:        #2D372C;   /* dark navy */
  --primary-dark:   #161D15;   /* black */
  --primary-light:  #E8EAE3;   /* slate light */
  --primary-50:     #F4F5F1;
  --accent:         #6B7263;   /* slate gray */
  --accent-light:   #C2CBB4;   /* sage olive */
  --ink:            #2D372C;   /* texto principal */
  --ink-2:          #47523F;   /* texto secundário */
  --muted:          #6E7566;
  --line:           #E3E4DE;
  --line-strong:    #C7C9C0;
  --bg:             #FFFFFF;
  --bg-soft:        #F1F2EC;
  --bg-card:        #FFFFFF;
  --warn:           #B5470F;
  --success:        #4A7C59;
  --gold:           #8A6540;   /* bronze da marca, detalhes */
  --gold-bright:    #9D6808;   /* dourado mais vivo, pequenos toques/hover */
  --gold-light:     #D7C7A2;   /* areia, detalhes sobre fundo escuro */

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;

  --shadow-sm: 0 1px 2px rgba(26,36,56,.04), 0 1px 3px rgba(26,36,56,.06);
  --shadow-md: 0 6px 18px -8px rgba(26,36,56,.14), 0 2px 6px rgba(26,36,56,.06);
  --shadow-lg: 0 24px 48px -16px rgba(26,36,56,.18), 0 4px 12px rgba(26,36,56,.08);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --section-pad: 96px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }
html, body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}

/* Hierarquia tipográfica clara — diferenças firmes de tamanho + peso */
h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
p { font-size: 16px; line-height: 1.6; }

p { color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.section { padding: var(--section-pad) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.78); }

/* Eyebrow with line — Jennifer hallmark */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--primary);
}
.eyebrow--on-dark { color: var(--accent-light); }
.eyebrow--on-dark::before { background: var(--accent-light); }

/* Section number — for chaptered structure */
.s-num {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
}
.s-num strong {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  letter-spacing: 0;
  color: var(--primary);
}

/* Buttons — Jennifer style (sharp 2px corners, uppercase) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 32px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 0;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #fff; color: var(--primary); transform: translateY(-1px); }
.btn--lg { height: 64px; padding: 0 40px; }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Section header (centered) */
.s-head {
  text-align: center; max-width: 540px; margin: 0 auto 48px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.s-head h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
/* Variação: header em 2 colunas (h2 esquerda, p direita) */
.s-head--split {
  text-align: left;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
}
.s-head--split h2 { text-align: left; }
.s-head--split p { text-align: left; max-width: none; }
@media (max-width: 880px) {
  .s-head--split { grid-template-columns: 1fr; gap: 16px; }
}
.s-head h2 em { font-style: normal; color: var(--gold); font-weight: 500; }
.s-head p { font-size: 18px; color: var(--muted); line-height: 1.55; }
.section--ink .s-head p { color: rgba(255,255,255,.78); }
.section--ink .s-head h2 em { color: var(--gold-light); }

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; --gutter: 20px; }
  .s-head { margin-bottom: 36px; }
  h1 { font-size: 40px; line-height: 1.1; }
  h2 { font-size: 30px; }
}

/* ===== Grasiele Mattei — extras ===== */
/* Logo texto na nav */
.nav__logo-text {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--primary);
  white-space: nowrap;
}
.nav__logo-text em { font-style: italic; font-weight: 400; }
.nav__logo-sub {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

/* Placeholder de imagem: cinza, cantos retos */
.ph {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  width: 100%; height: 100%;
  min-height: 320px;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(60,60,60,.35);
  border-radius: 0;
  color: #5F6160;
  background: #D6D6D3;
  overflow: hidden;
}
.ph__label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  max-width: 300px; line-height: 1.5;
}
.ph__hint { font-size: 11px; letter-spacing: .04em; opacity: .65; }
.ph svg { opacity: .5; }

/* PageLoader: marca em texto */
.page-loader__name {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  color: #fff;
  letter-spacing: .01em;
}

/* ===== Quadros: sem molduras/L-corners, com foto no topo ===== */
.quadros__card::before,
.quadros__card::after { display: none !important; }

.quadros__img {
  max-width: none;
  width: calc(100% + 52px);
  margin: -32px -26px 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(.92);
}

/* ===== Split banners: imagem gigante + texto ===== */
.splitban {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #C9D1BB;
  min-height: 620px;
}
.splitban__media { position: relative; overflow: hidden; min-height: 420px; }
.splitban__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.splitban__content {
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  gap: 24px;
  padding: 96px 8vw 96px 64px;
}
.splitban--reverse .splitban__media { order: 2; }
.splitban--reverse .splitban__content { padding: 96px 64px 96px 8vw; }
.splitban__content h2 { color: #1E2A1D; font-size: clamp(28px, 3vw, 44px); font-weight: 600; line-height: 1.12; }
.splitban__content h2 em { font-style: normal; color: #4E5A47; font-weight: 500; }
.splitban__content p { color: #38412F; font-size: 17px; line-height: 1.65; max-width: 480px; }
.splitban .btn--white { background: var(--primary); color: #fff; }
.splitban .btn--white:hover { background: var(--primary-dark); color: #fff; }
@media (max-width: 880px) {
  .splitban { grid-template-columns: 1fr; }
  .splitban__media { order: 0 !important; min-height: 300px; }
  .splitban__content {
    order: 1;
    padding: 48px 24px 56px !important;
    align-items: center;
    text-align: center;
  }
  .splitban__content p { max-width: 100%; }
}

/* ===== FAQ em verde escuro (especificidade > components.css) ===== */
section.faq.faq { background: var(--primary); border-bottom: 0; }
.faq .faq__head h2 { color: #fff; }
.faq .faq__head h2 em { color: var(--accent-light); }
.faq .faq__head p { color: rgba(255,255,255,.72); }
.faq .btn--primary.btn--primary { background: #fff; color: var(--primary); }
.faq .btn--primary.btn--primary:hover { background: #EFEBE0; }
.faq .faq__item,
.faq .faq__item:first-child { border-color: rgba(255,255,255,.16); }
.faq .faq__details summary { color: #fff; }
.faq .faq__details summary:hover { color: var(--gold-light); }
.faq .faq__answer { color: rgba(255,255,255,.75); }

/* ===== Cobertura: mapa normal no lugar do globo ===== */
.cobertura__map {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
  filter: saturate(.85);
}

/* ===== Quadros mais largos: container estendido ===== */
.quadros .container { max-width: 1460px; }

/* ===== Cursor nativo do mouse (CustomCursor desativado, sem bolinha) ===== */
@media (pointer: fine) {
  body,
  a, button, input, textarea, select, summary, .btn {
    cursor: auto !important;
  }
  a, button, summary, .btn { cursor: pointer !important; }
}

/* ===== Logo real (imagem larga, precisa mais altura que o placeholder de texto; especificidade > components.css) ===== */
.nav__logo .nav__logo-svg { height: 76px; }
@media (max-width: 768px) {
  .nav__logo .nav__logo-svg { height: 52px; }
}

/* ===== Foto do hero: priorizar o rosto, não cortar a cabeça (especificidade > components.css) ===== */
.hero__photo .hero__img { object-position: center 12%; }

/* ===== Toques da cor real da marca (dourado/bronze) nos detalhes, sem virar bloco grande ===== */
.hero .hero__content h1 em { color: var(--gold); }
.splitban__content h2 em { color: var(--gold); }
.stats .stats__suffix { color: var(--gold-bright); opacity: 1; }
.team-h .team-h__card-num { color: var(--gold); }
.team-h .team-h__card.is-active { border-color: var(--gold); }
.quadros .quadros__card { border-top: 3px solid var(--gold-light); }

/* 3 quadros (card de AVC removido a pedido da Dra.): 3 colunas no desktop */
.quadros .quadros__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .quadros .quadros__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .quadros .quadros__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .quadros .quadros__grid { grid-template-columns: 1fr; }
}
.faq .faq__plus::before, .faq .faq__plus::after { background: var(--gold-bright); }

/* ===== Mobile: foto do hero não pode cortar a Dra., mostrar completa (especificidade > components.css) ===== */
@media (max-width: 768px) {
  .hero .hero__photo { min-height: 480px; }
  .hero__photo .hero__img { object-fit: contain; object-position: center; }
}

/* ===== Modal do quadro: sem texto de valor/retorno no rodapé, botão centralizado (especificidade > components.css) ===== */
.qmodal__panel .qmodal__footer { justify-content: center; }

/* ===== Mobile: faixa de registros (Autoridade) vira carrossel horizontal em vez de lista empilhada ===== */
@media (max-width: 880px) {
  .clinic .clinic__registros-list {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
  }
  .clinic .clinic__registros-list::-webkit-scrollbar { display: none; }
  .clinic .clinic__registro {
    flex: 0 0 auto;
    width: 78vw;
    max-width: 320px;
    scroll-snap-align: center;
    padding: 16px 20px;
    border-left: 0;
    border-right: 1px dashed rgba(255,255,255,.16);
    border-bottom: 0;
    align-items: center;
    text-align: center;
    gap: 5px;
  }
  .clinic .clinic__registro:last-child { border-right: 0; }
  .clinic .clinic__registro strong { font-size: 16px; }
}

/* ===== Rodapé: horário de funcionamento em linha própria (especificidade > components.css) ===== */
.foot .foot__bottom { flex-direction: column; gap: 6px; }
@media (max-width: 768px) {
  .foot__bottom span { text-wrap: balance; }
}

/* ===== Mapa da Cobertura precisa aparecer no mobile (regra antiga escondia o globo 3D e junto escondeu o mapa) ===== */
@media (max-width: 880px) {
  .cobertura .cobertura__globe-3d-wrap { display: block; margin: 0 auto 32px; }
}
