/*
Theme Name: Marina Maia Cardiologia
Theme URI: https://dramarinamaia.com.br
Author: Dra. Marina Maia
Description: Tema personalizado para o consultório de cardiologia da Dra. Marina Maia Siqueira. Elegante, sofisticado e responsivo.
Version: 1.0.0
License: Private
Text Domain: marina-maia
*/

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold:     #a38763;
  --gold-lt:  #c4a97d;
  --gold-dk:  #7a6147;
  --green:    #133a32;
  --wine:     #571031;
  --black:    #0c0907;
  --dark:     #121009;
  --dark2:    #17140f;
  --dark3:    #1d1914;
  --white:    #f5f0eb;
  --white-60: rgba(245,240,235,.6);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); }

/* ===================== TYPOGRAPHY ===================== */
.label {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3, h4 { font-weight: 300; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-weight: 300; color: var(--white-60); }

/* ===================== UTILS ===================== */
.container { width: min(1180px, 92%); margin: 0 auto; }
.gold-line {
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}
.btn {
  display: inline-block;
  padding: .85rem 2.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn-solid { background: var(--gold); color: var(--black); }
.btn-solid:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

/* ===================== NAV ===================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.6rem 0;
  transition: var(--transition);
}
#nav.scrolled {
  background: rgba(12,9,7,.97);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(163,135,99,.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo svg, .nav-logo img { height: 42px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text span:first-child {
  font-size: .85rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.nav-logo-text span:last-child {
  font-size: .55rem; font-weight: 300; letter-spacing: .35em;
  text-transform: uppercase; color: var(--white-60);
}
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  font-size: .72rem; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white-60);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.current { color: var(--gold); }
.nav-cta {
  font-size: .7rem; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(163,135,99,.4); padding: .55rem 1.2rem;
  transition: var(--transition);
}
.nav-cta:hover { border-color: var(--gold); background: rgba(163,135,99,.08); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav-hamburger span { width: 24px; height: 1px; background: var(--gold); display: block; }

/* ===================== HERO ===================== */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--black); }
.hero-photo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
}
.hero-photo img {
  height: 100%; width: auto; object-fit: cover;
  object-position: top center; opacity: .78;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(12,9,7,1) 0%, rgba(12,9,7,.84) 45%,
    rgba(12,9,7,.25) 75%, rgba(12,9,7,.04) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: clamp(5rem, 10vh, 8rem);
  max-width: 640px;
}
.hero-label { margin-bottom: 1.6rem; }
.hero-content h1 { margin-bottom: 1.4rem; color: var(--white); }
.hero-content h1 em { font-style: normal; color: var(--gold); }
.hero-content > p {
  font-size: 1.05rem; font-weight: 300; color: var(--white-60);
  max-width: 480px; margin-bottom: 2.6rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-dk); }
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--gold-dk), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; } 50% { opacity: 1; }
}

/* ===================== SOBRE ===================== */
#sobre { padding: clamp(5rem,10vw,9rem) 0; background: #0a2018; border-top: 2px solid rgba(19,58,50,.5); }
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,6vw,7rem); align-items: center;
}
.sobre-photo-wrap { position: relative; }
.sobre-photo-frame { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.sobre-photo-frame::before {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid rgba(163,135,99,.25); z-index: 1; pointer-events: none;
}
.sobre-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center; transition: transform .8s ease;
}
.sobre-photo-frame:hover img { transform: scale(1.03); }
.sobre-accent {
  position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border: 1px solid rgba(19,58,50,.45); pointer-events: none;
}
.sobre-text .label { margin-bottom: 1.2rem; }
.sobre-text h2 { margin-bottom: .5rem; }
.sobre-text .tagline {
  font-size: 1rem; font-weight: 300; font-style: italic;
  color: var(--gold); margin-bottom: 2rem;
}
.sobre-text p { margin-bottom: 1.2rem; line-height: 1.8; }
.sobre-divider { width: 48px; height: 1px; background: rgba(163,135,99,.35); margin: 2rem 0; }
.formacao-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.formacao-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .85rem; font-weight: 300; color: var(--white-60);
}
.formacao-list li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border: 1px solid var(--gold); border-radius: 50%; margin-top: 7px;
}
.sobre-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.sobre-tags span {
  padding: .35rem .9rem; border: 1px solid rgba(163,135,99,.25);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk);
}
.sobre-cta { margin-top: 2.4rem; }

/* ===================== ESPECIALIDADES ===================== */
#especialidades { padding: clamp(5rem,10vw,9rem) 0; background: var(--black); }
.section-header { margin-bottom: clamp(3rem,6vw,5rem); }
.section-header .label { margin-bottom: 1.2rem; }
.section-header h2 { max-width: 560px; }
.section-header p { max-width: 560px; margin-top: 1rem; }
.esp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px; background: rgba(163,135,99,.1); border: 1px solid rgba(163,135,99,.1);
}
.esp-card { background: var(--black); padding: 2.2rem 1.8rem; transition: var(--transition); box-shadow: inset 0 0 0 0 transparent; }
.esp-card:hover { background: #0a2018; box-shadow: inset 2px 0 0 var(--green); }
.esp-icon { width: 40px; height: 40px; margin-bottom: 1.4rem; color: var(--gold); }
.esp-card h3 {
  font-size: .95rem; font-weight: 400; letter-spacing: .06em;
  color: var(--white); margin-bottom: .8rem;
}
.esp-card p { font-size: .82rem; line-height: 1.7; }
.esp-line {
  width: 24px; height: 1px; background: var(--gold);
  margin-top: 1.4rem; transition: width var(--transition);
}
.esp-card:hover .esp-line { width: 40px; }

/* ===================== DIFERENCIAIS ===================== */
#diferenciais {
  padding: clamp(5rem,8vw,7rem) 0; background: #1a0c14;
  border-top: 2px solid rgba(87,16,49,.5); border-bottom: 2px solid rgba(87,16,49,.5);
}
.diff-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(3rem,6vw,6rem); align-items: center;
}
.diff-quote {
  font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.5;
  border-left: 3px solid var(--wine); padding-left: 2rem;
}
.diff-quote em { color: var(--gold); font-style: normal; }
.diff-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.diff-list li { display: flex; gap: 1.2rem; align-items: flex-start; }
.diff-num { flex-shrink: 0; font-size: .7rem; font-weight: 400; letter-spacing: .15em; color: #9c3258; padding-top: 4px; }
.diff-list li h4 { font-size: .9rem; font-weight: 500; color: var(--white); margin-bottom: .3rem; }
.diff-list li p { font-size: .82rem; }

/* ===================== BLOG ===================== */
#blog { padding: clamp(5rem,10vw,9rem) 0; background: #0a2018; border-top: 2px solid rgba(19,58,50,.4); }
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-top: clamp(3rem,5vw,4.5rem);
}
.blog-card {
  background: var(--dark3); border: 1px solid rgba(163,135,99,.1);
  transition: var(--transition); overflow: hidden;
}
.blog-card:hover { border-color: rgba(163,135,99,.3); transform: translateY(-4px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--dark3); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder {
  width: 100%; height: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1614, #0d0b0a);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dk); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
}
.blog-card-body { padding: 1.8rem 1.6rem; }
.blog-tag { font-size: .65rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.blog-card h3 { font-size: 1rem; font-weight: 400; color: var(--white); line-height: 1.4; margin-bottom: .8rem; }
.blog-card h3 a { color: var(--white); transition: color var(--transition); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: .82rem; line-height: 1.7; }
.blog-card-footer {
  padding: 1rem 1.6rem; border-top: 1px solid rgba(163,135,99,.1);
  display: flex; justify-content: space-between; align-items: center;
}
.blog-date { font-size: .68rem; color: var(--gold-dk); letter-spacing: .1em; }
.blog-read {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid rgba(163,135,99,.3); padding-bottom: 2px;
}
.blog-footer { margin-top: 3rem; text-align: center; }

/* Single post */
.post-header { padding: clamp(7rem,12vw,10rem) 0 3rem; background: var(--dark); }
.post-header .label { margin-bottom: 1.2rem; }
.post-header h1 { max-width: 800px; margin-bottom: 1.4rem; }
.post-meta { font-size: .75rem; color: var(--gold-dk); letter-spacing: .1em; }
.post-body { padding: 3rem 0 5rem; }
.post-body .entry-content {
  max-width: 720px; font-size: .95rem; font-weight: 300; color: var(--white-60); line-height: 1.9;
}
.post-body .entry-content h2, .post-body .entry-content h3 { color: var(--white); margin: 2rem 0 1rem; }
.post-body .entry-content p { margin-bottom: 1.4rem; }
.post-body .entry-content a { color: var(--gold); border-bottom: 1px solid rgba(163,135,99,.3); }
.post-body .entry-content ul, .post-body .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.post-body .entry-content li { margin-bottom: .5rem; }

/* ===================== CONTATO ===================== */
#contato { padding: clamp(5rem,10vw,9rem) 0; background: var(--black); }
.contato-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,6vw,7rem); align-items: start;
}
.contato-info .label { margin-bottom: 1.2rem; }
.contato-info h2 { margin-bottom: 1.4rem; }
.contato-info > p { margin-bottom: 2.8rem; line-height: 1.8; }
.contato-items { display: flex; flex-direction: column; gap: 1.6rem; }
.contato-item { display: flex; gap: 1rem; align-items: flex-start; }
.contato-item-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border: 1px solid rgba(163,135,99,.25);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.contato-item-text small {
  display: block; font-size: .65rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: .3rem;
}
.contato-item-text span { font-size: .9rem; font-weight: 300; color: var(--white); }
.contato-form-wrap {
  background: var(--dark3); border: 1px solid rgba(163,135,99,.1); padding: 2.4rem 2rem;
}
.contato-form-wrap h3 { font-size: 1rem; font-weight: 400; color: var(--white); margin-bottom: 1.6rem; letter-spacing: .05em; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: .6rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255,255,255,.03);
  border: 1px solid rgba(163,135,99,.2); color: var(--white);
  font-family: 'Jost', sans-serif; font-size: .88rem; font-weight: 300;
  padding: .85rem 1rem; outline: none; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(245,240,235,.25); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--dark3); color: var(--white); }
.form-submit { width: 100%; margin-top: .6rem; border: none; }
.form-note { font-size: .7rem; color: var(--gold-dk); margin-top: 1rem; text-align: center; font-style: italic; }
.whatsapp-btn {
  display: flex; align-items: center; gap: 10px;
  background: #1a3a2a; border: 1px solid #25803a; color: #4caf72;
  padding: 1rem 1.6rem; font-family: 'Jost', sans-serif;
  font-size: .78rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: var(--transition); width: 100%; justify-content: center; margin-top: 1rem;
}
.whatsapp-btn:hover { background: #1f4a32; }

/* ===================== FOOTER ===================== */
footer { background: #0d1e1a; border-top: 1px solid rgba(163,135,99,.12); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(163,135,99,.08);
}
.footer-brand svg, .footer-brand img { height: 38px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .8rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: .65rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a { font-size: .8rem; font-weight: 300; color: var(--white-60); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 1.8rem; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .68rem; color: var(--gold-dk); letter-spacing: .08em; }
.footer-crm { font-size: .68rem; color: var(--gold-dk); letter-spacing: .1em; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(12,9,7,.98); flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.4rem; font-weight: 300; letter-spacing: .15em; text-transform: uppercase; color: var(--white-60); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 1.6rem; right: 1.6rem; color: var(--gold); font-size: 1.4rem; cursor: pointer; background: none; border: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .sobre-grid, .contato-grid, .diff-inner, .footer-inner { grid-template-columns: 1fr; }
  .sobre-photo-wrap { max-width: 420px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .diff-inner .diff-quote { border-left: none; border-bottom: 1px solid var(--wine); padding: 0 0 1.5rem; }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .esp-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2r