/* ============================================================
   Fixa Gráfica — Landing Page
   Blocos e cadernos personalizados
   ============================================================ */

:root{
  --cyan: #3FC6EF;
  --magenta: #E34198;
  --purple: #7B4398;
  --yellow: #F7EF43;
  --ink: #17181C;
  --ink-soft: #4A4C54;
  --muted: #75777F;
  --paper: #FBFAF7;
  --paper-alt: #F2F0EA;
  --line: #E7E4DC;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(23,24,28,.06);
  --shadow-md: 0 12px 30px rgba(23,24,28,.10);
  --shadow-lg: 0 24px 60px rgba(23,24,28,.16);

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: 'Poppins', 'Inter', sans-serif;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

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

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(123,67,152,.08);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--magenta), var(--yellow), var(--cyan));
  flex: none;
}

.section-head{
  max-width: 620px;
  margin: 0 0 48px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}
.section-head p{
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

section{ position: relative; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg{ flex: none; }

.btn-whatsapp{
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.35);
}
.btn-whatsapp:hover{
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37,211,102,.42);
}

.btn-outline{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-dark{
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm{ padding: 11px 20px; font-size: 14px; }
.btn-block{ width: 100%; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,250,247,0);
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 18px 0;
}
.site-header.is-scrolled{
  background: rgba(251,250,247,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{ display: flex; align-items: center; }
.brand img{ height: 34px; width: auto; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a{
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover{ color: var(--ink); }

.header-actions{ display: flex; align-items: center; gap: 18px; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero{
  padding: 150px 0 80px;
  position: relative;
}
.hero-media{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eee;
  isolation: isolate;
}
.hero-media img{
  width: 100%;
  height: clamp(420px, 62vw, 620px);
  object-fit: cover;
  object-position: 78% 45%;
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,250,247,.98) 0%, rgba(251,250,247,.94) 30%, rgba(251,250,247,.55) 52%, rgba(251,250,247,0) 68%);
}
.hero-content{
  position: absolute;
  z-index: 2;
  top: 0; left: 0; bottom: 0;
  display: flex;
  align-items: center;
  width: min(100%, 620px);
  padding: 40px clamp(24px, 5vw, 64px);
}
.hero-content h1{
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  color: var(--ink);
}
.hero-content h1 .hl{
  background: linear-gradient(92deg, var(--cyan), var(--magenta) 55%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content .lead{
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.6;
}
.hero-actions{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-note{
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.hero-note svg{ flex: none; color: var(--whatsapp); }

.marquee-strip{
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.marquee-strip .label{
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.marquee-strip .brands{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Products ---------- */
.products{ padding: 90px 0 30px; }
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 22px 26px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-thumb{
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  background: var(--paper-alt);
  margin-bottom: 18px;
}
.product-thumb img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-thumb img{ transform: scale(1.06); }
.product-card h3{
  font-size: 18px;
  font-weight: 700;
}
.product-card p{
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.product-card .btn{ margin-top: 18px; }

/* ---------- How it works ---------- */
.how{
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 90px 24px 0;
}
.how .container{ max-width: calc(var(--container) - 48px); }
.how .section-head p{ color: rgba(255,255,255,.68); }
.how .section-head h2{ color: #fff; }
.how .eyebrow{
  background: rgba(255,255,255,.1);
  color: var(--yellow);
}
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step{
  position: relative;
  padding: 30px 22px 26px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
}
.step .num{
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #14151a;
  margin-bottom: 20px;
}
.step h3{ font-size: 17px; font-weight: 700; }
.step p{
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,.66);
  line-height: 1.55;
}

/* ---------- Why us ---------- */
.why{ padding: 100px 0; }
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card{
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.why-card .icon{
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-card h3{ font-size: 17.5px; font-weight: 700; }
.why-card p{ margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.why-card:nth-child(1) .icon{ background: rgba(63,198,239,.14); color: #1490b8; }
.why-card:nth-child(2) .icon{ background: rgba(227,65,152,.12); color: var(--magenta); }
.why-card:nth-child(3) .icon{ background: rgba(123,67,152,.12); color: var(--purple); }
.why-card:nth-child(4) .icon{ background: rgba(247,180,43,.16); color: #b5790a; }
.why-card:nth-child(5) .icon{ background: rgba(63,198,239,.14); color: #1490b8; }
.why-card:nth-child(6) .icon{ background: rgba(227,65,152,.12); color: var(--magenta); }

/* ---------- Gallery / clients ---------- */
.gallery{ padding: 90px 0; background: var(--paper-alt); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 16px;
}
.gallery-item{
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: #ddd;
}
.gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item .tag{
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(23,24,28,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.gi-1{ grid-column: span 3; grid-row: span 3; }
.gi-2{ grid-column: span 3; grid-row: span 2; }
.gi-3{ grid-column: span 2; grid-row: span 2; }
.gi-4{ grid-column: span 2; grid-row: span 3; }
.gi-5{ grid-column: span 2; grid-row: span 2; }

.gallery-caption{
  margin-top: 26px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.cta-final{
  padding: 100px 0;
}
.cta-box{
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 52%, #ff7a59 100%);
  padding: clamp(40px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-box::before{
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; top: -160px;
  background: radial-gradient(circle at center, rgba(255,255,255,.22), transparent 70%);
}
.cta-box .cta-text{ max-width: 560px; position: relative; z-index: 1; }
.cta-box h2{
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
}
.cta-box p{
  margin-top: 14px;
  font-size: 16.5px;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}
.cta-box .btn-whatsapp{
  position: relative; z-index: 1;
  background: #fff;
  color: var(--whatsapp-dark);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.cta-box .btn-whatsapp svg{ color: var(--whatsapp); }
.cta-box .btn-whatsapp:hover{ background: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img{ height: 30px; margin-bottom: 16px; }
.footer-brand p{
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
  max-width: 320px;
}
.footer-col h4{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.footer-col li{ margin-bottom: 11px; }
.footer-col a{
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  transition: color .15s ease;
}
.footer-col a:hover{ color: var(--yellow); }
.footer-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.footer-whatsapp svg{ color: var(--whatsapp); }

.footer-bottom{
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  font-weight: 700;
  font-size: 14.5px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}
.float-whatsapp.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-whatsapp:hover{ background: var(--whatsapp-dark); }
.float-whatsapp .ping{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--whatsapp);
  animation: ping 2.2s cubic-bezier(0,0,.2,1) infinite;
  z-index: -1;
}
@keyframes ping{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.7); opacity: 0; }
}
.float-whatsapp span.txt{ display: none; }

/* ---------- Reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: span 2; }
  .gallery-grid{ grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; }
  .gi-1{ grid-column: span 4; grid-row: span 2; }
  .gi-2{ grid-column: span 2; grid-row: span 2; }
  .gi-3{ grid-column: span 2; grid-row: span 2; }
  .gi-4{ grid-column: span 2; grid-row: span 2; }
  .gi-5{ grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 760px){
  .nav-links{
    position: fixed;
    top: 68px; left: 16px; right: 16px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.is-open{
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .nav-links a{ padding: 10px 6px; width: 100%; }
  .nav-toggle{ display: block; }
  .header-actions .btn-whatsapp span.long{ display: none; }
  .header-actions .btn-whatsapp span.short{ display: inline; }

  .hero{ padding: 120px 0 50px; }
  .hero-media img{ height: 560px; object-position: 70% 40%; }
  .hero-media::after{
    background: linear-gradient(180deg, rgba(251,250,247,0) 0%, rgba(251,250,247,.35) 38%, rgba(251,250,247,.98) 64%, var(--paper) 100%);
  }
  .hero-content{
    position: relative;
    width: 100%;
    padding: 0;
    margin-top: -220px;
    align-items: flex-end;
  }
  .hero-content .inner{ padding: 0 6px 34px; }

  .product-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .how{ margin: 60px 14px 0; padding: 60px 0; }
  .footer-top{ grid-template-columns: 1fr; }
  .footer-brand{ grid-column: span 1; }
  .cta-box{ flex-direction: column; align-items: flex-start; }
  .cta-box .btn{ width: 100%; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5{ grid-column: span 2; grid-row: span 2; }
  .float-whatsapp span.txt{ display: inline; }
}

@media (max-width: 420px){
  .container{ padding: 0 18px; }
}
