/* ============================================================
   YBERA PARIS — style.css (MODELO 2 — EDITORIAL / SPLIT-SCREEN)
   Fontes locais, sem dependências externas
   ============================================================ */

/* ---------- FONTES ---------- */
@font-face {
  font-family: 'CatalinaRayden';
  src: url('fonts/CatalinaRayden.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cambria';
  src: url('fonts/Cambria.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cambria', Georgia, serif;
  color: #2b201b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ol, ul { list-style: none; }

/* ---------- VARIÁVEIS ---------- */
:root {
  --espresso:      #241811;
  --espresso-2:    #34241a;

  --gold:          #c9a15a;
  --gold-light:    #e9d3a3;
  --gold-dark:     #a67c3d;

  --rose:          #d9a79d;
  --rose-dark:     #b9756a;

  --blush:         #fbf1ec;
  --cream:         #f6ece3;
  --text:          #2b201b;
  --muted:         #7c655e;
  --border:        #e7d7cb;
  --white:         #ffffff;

  --green-wa:      #25d366;
  --green-wa-dk:   #075e54;

  --shadow-sm: 0 4px 18px rgba(40, 24, 16, .10);
  --shadow-md: 0 14px 34px rgba(40, 24, 16, .16);
  --shadow-lg: 0 22px 54px rgba(40, 24, 16, .24);

  --max-w: 1180px;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ============================================================
   BOTÃO — ESTILO "TICKET" (cantos com corte)
   ============================================================ */
.btn-ticket {
  position: relative;
  display: inline-block;
  background: var(--gold);
  color: var(--espresso);
  padding: 16px 40px;
  font-family: 'Cambria', Georgia, serif;
  font-size: 12.5px;
  font-weight: bold;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.btn-ticket:hover {
  background: transparent;
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
#hero .btn-ticket { background: var(--gold); color: var(--espresso); }
#hero .btn-ticket:hover { background: transparent; color: var(--gold-light); border-color: var(--gold-light); }

.btn-ticket--sm { padding: 9px 22px; font-size: 10.5px; letter-spacing: 2px; }
.btn-ticket--lg { padding: 20px 52px; font-size: 14px; letter-spacing: 3px; }

/* ============================================================
   BARRA FIXA (TOPBAR)
   ============================================================ */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(251, 241, 236, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform .35s ease;
}
#topbar.show { transform: translateY(0); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
}
.topbar-logo { height: 34px; width: auto; }

/* ============================================================
   HERO — SPLIT SCREEN
   ============================================================ */
#hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
}

.hero-media {
  position: relative;
  background: var(--espresso);
  min-height: 380px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  color: var(--espresso);
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}

.hero-panel {
  background: linear-gradient(160deg, var(--espresso) 0%, var(--espresso-2) 100%);
  color: var(--blush);
  display: flex;
  align-items: center;
  padding: 56px 0;
}
.hero-panel-inner {
  padding: 0 44px;
  max-width: 480px;
}

.hero-brand {
  font-family: 'CatalinaRayden', 'Cormorant', Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 5px;
  color: var(--gold-light);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 22px;
}
.hero-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 22px;
}

.hero-copy {
  font-size: 16px;
  font-weight: bold;
  color: #eaded3;
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-alert {
  font-size: 13.5px;
  font-weight: bold;
  color: var(--espresso);
  background: var(--rose);
  border-radius: 2px;
  padding: 12px 16px;
  margin: 22px 0;
}

.hero-heading {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin-top: 10px;
}

/* ============================================================
   FAIXA / SELO DE DISTRIBUIÇÃO
   ============================================================ */
#banner-logo {
  background: var(--cream);
  padding: 50px 0 56px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.banner-caption {
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.beneficios-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.beneficio-col {
  padding: 0 28px;
  position: relative;
}
.beneficio-col + .beneficio-col::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--border);
}

.beneficio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.beneficio-icon svg { width: 20px; height: 20px; }

.beneficio-col h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.beneficio-col p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .beneficios-row { grid-template-columns: 1fr; gap: 34px; }
  .beneficio-col + .beneficio-col::before { display: none; }
}

/* ============================================================
   EYEBROW (rótulo pequeno acima dos títulos)
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--gold-dark);
}

/* ============================================================
   PRODUTO — EDITORIAL NUMERADO
   ============================================================ */
#produto {
  background: var(--white);
  padding: 100px 0;
}
.produto-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

.produto-frame {
  background: var(--cream);
  padding: 28px;
}
.produto-frame img {
  box-shadow: var(--shadow-md);
  margin-inline: auto;
}

.produto-cta {
  display: inline-block;
  margin-top: 28px;
}

.produto-titulo {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  margin-bottom: 34px;
}

.produto-lista li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.produto-lista li:last-child { border-bottom: 1px solid var(--border); }
.produto-lista .num {
  flex-shrink: 0;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-dark);
  min-width: 34px;
}
.produto-lista p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   FAQ — LISTA COM IMAGEM STICKY
   ============================================================ */
#faq {
  background: var(--cream);
  padding: 100px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: start;
}
.faq-sticky {
  position: sticky;
  top: 100px;
}
.faq-sticky img {
  box-shadow: var(--shadow-lg);
}

.faq-titulo {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 30px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:first-child { border-top: 1px solid var(--border); }

.accordion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.q-num {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-dark);
  flex-shrink: 0;
  width: 26px;
}
.q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold-dark);
  transition: transform .3s ease, background .3s ease;
}
.accordion-icon::before { width: 18px; height: 2px; transform: translate(-50%, -50%); }
.accordion-icon::after  { width: 2px; height: 18px; transform: translate(-50%, -50%); }
.accordion-item.open .accordion-icon::before,
.accordion-item.open .accordion-icon::after {
  background: var(--rose-dark);
}
.accordion-item.open .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.accordion-body {
  display: none;
  padding: 0 0 22px 42px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}
.accordion-item.open .accordion-body { display: block; }

/* ============================================================
   CTA FINAL — FAIXA ESCURA
   ============================================================ */
#cta-final {
  background: linear-gradient(160deg, var(--espresso) 0%, var(--espresso-2) 100%);
  padding: 90px 0;
  text-align: center;
}
.cta-kicker {
  display: block;
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 26px;
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
#wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
}
#wa-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green-wa);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  border: none;
  outline: none;
}
#wa-toggle:hover { transform: scale(1.1); }
#wa-toggle svg { width: 34px; height: 34px; fill: #fff; }

#wa-box {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 285px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
#wa-float.open #wa-box { display: block; }

.wa-header {
  background: var(--green-wa-dk);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wa-header svg { fill: #fff; width: 110px; height: 26px; }
.wa-close {
  color: rgba(255,255,255,.85);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

.wa-scroll {
  background: #e5ddd5;
  padding: 16px;
  min-height: 80px;
}
.wa-bubble {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  font-family: 'Cambria', Georgia, serif;
  line-height: 1.5;
}

.wa-footer { padding: 10px 14px; background: #fff; }
.wa-footer a {
  display: block;
  background: var(--green-wa);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Cambria', Georgia, serif;
  transition: background 0.2s;
}
.wa-footer a:hover { background: #1ebe57; }

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media { min-height: 60vh; }
  .hero-panel { padding: 48px 0; }
  .hero-panel-inner { padding: 0 24px; max-width: 100%; }

  .produto-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .produto-frame { margin-inline: auto; max-width: 420px; }
  .faq-sticky { position: static; margin-inline: auto; max-width: 420px; }
}

@media (max-width: 560px) {
  .hero-panel-inner { padding: 0 20px; }
  #produto, #faq { padding: 70px 0; }
}
