/* ---------- Tokens ---------- */
:root{
  --orange:#C9650B;
  --rust:#A94D28;
  --cream:#FFF7ED;
  --brown:#38251C;
  --brown-soft:#6B5246;
  --sand:#E8C9A1;
  --white:#FFFFFF;
  --header-h:68px;
  --font:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

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

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--cream);
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

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

a{color:var(--orange)}
a:hover{color:var(--rust)}

.page{
  background:var(--orange);
  color:var(--cream);
}

/* ---------- Wordmark (máscara do logo, herda a cor do texto) ---------- */
.wm{
  display:inline-block;
  width:46px;height:18px;
  margin:0 1px 0 2px;
  vertical-align:-1px;
  background:currentColor;
  -webkit-mask:url(assets/logo.svg) center/contain no-repeat;
  mask:url(assets/logo.svg) center/contain no-repeat;
}
.wm--sm{width:40px;height:16px}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:52px;
  padding:0 28px;
  border-radius:999px;
  font-size:16px;
  font-weight:500;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color .2s ease,color .2s ease;
}
.btn--primary{background:var(--orange);color:var(--cream)}
.btn--primary:hover{background:var(--rust);color:var(--cream)}
.btn--light{background:var(--cream);color:var(--orange)}
.btn--light:hover{background:var(--white);color:var(--orange)}

/* ---------- Header ---------- */
.header{
  position:relative;
  z-index:10;
  height:var(--header-h);
  background:var(--orange);
  display:flex;
  align-items:center;
  justify-content:center;
}
.header__logo{height:34px;width:auto}

/* ---------- 01 Hero ---------- */
.hero{
  position:relative;
  height:calc(100svh - var(--header-h));
  min-height:620px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:60% 50%;
}
.hero__grad{position:absolute;inset:0}
.hero__grad--mobile{
  background:linear-gradient(180deg,
    rgba(201,101,11,1) 0%,
    rgba(185,89,26,.85) 18%,
    rgba(169,77,40,.7) 36%,
    rgba(169,77,40,0) 62%,
    rgba(169,77,40,0) 84%,
    rgba(169,77,40,.75) 100%);
}
.hero__grad--side,
.hero__grad--top{display:none}
.hero__inner{
  position:relative;
  height:100%;
  padding:48px 24px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.hero__title{
  margin:0;
  font-weight:500;
  font-style:italic;
  font-size:32px;
  line-height:1.4;
  letter-spacing:.01em;
  max-width:330px;
  text-wrap:balance;
}
.hero__text{
  margin:24px 0 0;
  font-size:16px;
  line-height:1.7;
  max-width:330px;
  text-wrap:balance;
}
.hero__cta{margin-top:auto}

/* ---------- 02 Declarações únicas ---------- */
.unique{
  background:var(--cream);
  color:var(--brown);
  padding:72px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.unique__title{
  margin:0;
  font-weight:600;
  font-size:28px;
  line-height:1.3;
  letter-spacing:-.01em;
  max-width:340px;
  text-wrap:balance;
}
.unique__lead{
  margin:20px 0 0;
  font-size:16px;
  line-height:1.7;
  max-width:340px;
  text-wrap:balance;
}
.unique__rule{
  width:100%;
  max-width:1120px;
  height:1px;
  background:var(--sand);
  margin:36px 0;
}
.unique__grid{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
}
.card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  max-width:330px;
}
.card__title{
  margin:0;
  font-size:17px;
  font-weight:600;
  line-height:1.35;
  color:var(--brown);
  text-wrap:balance;
}
.card__text{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:var(--brown-soft);
  text-wrap:pretty;
}
.unique__cta{margin-top:40px}

/* ---------- 03 Certificado ---------- */
.cert{
  background:var(--brown);
  color:var(--cream);
  padding:72px 24px 128px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.cert__eyebrow{
  margin:0;
  color:var(--sand);
  font-size:12px;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.cert__title{
  margin:20px 0 0;
  font-weight:600;
  font-size:28px;
  line-height:1.3;
  letter-spacing:-.01em;
  max-width:330px;
  text-wrap:balance;
}
.cert__media{margin:36px 0 8px}
.cert__img{
  width:140px;
  height:auto;
  transform:rotate(3deg);
  box-shadow:0 12px 28px rgba(0,0,0,.4);
}
.cert__body{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.cert__text{
  margin:28px 0 0;
  font-size:16px;
  line-height:1.7;
  max-width:330px;
  text-wrap:balance;
}
.cert__text + .cert__text{margin-top:16px}
.cert__cta{margin-top:40px}

/* ---------- 04 Produto ---------- */
.product{
  background:var(--white);
  color:var(--brown);
  padding:0 0 72px;
}
.product__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.gallery{width:100%;max-width:560px}
.gallery__thumbs{display:none}
.gallery__strip{
  width:100%;
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.gallery__strip::-webkit-scrollbar{display:none}
.slide{
  flex:0 0 100%;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  scroll-snap-align:center;
}
.gallery__dots{
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.dot{
  height:6px;
  width:6px;
  border-radius:999px;
  background:var(--orange);
  opacity:.25;
  transition:width .25s ease,opacity .25s ease;
}
.dot.is-active{width:20px;opacity:1}
.product__info{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.product__brand{
  margin-top:36px;
  display:flex;
  align-items:flex-start;
  gap:4px;
}
.product__wm{
  display:block;
  width:122px;
  height:48px;
  background:var(--orange);
  -webkit-mask:url(assets/logo.svg) center/contain no-repeat;
  mask:url(assets/logo.svg) center/contain no-repeat;
}
.product__tm{font-size:13px;font-weight:500;line-height:1}
.product__price{
  margin:16px 0 0;
  font-size:22px;
  font-weight:500;
  letter-spacing:.01em;
}
.product__cta{margin-top:36px}

/* ---------- Desktop ---------- */
@media (min-width:880px){
  :root{--header-h:84px}

  .header__logo{height:40px}

  .btn{height:56px;padding:0 32px;font-size:17px}

  .wm{width:52px;height:20px}
  .wm--sm{width:42px;height:17px}

  /* 01 Hero */
  .hero{
    height:auto;
    min-height:calc(100vh - var(--header-h));
    display:flex;
    align-items:center;
  }
  .hero__bg{object-position:50% 62%}
  .hero__grad--mobile{display:none}
  .hero__grad--side{
    display:block;
    background:linear-gradient(90deg,
      rgba(169,77,40,.85) 0%,
      rgba(169,77,40,.6) 35%,
      rgba(169,77,40,0) 65%);
  }
  .hero__grad--top{
    display:block;
    inset:0 0 auto 0;
    height:180px;
    background:linear-gradient(180deg,
      rgba(201,101,11,1) 0%,
      rgba(201,101,11,.6) 40%,
      rgba(201,101,11,0) 100%);
  }
  .hero__inner{
    height:auto;
    padding:64px clamp(24px,7vw,112px);
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    gap:28px;
  }
  .hero__title{
    font-size:clamp(36px,4.4vw,60px);
    line-height:1.2;
    max-width:560px;
  }
  .hero__text{
    margin:0;
    font-size:clamp(17px,1.4vw,20px);
    max-width:460px;
    text-wrap:pretty;
  }
  .hero__cta{margin-top:12px}

  /* 02 Declarações únicas */
  .unique{padding:120px clamp(24px,6vw,96px)}
  .unique__title{font-size:clamp(30px,3vw,44px);line-height:1.25;max-width:720px}
  .unique__lead{margin-top:24px;font-size:18px;max-width:620px}
  .unique__rule{margin:56px 0}
  .unique__grid{
    max-width:1120px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(20px,4vw,48px);
  }
  .card{gap:10px;max-width:none}
  .card__title{font-size:19px}
  .card__text{font-size:16px;max-width:300px}
  .unique__cta{margin-top:64px}

  /* 03 Certificado */
  .cert{
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
    column-gap:clamp(32px,5vw,72px);
    align-items:center;
    justify-content:center;
    padding:120px max(clamp(24px,6vw,96px), calc((100% - 1120px) / 2));
    text-align:left;
  }
  .cert__head{grid-column:1;grid-row:1;align-self:end;justify-self:start;max-width:520px;width:100%}
  .cert__body{grid-column:1;grid-row:2;align-self:start;align-items:flex-start;max-width:520px;width:100%}
  .cert__media{grid-column:2;grid-row:1/3;justify-self:center;margin:0;display:flex;justify-content:center;width:100%}
  .cert__title{font-size:clamp(30px,3vw,44px);line-height:1.25;max-width:520px}
  .cert__eyebrow{font-size:13px}
  .cert__img{
    width:100%;
    max-width:230px;
    box-shadow:0 24px 56px rgba(0,0,0,.45);
  }
  .cert__text{font-size:18px;max-width:500px;text-wrap:pretty}

  /* 04 Produto */
  .product{padding:120px clamp(24px,6vw,96px)}
  .product__inner{
    max-width:1120px;
    margin:0 auto;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:clamp(32px,5vw,72px);
  }
  .gallery{
    width:auto;
    max-width:none;
    display:flex;
    gap:16px;
    align-items:flex-start;
    flex:0 1 auto;
    min-width:0;
  }
  .gallery__thumbs{
    display:flex;
    flex-direction:column;
    gap:12px;
    width:clamp(48px,6vw,72px);
    flex:none;
  }
  .thumb{
    padding:0;
    border:2px solid transparent;
    border-radius:4px;
    background:none;
    cursor:pointer;
    overflow:hidden;
    transition:border-color .2s ease;
  }
  .thumb.is-active{border-color:var(--orange)}
  .thumb img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    opacity:.6;
    transition:opacity .2s ease;
  }
  .thumb.is-active img{opacity:1}
  .gallery__strip{
    width:min(380px,36vw);
    overflow:visible;
    scroll-snap-type:none;
    display:block;
  }
  .slide{display:none;width:100%;border-radius:4px}
  .slide.is-active{display:block}
  .gallery__dots{display:none}
  .product__info{flex:0 0 auto}
  .product__brand{margin-top:0;gap:6px}
  .product__wm{
    width:clamp(120px,14vw,180px);
    height:clamp(47px,5.4vw,70px);
  }
  .product__tm{font-size:16px}
  .product__price{margin-top:24px;font-size:28px}
  .product__cta{margin-top:40px}
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}
