/* ==========================================================================
   DOCTOR PAUL'S — Premium Supplements
   Paleta: preto + dourado (#C9A961) + terracota (#C85A3E)
   Tipografia: Playfair Display (headings) + Montserrat (body)
   ========================================================================== */

:root {
  /* Cores */
  --color-bg:           #000000;
  --color-surface:      #0e0d0c;
  --color-surface-2:    #1a1817;
  --color-text:         #ffffff;
  --color-text-muted:   #c9c5be;
  --color-text-soft:    #8b857c;

  --color-gold:         #C9A961;
  --color-gold-bright:  #e3c585;
  --color-gold-deep:    #a98947;
  --color-terra:        #C85A3E;
  --color-terra-bright: #e07a5e;
  --color-terra-deep:   #a04429;

  --color-line:         rgba(201, 169, 97, 0.18);
  --color-line-soft:    rgba(255, 255, 255, 0.06);
  --color-line-warm:    rgba(200, 90, 62, 0.18);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Sombras */
  --shadow-soft: 0 8px 32px rgba(0,0,0,.5);
  --shadow-gold: 0 8px 32px rgba(201,169,97,.22);
  --shadow-terra: 0 8px 32px rgba(200,90,62,.22);

  /* Animações */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color .25s var(--ease);
}
a:hover { color: var(--color-gold-bright); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
}

/* ============== Tipografia ============== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-text);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

.break-md { display: inline; }
@media (max-width: 880px) { .break-md { display: none; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 500;
  max-width: 100%;
}
@media (max-width: 520px) {
  .eyebrow { letter-spacing: .18em; font-size: .7rem; }
}

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.65;
  letter-spacing: .005em;
}

.muted  { color: var(--color-text-muted); }
.soft   { color: var(--color-text-soft); }
.gold   { color: var(--color-gold); }
.terra  { color: var(--color-terra); }
em.gold, .gold-em {
  font-style: normal;
  color: var(--color-gold);
  font-weight: 500;
}

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line-soft);
}
.site-header .nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
}
.brand-mark {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: #000;
  display: grid; place-items: center;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--color-line);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  line-height: 1.1;
  font-size: 1.15rem;
  letter-spacing: .04em;
  font-weight: 700;
  text-transform: uppercase;
}
.brand-name small {
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-top: 4px;
  font-weight: 500;
}
@media (max-width: 480px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: .98rem; }
  .brand-name small { font-size: .55rem; letter-spacing: .22em; }
}
@media (max-width: 360px) {
  .brand-name small { display: none; }
}
.nav-links {
  display: flex; gap: 28px;
  margin-left: auto;
  list-style: none; padding: 0; margin-block: 0;
}
.nav-links a {
  color: var(--color-text-muted);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .04em;
}
.nav-links a:hover { color: var(--color-gold); }
.nav-actions { display: flex; gap: 10px; }

.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    padding: 8px 0;
  }
  .site-header.menu-open .nav-links a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-line-soft);
  }
}

/* ============== Botões ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
}
@media (max-width: 520px) {
  .btn {
    white-space: normal;
    padding: 12px 18px;
    font-size: .8rem;
    letter-spacing: .04em;
    line-height: 1.25;
  }
}
.btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-deep) 100%);
  color: #000;
  border-color: transparent;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
  color: #000;
  transform: translateY(-2px);
}
.btn-terra {
  background: linear-gradient(135deg, var(--color-terra) 0%, var(--color-terra-deep) 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: var(--shadow-terra);
}
.btn-terra:hover {
  background: linear-gradient(135deg, var(--color-terra-bright) 0%, var(--color-terra) 100%);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost-gold {
  border-color: rgba(201,169,97,.45);
  color: var(--color-gold);
}
.btn-ghost-gold:hover {
  border-color: var(--color-gold-bright);
  color: var(--color-gold-bright);
  background: rgba(201,169,97,.06);
}
.btn-ghost-terra {
  border-color: rgba(200,90,62,.45);
  color: var(--color-terra-bright);
}
.btn-ghost-terra:hover {
  border-color: var(--color-terra-bright);
  color: var(--color-terra-bright);
  background: rgba(200,90,62,.06);
}
.btn svg { width: 18px; height: 18px; }

/* ============== Seções ============== */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}
.section-head .lead { margin-top: 12px; }

.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 14px auto 22px;
}
.divider-terra {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-terra), transparent);
  margin: 14px auto 22px;
}

/* ============== Hero (vídeo) ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-video,
.hero-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-video-fallback { object-position: center center; }
.hero::before {
  /* radial vignette para fechar bordas */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.6) 100%);
}
.hero::after {
  /* sutil grão dourado no canto */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201,169,97,.12), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(200,90,62,.10), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  padding: 80px 0 60px;
  width: 100%;
}
.hero-logo {
  width: clamp(180px, 22vw, 260px);
  margin: 0 auto 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-line), 0 12px 40px rgba(0,0,0,.6);
}
.hero-logo img { width: 100%; height: auto; display: block; }

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  margin-bottom: 22px;
  line-height: 1.1;
}
.hero h1 .accent {
  display: block;
  color: var(--color-gold);
  font-style: italic;
  margin-top: 6px;
}
.hero p.lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  animation: bob 2.4s ease-in-out infinite;
  pointer-events: none;
}
.scroll-indicator .ring {
  width: 24px; height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
  display: grid; justify-items: center; align-items: start;
  padding-top: 6px;
}
.scroll-indicator .dot {
  width: 3px; height: 8px;
  background: currentColor;
  border-radius: 999px;
  animation: scrollDot 2.4s ease-in-out infinite;
}
.scroll-indicator .label {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .8;
}
@keyframes bob   { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,-6px)} }
@keyframes scrollDot { 0%{transform:translateY(0); opacity:1} 100%{transform:translateY(8px); opacity:0} }
@media (max-width: 880px) {
  .hero { min-height: 92vh; }
  .scroll-indicator { display: none; }
}

/* ============== Manifesto ============== */
.manifesto {
  background: linear-gradient(180deg, #000 0%, #0a0908 100%);
  text-align: center;
}
.manifesto h2 {
  color: var(--color-gold);
  max-width: 880px;
  margin: 0 auto 32px;
}
.manifesto-body {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-body p {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2em;
  line-height: 1.7;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: var(--color-text);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  margin-top: 22px;
}

/* ============== O Que Fazemos ============== */
.curadoria {
  background: #000;
  position: relative;
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .duo-grid { grid-template-columns: 1fr; gap: 20px; } }

.card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(0,0,0,0));
  transition: all .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.card:hover {
  border-color: rgba(201,169,97,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.card:hover::before { transform: scaleX(1); }
.card.terra { border-color: var(--color-line-warm); }
.card.terra::before { background: linear-gradient(90deg, transparent, var(--color-terra), transparent); }
.card.terra:hover { border-color: rgba(200,90,62,.45); }

.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(201,169,97,.1);
  color: var(--color-gold);
  margin-bottom: 22px;
}
.card.terra .card-icon {
  background: rgba(200,90,62,.1);
  color: var(--color-terra-bright);
}
.card-icon svg { width: 30px; height: 30px; }

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.card.gold h3   { color: var(--color-gold); }
.card.terra h3  { color: var(--color-terra-bright); }
.card p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.65; margin: 0; }

.card-image {
  margin-top: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-line-soft);
  background: #000;
}
.card-image img { width: 100%; height: auto; display: block; }

.regra-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201,169,97,.08), rgba(200,90,62,.08));
  border: 1px solid rgba(201,169,97,.3);
}
.regra-box .label {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 8px;
}
.regra-box .rule {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 14px;
  font-style: italic;
}
.regra-box .note {
  color: var(--color-text-muted);
  font-size: .98rem;
  margin: 0;
}

/* ============== Conteúdo & Educação ============== */
.conteudo {
  background: linear-gradient(180deg, #0a0908 0%, #000 100%);
  border-block: 1px solid var(--color-line-soft);
}
.conteudo h2 .accent { color: var(--color-gold); font-style: italic; }
.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .tri-grid { grid-template-columns: 1fr; } }
@media (min-width: 881px) and (max-width: 1024px) { .tri-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.tri-grid .card { padding: 28px 24px; text-align: center; }
.tri-grid .card .card-icon { margin-inline: auto; }
.tri-grid .card h3 { font-size: 1.2rem; }
.tri-grid .card p { font-size: .95rem; }

/* ============== E-commerce (Pré-lançamento) ============== */
.ecommerce {
  background: #000;
  position: relative;
}
.ecommerce-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.ecommerce h2 .accent { color: var(--color-gold); font-style: italic; }
.ecommerce-form-wrap {
  margin-top: 40px;
  padding: 40px clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(201,169,97,.08), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.85));
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-gold);
}
.ecommerce-form-wrap p.headline {
  font-size: 1.12rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201,169,97,.35);
  background: rgba(255,255,255,.03);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all .25s var(--ease);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 4px rgba(201,169,97,.1);
}
.newsletter-form input::placeholder { color: var(--color-text-soft); }
.newsletter-form .btn { padding: 16px 26px; font-size: .92rem; }
.newsletter-note {
  color: var(--color-text-soft);
  font-size: .82rem;
  margin-top: 22px;
  margin-bottom: 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--color-gold);
  color: #000;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  box-shadow: var(--shadow-gold);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease);
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============== CTA Final ============== */
.final-cta {
  background:
    linear-gradient(135deg, #000 0%, #0a0908 100%),
    var(--color-bg);
  text-align: center;
  border-top: 1px solid var(--color-line-soft);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,169,97,.12), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(200,90,62,.08), transparent 50%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 28px;
}
.final-cta h2 .accent { color: var(--color-gold); font-style: italic; }
.final-cta .lead {
  font-style: italic;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto 44px;
}
.final-cta .btn-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
}
.final-cta .btn-row + .btn-row { margin-top: 16px; }

/* ============== Footer ============== */
.site-footer {
  background: #000;
  border-top: 1px solid var(--color-line-soft);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--color-text-muted); font-size: .92rem; }
.site-footer a:hover { color: var(--color-gold); }
.lang-switcher { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.lang-switcher a {
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .04em;
  font-weight: 500;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: grid; place-items: center;
  color: var(--color-text-muted);
  transition: all .25s var(--ease);
}
.social-icons a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}
.social-icons svg { width: 18px; height: 18px; }
.copyright {
  text-align: center;
  font-size: .8rem;
  color: var(--color-text-soft);
  border-top: 1px solid var(--color-line-soft);
  padding-top: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand .brand-mark { width: 50px; height: 50px; }
.footer-tagline {
  color: var(--color-text-muted);
  font-size: .92rem;
  max-width: 360px;
  line-height: 1.6;
}

/* === Anti-overflow defensivo nos grids === */
.tri-grid > *,
.duo-grid > *,
.footer-grid > * { min-width: 0; }
img, iframe, video { max-width: 100%; }

/* ============== Animações de entrada ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none; }
  .hero-video-fallback { display: block; }
}
