/* ============================================================
   DRA. GISELE PONTIN — DESIGN SYSTEM
   Cream + Brown + Gold — Reabilitação Protética
============================================================ */

:root {
  /* ─── Brand — Dr. Roberto Pontin: verde-petróleo + creme ─── */
  --primary:        #11766E;   /* verde-petróleo — destaque principal */
  --primary-dark:   #0C5A54;
  --primary-light:  #F7F4ED;   /* creme principal — fundos sutis */
  --primary-50:     #FBFAF5;   /* creme bem claro */
  --accent:         #11766E;
  --accent-light:   #11766E;

  --ink:            #1A1816;   /* quase preto — texto principal */
  --ink-2:          #252220;   /* títulos */
  --muted:          #5E574F;   /* marrom quente — texto secundário */
  --line:           #E8E2D2;
  --line-strong:    #11766E;
  --bg:             #F7F4ED;   /* creme principal — fundo geral */
  --bg-soft:        #FBFAF5;   /* creme bem claro */
  --bg-warm:        #EFE9D6;   /* creme mais escuro — seções secundárias */
  --bg-card:        #FBFAF5;
  --warn:           #B5470F;
  --success:        #11766E;

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

  --shadow-sm: 0 1px 2px rgba(22,22,22,.04), 0 1px 3px rgba(22,22,22,.06);
  --shadow-md: 0 6px 18px -8px rgba(22,22,22,.14), 0 2px 6px rgba(22,22,22,.06);
  --shadow-lg: 0 24px 48px -16px rgba(22,22,22,.18), 0 4px 12px rgba(22,22,22,.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; }
ul, ol { list-style: none; }

::selection { background: var(--primary); color: #fff; }

/* ============================================================
   TIPOGRAFIA EDITORIAL
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}
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; color: var(--ink-2); text-wrap: pretty; }
em, i { font-style: normal !important; color: var(--primary); font-weight: 500; }
h1 em, h2 em, h3 em, h4 em { font-style: normal !important; color: var(--primary); font-weight: inherit; }
.section--ink em, .section--ink h1 em, .section--ink h2 em, .section--ink h3 em { color: var(--accent-light); }
.muted { color: var(--muted); }

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.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--warm { background: var(--bg-warm); }
.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,.76); }
.section--ink em { color: var(--accent-light); }

/* ============================================================
   EYEBROW
============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  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); }

.s-num {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
}
.s-num strong {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: 0;
  color: var(--primary);
}
.section--ink .s-num, .section--ink .s-num strong { color: var(--accent-light); }

/* ============================================================
   BOTÕES
============================================================ */
.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: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn--bronze { background: var(--primary); color: #fff; }
.btn--bronze:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--lg { height: 64px; padding: 0 40px; font-size: 14px; }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   SECTION HEAD
============================================================ */
.s-head {
  text-align: center; max-width: 680px; margin: 0 auto 56px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.s-head h2 em {
  font-style: normal;
  color: var(--primary);
  font-weight: 500;
}
.section--ink .s-head h2 em { color: var(--accent-light); }
.s-head p {
  font-size: 17px; color: var(--muted); line-height: 1.55;
  max-width: 56ch;
}
.section--ink .s-head p { color: rgba(255,255,255,.76); }

.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: 18px; }
}

/* ============================================================
   CARD
============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  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); }

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  z-index: 200;
  transition: width .1s linear;
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; --gutter: 20px; }
  .s-head { margin-bottom: 36px; }
  h1 { font-size: 38px; line-height: 1.1; }
  h2 { font-size: 28px; }
}
