
/* ============================================================
   CLÍNICA ORYUS — Folha de estilo
   Paleta e tipografia derivadas da identidade visual da marca.
   Fontes da marca: Bowie (display) + BW Aleta (texto) — proprietárias.
   Substitutas web: Jost (display) + Inter (texto).
   Para usar as fontes oficiais, adicione os @font-face e troque as
   variáveis --font-display / --font-body abaixo.
   ============================================================ */

:root {
  /* Paleta oficial */
  --olive:        #6B6A4F;
  --terracotta:   #AB573A;
  --sand:         #E8E2DD;
  --ivory:        #F4F2ED;
  /* Derivadas para hierarquia/contraste */
  --olive-dark:   #4A4936;
  --terracotta-dark:#8E4630;
  --ink:          #2B2A22;
  --muted:        #6E6C61;
  --white:        #FFFFFF;
  --line:         #DAD3CB;

  --font-display: 'Jost', 'Century Gothic', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(43,42,34,.06);
  --shadow:    0 14px 40px rgba(43,42,34,.10);
  --shadow-lg: 0 24px 70px rgba(43,42,34,.16);
  --t: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--sand { background: var(--sand); }
.section--olive { background: var(--olive); color: var(--ivory); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section--olive h1, .section--olive h2, .section--olive h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ivory); }

.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .78rem;
  font-weight: 500;
  color: var(--terracotta);
  margin: 0 0 1rem;
  display: inline-block;
}
.section--olive .kicker, .section--ink .kicker { color: var(--sand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--olive .lead, .section--ink .lead { color: rgba(244,242,237,.85); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 500;
  font-size: 1rem; letter-spacing: .02em;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: 0 10px 26px rgba(171,87,58,.28); }
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--olive { background: var(--olive); color: var(--ivory); }
.btn--olive:hover { background: var(--olive-dark); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,242,237,.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-kicker { font-family: var(--font-display); font-size: .58rem; letter-spacing: .42em; color: var(--olive); text-transform: uppercase; margin-bottom: 3px; }
.brand .brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .34em; color: var(--ink); text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-display); font-size: .98rem; letter-spacing: .01em; color: var(--ink); transition: color var(--t); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--terracotta); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.has-dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; min-width: 250px;
  opacity: 0; visibility: hidden; transition: all var(--t); list-style: none; margin: 0;
}
.has-dd:hover .dd-menu, .has-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-menu a { display: block; padding: 9px 14px; border-radius: 9px; font-size: .95rem; }
.dd-menu a:hover { background: var(--ivory); color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: var(--t); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(48px,7vw,90px) 0; }
.hero h1 span { color: var(--terracotta); }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--olive); }
.hero-visual { position: relative; }
.hero-visual .hero-card {
  background: var(--olive); border-radius: var(--radius-lg); padding: 40px; color: var(--ivory);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-visual .hero-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(171,87,58,.35);
}
.hero-eye { width: 64px; height: 64px; margin-bottom: 22px; }
.hero-card h3 { color: var(--ivory); font-size: 1.5rem; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 0; position: relative; z-index: 1; }
.hero-card li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(244,242,237,.18); }
.hero-card li:first-child { border-top: 0; }
.hero-card li svg { width: 22px; height: 22px; flex: none; color: var(--sand); }

/* Hero com foto real */
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -14px; bottom: -22px; background: var(--olive); color: var(--ivory);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); max-width: 250px;
}
.hero-badge .hero-eye { width: 34px; height: 34px; margin-bottom: 8px; color: var(--sand); }
.hero-badge strong { font-family: var(--font-display); font-weight: 500; display: block; font-size: 1.05rem; }
.hero-badge span { font-size: .85rem; color: rgba(244,242,237,.85); }

/* Foto na página Sobre */
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galeria (estrutura) ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-tall { grid-row: span 2; grid-column: span 2; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; color: var(--terracotta); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Step (como funciona) */
.step { position: relative; padding-left: 4px; }
.step .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--terracotta); opacity: .35; line-height: 1; }
.step h3 { margin-top: 10px; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Stats / prova */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .n { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,3.2rem); color: var(--ivory); line-height: 1; }
.stat .l { font-size: .95rem; color: rgba(244,242,237,.82); margin-top: 8px; }

/* ---------- Equipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.doc-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-photo { aspect-ratio: 3/4; background: var(--sand); overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.doc-card:hover .doc-photo img { transform: scale(1.04); }
.doc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.doc-body .badge { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); font-family: var(--font-display); margin-bottom: 8px; }
.doc-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.doc-body .spec { color: var(--muted); font-size: .92rem; margin-bottom: 16px; flex: 1; }
.doc-link { font-family: var(--font-display); font-size: .92rem; color: var(--olive); display: inline-flex; align-items: center; gap: 6px; }
.doc-card:hover .doc-link { color: var(--terracotta); }

/* ---------- Depoimentos ---------- */
.quote { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.quote .stars { color: var(--terracotta); letter-spacing: 3px; margin-bottom: 12px; }
.quote p { font-size: 1.05rem; color: var(--ink); font-style: italic; }
.quote .who { font-family: var(--font-display); color: var(--muted); font-style: normal; font-size: .92rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-display); font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--terracotta); transition: transform var(--t); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--terracotta); color: var(--white); border-radius: var(--radius-lg); padding: clamp(40px,6vw,68px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 1.8rem; }
.cta-band .btn--light:hover { transform: translateY(-2px); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: var(--white); color: var(--ink); transition: border-color var(--t);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); }
.field textarea { min-height: 130px; resize: vertical; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 22px; height: 22px; color: var(--terracotta); flex: none; margin-top: 3px; }
.info-list strong { font-family: var(--font-display); font-weight: 500; display: block; }
.info-list span { color: var(--muted); font-size: .96rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; background: var(--olive); color: var(--ivory); padding: 18px 22px; border-radius: 12px; margin-bottom: 18px; }

/* ---------- Page hero (interno) ---------- */
.page-hero { background: var(--olive); color: var(--ivory); padding: clamp(48px,7vw,86px) 0; }
.page-hero .kicker { color: var(--sand); }
.page-hero h1 { color: var(--ivory); max-width: 18ch; }
.page-hero p { color: rgba(244,242,237,.88); max-width: 60ch; }
.breadcrumbs { font-size: .85rem; color: rgba(244,242,237,.7); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--ivory); }

/* ---------- Specialty / detail blocks ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 10px; }
.detail-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.detail-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 14px; }
.detail-card .ico svg { width: 22px; height: 22px; color: var(--terracotta); }
.detail-card h3 { font-size: 1.15rem; }
.detail-card p { color: var(--muted); margin: 0; }

/* ---------- Doctor profile ---------- */
.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.profile-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; background: var(--sand); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.tag { background: var(--sand); color: var(--olive-dark); font-family: var(--font-display); font-size: .85rem; padding: 7px 14px; border-radius: 999px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform var(--t); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244,242,237,.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: var(--ivory); font-size: 1rem; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer .brand-name { color: var(--ivory); }
.site-footer .brand-kicker { color: var(--sand); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .95rem; transition: color var(--t); }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { border-top: 1px solid rgba(244,242,237,.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(244,242,237,.55); }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4, .team-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .profile-grid { grid-template-columns: 1fr; gap: 28px; }
  .profile-photo { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .gallery .g-tall { grid-column: span 2; }
  .hero-badge { left: 12px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--ivory);
    border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links li { width: 100%; }
  .nav.open .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: auto; }
  .has-dd:hover .dd-menu { transform: none; }
  .grid-2, .grid-3, .grid-4, .team-grid, .detail-grid, .contact-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery .g-tall { grid-row: span 2; grid-column: span 2; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }
