/* Gotham (licença) */
@font-face{font-family:"Gotham";src:url("/fonts/gotham-book.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Gotham";src:url("/fonts/gotham-book-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Gotham";src:url("/fonts/gotham-bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Gotham";src:url("/fonts/gotham-black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden}

body{
  font-family:"Gotham","Poppins",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:#fff;
  background:
    radial-gradient(1200px 600px at 80% -200px, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #4e1b77 0%, #2d0f4a 100%);
  position:relative;
}

/* TEXTURA COM PNGs NO FUNDO */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.08; /* visibilidade maior */
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,
                    no-repeat,no-repeat,no-repeat,no-repeat;
  background-image:
    url("BANNER EPISODIOS/amor.png"),
    url("BANNER EPISODIOS/amizade.png"),
    url("BANNER EPISODIOS/coragem.png"),
    url("BANNER EPISODIOS/aventura.png"),
    url("BANNER EPISODIOS/amor.png"),
    url("BANNER EPISODIOS/amizade.png"),
    url("BANNER EPISODIOS/coragem.png"),
    url("BANNER EPISODIOS/aventura.png");
  background-size: 600px,600px,600px,600px,
                   150px,150px,150px,150px;
  background-position: 10% 15%, 70% 12%, 45% 30%, 90% 40%,
                       15% 75%, 65% 70%, 35% 90%, 85% 85%;
}

:root{
  --container:min(1200px,92vw);
  --slab:#26123d; --footer:#39145a;

  --card-radius:45px;
  --hover-lift:-3px;
  --hover-scale:1.02;
  --hover-brightness:1.03;
  --hover-glow: rgba(241,56,56,.35); /* brilho mais suave */
  --shadow:0 10px 30px rgba(0,0,0,.35);

  --offset-episodes:0px; --offset-paint:0px;
}
@media (max-width:760px){
  :root{--card-radius:16px}
}

.container{width:var(--container); margin-inline:auto; position:relative; z-index:1}

/* Header */
.main-header{position:sticky; top:0; z-index:60; background:rgba(0,0,0,.35); backdrop-filter:blur(6px); box-shadow:0 4px 14px rgba(0,0,0,.25)}
.header__inner{display:grid; grid-template-columns:auto 1fr auto; gap:16px; align-items:center; padding:10px 0}
.brand img{height:56px}
.main-nav{display:flex; justify-content:center; align-items:center; gap:clamp(18px,4vw,44px)}
.nav-item{color:#fff; text-decoration:none; font-weight:800; letter-spacing:.6px; position:relative; padding:6px 2px}
.nav-item::after{content:""; position:absolute; left:0; bottom:-4px; height:3px; width:0; background:#ff9900; border-radius:2px; transition:width .25s ease}
.nav-item:hover{color:#ffd8a8}
.nav-item:hover::after{width:100%}
.nav-toggle{display:none; font-size:28px; background:transparent; border:0; color:#fff}

/* Hero */
.hero{padding:clamp(28px,6vw,60px) 0 10px}
.hero__grid{display:grid; gap:24px; align-items:center; grid-template-columns:1.1fr .9fr}
.eyebrow{font-size:clamp(42px,7vw,84px); font-weight:900; letter-spacing:2px; line-height:1}
.headline{font-size:clamp(26px,3vw,40px); color:#ffd8a8; font-style:italic; line-height:1.2; margin-top:6px}
.lead{margin-top:14px; color:#eadcf8; line-height:1.7}
.hero__art{display:grid; place-items:center}
.hero__img{width:min(560px,100%); height:auto; border-radius:var(--card-radius); box-shadow:var(--shadow); transition:transform .25s ease, filter .25s ease, box-shadow .25s ease}
.hero__img:hover{transform:translateY(var(--hover-lift)) scale(var(--hover-scale)); filter:brightness(var(--hover-brightness)); box-shadow:0 0 28px var(--hover-glow)}

/* Slab */
.content-slab{background:var(--slab); border-radius:24px; margin:clamp(16px,4vw,36px) auto; padding:clamp(18px,3.5vw,38px) 0}

/* Episódios */
.episodes{padding-top:clamp(20px,6vw,40px); padding-bottom:clamp(24px,7vw,56px); position:relative; margin-top:var(--offset-episodes)}
.section-title{display:flex; align-items:center; gap:12px; margin-bottom:18px}
.section-title--left{justify-content:flex-start}
.section-title h3{font-size:clamp(20px,2.2vw,28px); letter-spacing:1px}
.dots span{display:inline-block; width:6px; height:6px; margin:0 3px; border-radius:50%; background:rgba(255,255,255,.5)}

/* ===== CARROSSEL ===== */
.carousel{position:relative; padding:8px 0}
.carousel__viewport{
  position:relative;
  overflow:hidden;                       /* máscara */
  border-radius:var(--card-radius);
  min-height:0;
}
.carousel__fade{
  position:absolute; top:0; bottom:0; width:78px; z-index:4; pointer-events:none;
  background:linear-gradient(to right, var(--slab), transparent 70%);
}
.carousel__fade--right{right:0; left:auto; transform:scaleX(-1)}
.carousel__fade--left{left:0}

/* trilho */
.carousel__track{
  display:flex; gap:20px; padding:10px 6px 16px;
  will-change:transform;
  transition:transform .55s cubic-bezier(.22,.61,.36,1);
}
.carousel__track::before,
.carousel__track::after{content:""; flex:0 0 28px} /* gutter p/ brilho nas pontas */

.card{width:clamp(220px,24vw,280px); flex:0 0 auto; display:block; position:relative; border-radius:var(--card-radius); cursor:pointer; isolation:isolate}
.card__thumb{width:100%; height:auto; display:block; border-radius:var(--card-radius); box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease, filter .25s ease}
.card:hover .card__thumb{transform:translateY(var(--hover-lift)) scale(var(--hover-scale)); box-shadow:0 0 28px var(--hover-glow); filter:brightness(var(--hover-brightness))}
.card::after{content:"▶"; position:absolute; inset:auto 10px 10px auto; translate:0 6px; opacity:0; font-size:18px; line-height:1; padding:.35rem .55rem; border-radius:999px; background:rgba(0,0,0,.65); color:#fff; transition:opacity .2s ease, translate .2s ease}
.card:hover::after{opacity:1; translate:0 0}

/* Setas */
.carousel__arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:56px; height:56px; border-radius:50%;
  background:rgba(0,0,0,.7); color:#fff; border:0; cursor:pointer;
  display:grid; place-items:center; font-size:30px; z-index:5;
  box-shadow:0 0 16px rgba(0,0,0,.5);
  transition:transform .2s ease, background .2s ease, opacity .2s ease; opacity:.95;
}
.carousel__arrow:hover{transform:translateY(-50%) scale(1.08); background:rgba(0,0,0,.9)}
.carousel__arrow--left{left:6px} .carousel__arrow--right{right:6px}

/* Dots */
.carousel__dots{display:flex; justify-content:center; gap:8px; margin-top:8px}
.carousel__dot{width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.4); border:2px solid transparent; cursor:pointer; transition:transform .2s ease, background .2s ease, border-color .2s ease}
.carousel__dot[aria-selected="true"]{background:#fff; border-color:rgba(255,255,255,.6); transform:scale(1.12)}

/* Pinte */
.paint{padding:32px 0; margin-top:var(--offset-paint)}
.paint__grid{display:grid; gap:28px; align-items:center; grid-template-columns:1.1fr .9fr}
.kicker{font-size:clamp(50px,2vw,50px); opacity:.85}
.paint__title{font-size:clamp(22px,2.4vw,32px); margin-top:6px}
.paint__title span{color:#ff6b6b}
.paint__desc{margin-top:12px; color:#eadcf8; line-height:1.8}
.paint__cta{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.paint__art{text-align:center}
.paint__img{width:100%; max-width:520px; border-radius:var(--card-radius); box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease, filter .25s ease}
.paint__img:hover{transform:translateY(var(--hover-lift)) scale(var(--hover-scale)); box-shadow:0 0 28px var(--hover-glow); filter:brightness(var(--hover-brightness))}
.paint__caption{font-size:12px; opacity:.75; margin-top:8px}
.paint__title--left,.paint__desc--left,.paint__cta--left{text-align:left; justify-content:flex-start}
.btn{background:#fff; color:#2a1143; font-weight:700; text-decoration:none; padding:10px 16px; border-radius:999px; box-shadow:var(--shadow)}

/* GIF */
.gif-section{padding:12px 0 40px}
.gif-media{display:block; width:min(680px,100%); margin:0 auto; border-radius:var(--card-radius); box-shadow:var(--shadow)}

/* Footer */
.site-footer{background:var(--footer); border-top:1px solid rgba(255,255,255,.08); padding:36px 0}
.footer__grid{display:grid; gap:28px; grid-template-columns:2fr 1fr 1fr 1fr; align-items:start}
.footer__logo{height:56px; margin-bottom:12px}
.footer__about{color:#f4eaff; max-width:520px; line-height:1.7}
.footer__col h5{font-size:18px; margin-bottom:10px}
.footer__col ul{list-style:none; display:grid; gap:8px}
.footer__col a{color:#fff; text-decoration:none; opacity:.9; word-break:break-word}
.footer__col a:hover{opacity:1; text-decoration:underline}

/* RESPONSIVO */
@media (max-width:1060px){
  .hero__grid,.paint__grid{grid-template-columns:1fr}
  .hero__art{order:-1}
}
@media (max-width:860px){
  .footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .brand img{height:48px}
  .container{padding-inline:14px}

  /* mobile: hamburger no canto direito; menu alinhado mais à esquerda quando aberto */
  .main-nav{display:none}
  .nav-toggle{display:block; margin-left:auto}

  body.menu-open .main-nav{
    display:flex; position:absolute; left:14px; right:14px; top:64px;
    background:rgba(0,0,0,.75); padding:10px 12px; border-radius:12px;
    gap:22px; justify-content:flex-start; backdrop-filter:blur(6px); z-index:61;
  }

  .carousel{padding:6px 0 0}
  .carousel__viewport{min-height:0}
  .carousel__arrow{width:48px;height:48px;font-size:26px}
  .footer__grid{grid-template-columns:1fr; gap:18px; text-align:left}
  .footer__logo{height:48px}
}

/* Modal vídeo */
.video-modal{position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.85)}
.video-modal[data-open="true"]{display:flex}
.video-modal__content{width:min(920px,calc(100vw - 24px)); max-width:920px; margin:0 auto; background:#000; border-radius:var(--card-radius); box-shadow:var(--shadow); position:relative}
.video-modal__close{position:absolute; top:8px; right:8px; background:rgba(255,255,255,.12); border:0; color:#fff; width:36px; height:36px; border-radius:50%; font-size:22px; cursor:pointer; line-height:36px}
#modalVideoPlayer{width:100%; max-width:100%; aspect-ratio:16/9; border:0; display:block; border-radius:var(--card-radius)}
/* ===== MODAIS DE TEXTO (Ajuda / Termos / Política) ===== */
.text-modal{
  position:fixed; inset:0; z-index:110;
  display:none; align-items:center; justify-content:center;
  background:rgba(0,0,0,.85);
  padding:12px;
}
.text-modal[data-open="true"]{display:flex}

.text-modal__content{
  width:min(920px,100%);
  max-height:min(88vh,100%);
  background:#12081e; /* tom escuro coerente com seu tema */
  border-radius:var(--card-radius);
  box-shadow:var(--shadow);
  overflow:hidden;              /* mantém header fixo com rolagem no body */
  display:grid; grid-template-rows:auto 1fr;
}

.text-modal__header{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 16px;
  background:rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.text-modal__title{font-size:clamp(18px,2.2vw,22px); font-weight:800}

.text-modal__close{
  background:rgba(255,255,255,.12);
  border:0; color:#fff; width:36px; height:36px;
  border-radius:50%; font-size:22px; cursor:pointer; line-height:36px;
}

.text-modal__body{
  padding:18px clamp(14px,3vw,26px);
  overflow:auto; /* rola só o conteúdo */
}

.text-modal__body h4{font-size:18px; margin:14px 0 8px}
.text-modal__body p{line-height:1.7; color:#f4eaff; opacity:.95; margin:8px 0}
.text-modal__body ul{margin:8px 0 8px 20px}
.text-modal__body li{margin:6px 0; line-height:1.6}
.text-modal__body a{color:#ffd8a8; text-decoration:underline}

/* Link do rodapé que vira botão */
.footer-link-btn{
  background:none; border:0; color:#fff; cursor:pointer;
  text-align:left; padding:0; font:inherit; opacity:.9;
}
.footer-link-btn:hover{opacity:1; text-decoration:underline}

/* Responsivo */
@media (max-width:760px){
  .text-modal__content{border-radius:16px}
}

/* === AJUSTES PEDIDOS === */
/* Texto Isabella menor e mais à esquerda */
.lead{
  font-size: clamp(2px, 1.4vw, 13px);
  max-width: 58ch;
  text-align: left;
  margin-left: 0;
  opacity: .95;
}

/* Título "seus personagens favoritos" menor e mais à esquerda */
.paint__title{
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.2;
  max-width: 36ch;
  text-align: left;
  margin-left: 0;
}

/* ajustes extras no mobile */
@media (max-width:760px){
  .lead{
    font-size: 13.5px;
    max-width: 100%;
    padding-right: 8px; /* evita colar na borda direita */
  }
  .paint__title{
    font-size: 20px;
    max-width: 100%;
  }
}
/* === AJUSTES DE TEXTO === */

/* Texto Isabella menor e mais à esquerda */
.lead{
  font-size: clamp(14px, 1.4vw, 11px); /* tamanho do texto */
  max-width: 58ch;                     /* largura máxima */
  text-align: left;
  margin-left: 0;
  opacity: .95;
}

/* Título "seus personagens favoritos" menor e mais à esquerda */
.paint__title{
  font-size: clamp(24px, 2vw, 24px);
  line-height: 1.2;
  max-width: 36ch;
  text-align: left;
  margin-left: 0;
}

/* Texto "Dê asas à imaginação..." menor e mais à esquerda */
.paint__desc{
  font-size: clamp(14px, 1.3vw, 14px);
  max-width: 60ch;
  text-align: left;
  margin-left: 0;
  line-height: 1.6;
  opacity: .95;
}

/* ajustes extras no mobile */
@media (max-width:760px){
  .lead{
    font-size: 13.5px;
    max-width: 100%;
    padding-right: 8px;
  }
  .paint__title{
    font-size: 20px;
    max-width: 100%;
  }
  .paint__desc{
    font-size: 13.5px;
    max-width: 100%;
    padding-right: 8px;
  }
}
