/* =========================================================
   FIO 10 JEANS — Landing Page (Link de Bio)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600&display=swap');

:root{
  --navy: #1d2749;
  --navy-deep: #10152c;
  --navy-light: #2c3768;
  --red: #d10a11;
  --red-deep: #9c0a10;
  --cream: #f6efe2;
  --white: #ffffff;
  --thread: #ece2cf;
  --brass: #c9a24b;
  --wa-green: #25d366;
  --wa-green-deep: #128c53;

  --font-display: 'Archivo Black', 'Barlow', Arial, sans-serif;
  --font-body: 'Barlow', Arial, sans-serif;

  --container: 720px;
}

*,*::before,*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }

a{ color: inherit; }

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

/* ---------- Denim texture backgrounds ---------- */

.denim-bg{
  position: relative;
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 2px, transparent 2px, transparent 5px),
    repeating-linear-gradient(25deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 2px, transparent 2px, transparent 5px),
    linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  background-blend-mode: overlay, overlay, normal;
}

.denim-bg::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity:.5;
  mix-blend-mode: overlay;
}

.grain{
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.12;
  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");
  mix-blend-mode: overlay;
}

/* Topstitch dashed rule, like denim topstitching thread */
.topstitch{
  border: none;
  height: 0;
  border-top: 2px dashed rgba(246,239,226,0.35);
  margin: 0;
}

.stitched-frame{
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(0,0,0,0.15));
  border: 1px solid rgba(246,239,226,0.18);
}
.stitched-frame::before{
  content:"";
  position:absolute; inset:6px;
  border-radius: 12px;
  border: 2px dashed rgba(246,239,226,0.45);
  pointer-events:none;
}

/* Rivet accents, like jeans metal rivets */
.rivet{
  position:absolute;
  width:10px; height:10px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, #ffe9b0, var(--brass) 55%, #7a5c1e 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* ---------- Reveal-on-scroll ---------- */

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1{ transition-delay: .12s; }
.reveal-delay-2{ transition-delay: .24s; }
.reveal-delay-3{ transition-delay: .36s; }

/* ---------- Header ---------- */

.site-header{
  position: relative;
  padding: 26px 0;
  text-align: center;
}

.logo-plate{
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 12px 18px;
  background: linear-gradient(160deg, #fffdf8 0%, var(--cream) 100%);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.6);
}
.logo-plate::before{
  content:"";
  position:absolute; inset:4px;
  border-radius: 8px;
  border: 2px dashed rgba(29,39,73,.35);
  pointer-events:none;
}
.logo-principal{
  width: 108px;
  display:block;
}

/* ---------- Hero ---------- */

.hero{
  position: relative;
  padding: 10px 0 56px;
  text-align: center;
  overflow: hidden;
}

.hero .rivet.tl{ top:18px; left:18px; }
.hero .rivet.tr{ top:18px; right:18px; }

h1.headline{
  font-family: var(--font-display);
  font-size: clamp(30px, 8.5vw, 44px);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.subheadline{
  max-width: 380px;
  margin: 0 auto 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--thread);
}

/* the "acima de 20 peças" patch — like a leather jeans tag */
.patch{
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px 28px;
  background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(209,10,17,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.patch::before{
  content:"";
  position:absolute; inset:4px;
  border-radius: 999px;
  border: 2px dashed rgba(255,255,255,.55);
  pointer-events:none;
}
.patch{
  animation: patch-pulse 2.2s ease-out infinite, patch-bounce 1.8s ease-in-out infinite;
}
@keyframes patch-pulse{
  0%   { box-shadow: 0 12px 26px rgba(209,10,17,.4), inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 0 rgba(209,10,17,.55); }
  65%  { box-shadow: 0 12px 26px rgba(209,10,17,.4), inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 14px rgba(209,10,17,0); }
  100% { box-shadow: 0 12px 26px rgba(209,10,17,.4), inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 0 rgba(209,10,17,0); }
}
@keyframes patch-bounce{
  0%, 50%, 100% { transform: translateY(0); }
  20%           { transform: translateY(-12px); }
  35%           { transform: translateY(0); }
  42%           { transform: translateY(-5px); }
}
.patch .patch-number{
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  line-height: 1;
}
.patch .patch-text{
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14.5px;
  color: var(--cream);
  line-height: 1;
  letter-spacing: .03em;
}

/* ---------- Video section ---------- */

.video-section{
  padding: 50px 0 44px;
  text-align: center;
  background: var(--navy-deep);
}

.section-kicker{
  font-family: var(--font-display);
  font-size: clamp(20px, 5.5vw, 26px);
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 26px;
  position: relative;
  display:inline-block;
}
.section-kicker::after{
  content:"";
  display:block;
  width:64px; height:3px;
  margin: 12px auto 0;
  background: var(--red);
  border-radius: 2px;
}

.video-wrap{
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.video-frame{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(246,239,226,.12);
}

.video-frame video{
  width: 100%;
  display:block;
  aspect-ratio: 16/9;
  object-fit: contain;
  background:#000;
}

.video-caption{
  margin: 22px auto 0;
  max-width: 360px;
  font-size: 19px;
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
}

/* ---------- CTA section ---------- */

.cta-section{
  position: relative;
  padding: 54px 0 64px;
  text-align: center;
}

.cta-card{
  position:relative;
  padding: 34px 24px 30px;
  border-radius: 20px;
}

.cta-title{
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 28px);
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 22px;
  line-height: 1.2;
}

.wa-button{
  --pulse: rgba(37,211,102,.55);
  position: relative;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  padding: 18px 22px;
  border-radius: 999px;
  background: linear-gradient(160deg, #2be07a 0%, var(--wa-green) 45%, var(--wa-green-deep) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 14px 30px rgba(18,140,83,.4), inset 0 1px 0 rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.25);
  animation: wa-pulse 2.4s ease-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18,140,83,.5), inset 0 1px 0 rgba(255,255,255,.4);
}
.wa-button svg{ width: 24px; height:24px; flex-shrink:0; color: var(--white); }

@keyframes wa-pulse{
  0%   { box-shadow: 0 14px 30px rgba(18,140,83,.4), inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 0 var(--pulse); }
  70%  { box-shadow: 0 14px 30px rgba(18,140,83,.4), inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 30px rgba(18,140,83,.4), inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 0 rgba(37,211,102,0); }
}

.cta-micro{
  max-width: 340px;
  margin: 20px auto 0;
  font-size: 14.5px;
  color: var(--thread);
  opacity: .9;
}

/* Floating sticky WhatsApp button */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(160deg, #2be07a 0%, var(--wa-green) 45%, var(--wa-green-deep) 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  z-index: 60;
  opacity: 0;
  transform: scale(.6);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float.is-visible{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.wa-float svg{ width: 30px; height: 30px; color: var(--white); }

/* ---------- Footer ---------- */

footer{
  padding: 26px 0 32px;
  text-align: center;
  background: var(--navy-deep);
  border-top: 1px dashed rgba(246,239,226,.2);
}

footer .footer-logo{
  width: 88px;
  margin: 0 auto 14px;
  opacity: .9;
}

footer p{
  margin:0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(246,239,226,.55);
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Responsive tweaks ---------- */

/* Tablet */
@media (min-width: 560px){
  body{ font-size: 18px; }
}

/* Desktop */
@media (min-width: 900px){
  :root{ --container: 780px; }

  .site-header{ padding: 34px 0; }
  .logo-principal{ width: 126px; }

  .hero{ padding: 18px 0 84px; }
  .subheadline{ max-width: 440px; font-size: 18px; }

  .video-section{ padding: 72px 0 60px; }
  .video-wrap{ max-width: 680px; }

  .cta-section{ padding: 72px 0 88px; }
  .wa-button{ max-width: 380px; }

  footer{ padding: 34px 0 40px; }
}
