@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink:#2B211D;
  --ink-soft:#5B4E47;
  --ink-mute:#4A3F39;
  --paper:#FBF3EC;
  --paper-deep:#F0E1D4;
  --wine:#5C1F30;
  --wine-soft:#7A3347;
  --coral:#E2795F;
  --coral-light:#F0A98F;
  --coral-dim:#D06749;
  --sage:#5F7A5A;
  --sage-light:#C9D6C4;
  --white:#FFFDFB;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}

body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;}

h1,h2,h3{font-family:'Fraunces', serif; letter-spacing:-0.01em;}

.wrap{max-width:960px; margin:0 auto; padding:0 24px;}
.wrap-narrow{max-width:760px; margin:0 auto; padding:0 24px;}

@media (prefers-reduced-motion: no-preference){
  .fade-up{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease;}
  .fade-up.in{opacity:1; transform:translateY(0);}
  .fade-up:nth-child(1){transition-delay:0s;}
  .fade-up:nth-child(2){transition-delay:.08s;}
  .fade-up:nth-child(3){transition-delay:.16s;}
  .fade-up:nth-child(4){transition-delay:.24s;}
  .fade-up:nth-child(5){transition-delay:.32s;}
  .fade-up:nth-child(6){transition-delay:.4s;}
  .fade-up:nth-child(7){transition-delay:.48s;}
  .fade-up:nth-child(8){transition-delay:.56s;}
  .fade-up:nth-child(9){transition-delay:.64s;}
}

.icon{width:22px; height:22px; flex-shrink:0;}
.icon svg{width:100%; height:100%; display:block;}

:focus-visible{outline:2.5px solid var(--coral-dim); outline-offset:2px;}

/* ---------- SCROLLBAR ---------- */
html{scrollbar-color: var(--coral) var(--paper-deep); scrollbar-width: thin;}
::-webkit-scrollbar{width:12px; height:12px;}
::-webkit-scrollbar-track{background:var(--paper-deep);}
::-webkit-scrollbar-thumb{background:var(--coral); border-radius:10px; border:3px solid var(--paper-deep);}
::-webkit-scrollbar-thumb:hover{background:var(--coral-dim);}

/* ---------- CURSOR PERSONALIZADO (apenas em dispositivos com rato) ---------- */
@media (pointer: fine){
  body, a, button, summary, .btn-cta, input, .mini-btn{cursor:none;}
}
.cursor-dot{
  position:fixed;
  top:0; left:0;
  width:16px; height:16px;
  border-radius:50%;
  background:var(--coral);
  pointer-events:none;
  z-index:9999;
  transform:translate(-50%,-50%);
  transition:width .18s ease, height .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
  will-change:transform;
}
.cursor-dot.hover{
  width:38px; height:38px;
  background:transparent;
  border:2px solid var(--coral);
}
.cursor-dot.hidden{opacity:0;}

/* ---------- TEXTO COM BRILHO ANIMADO (destaques pontuais) ---------- */
.shimmer-light{
  background:linear-gradient(90deg, var(--paper) 0%, var(--coral-light) 25%, var(--paper) 50%, var(--coral-light) 75%, var(--paper) 100%);
  background-size:250% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:shimmer-move 5s linear infinite;
}
@keyframes shimmer-move{
  0%{background-position:0% center;}
  100%{background-position:-250% center;}
}
@media (prefers-reduced-motion: reduce){
  .shimmer-light{animation:none; background:none; -webkit-text-fill-color:currentColor; color:inherit;}
}

footer{padding:40px 0; text-align:center;}
footer p{font-family:'IBM Plex Mono', monospace; font-size:12.5px; color:#A69A93;}
footer a{text-decoration:underline; text-underline-offset:2px;}
