@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;1,700&family=Chicle&family=Raleway:wght@400;600&family=Comic+Neue:ital,wght@1,600&display=swap');

/* =======================
   RESET
   ======================= */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  font-family:'Raleway',sans-serif;background:#fff;color:#333;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
a{text-decoration:none;}

/* =======================
   HEADER
   ======================= */
.header{
  position:fixed;
  top:0; left:0; width:100%;
  padding:15px 40px;
  display:flex;justify-content:space-between;align-items:center;
  background:rgba(94,88,86,.6); /* COR ORIGINAL */
  backdrop-filter:blur(6px); /* menor para performance */
  z-index:10;
}
.menu-toggle{
  display:none;font-size:30px;color:#fff;cursor:pointer;z-index:20;
  -webkit-tap-highlight-color:transparent;padding:5px;
  touch-action:manipulation;
}
.menu-close{display:none;}
.navbar{display:flex;gap:20px;}

/* Força ocultar o botão X no desktop */
@media (min-width: 769px) {
  .menu-close { display: none !important; }
}
.navbar{display:flex;gap:20px;}
.menu-btn{
  padding:10px 20px;border:2px solid #fff;border-radius:25px;
  font-weight:600;transition:all .3s ease;color:#fff;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.menu-btn:hover{background:#fff;color:#00bfff;}

/* =======================
   HERO
   ======================= */
.hero{
  height:100vh;
  background-image:url('IMG/banner-Ana-Lygia-final.png');
  background-size:cover;
  background-position:center;
  display:flex;justify-content:flex-end;align-items:center;
  padding:40px;text-align:right;color:#fff;
}
.banner-conteudo{
  max-width:600px;padding:40px;text-align:center;
  text-shadow:1px 1px 4px rgba(0,0,0,.4); /* COR ORIGINAL */
}
.banner-conteudo h1{font-size:3.5rem;margin-bottom:20px;font-weight:600;line-height:1.2;}
.montserrat-title{font-family:"Montserrat",sans-serif;font-weight:700;text-align:center;color:#fff;text-shadow:0 0 5px #000,0 0 10px #ba8d2c,0 0 20px #ffa200,0 0 30px #ff7300;animation:fadeInUp 1.6s ease-out both;}
.comic-relief-regular {
  font-family: "Montserrat", sans-serif; /* mesma fonte do título */
  font-weight: 600; /* um pouco menor que o H1 */
  font-style: italic;
  font-size: 1.6rem; /* menor que o H1 para ser subtítulo */
  text-align: center;
  color: #fff; /* mesma cor do título */
  text-shadow:
    0 0 5px #000,
    0 0 10px #ba8d2c,
    0 0 20px #ffa20071,
    0 0 30px #ff730069; /* mesmo brilho do H1 */
}
.banner-conteudo p{font-size:1.7rem;margin-bottom:55px;font-style:italic;}
.cta-button{
  background:#00aee3;color:#fff;font-weight:600;border:2px solid #252525;
  transition:.3s;padding:14px 35px;font-size:1.1rem;border-radius:50px;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;
}
.cta-button:hover{background:#41c7f4;color:#fff;}
@keyframes fadeInUp{0%{opacity:0;transform:translateY(40px);}100%{opacity:1;transform:translateY(0);}}

/* =======================
   LOGO
   ======================= */
.logo-container{position:relative;display:inline-block;}
.logo{width:120px;position:relative;z-index:2;}
.glow{
  position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;
  filter:blur(20px);
  background:linear-gradient(45deg,red,#e4a32a,yellow,#f85700,cyan,blue,violet,red);
  background-size:200% 300%;
  animation:glowMove 3s linear infinite;
  opacity:.5;border-radius:20px;
}
@keyframes glowMove{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}

/* Animação de flutuação para os cards */
@keyframes cardFloat{
  0%, 100%{transform:translateY(0px);}
  25%{transform:translateY(-3px);}
  50%{transform:translateY(0px);}
  75%{transform:translateY(-2px);}
}

/* Animação de pulso para o texto dos cards */
@keyframes textPulse{
  0%, 100%{text-shadow:0 0 5px rgba(255,255,255,.3);}
  50%{text-shadow:0 0 15px rgba(255,255,255,.6), 0 0 25px rgba(255,140,66,.4);}
}

/* Animação de movimento do gradiente laranja */
@keyframes gradientMove{
  0%{background-position:0% 50%;}
  25%{background-position:100% 50%;}
  50%{background-position:100% 100%;}
  75%{background-position:0% 100%;}
  100%{background-position:0% 50%;}
}

/* Animação de brilho para o footer */
@keyframes footerShine{
  0%{transform:translateX(-100%);}
  50%{transform:translateX(100%);}
  100%{transform:translateX(100%);}
}

/* =======================
   CARDS
   ======================= */
.cards-background{
  background-image:url('IMG/icones-ana-02.png'),url('IMG/icones-ana.png');
  background-size:contain,contain;
  background-repeat:no-repeat,no-repeat;
  background-position:left center,right center;
  padding:60px 20px;
}

/* Ajuste das imagens de fundo apenas para desktop */
@media (min-width: 769px) {
  .cards-background {
    background-size: 640px auto, 640px auto;
    background-position: left 20px top 30px, right 20px top 30px; /* sobe as imagens */
    padding: 80px 40px;
  }
}


/* GRID DE CARDS */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
  padding: 20px;
}

/* CARD */
.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 350px;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* CONTEÚDO */
.card-content {
  flex: 1;
  padding: 20px;
  background: #ff8c42;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
  box-sizing: border-box;
}

.card-category {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.card-description {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* (removido) .card-image img não é utilizado pelos cards atuais, que usam .card-background */

/* HOVER */
.card:hover {
  transform: translateY(-8px) scale(1.03);
  z-index: 2;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .2);
}

.card:hover .card-content {
  background: #fb6d2c;
}

/* =======================
   CARDS DESKTOP QUADRADOS
   ======================= */
@media(min-width:769px){
  .card {
    width: 350px;
    height: 500px; /* altura aumentada */
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
  }
  
  .card-background {
    width: 100%;
    height: 80%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px 15px 0 0;
  }
  
  .card-content {
    width: 100%;
    height: 20%;
    padding: 20px;
    background: linear-gradient(45deg, #ff9d5c, #ff8c42, #fb6d2c, #f55a1a, #ff9d5c, #ff8c42);
    background-size: 300% 300%;
    animation: gradientMove 4s ease-in-out infinite;
    border-radius: 0 0 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .card-category {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 5px 0;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255,255,255,.4);
  }

  /* Espaço extra no topo do conteúdo do 3º card (YOGA RESTAURATIVA) no desktop */
  .card:nth-child(3) .card-content { padding-top: 26px; }
  
  .card-description {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 0 5px rgba(255,255,255,.3);
  }
  
  .card:hover .card-content {
    background: linear-gradient(45deg, #fb6d2c, #f55a1a, #e04e1a, #d44315, #fb6d2c, #f55a1a);
  }
}


/* =======================
   FOOTER
   ======================= */
.footer{
  margin-top:50px;padding:40px 20px;
  background:#cd3a2b;
  color:#fff;text-align:center;font-size:14px;
  box-shadow:0 -2px 10px #03c0ff;
  position:relative;overflow:hidden;
}
.footer::before{
  content:'';position:absolute;top:0;left:0;width:100%;height:100%;
  background:linear-gradient(45deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%);
  animation:footerShine 4s ease-in-out infinite;
  z-index:1;
}
.footer .container{position:relative;z-index:2;}

/* =======================
   SOCIAL FLOATING
   ======================= */
.social-floating{position:fixed;top:50%;right:20px;transform:translateY(-50%);display:flex;flex-direction:column;gap:15px;z-index:1000;}
.social-floating a{
  display:flex;justify-content:center;align-items:center;width:50px;height:50px;
  background:#3bbbd3;color:#fff;font-size:20px;border-radius:50%;
  transition:all .3s ease;box-shadow:0 5px 15px rgba(0,0,0,.3);
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  min-height:44px;min-width:44px;
}
.social-floating a:hover{transform:translateY(-5px) scale(1.1);box-shadow:0 8px 20px rgba(0,0,0,.4);background:#00bfff;}

/* =======================
   PÁGINAS INTERNAS
   ======================= */
.page-content{padding:140px 20px 60px;max-width:900px;margin:0 auto;}
.page-content h1{font-size:2rem;color:#fb6d2c;margin-bottom:20px;}
.page-content p{font-size:1rem;margin-bottom:15px;color:#444;}

/* =======================
   RESPONSIVO
   ======================= */
@media(max-width:1024px){
  .hero{padding:20px;justify-content:center;text-align:center;align-items:center;}
  .banner-conteudo{max-width:90%;padding:20px;}
  .banner-conteudo h1{font-size:2.8rem;}
  .banner-conteudo p{font-size:1.5rem;}
  .cta-button{padding:12px 25px;font-size:1rem;}
  .card-grid{gap:20px;}
  .card{width:45%;height:320px;}
  .header{padding:15px 20px;}
  .logo{width:100px;}
}

@media(max-width:768px){
  /* Evita scroll lateral e gutter branco ao abrir o menu em qualquer página */
  html, body { overflow-x: hidden; overscroll-behavior-x: none; }
  .menu-toggle{display:block;}
  /* Menu mobile como painel lateral */
  .navbar{
    display:flex;flex-direction:column;
    position:fixed;top:0;right:0;height:100vh;width:75%;max-width:320px;
    padding:20px 16px;background:rgba(10,10,10,.25);
    backdrop-filter:blur(12px) saturate(120%);
    -webkit-backdrop-filter:blur(12px) saturate(120%);
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    border-left:1px solid rgba(255,255,255,.15);
    transform:translate3d(100%,0,0);
    will-change: transform;
    transition:transform .3s ease;
    z-index:1001;
    border-radius:0;
    gap:12px;
  }
  .navbar.active{transform:translate3d(0,0,0);}

  /* Botão de fechar dentro do menu (mobile apenas) */
  .menu-close{
    align-self:flex-end;
    background:rgba(255,255,255,.12);
    color:#ffffff;
    border:1px solid rgba(255,255,255,.25);
    width:36px;height:36px;border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;
    margin:-4px 0 8px auto;
    transition:background .2s ease, transform .2s ease;
    z-index:3;
  }
  .menu-close:hover{background:rgba(255,255,255,.2);transform:scale(1.05);} 
  .menu-close:active{transform:scale(.98);} 
  .menu-close:focus-visible{outline:2px solid #3bbbd3;outline-offset:2px;}

  /* Backdrop para quando o menu estiver aberto */
  .backdrop{position:fixed;inset:0;background:transparent;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:1000;}
  .backdrop.active{opacity:1;visibility:visible;background:transparent;}

  /* Bloqueia scroll no body quando o menu abre */
  body.no-scroll{overflow:hidden;}
  .menu-btn{
    position:relative;display:block;
    color:#fff;
    background:linear-gradient(90deg, #3bbbd3, #9ec7cf);
    border:1px solid #2ea9c3;
    padding:16px 18px;border-radius:12px;
    text-align:left;margin-bottom:10px;transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow:0 6px 14px rgba(0,0,0,.18);
    overflow:hidden;
    z-index:2;
    pointer-events:auto;
  }
  .menu-btn:hover{background:linear-gradient(90deg, #9eff66, #f7deb2);transform:translateX(4px);}  
  .menu-btn:active{transform:translateX(4px) scale(.98);}
  .menu-btn:focus-visible{outline:2px solid #000000;outline-offset:2px;}
  /* Animação de sublinhado */
  .menu-btn::after{
    content:'';position:absolute;left:16px;right:16px;bottom:10px;height:2px;
    background:linear-gradient(90deg, #f1d59f, #959797);
    transform:scaleX(0);transform-origin:left;transition:transform .25s ease;
    border-radius:2px;opacity:.9;
    pointer-events:none;
  }
  .menu-btn:hover::after{transform:scaleX(1);}  
  .hero{
    height:100vh;min-height:650px;padding:20px;text-align:center;
    background-attachment:scroll;background-size:cover;
    background-position:center top;
    display:flex;align-items:center;justify-content:center;
  }
  .banner-conteudo{
    padding:40px 20px;max-width:90%;margin:0 auto;
  }
  .banner-conteudo h1{font-size:2.5rem;line-height:1.1;margin-bottom:15px;}
  .comic-relief-regular{font-size:1.4rem;margin-bottom:25px;}
  .banner-conteudo p{font-size:1.2rem;margin-bottom:30px;}
  .cta-button{
    padding:15px 30px;font-size:1.1rem;display:inline-block;
    box-shadow:0 8px 20px rgba(0,174,227,.4);
  }
  .card-grid{flex-direction:column;gap:25px;padding:20px;}
  .card{
    width:100%;max-width:400px;height:260px;margin:0 auto;
    display:flex;justify-content:flex-end;flex-direction:row;
    animation:cardFloat 6s ease-in-out infinite;
    box-shadow:0 8px 25px rgba(0,0,0,.15), 0 4px 10px rgba(255,140,66,.2);
    border-radius:15px;
    overflow:hidden;
    position:relative;
  }
  .card-background{
    position:absolute;top:0;left:0;width:65%;height:100%;
    background-size:120% !important;background-position:right center !important;
    background-repeat:no-repeat !important;
    z-index:1;
  }
  .card-content{
    position:absolute;top:0;right:0;width:35%;height:100%;
    background:linear-gradient(45deg, #ff9d5c, #ff8c42, #fb6d2c, #f55a1a, #ff9d5c, #ff8c42);
    background-size:300% 300%;
    animation:gradientMove 4s ease-in-out infinite;
    color:#fff;padding:20px;border-top-right-radius:15px;border-bottom-right-radius:15px;
    text-align:center;box-sizing:border-box;z-index:2;
    display:flex;flex-direction:column;justify-content:center;gap:15px;
    backdrop-filter:blur(5px);
  }
  .card-category{
    font-size:16px;font-weight:bold;margin-bottom:0;line-height:1.2;
    animation:textPulse 3s ease-in-out infinite;
    text-shadow:0 0 8px rgba(255,255,255,.4);
  }
  .card-description{
    font-size:14px;line-height:1.4;margin-top:0;
    text-shadow:0 0 5px rgba(255,255,255,.3);
  }
  .card:nth-child(2){
    animation-delay:-2s;
  }
  .card:nth-child(2) .card-background{
    background-position:center 20%;
    background-size:120%;
  }
  .card:nth-child(3){
    animation-delay:-4s;
  }
  .card:nth-child(3) .card-category{
    font-size:14px;
    line-height:1.15;
    word-break: break-word;
    white-space: normal;
  }
  /* Alinhar "YOGA RESTAURATIVA" mais à esquerda no mobile */
  .card:nth-child(3) .card-content{
    align-items:center;
    text-align:center;
    padding-left:0;
    padding-right:0;
  }
  .card:hover .card-content{
    background:linear-gradient(45deg, #ffb366, #ff9d5c, #ff8c42, #fb6d2c, #ffb366, #ff9d5c);
    background-size:400% 400%;
    animation:gradientMove 2s ease-in-out infinite;
    box-shadow:inset 0 0 20px rgba(255,255,255,.2);
  }
  .cards-background{
    background-size:250px,250px;background-position:left -20px top 5px,right -20px top 5px;
    padding:40px 15px;
    min-height:550px;
  }
  .social-floating{
    top:auto;bottom:20px;right:15px;flex-direction:row;gap:12px;
  }
  .social-floating a{width:45px;height:45px;font-size:18px;}
  .header{padding:12px 15px;}
  .logo{width:90px;}
  .footer{padding:25px 15px;font-size:13px;}
}

@media(max-width:480px){
  .hero{
    min-height:550px;padding:15px;
    background-position:center top;
    display:flex;align-items:center;justify-content:center;
  }
  .banner-conteudo{
    padding:35px 15px;max-width:95%;margin:0 auto;
  }
  .banner-conteudo h1{font-size:2rem;line-height:1.1;margin-bottom:12px;}
  .comic-relief-regular{font-size:1.2rem;margin-bottom:20px;}
  .banner-conteudo p{font-size:1rem;margin-bottom:25px;}
  .cta-button{
    padding:12px 25px;font-size:1rem;
    box-shadow:0 6px 15px rgba(0,174,227,.3);
  }
  .footer{
    margin-top:25px;padding:20px 12px;
    background:#cd3a2b;
    color:#fff;text-align:center;font-size:12px;line-height:1.6;
    box-shadow:0 -2px 10px #03c0ff;
    border-radius:12px 12px 0 0;
  }
  .card{
    height:260px;max-width:350px;
    display:flex;justify-content:flex-end;flex-direction:row;
    overflow:hidden;
    position:relative;
  }
  .card-background{
    position:absolute;top:0;left:0;width:65%;height:100%;
    background-size:115% !important;background-position:right center !important;
    background-repeat:no-repeat !important;
    z-index:1;
  }
  .card-content{
    position:absolute;top:0;right:0;width:35%;height:100%;
    background:linear-gradient(45deg, #ff9d5c, #ff8c42, #fb6d2c, #f55a1a, #ff9d5c, #ff8c42);
    background-size:300% 300%;
    animation:gradientMove 4s ease-in-out infinite;
    color:#fff;padding:18px;border-top-right-radius:15px;border-bottom-right-radius:15px;
    text-align:center;box-sizing:border-box;z-index:2;
    display:flex;flex-direction:column;justify-content:center;gap:12px;
    backdrop-filter:blur(5px);
  }
  .card:nth-child(2) .card-background{
    background-position:center 20%;
    background-size:110%;
  }
  .card-category{font-size:16px;}
  .card-description{font-size:13px;}
  .cards-background{
    background-size:220px,220px;background-position:left -25px top 0px,right -25px top 0px;
    padding:30px 10px;
    min-height:500px;
  }
  .social-floating{bottom:15px;right:10px;gap:10px;}
  .social-floating a{width:40px;height:40px;font-size:16px;}
  .header{padding:10px 12px;}
  .logo{width:80px;}
  .menu-toggle{font-size:25px;}
}

@media(max-width:360px){
  .hero{
    min-height:500px;padding:12px;
    background-position:30% center;
    display:flex;align-items:center;justify-content:center;
  }
  .banner-conteudo{
    padding:30px 12px;max-width:98%;margin:0 auto;
  }
  .banner-conteudo h1{font-size:1.7rem;line-height:1.1;margin-bottom:10px;}
  .comic-relief-regular{font-size:1rem;margin-bottom:18px;}
  .banner-conteudo p{font-size:.9rem;margin-bottom:20px;}
  .cta-button{
    padding:10px 20px;font-size:.9rem;
    box-shadow:0 4px 12px rgba(0,174,227,.25);
  }
  .footer{
    margin-top:20px;padding:18px 10px;
    background:#cd3a2b;
    color:#fff;text-align:center;font-size:11px;line-height:1.7;
    box-shadow:0 -2px 10px #03c0ff;
    border-radius:12px 12px 0 0;
  }
  .card{
    height:260px;max-width:320px;
    display:flex;justify-content:flex-end;flex-direction:row;
    overflow:hidden;
    position:relative;
  }
  .card-background{
    position:absolute;top:0;left:0;width:65%;height:100%;
    background-size:110% !important;background-position:right center !important;
    background-repeat:no-repeat !important;
    z-index:1;
  }
  .card-content{
    position:absolute;top:0;right:0;width:35%;height:100%;
    background:linear-gradient(45deg, #ff9d5c, #ff8c42, #fb6d2c, #f55a1a, #ff9d5c, #ff8c42);
    background-size:300% 300%;
    animation:gradientMove 4s ease-in-out infinite;
    color:#fff;padding:15px;border-top-right-radius:15px;border-bottom-right-radius:15px;
    text-align:center;box-sizing:border-box;z-index:2;
    display:flex;flex-direction:column;justify-content:center;gap:10px;
    backdrop-filter:blur(5px);
  }
  .card:nth-child(2) .card-background{
    background-position:center 20%;
    background-size:105%;
  }
  .card-category{font-size:15px;}
  .card-description{font-size:12px;}
  .cards-background{
    background-size:200px,200px;background-position:left -30px top -10px,right -30px top -10px;
    padding:25px 8px;
    min-height:470px;
  }

}

/* (removido) Regra conflitante que redefinia .card como display:block e sobrescrevia layouts */
