﻿/* Site da Clínica Schuler. Tokens copiados do design system maria-schuler-design. */
/* Fontes servidas do próprio site (assets/fonts), variáveis, subconjunto latino, licença OFL. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/cormorant-garamond.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/manrope.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/inter.woff2') format('woff2'); }

:root {
  --primary: #37B8C6;
  --primary-dark: #187480; /* turquesa de texto e de fundo com texto, 5,46:1 com branco */
  --primary-darker: #145F69;
  --primary-light: #DDF5F8;
  --primary-100: #EEF9FB;
  --bg: #F9FCFC;
  --surface: #FFFFFF;
  --muted: #F1F7F8;
  --border: #D7E7EA;
  --text: #27333A;
  --text-2: #5A6973;
  --wash: linear-gradient(180deg, #DDF5F8 0%, #F9FCFC 100%);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-card: 20px;
  --shadow: 0 8px 30px rgba(39, 51, 58, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 10; background: rgba(249, 252, 252, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: auto; }
.brand span { font-family: var(--font-heading); font-weight: 600; font-size: 15px; line-height: 1.2; }
.brand small { display: block; font-weight: 500; font-size: 13px; color: var(--text-2); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--font-heading); font-weight: 500; font-size: 15px; color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--primary-dark); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font-heading); color: var(--text); cursor: pointer; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 600 16px var(--font-heading); text-decoration: none; border: 1.5px solid var(--primary); transition: background 250ms var(--ease), color 250ms var(--ease); }
.btn-primary { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-primary:hover { background: var(--primary-darker); border-color: var(--primary-darker); }
.btn-secondary { background: transparent; color: var(--primary-dark); }
.btn-secondary:hover { background: var(--primary-100); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Tipografia */
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 58px); }
h2 { font-size: clamp(30px, 4vw, 40px); }
h3 { font-family: var(--font-heading); font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.eyebrow { font-family: var(--font-heading); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary-dark); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--text-2); }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); font: 600 13px var(--font-heading); }

/* Seções */
section { padding: 80px 0; }
.wash { background: var(--wash); }
.muted { background: var(--muted); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero p.lead { margin: 20px 0 0; max-width: 520px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.portrait { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.center { text-align: center; }
.head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform 250ms var(--ease); }
a.card:hover { transform: translateY(-3px); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23187480' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.band { background: var(--primary-dark); color: #fff; }
.band :focus-visible { outline-color: #fff; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { color: #fff; }
.band p { margin: 8px 0 0; opacity: 0.95; }
.band .btn { background: #fff; border-color: #fff; color: var(--primary-dark); }

/* Fotos do consultório */
.foto { margin: 0; }
.foto img { width: 100%; height: auto; border-radius: var(--radius-card); border: 1px solid var(--border); }
.foto figcaption { margin-top: 10px; font-size: 15px; color: var(--text-2); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font: 600 17px var(--font-heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--primary-dark); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--text-2); }

/* Artigo */
.post-head { padding: 64px 0 40px; }
.post-head h1 { font-size: clamp(34px, 5vw, 50px); margin-top: 10px; }
.post-meta { font-size: 14px; color: var(--text-2); margin-top: 14px; }
article { padding: 0 0 40px; }
article p, article li { font-size: 18px; }
article h2 { font-size: 30px; margin: 40px 0 12px; }
article strong { color: var(--text); }
.help { background: var(--primary-100); border: 1px solid var(--border); border-left: 4px solid var(--primary-dark); border-radius: 14px; padding: 20px 22px; margin: 32px 0; }
.help p { margin: 0; font-size: 16px; }
.help p + p { margin-top: 8px; }
.sign { border-top: 1px solid var(--border); margin-top: 36px; padding-top: 20px; font-size: 15px; color: var(--text-2); }
.sign strong { display: block; font-family: var(--font-heading); }

/* Rodapé */
.sos { background: var(--muted); border-top: 1px solid var(--border); padding: 18px 0; font-size: 15px; }
.sos .wrap { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.sos strong { font-family: var(--font-heading); }
footer { background: #27333A; color: #D7E7EA; padding: 48px 0 32px; font-size: 15px; }
footer a { color: #fff; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { font: 600 14px var(--font-heading); text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin: 0 0 12px; }
footer p { margin: 0 0 6px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer .legal { border-top: 1px solid #3c4a52; margin-top: 32px; padding-top: 20px; font-size: 13px; color: #A9B5BB; }

/* Botão flutuante do WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.wa-float svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card, a.card:hover { transition: none; transform: none; }
}
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 16px 20px 20px; gap: 14px; }
  .nav.open { display: flex; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero .portrait { max-width: 360px; }
  footer { padding-bottom: 88px; }
  article p, article li { font-size: 17px; }
}
