/* =========================================================
   CSS ADICIONAL - PÁGINA REVENDA DE CURSOS
   Arquivo separado: css/css-adicional-revenda.css
   O CSS raiz permanece intacto.
   ========================================================= */

.revenda-hero{
  padding:88px var(--gutter) 68px;
  background:#fff;
  text-align:center;
}
.revenda-hero .eyebrow{margin-bottom:22px}
.revenda-hero h1{
  max-width:1120px;
  margin:0 auto 24px;
  font-size:clamp(36px,4.2vw,66px);
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.03em;
  text-transform:uppercase;
  color:var(--ink);
}
.revenda-hero h1 span{color:var(--orange)}
.revenda-hero p{
  max-width:850px;
  margin:0 auto;
  color:#4c5361;
  font-size:clamp(18px,1.5vw,23px);
  line-height:1.6;
}

.revenda-sections{
  padding:20px var(--gutter) 88px;
  background:#fff;
}
.revenda-box{
  max-width:1180px;
  margin:0 auto;
  padding:105px 0;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:70px;
  align-items:center;
  border-top:1px solid #e9ecf1;
}
.revenda-box:first-child{border-top:0}
.revenda-copy h2{
  margin:0 0 22px;
  color:var(--ink);
  font-size:clamp(34px,3.7vw,58px);
  line-height:1.03;
  letter-spacing:-.04em;
}
.revenda-copy p{
  margin:0 0 18px;
  color:#3d4553;
  font-size:clamp(17px,1.25vw,20px);
  line-height:1.7;
}
.revenda-copy ul{
  margin:22px 0 0;
  padding-left:22px;
  color:#3d4553;
  font-size:17px;
  line-height:1.75;
}

.revenda-image-wrap{
  position:relative;
  isolation:isolate;
  min-width:0;
  padding:28px;
  border:1px solid #edf0f5;
  border-radius:28px;
  background:linear-gradient(125deg,#fff5e9 0%,#fffaf5 35%,#ffffff 78%);
  box-shadow:0 24px 65px rgba(0,0,0,.06);
}
.revenda-image-wrap:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:8% -5% -5% 8%;
  border-radius:30px;
  background:linear-gradient(135deg,rgba(255,133,0,.19),rgba(255,133,0,.035) 58%,rgba(11,23,57,.045));
  filter:blur(22px);
}
.revenda-image{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(11,23,57,.08);
}

/* =========================================================
   VANTAGENS DA REVENDA - BLOCO ORIGINAL
   ========================================================= */

.revenda-vantagens{
  position:relative;
  overflow:hidden;
  padding:100px var(--gutter) 115px;
  background:#f8f9fb;
  border-top:1px solid #e9ecf1;
  border-bottom:1px solid #e9ecf1;
}
.revenda-vantagens:before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-170px;
  top:-210px;
  border-radius:50%;
  background:rgba(255,133,0,.08);
}
.revenda-vantagens-head{
  max-width:1180px;
  margin:0 auto 52px;
}
.revenda-vantagens-head h2{
  max-width:760px;
  margin:10px 0 0;
  color:var(--ink);
  font-size:clamp(42px,4.8vw,72px);
  line-height:.96;
  letter-spacing:-.05em;
  text-transform:uppercase;
}
.revenda-vantagens-grid{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.revenda-vantagem{
  min-height:330px;
  padding:34px 30px;
  border-left:1px solid #dfe3ea;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.revenda-vantagem:first-child{border-left:0}
.revenda-vantagem-num{
  color:var(--orange);
  font-size:clamp(58px,5vw,82px);
  line-height:.9;
  font-weight:900;
  letter-spacing:-.07em;
}
.revenda-vantagem h3{
  margin:28px 0 12px;
  color:var(--ink);
  font-size:clamp(23px,2vw,31px);
  line-height:1.03;
}
.revenda-vantagem p{
  margin:0;
  color:#5b6270;
  font-size:16px;
  line-height:1.55;
}

.revenda-cta{
  max-width:1120px;
  margin:100px auto 110px;
  padding:clamp(44px,5vw,72px);
  border-radius:30px;
  background:var(--ink);
  color:#fff;
  text-align:center;
  box-shadow:0 28px 75px rgba(11,23,57,.18);
}
.revenda-cta .eyebrow{
  color:#ffb86c;
  border-color:rgba(255,255,255,.16);
}
.revenda-cta h2{
  max-width:850px;
  margin:20px auto 18px;
  font-size:clamp(40px,4.6vw,70px);
  line-height:1;
  letter-spacing:-.045em;
  text-transform:uppercase;
}
.revenda-cta p{
  max-width:760px;
  margin:0 auto 30px;
  color:#dce2ef;
  font-size:18px;
  line-height:1.6;
}
.revenda-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:18px 30px;
  border-radius:999px;
  background:var(--orange);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}

.revenda-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(0,0,0,.86);
  z-index:999;
}
.revenda-modal.open{display:flex}
.revenda-modal-box{
  width:min(100%,1000px);
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
  background:#000;
  border-radius:22px;
}
.revenda-modal-box iframe{
  width:100%;
  height:100%;
  border:0;
}
.revenda-modal-close{
  position:absolute;
  right:14px;
  top:14px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:26px;
  cursor:pointer;
  z-index:3;
}

@media(max-width:980px){
  .revenda-box{
    grid-template-columns:1fr;
    gap:34px;
  }
  .revenda-vantagens-grid{
    grid-template-columns:1fr 1fr;
  }
  .revenda-vantagem:nth-child(3){
    border-left:0;
    border-top:1px solid #dfe3ea;
  }
  .revenda-vantagem:nth-child(4){
    border-top:1px solid #dfe3ea;
  }
}
@media(max-width:620px){
  .revenda-hero{padding:58px 24px 38px}
  .revenda-sections{padding:0 24px 55px}
  .revenda-box{padding:62px 0}
  .revenda-image-wrap{
    width:100%;
    max-width:460px;
    margin:0 auto;
    padding:16px;
    border-radius:18px;
  }
  .revenda-image{border-radius:12px}
  .revenda-vantagens{padding:72px 24px 82px}
  .revenda-vantagens-grid{grid-template-columns:1fr}
  .revenda-vantagem,
  .revenda-vantagem:first-child,
  .revenda-vantagem:nth-child(3),
  .revenda-vantagem:nth-child(4){
    min-height:auto;
    padding:32px 4px;
    border-left:0;
    border-top:1px solid #dfe3ea;
  }
  .revenda-vantagem:first-child{border-top:0}
  .revenda-cta{margin:70px 24px 80px;padding:40px 24px;border-radius:22px}
}


/* =========================================================
   CARROSSEL DE DEMONSTRAÇÕES + DOWNLOAD DO CATÁLOGO
   ========================================================= */
.revenda-carousel{
  position:relative;
  min-width:0;
  padding:18px 18px 46px;
  border:1px solid #e7ebf2;
  border-radius:26px;
  background:linear-gradient(145deg,#f7faff 0%,#fff 70%,#fff7ef 100%);
  box-shadow:0 24px 65px rgba(11,23,57,.10);
}
.revenda-carousel-viewport{overflow:hidden;border-radius:17px;background:#fff}
.revenda-carousel-track{position:relative;min-height:260px}
.revenda-carousel-slide{
  display:none;
  margin:0;
  animation:revenda-slide-in .28s ease both;
}
.revenda-carousel-slide.is-active{display:block}
.revenda-carousel-slide img{
  display:block;
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:contain;
  background:#fff;
}
.revenda-carousel-slide figcaption{
  padding:14px 16px;
  color:var(--ink);
  font-size:14px;
  font-weight:800;
  text-align:center;
  background:#fff;
  border-top:1px solid #edf0f5;
}
.revenda-carousel-control{
  position:absolute;
  top:45%;
  z-index:2;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid rgba(255,255,255,.8);
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(11,23,57,.22);
  transition:transform .2s ease,background .2s ease;
}
.revenda-carousel-control:hover{transform:scale(1.07);background:var(--orange)}
.revenda-carousel-prev{left:5px}
.revenda-carousel-next{right:5px}
.revenda-carousel-dots{
  position:absolute;
  left:0;right:0;bottom:17px;
  display:flex;justify-content:center;align-items:center;gap:9px;
}
.revenda-carousel-dots button{
  width:9px;height:9px;padding:0;border:0;border-radius:50%;
  background:#cbd2df;cursor:pointer;transition:width .2s ease,background .2s ease;
}
.revenda-carousel-dots button.is-active{width:25px;border-radius:999px;background:var(--orange)}
.revenda-carousel-dots button:focus-visible,.revenda-carousel-control:focus-visible{outline:3px solid #ffbf80;outline-offset:3px}
@keyframes revenda-slide-in{from{opacity:.55;transform:translateX(8px)}to{opacity:1;transform:translateX(0)}}

.revenda-download-btn{
  display:flex;
  align-items:center;
  gap:14px;
  width:fit-content;
  max-width:100%;
  margin-top:28px;
  padding:15px 19px;
  border:1px solid #ffd3a8;
  border-radius:15px;
  background:linear-gradient(135deg,#fff8f0,#fff);
  color:var(--ink);
  box-shadow:0 8px 22px rgba(11,23,57,.045);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.revenda-download-btn:hover{transform:translateY(-2px);border-color:var(--orange);box-shadow:0 14px 28px rgba(11,23,57,.09)}
.revenda-download-icon{
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  border-radius:12px;background:var(--orange);color:#fff;font-size:27px;font-weight:700;
}
.revenda-download-btn strong,.revenda-download-btn small{display:block}
.revenda-download-btn strong{font-size:15px;line-height:1.35}
.revenda-download-btn small{margin-top:3px;color:#6b7280;font-size:12px;line-height:1.4}
@media(max-width:620px){
  .revenda-carousel{padding:10px 10px 40px;border-radius:19px}
  .revenda-carousel-viewport{border-radius:12px}
  .revenda-carousel-track{min-height:160px}
  .revenda-carousel-control{width:35px;height:35px;font-size:25px}
  .revenda-carousel-slide figcaption{padding:11px 10px;font-size:12px}
  .revenda-download-btn{width:100%;margin-top:24px;padding:13px}
  .revenda-download-btn strong{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  .revenda-carousel-slide{animation:none}
  .revenda-carousel-control,.revenda-download-btn{transition:none}
}


/* TÓPICOS ESTILIZADOS DOS BLOCOS DE APRESENTAÇÃO */
.revenda-copy ul{
  list-style:none;
  margin:24px 0 0;
  padding:0;
  display:grid;
  gap:12px;
  color:#3d4553;
  font-size:16px;
  line-height:1.55;
}
.revenda-copy ul li{
  position:relative;
  padding:13px 15px 13px 45px;
  border:1px solid #edf0f5;
  border-radius:13px;
  background:linear-gradient(110deg,#fffaf5 0%,#fff 78%);
  box-shadow:0 5px 16px rgba(11,23,57,.035);
}
.revenda-copy ul li:before{
  content:"✓";
  position:absolute;
  left:13px;
  top:13px;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff0df;
  color:#ed7900;
  font-size:14px;
  font-weight:900;
}
.revenda-preco-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  margin-top:27px;
  padding:16px 25px;
  border:1px solid var(--orange);
  border-radius:10px;
  background:var(--orange);
  color:#fff !important;
  font-size:15px;
  font-weight:900;
  letter-spacing:.025em;
  box-shadow:0 12px 25px rgba(255,133,0,.22);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.revenda-preco-btn span{font-size:22px;line-height:1}
.revenda-preco-btn:hover{transform:translateY(-2px);background:#ed7800;box-shadow:0 16px 30px rgba(255,133,0,.28)}
.revenda-preco-btn:focus-visible{outline:3px solid #ffc58f;outline-offset:3px}
.revenda-carousel{touch-action:pan-y}
@media(max-width:620px){
  .revenda-copy ul{font-size:15px;gap:9px}
  .revenda-copy ul li{padding:12px 12px 12px 42px;border-radius:12px}
  .revenda-copy ul li:before{left:11px;top:12px}
  .revenda-preco-btn{width:100%;margin-top:22px;padding:15px 18px}
}
@media(prefers-reduced-motion:reduce){
  .revenda-preco-btn{transition:none}
}


/* CARROSSEL AUTOMÁTICO DE IMAGENS NO BLOCO DE APRESENTAÇÃO */
.revenda-image-carousel{
  display:grid;
  align-items:center;
  justify-items:center;
  overflow:hidden;
}
.revenda-image-carousel .revenda-image-slide{
  grid-area:1 / 1;
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:contain;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
}
.revenda-image-carousel .revenda-image-slide.is-active{
  opacity:1;
  visibility:visible;
}
@media(prefers-reduced-motion:reduce){
  .revenda-image-carousel .revenda-image-slide{transition:none}
}
