/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
  font-family: 'Sora';
  src: url('../assets/fonts/Sora-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../assets/fonts/Sora-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root{
  --pink-50:  #FFF3F6;
  --pink-100: #FFD5DF;
  --pink-200: #FFC5D3;
  --pink-300: #FFB8CC;
  --pink-400: #F9ABC1;
  --pink-600: #DD8FA5;

  --maroon:      #A1284B;
  --maroon-dark: #7C1D3A;

  --ink: #2E2A2C;

  --border-tan: #C78A66;
  --border-red: #FB7A5F;

  --font: 'Sora', 'Segoe UI', system-ui, sans-serif;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-s: .2s;
  --dur-m: .4s;

  --container: 1240px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --shadow-card:
    0 60px 60px -20px rgba(129,10,44,.10),
    0 25px 30px -15px rgba(129,10,44,.08),
    0 8px 12px -6px rgba(129,10,44,.06);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
html.lenis, html.lenis body{ height: auto; }
body{
  position: relative;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--pink-300);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,p{ margin: 0; }
button{ font-family: inherit; }

.skip-link{
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--maroon);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--dur-s) var(--ease-out);
}
.skip-link:focus{ top: 1rem; }

::selection{ background: var(--maroon); color: #fff; }

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--maroon-dark);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Reveal base states (progressive enhancement — only hidden if JS runs)
   ========================================================================== */
.js-enabled .reveal{
  opacity: 0;
  will-change: transform, filter, opacity;
}
.js-enabled .reveal[data-reveal="fade"]{ filter: blur(14px); }
.js-enabled .reveal[data-reveal="chars"] .char,
.js-enabled .reveal[data-reveal="words"] .word{
  display: inline-block;
  opacity: 0;
  filter: blur(16px);
  transform: translateY(40%);
}
.js-enabled .reveal[data-reveal="chars"],
.js-enabled .reveal[data-reveal="words"]{
  opacity: 1;
  filter: none;
  transform: none;
}
.js-enabled .hero__subtitle .hero__emoji{
  opacity: 0;
  filter: blur(14px);
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce){
  .js-enabled .reveal,
  .js-enabled .reveal *{
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  --hero-bg-h: 536px;
  position: relative;
  min-height: var(--hero-bg-h);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3.5rem, 9vw, 7rem) 1.5rem 4rem;
  overflow: hidden;
  background: var(--pink-400);
}
.hero__bg{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--hero-bg-h);
  z-index: 0;
}
.hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.1);
  transform-origin: center;
}
.hero__glow{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(60% 55% at 50% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.hero__inner{
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.hero__title{
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--maroon);
  letter-spacing: -.02em;
}
.hero__subtitle{
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__emoji{
  display: inline-flex;
  transform: translateY(2px);
}
.hero__text{
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink);
  max-width: 620px;
  text-wrap: balance;
}
.hero__text strong{ font-weight: 700; }

/* ==========================================================================
   Cards section
   ========================================================================== */
.cards{
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.25rem 6rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.card-link{
  --ty: 0px;
  --s: 1;
  display: block;
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-tan);
  transform: translateY(var(--ty)) scale(var(--s));
  transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m) var(--ease-out);
}
.card-link[data-accent="red"]{ border-color: var(--border-red); }
.card-link:first-child{ margin: -80px auto 0; }

@media (max-width: 1366px){
  .card-link:first-child{ margin-top: -45px; }
}
@media (max-width: 767px){
  .card-link:first-child{ margin-top: -80px; }
}
.card-link img{ width: 100%; height: auto; }

@media (hover: hover) and (pointer: fine){
  .card-link:hover{
    --s: 1.03;
    box-shadow:
      0 70px 70px -20px rgba(129,10,44,.16),
      0 30px 36px -15px rgba(129,10,44,.12),
      0 10px 16px -6px rgba(129,10,44,.08);
  }
}
.card-link:active{ --s: 1.01; transition-duration: .1s; }
.card-link:focus-visible{ outline: 3px solid var(--maroon-dark); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce){
  .card-link{ transition: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--pink-600);
  padding: 2.75rem 1.5rem calc(2.75rem + env(safe-area-inset-bottom));
}
.site-footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  text-align: center;
}
.site-footer__copy{
  font-size: .8rem;
  line-height: 1.5;
  color: #fff;
  opacity: .85;
}
.site-footer__brand{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  opacity: .9;
}
.site-footer__logo{
  height: 20px;
  width: auto;
}

/* ==========================================================================
   Decorative full-page guide lines
   ========================================================================== */
.linhas-easybuilder{
  display: flex;
  justify-content: space-evenly;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  pointer-events: none;
  z-index: 100;
}
.easybuilder-linhas{
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, #ffffff50, #ffffff50 7px, transparent 7px, transparent);
  background-size: 100% 15px;
  position: relative;
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */
::-webkit-scrollbar{
  width: 8px;
  height: 20px !important;
}
::-webkit-scrollbar-track{
  background-color: var(--pink-600);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb{
  background-color: #844052;
  border-radius: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767px){
  .hero{
    --hero-bg-h: 320px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero__inner{
    width: 100%;
  }
  .hero__bg img{
    object-fit: contain;
    object-position: top center;
    transform: scale(1.1);
  }
  .hero__title{
    font-size: 42px;
    max-width: 170px;
  }
  .hero__subtitle{
    font-size: 20px;
    max-width: 170px;
  }
  .hero__text{
    font-size: 16px;
    max-width: 100%;
  }
}

@media (max-width: 480px){
  .hero{ padding-top: 3rem; }
}
