/* Import da fonte Inter do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

/* ========== RESET & BASE ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Evita que qualquer coisa cause scroll horizontal e encolha a página */
html, body { max-width: 100%; overflow-x: hidden; }

/* Mídia fluida: imagens/vídeos nunca passam da largura do contêiner */
img, svg, video, canvas { max-width: 100%; height: auto; }

/* Mantém o tamanho de texto padrão no iOS Safari */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* Links */
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Botões padrões */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #EA6DB6E5;
  color: #fff;
  border-radius: 80px;
}
.btn-white {
  background-color: #fff;
  color: #000;
  border-radius: 80px;
  border: 1px solid #fff;
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
}
.hero .banner.banner-family {
  bottom: 200px;
}
.btn-primary:hover {
  background-color: #d34a9a;
}
.btn-white:hover {
  background-color: #dfdfdf;
}

.btn-secondary {
  background-color: #80CC45;
  color: #000;
  border-radius: 80px;
}
.btn-purple {
  background-color: #836AB1;
  color: #fff;
}
.btn-orange {
  background-color: #E17E14;
  color: #fff;
  z-index: 1;
}
.btn-login {
    position: relative;
    padding-left: 45px;
}
.btn-login img {
        height: 25px;
        position: absolute;
        left: 15px;
}
.btn-gradient {
    position: relative;
    display: inline-block;
    padding: 0.8rem 1rem;
    border-radius: 80px;
    font-weight: 600;
    color: #EA6DB6E5; /* texto cor principal */
    background: none; /* fundo branco normal */
    cursor: pointer;
}

.btn-gradient:hover {
    color: #fff; /* texto branco no hover */
    border: none; /* tira a borda */
    background: linear-gradient(270deg, #df56a6e5, #72c235, #d3a446, #df56a6e5);
    background-size: 400% 400%;
    animation: gradientMove 6s ease infinite;
    transform: translateY(-2px);
}
.btn-gradient.active {
  background-color: #EA6DB6E5;
  color: #fff;
}

/* Keyframes da animação */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-secondary:hover {
  background-color: #5db11c;
}
.btn-purple:hover {
  background-color: #644e8d;
}
.btn-orange:hover {
  background-color: #b1600a;
}

/* Container centralizado com largura máxima */
.container {
  width: 100%;
  max-width: 1200px; /* recomendado para telas grandes */
  margin: 0 auto;
  padding: 0 1rem; /* espaçamento lateral */
}

/* Header */
header {
  width: 100%; /* ocupa toda a largura da tela */
  position: absolute;
  z-index: 10;
  margin-top: 30px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;

  /* Centralizar conteúdo */
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 45px;
}
.navbar.navbar-grey {
  background-color:rgb(223 223 223 / 50%);
  transition: all 0.2s ease;
}
.navbar.navbar-grey:hover {
  background-color: rgb(203 203 203 / 50%);
}

.logo img {
  height: 35px;
  max-height: 100%;
}

/* Menu */
.menu {
  display: flex;
  gap: 0.8rem;
}

.menu a {
  font-weight: 600;
  color: #333;
  transition: color 0.2s ease;
  text-transform: uppercase;
  font-size: 14px;
}
.btn-shop.shop {
    background-color: transparent;
    position: relative;
    height: 44.7px;
    padding-top: 13px;
    padding-left: 12px;
    padding-right: 46px;
}
.btn-shop.shop:hover,
.btn-shop.shop.active {
  background-color: #EA6DB6E5;
}
.btn-shop.shop img.active {
    display: inline-block;
}
.btn-shop.shop img.active-hover {
    display: none;
}
.btn-shop.shop:hover img.active,
.btn-shop.shop.active img.active {
    display: none;
}
.btn-shop.shop:hover img.active-hover,
.btn-shop.shop.active img.active-hover {
    display: inline-block;
    margin-top: -5px;
}
.btn-shop.shop img {
    height: 26px;
    position: absolute;
    margin-top: -3px;
    margin-left: 5px;
}
.btn-shop.shop .counter,
.product-detail .counter {
    background-color: #FF0505;
    color: #fff;
    position: absolute;
    min-width: 22px;
    border-radius: 50%;
    text-align: center;
    top: 0;
    right: 0;
    z-index: 1;
    height: 22px;
}
.cart-items button {
  position: relative;
    border: 2px solid #836AB1;
    color: #836AB1;
    border-radius: 8px;
    background-color: #fff;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cart-items button img.purple {
  display: inline-block;
}
.cart-items button img.white {
  display: none;
}
.cart-items button:hover img.purple {
  display: none;
}
.cart-items button:hover img.white {
  display: inline-block;
}
.cart-items button img{
  height: 28px;
  margin-bottom: -7px;
}
.product-detail .counter {
  font-weight: normal;
  font-size: 15px;
  padding-top: 2px;
  right: 22px;
  top: 2px;
  cursor: pointer;
}
.product-detail button:hover {
  background-color: #836AB1;
  color: #fff;
}

/* Ações (idioma, botões) */
.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.actions select {
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}
.left-side {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* espaço entre logo e menu */
}
#languageSwitcher {
  display: none;
}

/* ========== HERO (exemplo inicial) ========== */
.hero {
  background-color: transparent;
  background-size: cover;
  background-position: center;
}
.hero.hero-dark {
  background-color: #383838;
}
.hero.hero-bg-map {
  background-image: url(../images/banner.png);
}
.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 700px;
}
.hero .actor {
    position: absolute;
    bottom: 0;
    right: 0;
    transition: transform 0.2s ease;
}
.hero .actor.elevator:hover {
  transform: translateY(-5px);
}
.hero .banner {
    background: rgba(255, 255, 255, 0.5); /* branco com 70% opacidade */
    backdrop-filter: blur(10px); /* aplica blur no que está atrás */
    -webkit-backdrop-filter: blur(10px); /* suporte Safari */
    width: 900px;
    border-radius: 20px;
    padding: 1.5rem;
    position: absolute;
    bottom: 150px;
    padding-left: 300px;
    margin-left: -300px;
}
.hero .banner.bg-grey {
  background: rgb(223 223 223 / 50%);;
}
.hero .banner.bg-white {
  background: rgba(255, 255, 255, 0.7)
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 3rem;
}
.hero h1 span {
    font-weight: 800;
    position: relative;
}
.hero h1 span.marker::after {
    content: '';
    width: 100%;
    position: absolute;
    height: 15px;
    left: 0;
    z-index: -1;
    bottom: 3px;
}
.hero h1 span.marker-green::after {
    background-color: #9ccb61;
}
.hero h1 span.marker-pink::after {
    background-color: #ce93ac;
}
.hero h1 span.marker-orange::after {
    background-color: #dfb35b;
}
.hero p {
  font-size: 1.2rem;
}
.hero a.btn-primary,
.hero a.btn-secondary {
    padding: 15px 50px;
    position: absolute;
    min-width: 240px;
    bottom: 50px;
    left: 50%;
    margin-left: -120px;
}

.indicators {
  text-align: center;
  background: #54C7CB;
}
.indicators .container {
    padding: 4rem 1rem;
}

.indicators h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}

.form {
  background-color: #373737;
  color: #fff;
}
.form h1 {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
  font-size: 2rem;
}



.infos {
  display: flex;
  flex-wrap: wrap; /* quebra para baixo quando não couber */
  justify-content: center; /* centraliza */
  gap: 2rem; /* espaço entre os blocos */
}

.info {
  flex: 1 1 180px; /* cresce, encolhe, mínimo de 180px */
  max-width: 220px; /* evita ficar gigante em telas grandes */
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.info:hover {
  transform: translateY(-5px);
}

.info img {
  max-height: 150px;
  margin-bottom: 1rem;
}

.info h2 {
  font-size: 1.8rem;
}

.info p {
  font-size: 1rem;
}

.resources {
  text-align: center;
  background: #ecd197;
  background-image: url(../images/background-resources.png);
  background-position: top;
  background-repeat: repeat-x;
}
.mark-top-collections {
  background-color: #373737;
  background-image: url(../images/background-collections.png);
  width: 100%;
  height: 100px;
}
.resources.resources-collections {
  background-color: #373737;
  background-image: url(../images/collections.jpg);
  color: #fff;
  position: relative;
  background-repeat: no-repeat;
  background-position: top;
  min-height: 700px;
}

.resources.resources-collections h1 {
  color: #fff;
  line-height: 40px;
}
.resources.resources-collections h1 strong {
  font-size: 45px;
}
.resources.resources-collections .box-info {
  text-align: right;
  margin-left: auto;
  max-width: 300px;
  margin-top: 150px;
}
.resources.resources-school {
  background: #4FA6E7;
  background-image:none;
}
.resources.resources-family {
  background: #836AB1;
  background-image:none;
}
.resources.resources-partner {
  background: #D69430;
  background-image:none;
}
.resources.resources-partner h1 {
  color: #fff;
}
.gameboard {
  background: #836AB1;
  /* background-image:url(../images/gameboard-bg.jpg); */
  background-repeat: repeat-x;
  margin-top: 2rem;
}
.resources .container {
    padding: 4rem 1rem;
}
.gameboard .container {
  text-align: center;
}
.container-cover {
  height: 600px;
}
.gameboard h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #fff;
  padding-top: 2rem;
}
.gameboard p.subtitle {
  color: #fff;
  font-size: 20px;
  font-weight: normal;
  max-width: 600px;
  margin: auto;
}
.gameboard h2 {
  color: #fff;
  font-size: 20px;
  font-weight: normal;
  margin: auto;
  max-width: 740px;
}
.gameboard .infos {
  margin: auto;
  gap: 0;
  margin-top: 250px;
}
.gameboard .infos.infos-box {
  margin-top: 0;
  padding-bottom: 5rem;
}
.gameboard .infos.infos-box {
  gap: 2rem;
}
.gameboard .infos.infos-box p{
  font-size: 0.8rem;
}
.gameboard .infos .info {
  flex: 1 1 180px;
  padding: 0;
  color: #fff;
}
.gameboard .infos .info img {
  max-height: 200px;
}
.resources h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
  margin-top: 3rem;
}
.resources.resources-school h1,
.resources.resources-family h1 {
  color: #fff;
}
.resources.resources-school .item {
  background-color: #1778C1;
  color: #fff;
}
.resources.resources-family .item {
  background-color: #A792CE;
  color: #fff;
}
.items {
  display: flex;
  flex-wrap: wrap; /* quebra para baixo quando não couber */
  justify-content: center; /* centraliza */
  gap: 4rem; /* espaço entre os blocos */
}

.item {
  flex: 1 1 180px; /* cresce, encolhe, mínimo de 180px */
  min-width: 300px; /* evita ficar gigante em telas grandes */
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s ease;
  background-color: #E1B65B;
  border-radius: 32px;
  margin-top: 50px;
}

.item:hover {
  transform: translateY(-5px);
}

.item img {
  max-height: 150px;
  margin-bottom: 1rem;
  margin-top: -85px;
}

.item h2 {
    font-size: 1.7rem;
    text-shadow: 2px 0 rgba(255, 255, 255, 0.2), -2px 0 rgba(255, 255, 255, 0.2), 0 2px rgba(255, 255, 255, 0.2), 0 -2px rgba(255, 255, 255, 0.2),
               1px 1px rgba(255, 255, 255, 0.2), -1px -1px rgba(255, 255, 255, 0.2), 1px -1px rgba(255, 255, 255, 0.2), -1px 1px rgba(255, 255, 255, 0.2);
    text-align: left;
    line-height: 1.5rem;
    display: inline-flex;
    margin: auto;
}
.resources.resources-school .item h2,
.resources.resources-family .item h2 {
  text-shadow: 2px 0 rgba(0, 0, 0, 0.2), -2px 0 rgba(0, 0, 0, 0.2), 0 2px rgba(0, 0, 0, 0.2), 0 -2px rgba(0, 0, 0, 0.2),
               1px 1px rgba(0, 0, 0, 0.2), -1px -1px rgba(0, 0, 0, 0.2), 1px -1px rgba(0, 0, 0, 0.2), -1px 1px rgba(0, 0, 0, 0.2);
}
.item h2 strong {
    font-size: 60px;
    float: left;
    line-height: 3.2rem;
    margin-right: 10px;
}

.item p {
  font-size: 1rem;
}

.testimonials {
    text-align: center;
    background: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.testimonials h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}

/* Container dos usuários (carrossel) */
.users {
  display: flex;
  overflow: hidden;          /* esconde a barra */
  gap: 2rem;
  padding: 1rem;
  position: relative;
  scroll-snap-type: none;    /* vamos animar via translateX */
  cursor: grab;
  touch-action: pan-y;       /* permite scroll vertical da página, mas arraste horizontal funciona */
}

/* durante o arraste */
.users.dragging {
  cursor: grabbing;
  user-select: none;
}

/* (opcional) evitar que a imagem "agarre" no arraste */
.users img {
  -webkit-user-drag: none;
  user-select: none;
}

/* esconder scrollbar no Chrome, Edge, Safari */
.users::-webkit-scrollbar {
  display: none;
}

/* esconder scrollbar no Firefox */
.users {
  scrollbar-width: none;
}

.testimonials .user {
  flex: 0 0 80%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  
  display: flex;             /* agora lado a lado */
  align-items: center;       /* centraliza verticalmente */
  gap: 1.5rem;               /* espaço entre foto e texto */
  
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}
.slider-track {
    gap: 2rem;
}
.testimonials .user img {
  flex-shrink: 0;            /* não deixa a imagem encolher */
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonials .container {
    max-width: 100%;
}
.testimonials .user-content {
  text-align: left;
  flex: 1;                   /* ocupa todo o espaço restante */
}

.testimonials .user-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 0.5rem;
}

.testimonials .user-content small {
  font-size: 0.9rem;
  color: #777;
}

.winners {
    text-align: center;
    background: #EBEAEA;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* esconde o excesso que sai da tela */
}
.winners h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}
.business {
  display: flex;
  gap: 5rem;
  animation: scrollLoop 20s linear infinite; /* animação contínua */
}

.business img {
  height: 60px;
  object-fit: contain;
  flex-shrink: 0; /* não deixa imagem encolher */
  filter: grayscale(100%); /* opcional: deixa mais clean */
  transition: filter 0.3s ease;
}

.business img:hover {
  filter: grayscale(0); /* destaca no hover */
}

/* Keyframes para mover as imagens */
@keyframes scrollLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* vai até metade (pois vamos duplicar) */
}

/* Ajustes para telas extra grandes */
@media screen and (min-width: 1700px) {
  
  .hero .banner {
    width: 600px;
    margin-left: 0;
    padding-left: 1.5rem;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;         /* escuro elegante */
  color: #e5e7eb;
}

.site-footer a { color: #e5e7eb; }
.site-footer a:hover { color: #EA6DB6; } /* cor principal no hover */

/* limitar a 1024px como o header */
.site-footer .container {
  max-width: 1024px;
  margin: 0 auto;
}

/* grid principal: logo+dados | col1 | col2 */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-logo img {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-address {
  font-style: normal;           /* address não itálico */
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
}
.footer-address a { text-decoration: underline; }

/* sociais */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-socials .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-socials .social:hover {
  background: rgba(234,109,182,0.25); /* tom da principal */
  transform: translateY(-1px);
}

/* colunas de menu */
.footer-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a {
  display: inline-block;
  font-size: 0.98rem;
  color: #cbd5e1;
}
.footer-col a:hover { color: #EA6DB6; }

/* faixa inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0b1220;
  padding: 2rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;

}
.footer-bottom p {
  font-size: 0.9rem;
  color: #94a3b8;
}


/* responsivo */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;          /* empilha */
    text-align: center;
  }
  .footer-logo img {
    margin: auto;
  }
  .footer-col { margin-top: 1rem; }
  .footer-socials { margin-bottom: 0.25rem;        display: inline-block; }
}
/* Use unidades de viewport modernas para telas "cheias" sem bug do 100vh */
.full-screen-section { min-height: 100svh; }

/* Respeita o notch (iPhone) quando usar cabeçalho/rodapé colados nas bordas */
.header,
.footer {
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
/* Fallback mobile do header (temporário, até fazer o hamburger) */
@media (max-width: 768px) {
  .navbar { max-width: 100%; padding: .75rem 1rem; gap: .75rem; flex-wrap: wrap; }
  .logo img { height: 32px; }

  /* some o menu horizontal para não estourar largura */
  .menu { display: none; }

  /* condensa ações: mantém idioma + CTA principal, esconde "Entrar" */
  .actions { display: none; }
  .resources.resources-collections .box-info {
    text-align: center;
    margin: auto;
    background: #000000a8;
    padding: 2rem;
    border-radius: 45px;
  }
  .resources.resources-collections .box-info h1 strong {
    font-size: 35px;
  }
}
.actions--compact { display: none; }

.hero .banner.banner-family .marker-orange{
  display: inline-block;
}

/* ----- header: só logo + hamburger no mobile ----- */
@media (max-width: 1024px) {
  .menu, .actions:not(.actions--compact) { display: none; }
  .actions--compact { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
  .hero .actor {
    display: none;
  }
  .hero .banner.banner-family .marker-orange{
    display: inline;
  }
  .hero .banner {
    width: calc(100% + 50px);
    margin-left: -50px;
    padding-left: 50px;
  }
}

.hamburger {
  background: transparent;
  border: 0;
  padding: .25rem;
  line-height: 0;
  cursor: pointer;
}

/* ----- offcanvas + backdrop ----- */
.offcanvas-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999; /* abaixo do painel */
}

.offcanvas {
  position: fixed;
  top: 0; right: 0;
  width: min(85vw, 360px);
  height: 100dvh;
  background: #fff;
  color: #111;
  box-shadow: -8px 0 24px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1000;
  display: flex; flex-direction: column;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
           max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.offcanvas-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.offcanvas-close {
  background: transparent; border: 0; font-size: 2rem; line-height: 1; cursor: pointer;
}

.offcanvas-nav { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.offcanvas-nav ul { list-style: none; padding: 0; margin: 0; }
.offcanvas-nav li + li { margin-top: .75rem; }
.offcanvas-nav a {
  display: block; padding: .75rem 0; font-weight: 600; color: #111;
  border-bottom: 1px solid #eee;
}
.offcanvas-nav .lang { display: flex; gap: .75rem; border-bottom: 0; margin-top: .5rem; }
.offcanvas-nav .lang a { border: 0; padding: .5rem .75rem; background: #f5f5f5; border-radius: 6px; }

.offcanvas-cta { margin-top: 1rem; display: grid; gap: .75rem; }

/* estado aberto */
body.no-scroll { overflow: hidden; }
.offcanvas.open { transform: translateX(0); }
.offcanvas-backdrop.open { opacity: 1; pointer-events: auto; }
/* --- WhatsApp CTA fixo --- */
.whatsapp-cta{
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Balão de texto (à esquerda) */
.wapp-bubble{
  position: relative;
  max-width: 260px;
  background:#fff;
  color:#0f172a;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:10px 12px;
  line-height:1.35;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  font-size: 0.95rem;
}

/* “ponteiro” do balão apontando para o ícone (direita) */
.wapp-bubble::before, .wapp-bubble::after{
  content:'';
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  right:-9px;
  border-style: solid;
  border-width:9px 0 9px 9px;
}
.wapp-bubble::before{ border-color: transparent transparent transparent #e5e7eb; }
.wapp-bubble::after{
  right:-8px;
  border-width:8px 0 8px 8px;
  border-color: transparent transparent transparent #fff;
}

/* Ícone (à direita) dentro de um “botão” circular */
.wapp-icon{
  width:56px; height:56px;
  border-radius:50%;
  background:#25d366;                 /* fundo WhatsApp */
  display:grid; place-items:center;
  box-shadow: 0 8px 18px rgba(37,211,102,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wapp-icon img{
  width:80%; height:80%; display:block;
}

/* Hover/focus no desktop */
.whatsapp-cta:hover .wapp-icon,
.whatsapp-cta:focus-visible .wapp-icon{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37,211,102,.45);
}
.whatsapp-cta:focus-visible{ outline: 2px solid #5c77ff55; outline-offset: 4px; }

/* Responsivo: em telas muito estreitas, esconda o balão e deixe só o ícone */
@media (max-width: 380px){
  .wapp-bubble{ display:none; }
}

/* Não imprimir */
@media print{ .whatsapp-cta{ display:none !important; } }
.swippers {
  width: 40px;
  height: 180px;
  float: left;
  padding-top: 20px;
}

.swippers .btn-swipper {
  border: 1px solid #000;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  margin-top: 15px;
  cursor: pointer;
}
.swippers .btn-swipper.active {
  background-color: #000;
}
.swippers .btn-swipper.blue {
 border: 1px solid #1778C1; 
}
.swippers .btn-swipper.blue.active {
  background-color: #1778C1;
}
/* ===== Screens ===== */
section.screens{
  padding: 3rem 1rem;
}

section.screens > .container > .screens{
  display: grid;
  grid-template-columns: 1fr;  /* cada .screen em sua linha */
  gap: 5rem;
}

/* cada linha (uma tela + infos) */
section.screens .screen{
  display: grid;
  grid-template-columns: 3fr 1fr; /* 75% / 25% */
  gap: 1.5rem;
  align-items: center;
}

/* bloco da imagem */
section.screens .print{
  width: 100%;
}
section.screens .print img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

/* bloco das infos (lado direito) */
section.screens .screen-infos{
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
}

section.screens h1{
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 2rem;
  font-size: 2rem;
}
section.ebook-collections h1 {
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
}
section.ebook-collections h2 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 500px;
  margin: auto;
  margin-bottom: 2rem;
}
.ebooks table thead tr th.group-year img,
.ebooks table tbody tr td.group-year img{
  width: 160px;
}
.marker-hr-table {
  width: 100%;
  border: 1px dashed #000;
  margin-bottom: 10px;
}
.ebooks .img-drop-shadow {
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5));
}
table .icon-cover-ebook{
  width:94px;
  height:94px;
  object-fit: cover;
  cursor:pointer;
  transform-origin:center center;
  transition:
    transform .22s cubic-bezier(.2,.6,.2,1),
    box-shadow .22s cubic-bezier(.2,.6,.2,1),
    filter .22s cubic-bezier(.2,.6,.2,1);
  will-change: transform;      /* ajuda a manter suave */
  backface-visibility:hidden;
}
/* Efeito hover/focus: zoom + leve giro + sombra sutil */
table .icon-cover-ebook:hover,
table .icon-cover-ebook:focus-visible{
  transform: perspective(600px) rotateY(2deg) rotate(-1.5deg) scale(1.06);
  filter: saturate(1.02), drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5))       ;
  outline-offset: 3px;
}

/* Feedback ao clicar/pressionar */
table .icon-cover-ebook:active{
  transform: scale(1.03) rotate(-1deg);
}

/* Se a capa estiver dentro de um link, garanta que o link aceite a sombra fora da célula */
table a:has(.icon-cover-ebook){
  display:inline-block;
  overflow:visible;
  text-decoration:none;
}

/* Redução de movimento (acessibilidade) */
@media (prefers-reduced-motion: reduce){
  table .icon-cover-ebook{
    transition: none;
  }
}

section.screens .screen-infos h2{
  font-size: 1.6rem;
  line-height: 1.35;
  margin: .25rem 0 .25rem;
  color: #0f172a;
}

section.screens .screen-infos p{
  color: #475569;
  line-height: 1.6;
}

/* ===== Labels (pílulas) ===== */
.label{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: 999px;         /* borda arredondada */
  font-weight: 700;
  font-size: .8rem;
  line-height: 1;
  user-select: none;
}

.label .icon{
  width: 16px; height: 16px; object-fit: contain; display: inline-block;
}

/* variações de cor (usando paleta já usada no projeto) */
.label-black{ background:#0f172a; color:#fff; }
.label-primary{ background:#EA6DB6E5; color:#fff; }   /* verde (secundária) */
.label-secondary{ background:#80CC45; color:#000; } /* dourado (terceária) */
.label-blue{ background:#297BCD; color:#fff; } 
.label-yellow{ background:#B2B202; color:#fff; } 

.label-small{
  font-size: .72rem;
  padding: .3rem .6rem;
}

/* botão preto básico, caso use */
.btn-black{
  background:#111; color:#fff; border:0;
  padding:.7rem 1rem; border-radius:80px; font-weight:700; cursor:pointer;
  transition: transform .15s ease, filter .15s ease;
  font-size: 13px;
}
.btn-black:hover{ transform: translateY(-1px); filter: brightness(1.05); }

/* ===== Responsivo ===== */
@media (max-width: 1024px){
  section.screens .screen{
    grid-template-columns: 1fr;   /* empilha: imagem em cima, infos embaixo */
    align-items: start;
  }
  section.screens .screen-infos{
    margin-top: .25rem;
  }
}

/* se quiser segurar o 75/25 até telas bem largas */
@media (min-width: 1700px){
  section.screens .screen{
    gap: 2rem;
  }
  section.screens .screen-infos h2{ font-size: 1.35rem; }
}
.diff .container {
  background-color: #E8E6E6;
  margin-top: 4rem;
}
.diff h1 {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
  font-size: 2rem;
}
.table-diff {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
}
.table-diff thead tr th {
  border-bottom: 1px solid #1d1d1d;
  vertical-align: middle;
}
.table-diff tbody tr td {
  border-bottom: 1px dashed #1d1d1d;
  vertical-align: middle;
  padding-top: 10px;
  padding-bottom: 10px;
}
.table-diff thead tr th:nth-child(2),
.table-diff tbody tr td:nth-child(2) {
  text-align: left;
  padding-left: 15px;
}
.table-diff tbody tr td:nth-child(3) {
  background-color: #fff;
  border-left: 1px solid #1d1d1d;
  border-right: 1px solid #1d1d1d;
}
.table-diff tbody tr td:nth-child(4),
.table-diff tbody tr td:nth-child(5),
.table-diff tbody tr td:nth-child(6) {
  border-right: 1px dashed #1d1d1d;
}
.table-diff thead tr th:first-child,
.table-diff tbody tr td:first-child {
  border-bottom: 0;
}
.table-diff tbody tr td:first-child img {
  height: 35px;
}

/* Desktop: mantém a tabela */
@media (min-width: 901px){
  .diff-mobile-one{ display:none; }
}

/* Mobile: esconde a tabela e mostra o card único */
@media (max-width: 900px){
  .table-diff{ display:none; }
  .diff-mobile-one{ display:block; }
}

.diff-mobile-one{
  margin-top: 12px;
}
.diff-mobile-one .card{
  background:#fff;
  border:1px solid #d9d9d9;
  border-radius:12px;
  padding:12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

/* topo: logos Tindin x Concorrente 1 */
.diff-mobile-one .brands {
  text-align: right;
}
.diff-mobile-one .brands div{
  display: inline-block;
  margin: auto;
  margin-right: 10px;
}
.diff-mobile-one .brands div img {
  height: 30px !important;
}
.diff-mobile-one .brand img{ height:28px; width:auto; display:block; }

/* lista de diferenciais (linhas) */
.diff-mobile-one .rows{ display:grid; gap:10px; }
.diff-mobile-one .row{
  display:grid;
  grid-template-columns: 28px 1fr 56px 56px;  /* ícone | critério | Tindin | Conc. */
  align-items:center; column-gap:10px; row-gap:6px;
  border:1px solid #eee; border-radius:8px; padding:8px;
}
.diff-mobile-one .row .icon-crit{ height:24px; width:auto; }
.diff-mobile-one .row .crit{
  font-weight:800; color:#0f172a; line-height:1.3;
}

/* células das marcas (mantém lado a lado) */
.diff-mobile-one .row .mark{
  justify-self:center; /* centraliza nas colunas 3 e 4 */
}
.diff-mobile-one .row .mark img{
  height:28px; width:auto; display:block;
}

/* leve destaque para a coluna Tindin */
.diff-mobile-one .row .mark.tindin{
  background:#fafafa; border-radius:6px; padding:6px;
}

/* telas bem estreitas: manter lado a lado, só reduzir tamanhos */
@media (max-width: 360px){
  .diff-mobile-one .brand img{ height:24px; }
  .diff-mobile-one .row{
    grid-template-columns: 24px 1fr 48px 48px;
  }
  .diff-mobile-one .row .icon-crit{ height:20px; }
  .diff-mobile-one .row .mark img{ height:24px; }
  .diff-mobile-one .row .crit{ font-size:.95rem; }
}
/* ===== CTA Vendas (WhatsApp) ===== */
.cta-sales{
  position: relative;
  padding: 4rem 1rem;
  background:linear-gradient(270deg, #df56a6e5, #72c235, #d3a446, #df56a6e5);
}

.cta-sales .container{ max-width: 1024px; }

.cta-card{
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 45px rgba(0,0,0,.06);
}

.cta-card h1{
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: .5rem;
}

.cta-sub{
  color: #475569;
  margin: 0 0 1.25rem 0;
}

/* Botão WhatsApp */
.btn-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37,211,102,.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-whatsapp img{ width: 22px; height: 22px; display: block; }
.btn-whatsapp:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn-whatsapp:focus-visible{ outline: 2px solid #5c77ff55; outline-offset: 3px; }

.cta-legal{
  display: block;
  margin-top: .9rem;
  color: #94a3b8;
  font-size: .85rem;
}

/* Compacto em telas menores */
@media (max-width: 480px){
  .cta-card{ padding: 1.5rem 1rem; }
  .btn-whatsapp{ width: 100%; justify-content: center; }
  .hero a.btn-secondary {
    left: 10px;
    margin-left: 0;
    width: calc(100% - 20px);
  }
}
/* ===== Overlay (fundo escuro) ===== */
.ebook-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
}
.ebook-backdrop.open{ opacity: 1; pointer-events: auto; }

/* ===== Modal ===== */
.ebook-modal{
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: 24px; z-index: 1001;
  opacity: 0; pointer-events: none; transform: scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}
.ebook-modal.open{ opacity: 1; pointer-events: auto; transform: scale(1); }

.ebook-inner{
  width: min(800px, 70vw);
  background:#fff; color:#0f172a;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  display: grid;
  grid-template-columns: 1fr 340px;   /* texto | capa (à direita) */
  gap: 20px;
  padding: 20px 20px 24px;
  position: relative;
}
.ebook-inner hr {
    width: 50px;
}

/* Conteúdo (esquerda) */
.ebook-info{
  display: grid; align-content: start; gap: 10px;
}
.ebook-info h2{
  margin: 0; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); line-height: 1.2;
}
.ebook-author{
  margin: 0; font-weight: 400;
}
.ebook-summary{
  margin: 6px 0 0 0; line-height: 1.6;font-size: 1.2rem;
}

/* Capa (direita) */
.ebook-cover{
  display: grid; place-items: center;
}
.ebook-cover img{
  width: 100%; height: auto; max-height: 70vh; object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

/* Botão Fechar (fora do modal, canto sup. dir.) */
.ebook-close{
  position: absolute;
  top: -14px; right: -14px;     /* fica “fora” do card */
  z-index: 2;
  width: 50px; height: 50px; border-radius: 999px;
  background: #836AB1; color:#fff; border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  display: grid; place-items: center; font-size: 30px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ebook-close:hover{ transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,0,0,.18); }
.ebook-close:focus-visible{ outline: 2px solid #5c77ff55; outline-offset: 2px; }

.ebook-inner{ position: relative; }
/* Sem scroll no body quando aberto */
body.modal-open{ overflow: hidden; }

/* Responsivo: empilha no mobile (capa em cima) */
@media (min-width: 721px){
  .ebook-inner{
    grid-template-columns: 340px 1fr; /* capa | textos */
  }
  .ebook-cover{ order: 1; }  /* esquerda */
  .ebook-info { order: 2; }  /* direita  */
}

@media (max-width: 720px){
  .ebook-info { order: 1; }
  .ebook-cover{ order: 2; }
  .ebook-close{ top: -12px; right: -12px; }
}

/* Redução de movimento */
@media (prefers-reduced-motion: reduce){
  .ebook-backdrop, .ebook-modal{ transition: none; }
}

/* Versão desktop (>= 721px): capa esquerda, texto direita */
@media (min-width: 721px){
  .ebook-inner{
    grid-template-columns: 340px 1fr; /* capa | textos */
  }
  .ebook-cover{ order: 1; }  /* força capa na 1ª coluna */
  .ebook-info { order: 2; }  /* força info na 2ª coluna */
}

/* Versão mobile (<= 720px): empilha, texto em cima, capa embaixo */
@media (max-width: 720px){
  .ebook-inner{
    grid-template-columns: 1fr; /* só 1 coluna */
  }
  .ebook-info { order: 1; }  /* texto primeiro */
  .ebook-cover{ order: 2; }  /* capa depois */
  .ebook-cover img{
    max-height: 300px; /* evita capa gigante no celular */
  }
}

/* ===== Plans ===== */
.plans { padding: 3rem 1rem; }
.plans h1 { text-align:center; margin:0 0 .75rem 0; }
.plans .plans-sub { text-align:center; color:#475569; max-width:860px; margin:.25rem auto 4rem;font-weight: normal; }

/* Grid dos cards */
.plans-items{
  display:grid; gap:2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .plans-items{ grid-template-columns: repeat(3, minmax(0,1fr)); gap:2rem; }
}

/* Card base */
.plan-card{
  display:flex; flex-direction:column;
  text-align: center;
  background:#836AB1;
  color: #fff;
  border:1px solid #836AB1;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.plan-card:hover{ transform: translateY(-2px); box-shadow:0 16px 32px rgba(0,0,0,.08); border-color:#dfe3ea; }
.plan-head {
  padding: 1.25rem;
}
.plan-head h3{ 
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #fff;
 }
.plan-head p{ 
  margin: .25rem 0 0;
  color: #fff;
  font-size: 30px;
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
  line-height: 28px;
}

/* Preço */
.plan-price{ 
  margin: 2.5rem 0 1rem;
  line-height: 1.2rem;
 }
.price{
  align-items: baseline; gap:.25rem; font-weight:800;
}

.price h6 {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 15px;
  margin-top: -15px;
}
.plan-price small {
  display: block;
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 1rem;
}
.price .currency{ font-size:2rem; opacity:.8; margin-right: 5px;}
.price .amount{ font-size:3rem; letter-spacing:.2px; }
.price .per{ font-size:.9rem; color:#64748b; margin-left:.25rem; }
.subtotal{ margin-top:.25rem; font-weight:700; font-size: 1.2rem;}

/* Imagem */
.plan-image{ margin-top:auto; } /* empurra imagem para baixo se necessário */
.plan-image img{
  width:100%; height:auto; display:block;
}

/* CTA */
.plan-cta{ display:flex; }
.plan-cta .btn{ 
  width: auto;
  border-radius: 999px;
  font-weight: 400;
  padding: 1rem 3rem;
  margin: auto;
  color: #836ab1;
  margin-top: -6rem;
 }

/* Destaque do plano do meio */
.plan-card.featured{
  border-color:#5c77ff;
  box-shadow: 0 18px 42px rgba(92,119,255,.18);
  position:relative;
}
.plan-card.featured .price .amount{ color:#5c77ff; }
.badge-popular{
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:#5c77ff; color:#fff; font-weight:800; font-size:.75rem;
  padding:.35rem .6rem; border-radius:999px; box-shadow:0 6px 16px rgba(92,119,255,.35);
}

/* Acessibilidade (SR-only util) */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.group-year {
  max-width: 180px;
}
.ebooks td.group {
  max-width: 44px;    
  padding-right: 10px;
}
@media (max-width: 900px) {
  .container-cover {
    height: auto;
  }
  .gameboard .infos {
    margin-top: 10px;
  }
  .gameboard .infos .info img {
    max-height: 100%;
  }
  .ebooks {
    margin-top: 8rem;
  }
  .ebooks table, 
  .ebooks thead, 
  .ebooks tbody, 
  .ebooks tr, 
  .ebooks td, 
  .ebooks th {
    display: block;
  }

  .ebooks thead { display: none; } /* Esconde cabeçalho */

  .ebooks tr {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
  }

  .ebooks td {
    border: none !important;
    margin: 0;
    padding: 0;
  }

  /* Card topo (ano + grupo) */
  .ebooks td.group,
  .ebooks td .group-year {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .ebooks td.group {
    max-width: 80px;
    padding-right: 0;
    margin-top: -65px;
    margin-bottom: -75px;
  }
  .ebooks td.group img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    transform: rotate(90deg);
    margin-top: -150px;
  }
  .ebook-summary {
    font-size: 1rem;
  }

  .ebooks .group-year {
    max-width: 120px;
    margin: 0 auto 12px;
    display: block;
  }

  /* Grid de ebooks */
  .ebooks td img.icon-cover-ebook {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .ebooks tr {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ebooks tr .ebooks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    justify-items: center;
    text-align: center;
  }
  .ebooks td img.icon-cover-ebook {
    margin-left:0 !important;
  }
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px auto;
  max-width: 1024px;
  margin-top: 150px;
}
.product-detail h2 {
  font-size: 20px;
    font-weight: normal;
}
.product-detail-loading {
  margin: 40px auto;
  max-width: 1024px;
  margin-top: 150px;
  padding-top: 100px;
  min-height: 800px;
}
.product-gallery {
  position: relative;
}

.badge-preorder {
  position: absolute;
  top: 12px; left: 12px;
  background: #836AB1;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.gallery-main img {
  display: none;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.gallery-main img.active { display: block; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.gallery-thumbs img {
  width: 80px; height: 80px; object-fit: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-thumbs img.active { border-color: #836AB1; }

.product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-title { font-size: 1.8rem; margin: 0; }
.product-title small {
  font-weight: 100;
  display: block;
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}
.product-price { font-size: 2rem; font-weight: bold; color: #836AB1; }
.product-price span {
  font-size: 1.0rem;
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}
.qty-control input {
  width: 50px; text-align: center; border: none;
}
.qty-control button {
  background: #f0f0f0; border: none;
  width: 32px; height: 32px; cursor: pointer;
}
.plans-options button {
  border: 1px solid #836AB1;
  color: #836AB1;
  background-color: #fff;
  font-size: 15px;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}
.plans-options button.active {
  color: #fff;
  background-color: #836AB1;
}
.add-to-cart {
  flex: 1;
  background: #836AB1;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.add-to-cart:hover {
  background: #684d99;
}

.accordion { border-top: 1px solid #eee; margin-top: 20px; }
.accordion-toggle {
  width: 100%; background: none; border: none;
  text-align: left; font-size: 1rem; font-weight: 600;
  padding: 12px 0; cursor: pointer;
}
.accordion-content { padding: 20px 0 12px; }
.accordion-content p, .accordion-content ul { margin: 0; }

@media (max-width: 768px){
  .product-detail { grid-template-columns: 1fr; }
  .plans-options button {
    font-size: 10px;
  }
}

.accordion-content ul { list-style: none; padding-left: 0; }
.accordion-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}
.accordion-content li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: #684d99;
  border-radius: 50%;
}
.accordion-content p {
  margin-bottom: 1.3rem;
}
/* Overlay */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 999;
}

/* Painel */
.cart-panel {
  position: fixed;
  top: 0; right: -400px;
  width: 400px; max-width: 100%;
  height: 100%;
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,.15);
  transition: right .3s ease;
  z-index: 2000;
}

/* Header / Body / Footer */
.cart-header, .cart-footer {
  padding: 16px;
  border-bottom: 1px solid #eee;
}
.cart-footer { border-top: 1px solid #eee; border-bottom: none; }

.cart-body {
  flex: 1; overflow-y: auto;
  padding: 16px;
}

/* Itens */
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item { display: flex; gap: 12px; margin-bottom: 16px; }
.cart-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; }
.cart-item-title { margin: 0; font-size: 1rem; }
.cart-item-price { margin: 4px 0; color: #836AB1; font-weight: 600; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }

/* Quantidade */
.qty-control { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.qty-control input { width: 40px; text-align: center; border: none; }
.qty-control button { width: 28px; border: none; background: #f2f2f2; cursor: pointer; }

/* Botões */
.remove-item { background: none; border: none; cursor: pointer; font-size: 1.2rem; }
.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    margin-left: auto;
    float: right;
    color: #836ab1;
}
.btn-checkout {
  width: 100%; padding: 12px; border: none;
  border-radius: 8px;
  background: #836AB1; color: #fff; font-weight: 600;
  cursor: pointer;
}

/* Estado aberto */
.cart-panel.open { right: 0; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }

/* Mobile ocupa 100% */
@media (max-width: 768px){
  .cart-panel { width: 100%; }
}
.checkout {
  margin: 150px auto;
  max-width: 1024px;
}
.checkout .info-footer-submit {
  opacity: 0.8;
  margin-top: 1rem;
  font-size: 12px;
}
.checkout .info-footer-submit a {
  color: #EA6DB6E5;
  text-decoration: underline;
}

.checkout .btn-primary {
  border: none;
  font-size: 15px;
  margin-top: 1rem;
  border-radius: 6px;
}
.checkout .plans-options button {
  color: #EA6DB6E5;
  border-color: #EA6DB6E5;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.checkout-form h2, .checkout-summary h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.form-group.coupon small {
  color: red;
  display: none;
}
.form-group label {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.form-group input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.form-row {
  display: flex;
  gap: 12px;
}
.form-row .form-group { flex: 1; }

.checkout-summary {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  background: #fafafa;
}

.summary-items {
  list-style: none;
  margin: 0; padding: 0;
}
.summary-item {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.summary-item img {
  width: 70px; height: 70px; object-fit: cover;
  border-radius: 8px;
}
.summary-item .title { font-weight: 600; margin: 0; }
.summary-item .price { color: #EA6DB6E5; margin: 4px 0; }

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.qty-control input {
  width: 40px; text-align: center; border: none;
}
.qty-control button {
  background: #f0f0f0; border: none;
  width: 28px; height: 28px; cursor: pointer;
}

.remove-item {
  background: none; border: none;
  color: #999; font-size: 0.9rem;
  cursor: pointer;
  margin-top: 4px;
}

.coupon-row {
  display: flex; gap: 8px;
}
.coupon-row input {
  flex: 1;
}
.btn-apply {
  padding: 10px 14px;
  border: none; border-radius: 6px;
  background: #EA6DB6E5; color: #fff;
  cursor: pointer;
}

.totals {
  margin-top: 16px;
}
.totals p {
  display: flex; justify-content: space-between;
  margin: 6px 0;
}
.totals .total { font-weight: 700; font-size: 1.2rem; }

@media (max-width: 768px){
  .checkout-grid { grid-template-columns: 1fr; }
  /* Garante que inputs respeitem a largura do container */
  .form-group input {
    width: 100%;
    box-sizing: border-box;
  }

  /* Ajusta o row em telas pequenas */
  .form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap; /* permite quebrar linha */
  }
  .form-row .form-group {
    flex: 1 1 100%; /* ocupa 100% no mobile */
  }

  /* Mobile: inputs em coluna */
  @media (max-width: 768px) {
    .checkout-grid {
      grid-template-columns: 1fr; /* empilha */
    }
    .form-row .form-group {
      flex: 1 1 100%;
    }
  }
}
.stripe-input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.stripe-input.StripeElement--focus {
  border-color: #5c77ff;
  box-shadow: 0 0 0 2px rgba(92,119,255,.2);
}
.stripe-input.StripeElement--invalid {
  border-color: #e74c3c;
}
.card-errors {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 8px;
}
:root{
  --accent:#836AB1;            /* destaque UI */
  --ring:rgba(92,119,255,.25); /* glow de foco */
  --border:#e5e7eb;
  --text:#1b1b1f;
  --muted:#6b7280;
  --bg:#fff;
}

.plans-switch{
  display:flex;
  flex-wrap:wrap;              /* quebra no mobile */
  gap:8px;
  padding:6px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--bg);
  width:fit-content;
  max-width:100%;
      margin: auto;
    margin-bottom: 2rem;
}
.plans-options-header .plans-switch {
  padding: 0;
  border: none;
  gap: 0;
  margin: initial;
}
.plans-options-header .plans-switch label {
  min-width: auto;
  padding: 10px;
  margin-right: 5px;
}
.plans-options-header .plans-switch label:last-child {
  margin-right: 0;
}
.plans-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.plans-switch label{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  min-width:112px;             /* toque confortável */
  border-radius:10px;
  font:600 14px/1.1 Inter,system-ui,sans-serif;
  color:var(--text);
  cursor:pointer;
  user-select:none;
  transition:transform .06s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
@media (hover:hover){
  .plans-switch label:hover{ background:#f6f7fb; }
}
.plans-switch input:focus + label{
  outline:0;
  box-shadow:0 0 0 3px var(--ring);
}
.plans-switch input:checked + label{
  background:var(--accent);
  color:#fff;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.08);
}

/* Compactar em telas bem pequenas */
@media (max-width:480px){
  .plans-switch{ gap:6px; padding:6px; }
  .plans-switch label{ min-width:calc(50% - 6px); padding:10px 12px; }
}

/* Acessibilidade: reduzir animações */
@media (prefers-reduced-motion:reduce){
  .plans-switch label{ transition:none; }
}

/* estilo do spinner */
.td-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.td-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #5c77ff; /* cor destaque */
  border-radius: 50%;
  animation: td-spin 1s linear infinite;
}
@keyframes td-spin {
  to { transform: rotate(360deg); }
}
.td-loading-text {
  margin-top: 8px;
  font-size: 14px;
  color: #374151;
  font-family: Inter, sans-serif;
}
.infos-need input{
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 16px;
}
.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #5c77ff;
  border-radius: 50%;
  animation: btn-spin 1s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
#info-coupon {
  display: none;
}
.form-group-hidden {
  display: none;
}

.success-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 150px 20px;
  text-align: center;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #80CC45;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}
.success-section h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 16px;
}
.success-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
}
.success-section .btn-home {
  background: #5c77ff;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  transition: background .3s ease;
}
.success-section .btn-home:hover {
  background: #465ed6;
}
.badge-pre {
  background: #000;
  max-width: 200px;
  padding: 5px 20px;
  border: 2px solid #fff;
  border-radius: 12px;
  margin: auto;
  margin-top: -17px;
}
.badge-info {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe9b0, #fff5d6);
  color: #7c5200;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid #f3c979;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.badge-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b45a00;
  margin-bottom: 4px;
}

.badge-info span {
  display: block;
  font-weight: 500;
}