
:root{
  /* Cores base */
  --ink:            #131017;   
  --ink-soft:        #1C1822;  
  --ink-elevated:    #221D2B;   
  --paper:           #F4EFE6;   
  --paper-dim:       #B8AEC2;   

  /* degrade fixo */
  --gold:            #d9ac5f;   
  --gold-light:      #ac8533;
  --indigo:          #4A5FD9; 
  --indigo-deep:     #2B3480;
  --whatsapp:        #25D366;   
  --whatsapp-deep:   #159C63;
  --btn-ink:         #0C2119;   
  --danger:          #E2685B;   

  /* Vidro (glassmorphism) */
  --glass-bg:        rgba(244, 239, 230, 0.045);
  --glass-border:    rgba(244, 239, 230, 0.09);
  --glass-blur:      18px;

  /* Tipografia */
  --font-display:    'Fraunces', Georgia, serif;
  --font-body:       'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-w:     1180px;
  --radius-lg:       28px;
  --radius-md:       20px;
  --radius-sm:       12px;
  --radius-pill:     999px;

  /* Sombras */
  --shadow-soft:      0 30px 70px -30px rgba(0,0,0,.6);
  --shadow-card:      0 20px 45px -25px rgba(0,0,0,.55);

  /* Movimento */
  --ease-out:         cubic-bezier(.16,1,.3,1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin:0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,p{ margin:0; }
::selection{ background: var(--gold); color: var(--ink); }

svg{ overflow: visible; }

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.section__inner{
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  position: relative;
  z-index: 1;
}
.section{
  padding-block: clamp(72px, 11vw, 148px);
  position: relative;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-weight:700;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:'';
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink:0;
}

.section__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: 16ch;
  margin-bottom: 24px;
}
.section__title em{
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lead{
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--paper-dim);
  max-width: 62ch;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   4. TEXTURA DE FUNDO (grão sutil, decorativo)
   -------------------------------------------------------------------------- */
.grain{
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   5. LINHA DE COSTURA (assinatura visual — acompanha o scroll)
   -------------------------------------------------------------------------- */
.thread-spine{
  position: fixed;
  left: 0;
  top: 0;
  width: 3px;
  height: 100vh;
  height: 100dvh;
  z-index: 60;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(244,239,230,.16) 0 6px, transparent 6px 15px);
}
.thread-spine__fill{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background-image: repeating-linear-gradient(to bottom, var(--gold) 0 6px, transparent 6px 15px);
  filter: drop-shadow(0 0 6px rgba(212,162,76,.6));
  transition: height .1s linear;
}

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  padding: 20px clamp(20px, 5vw, 48px);
  padding-top: calc(20px + env(safe-area-inset-top));
  display:flex;
  align-items:center;
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .4s var(--ease-out);
}
.site-header.is-scrolled{
  background: rgba(19,16,23,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(244,239,230,.08), 0 20px 40px -30px rgba(0,0,0,.6);
  padding-block: 14px;
}
.logo{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  color: var(--paper);
  letter-spacing: -.01em;
}
.logo-dot{ color: var(--gold); }

/* --------------------------------------------------------------------------
   7. BOTÕES
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.btn__icon{ width: 21px; height: 21px; flex-shrink:0; }

.btn--whatsapp{
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-deep));
  color: var(--btn-ink);
  box-shadow: 0 10px 32px -8px rgba(37,211,102,.55);
}

.btn--whatsapp .btn__icon {
  width: 26px;
  height: 26px;
  transform: scale(1.35); /* Amplia o ícone interno sem deformar */
}
.btn--whatsapp:hover{
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 42px -8px rgba(37,211,102,.7);
}
.btn--lg{ padding: 20px 36px; font-size: 17.5px; }

@keyframes pulseGlow{
  0%, 100% { box-shadow: 0 10px 32px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.45); }
  50%      { box-shadow: 0 10px 32px -8px rgba(37,211,102,.55), 0 0 0 13px rgba(37,211,102,0); }
}
@keyframes floatY{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.btn--float{ animation: pulseGlow 2.6s ease-out infinite; }
/* Em telas sem mouse (a maioria via QR Code), o botão também "flutua" —
   em telas com mouse, o transform fica livre para o efeito magnético do script.js */
@media (hover:none), (pointer:coarse){
  .btn--float{ animation: floatY 3.4s ease-in-out infinite, pulseGlow 2.6s ease-out infinite; }
}
.magnetic{ transition: transform .25s var(--ease-out), box-shadow .35s var(--ease-out); }

.hero__microcopy{
  display:block;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--paper-dim);
}

/* --------------------------------------------------------------------------
   8. REVEAL ON SCROLL
   -------------------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.d1{ transition-delay: .1s; }
.reveal.d2{ transition-delay: .2s; }
.reveal.d3{ transition-delay: .3s; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display:flex;
  align-items:center;
  padding-top: 100px;
  overflow: hidden;
}
.hero__orb{
  position:absolute;
  border-radius:50%;
  filter: blur(80px);
  opacity:.5;
  z-index:0;
  animation: blobFloat 14s ease-in-out infinite alternate;
}
.hero__orb--1{
  width:420px; height:420px;
  top:-120px; right:-100px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}
.hero__orb--2{
  width:380px; height:380px;
  bottom:-140px; left:-120px;
  background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
  animation-delay: 2s;
}
@keyframes blobFloat{
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-24px) scale(1.08); }
}

.hero__inner{
  display:grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items:center;
}
.hero__content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 7.2vw, 74px);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero__title em{
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle{
  font-size: clamp(16.5px, 2vw, 19.5px);
  line-height: 1.65;
  color: var(--paper-dim);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero__visual{ display:flex; justify-content:center; }
.mockup{
  position:relative;
  width: min(360px, 82vw);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px 26px;
  animation: floatY 5s ease-in-out infinite;
}
.mockup__bar{ display:flex; gap:6px; margin-bottom:18px; }
.mockup__bar span{ width:9px; height:9px; border-radius:50%; background: rgba(244,239,230,.18); }
.mockup__line{ height:12px; border-radius:6px; background: rgba(244,239,230,.14); }
.mockup__line--title{ width:70%; height:16px; margin-bottom:12px; background: linear-gradient(90deg, var(--gold), var(--indigo)); opacity:.85; }
.mockup__line--sub{ width:90%; margin-bottom:20px; }
.mockup__pill{ width:130px; height:34px; border-radius: var(--radius-pill); background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-deep)); margin-bottom:22px; }
.mockup__grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mockup__card{ height:64px; border-radius: var(--radius-sm); background: rgba(244,239,230,.07); border:1px solid var(--glass-border); }
.mockup__bubble{
  position:absolute;
  bottom:-16px; right:-14px;
  display:flex; align-items:center; gap:5px;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-deep));
  padding: 12px 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6);
}
.mockup__dot{ width:6px; height:6px; border-radius:50%; background: var(--btn-ink); opacity:.5; animation: typingDots 1.4s ease-in-out infinite; }
.mockup__dot:nth-child(2){ animation-delay:.2s; }
.mockup__dot:nth-child(3){ animation-delay:.4s; }
@keyframes typingDots{
  0%, 60%, 100% { opacity:.35; transform: translateY(0); }
  30%           { opacity:1; transform: translateY(-3px); }
}

/* --------------------------------------------------------------------------
   10. COMPARAÇÃO (quebra de objeção)
   -------------------------------------------------------------------------- */
.compare{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.compare-card{
  position:relative;
  overflow:hidden;
  padding: 30px 26px 10px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
}
.compare-card::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
}
.compare-card--negative::before{ background: var(--danger); }
.compare-card--positive::before{ background: linear-gradient(90deg, var(--gold), var(--indigo)); }
.compare-card__tag{
  display:inline-block;
  font-weight:800;
  font-size: 14px;
  letter-spacing:.03em;
  margin-bottom: 18px;
  color: var(--paper);
}
.compare-card__list li{
  display:flex;
  align-items:flex-start;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244,239,230,.07);
  font-size: 15px;
  line-height:1.5;
  color: var(--paper-dim);
}
.compare-card__list li:last-child{ border-bottom:none; }
.icon{ width:19px; height:19px; flex-shrink:0; margin-top:2px; }
.icon--check{ color: var(--gold); }
.icon--x{ color: var(--danger); }

/* --------------------------------------------------------------------------
   11. BENEFÍCIOS
   -------------------------------------------------------------------------- */
.benefits{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.benefit-card{
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.benefit-card:hover{ transform: translateY(-6px); border-color: rgba(212,162,76,.4); }
.benefit-card__icon{
  width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212,162,76,.16), rgba(74,95,217,.16));
  color: var(--gold);
  margin-bottom: 22px;
}
.benefit-card__icon svg{ width:26px; height:26px; }
.benefit-card h3{
  font-family: var(--font-display);
  font-size: 21px;
  font-weight:600;
  margin-bottom: 12px;
}
.benefit-card p{ color: var(--paper-dim); font-size:15px; line-height:1.65; }

/* --------------------------------------------------------------------------
   12. SOBRE MIM
   -------------------------------------------------------------------------- */
.about{
  display:grid;
  grid-template-columns: 1fr;
  gap: 46px;
  align-items:center;
}
.about__photo{ display:flex; justify-content:center; }
.about__photo-frame{
  width: min(240px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(145deg, var(--gold), var(--indigo));
}
.about__photo-placeholder{
  width:100%; height:100%;
  border-radius:50%;
  background: var(--ink-soft);
  display:flex; align-items:center; justify-content:center;
  color: var(--paper-dim);
}
.about__photo-placeholder svg{ width:74px; height:74px; }
.about__photo-img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }

.about__content p{ color: var(--paper-dim); font-size:16px; line-height:1.75; margin-bottom:18px; }
.about__content strong{ color: var(--paper); }
.about__points{ display:flex; flex-direction:column; gap:14px; margin-top:26px; }
.about__points li{ display:flex; align-items:center; gap:14px; font-size:15px; color:var(--paper); }
.about__point-mark{
  width:22px; height:3px;
  border-radius:2px;
  background: var(--gold);
  flex-shrink:0;
}

/* --------------------------------------------------------------------------
   13. PORTFÓLIO
   -------------------------------------------------------------------------- */
.portfolio{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.portfolio-card{
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  box-shadow: var(--shadow-card);
  overflow:hidden;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.portfolio-card:hover{ transform: translateY(-6px); border-color: rgba(212,162,76,.35); }
.portfolio-card__browser{ padding: 16px 16px 0; }
.browser-bar{ display:flex; gap:6px; margin-bottom:14px; padding-left:4px; }
.browser-bar span{ width:9px; height:9px; border-radius:50%; background: rgba(244,239,230,.18); }
.browser-placeholder{
  height: 168px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(212,162,76,.14), rgba(74,95,217,.14));
  border: 1px dashed rgba(244,239,230,.18);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px;
  color: var(--paper-dim);
}
.browser-placeholder svg{ width:34px; height:34px; opacity:.8; }
.browser-placeholder span{ font-size:13px; }
.browser-screenshot{ width:100%; height:168px; object-fit:cover; border-radius: var(--radius-md); }
.portfolio-card__info{ padding: 22px 24px 26px; }
.portfolio-card__info h3{ font-family: var(--font-display); font-size:20px; font-weight:600; margin-bottom:10px; }
.portfolio-card__info p{ color: var(--paper-dim); font-size:14.5px; line-height:1.6; margin-bottom:18px; }
.portfolio-link{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--gold);
  text-decoration:none;
  font-weight:700;
  font-size:14.5px;
  transition: gap .3s var(--ease-out);
}
.portfolio-link:hover{ gap:13px; }

/* --------------------------------------------------------------------------
   14. CTA FINAL
   -------------------------------------------------------------------------- */
.final-cta{ text-align:center; overflow:hidden; }
.final-cta__orb{
  position:absolute;
  width:520px; height:520px;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(212,162,76,.25) 0%, transparent 70%);
  filter: blur(60px);
  z-index:0;
}
.final-cta__inner{ display:flex; flex-direction:column; align-items:center; }
.final-cta .eyebrow{ justify-content:center; }
.final-cta .section__title{ max-width: 20ch; }
.final-cta .section__lead{ margin-inline:auto; text-align:center; margin-bottom:38px; }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer{
  border-top: 1px solid rgba(244,239,230,.08);
  padding-block: 40px;
}
.footer__grid{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  text-align:center;
}
.logo--footer{ font-size:17px; }
.footer__location{ font-size:13.5px; color: var(--paper-dim); }
.footer__social{ display:flex; gap:14px; }
.footer__social a{
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid var(--glass-border);
  color: var(--paper-dim);
  transition: color .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}
.footer__social a svg{ width:17px; height:17px; }
.footer__social a:hover{ color: var(--gold); border-color: rgba(212,162,76,.4); transform: translateY(-2px); }
.footer__copy{ font-size:13px; color: var(--paper-dim); opacity:.7; }

/* --------------------------------------------------------------------------
   16. BOTÃO FLUTUANTE DE WHATSAPP
   -------------------------------------------------------------------------- */
.floating-whatsapp{
  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 70;
  width:60px; height:60px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-deep));
  color: var(--btn-ink);
  box-shadow: 0 12px 32px -8px rgba(37,211,102,.6);
  opacity:0;
  transform: translateY(18px) scale(.88);
  pointer-events:none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  animation: pulseGlow 2.6s ease-out infinite;
}
.floating-whatsapp.is-visible{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.floating-whatsapp svg{ width:28px; height:28px; }

/* --------------------------------------------------------------------------
   17. ACESSIBILIDADE — FOCO E MOVIMENTO
   -------------------------------------------------------------------------- */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   18. RESPONSIVO — TABLET / DESKTOP
   -------------------------------------------------------------------------- */
@media (min-width: 860px){
  .about{
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 64px;
  }
  .about__photo{ justify-content:flex-start; }
}

@media (min-width: 960px){
  .hero__inner{
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
  }
  .hero__content{ align-items:flex-start; }
  .hero__visual{ justify-content:flex-end; }
  .footer__grid{
    flex-direction:row;
    justify-content:space-between;
    text-align:left;
  }
}

@media (min-width: 1240px){
  .hero__orb--1{ width:520px; height:520px; }
  .hero__orb--2{ width:460px; height:460px; }
}
@media (max-width: 768px) {
  .hero__visual {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Eleva o balão e reduz o tamanho para não cortar no topo/fim da animação */
  .mockup__bubble {
    right: 15px;
    bottom: 15px; /* Subiu o balão para dar margem à animação */
    transform: scale(0.8); /* Reduz ligeiramente para caber com folga */
  }
}