/* ─────────────────────────────────────────
   DR. DANIEL RASEC — DESIGN SYSTEM
   Playfair Display + Inter · Navy + Dourado
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Navy */
  --navy:         #1a2b4a;
  --navy-dark:    #111e35;
  --navy-mid:     #1e3356;
  --navy-soft:    rgba(26, 43, 74, 0.07);
  --navy-faint:   rgba(26, 43, 74, 0.04);

  /* Dourado */
  --gold:         #c9a961;
  --gold-dark:    #b0913e;
  --gold-light:   #dfc07c;
  --gold-faint:   rgba(201, 169, 97, 0.12);
  --gold-line:    rgba(201, 169, 97, 0.30);

  /* Neutros */
  --white:        #FFFFFF;
  --off-white:    #F8F9FB;
  --light:        #F1F4F8;
  --border:       #E4E9F0;
  --border-dark:  rgba(255, 255, 255, 0.10);
  --text-main:    #1a202c;
  --text-soft:    #4a5568;
  --text-ghost:   #a0aec0;

  /* Semânticos */
  --color-bg:             var(--white);
  --color-bg-secondary:   var(--light);
  --color-text:           var(--text-main);
  --color-text-secondary: var(--text-soft);
  --color-text-tertiary:  var(--text-ghost);
  --color-brand:          var(--navy);
  --color-brand-subtle:   var(--navy-soft);
  --color-gold:           var(--gold);
  --color-gold-dark:      var(--gold-dark);
  --color-gold-subtle:    var(--gold-faint);
  --color-border:         var(--border);
  --color-navy-deep:      var(--navy-dark);

  /* Fontes */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-card:  0 2px 24px rgba(26, 43, 74, 0.07);
  --shadow-hover: 0 8px 40px rgba(26, 43, 74, 0.13);
  --shadow-gold:  0 4px 24px rgba(201, 169, 97, 0.28);
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

/* ── LABEL ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
}

.label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.label--light { color: var(--gold-light); }
.label--light::before { background: var(--gold-light); }

/* ── CABEÇALHO DE SEÇÃO ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--navy);
}

.section-title--light { color: white; }
.section-title--light em { color: var(--gold-light); }

.section-desc {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 52ch;
  font-family: var(--font-body);
  font-weight: 300;
}

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--primary:active { transform: translateY(0); }

.btn--navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-faint);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.30);
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 6px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: 10px;
}

.btn--full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky, 100);
  padding-block: 24px;
  transition: all 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-block: 16px;
  box-shadow: 0 1px 20px rgba(26, 43, 74, 0.06);
}

.nav.is-scrolled .nav__logo-name { color: var(--navy); }
.nav.is-scrolled .nav__logo-sub  { color: var(--text-ghost); }
.nav.is-scrolled .nav__link      { color: var(--text-soft); }
.nav.is-scrolled .nav__link:hover { color: var(--navy); }
.nav.is-scrolled .nav__toggle span { background: var(--text-main); }

.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container-xl, 1280px);
  margin-inline: auto;
  padding-inline: var(--space-6, 24px);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0;
  transition: color 0.3s;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.70);
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.nav__link:hover {
  color: white;
  background: rgba(255,255,255,0.10);
}

.nav__cta { margin-left: 16px; flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 24px;
  position: fixed;
  inset: 0;
  top: 65px;
  background: var(--white);
  padding: 32px 24px;
  z-index: calc(var(--z-sticky, 100) - 1);
  border-top: 1px solid var(--border);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-links { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile-links a {
  font-size: 17px;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--text-main);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: var(--z-toast, 200);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.40);
}
.wa-float__label { white-space: nowrap; }

@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 768px) {
  .wa-float__label { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}
