/* ================================================================
   DR. RENATO AUGUSTO — NUTROLOGIA | MAIN STYLESHEET
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --navy: #0f1f2e;
  --navy-mid: #162536;
  --navy-light: #1e3448;
  --gold: #c8a96e;
  --gold-light: #dfc08a;
  --cream: #f5f0e8;
  --cream-dark: #ede7da;
  --white: #ffffff;
  --text-dark: #0f1f2e;
  --text-muted: #5a6a7a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  background: rgba(15,31,46,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,169,110,0.2);
  transition: padding .3s;
}
.site-header.scrolled { padding: 14px 60px; }

.nav-logo {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
}
.nav-logo span {
  color: var(--gold);
  display: block;
  font-size: .7rem;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(245,240,232,.7);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 26px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--cream);
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all .3s;
}

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-bg-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px 80px;
  position: relative;
  z-index: 2;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-subtitle {
  font-size: .95rem;
  font-weight: 300;
  color: rgba(245,240,232,.6);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  display: inline-block;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,.3);
}
.btn-ghost {
  border: 1px solid rgba(200,169,110,.4);
  color: var(--cream);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  display: inline-block;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(200,169,110,.08); }

.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: .4;
  z-index: 3;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 600px;
  background: linear-gradient(135deg, #162536 0%, #0f1f2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(200,169,110,.3);
}
.hero-image-placeholder p {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .5;
}

.stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 50%;
  background: rgba(200,169,110,.12);
  border-top: 1px solid rgba(200,169,110,.2);
  display: flex;
  z-index: 5;
}
.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid rgba(200,169,110,.15);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-number.small { font-size: 1.3rem; }
.stat-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245,240,232,.5);
  margin-top: 4px;
}

/* ── SECTION BASE ── */
section { padding: 100px 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
  display: block;
}
.section-label.centered { justify-content: center; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--cream); }

/* ── SOBRE ── */
.sobre-section { background: var(--cream); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img-box {
  width: 100%;
  padding-bottom: 120%;
  background: linear-gradient(135deg, #1e3448, #0f1f2e);
  position: relative;
  overflow: hidden;
}
.sobre-img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.sobre-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  width: 120px; height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sobre-badge-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.sobre-badge-txt { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; font-weight: 500; }

.sobre-text { padding-left: 10px; }
.sobre-text .section-title { margin-bottom: 24px; }
.sobre-text p {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.crm-tag {
  display: inline-block;
  border: 1px solid rgba(200,169,110,.4);
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 8px 18px;
  margin-top: 12px;
}
.formacoes { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.formacao-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(200,169,110,.15);
}
.formacao-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.formacao-item p { font-size: .85rem; font-weight: 400; color: var(--text-dark); line-height: 1.5; }
.formacao-item span { display: block; font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

/* ── SERVIÇOS ── */
.servicos-section { background: var(--white); }
.servicos-header { text-align: center; margin-bottom: 64px; }
.servicos-header .section-title { margin-top: 10px; }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.servico-card {
  background: var(--cream);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
  cursor: default;
}
.servico-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.servico-card:hover { background: var(--cream-dark); }
.servico-card:hover::before { transform: scaleX(1); }
.servico-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(200,169,110,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}
.servico-icon svg { width: 22px; height: 22px; }
.servico-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.servico-desc { font-size: .85rem; font-weight: 300; color: var(--text-muted); line-height: 1.75; }

/* ── PROCESSO ── */
.processo-section { background: var(--navy); }
.processo-header { text-align: center; margin-bottom: 72px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .4;
}
.step { text-align: center; padding: 0 24px; position: relative; }
.step-num {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.step-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--cream); margin-bottom: 12px; }
.step-desc { font-size: .82rem; font-weight: 300; color: rgba(245,240,232,.55); line-height: 1.75; }

/* ── DEPOIMENTOS ── */
.depoimentos-section { background: var(--cream); }
.dep-header { margin-bottom: 56px; }
.dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dep-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid var(--gold);
}
.dep-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 18px; }
.dep-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
}
.dep-author { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.dep-role { font-size: .72rem; color: var(--gold); margin-top: 2px; }

/* ── AGENDAMENTO ── */
.agendamento-section { background: var(--navy); position: relative; overflow: hidden; }
.agendamento-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.agendamento-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.agendamento-left .section-title { color: var(--cream); margin-bottom: 20px; }
.agendamento-left > p {
  font-size: .92rem;
  font-weight: 300;
  color: rgba(245,240,232,.6);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: .85rem;
  color: rgba(245,240,232,.7);
  line-height: 1.6;
}
.contact-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.form-card { background: var(--cream); padding: 48px 40px; }
.form-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--navy); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(15,31,46,.15);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-form {
  width: 100%;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: none;
  padding: 16px;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.btn-form:hover { background: var(--navy-light); }
.btn-form.sent { background: #2a5c3f; }
.form-legal { font-size: .7rem; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.5; }

/* ── FOOTER ── */
.site-footer {
  background: #08131d;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(200,169,110,.15);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { font-family: var(--serif); color: var(--cream); font-size: 1.1rem; font-weight: 500; }
.footer-logo span {
  display: block;
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.footer-info { font-size: .75rem; color: rgba(245,240,232,.4); line-height: 1.8; text-align: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(200,169,110,.08);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: .68rem;
  color: rgba(245,240,232,.25);
  letter-spacing: .05em;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * { opacity: 0; animation: fadeUp .7s ease forwards; }
.hero-label   { animation-delay: .2s; }
.hero-title   { animation-delay: .4s; }
.hero-subtitle{ animation-delay: .6s; }
.hero-actions { animation-delay: .75s; }
.stats-bar    { animation: fadeUp .6s .9s ease forwards; opacity: 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-header { padding: 18px 32px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-left { padding: 120px 40px 100px; }
}
@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .stats-bar { right: 0; }
  .sobre-grid,
  .agendamento-inner { grid-template-columns: 1fr; gap: 48px; }
  .servicos-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px; }
  .steps::before { display: none; }
  .dep-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .sobre-badge { bottom: -10px; right: -10px; width: 100px; height: 100px; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .site-header { padding: 16px 20px; }
  .hero-left { padding: 100px 20px 80px; }
  .steps { grid-template-columns: 1fr; }
}
