/* ========================================
   ESCOLA RECANTO DOS SABIDINHOS
   CSS Limpo - 2026
   ======================================== */

/* VARIÁVEIS */


/* Container do SVG */
.wave-container {
    width: 100%;
    height: 150px; /* Altura que você definiu */
    line-height: 0;
    overflow: hidden;
    background-color: #A2D9F1;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 100%;
}
.divider-cloud {
    width: 100%;
    height: 100px; /* Altura visual da nuvem */
    line-height: 0;
    display: block;
    position: relative;
    
    /* FAZ A ONDA SUBIR: Ajuste este valor conforme necessário */
    margin-top: -40px; 
    
    /* Garante que ela fique por cima da borda da seção anterior */
    z-index: 5; 
}

.divider-cloud svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* IMPORTANTE: A seção de baixo deve ter a mesma cor da nuvem */
.secao-inferior {
    background-color: #a2d9f1;
    margin-top: -1px; /* Remove frestas na parte de baixo */
    padding-top: 20px;
}


/* SVGs comentados no HTML mas CSS mantido ativo */
#menu-svg {
  width: 100%;
  height: 60px;
  display: block;
  background-color: #c9dde2;
}

@media (max-width: 768px) {
  #menu-svg {
    height: 40px;
  }
}

#topo-svg {
  width: 100%;
  height: 40px;
  display: block;
  background-color: #c9dde2;
}

@media (max-width: 768px) {
  #topo-svg {
    height: 40px;
  }
}


:root {
    --azul-principal: #1e3d89;
    --laranja: #d97218;
    --verde-card: #a0ffce;
    --azul-card: #8ed3e2;
    --amarelo: #ffcf33;
    --fundo-claro: #f7f5fc;
    --fundo-azul-claro: #c9dde2;
    --texto-escuro: #3f3131;
    --branco: #ffffff;
}

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--texto-escuro);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--azul-principal);
    color: var(--branco);
    border-color: var(--azul-principal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--azul-principal);
}

.btn-secondary {
    background-color: var(--laranja);
    color: var(--branco);
    border-color: var(--laranja);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--laranja);
}

.btn-orange {
    background-color: var(--laranja);
    color: var(--branco);
    border-color: var(--laranja);
}

.btn-orange:hover {
    background-color: #c46515;
}

.btn-blue {
    background-color: var(--azul-principal);
    color: var(--branco);
    border-color: var(--azul-principal);
}

.btn-blue:hover {
    background-color: #162d66;
}

/* ========================================
   HEADER TOPO
   ======================================== */
.header-top {
    background-color:#b8d4db;
    padding: 10px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    background-color: var(--azul-principal);
    color: var(--branco);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--laranja);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-buttons .btn {
    min-width: 200px;
    text-align: center;
}

/* Ícones mobile de contato - ocultos no desktop */
.mobile-contact-icons {
    display: none;
}

/* Menu dropdown mobile - oculto no desktop */
.mobile-dropdown {
    display: none;
}

/* Hamburger duplicado no header-main - oculto no desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 13px;
}

.mobile-menu-toggle span {
    width: 36px;
    height: 4px;
    background-color: var(--branco);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   HEADER PRINCIPAL
   ======================================== */
.header-main {
    background-color: #c9dde2;
    padding: 10px 0px;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 360px;
    float: left !important;
    
}

.contact-info {
    display: flex;
    gap: 80px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    font-size: 20px;
    color: var(--azul-principal);
}

.contact-item strong {
    display: block;
    font-family: 'ABeeZee', sans-serif;
    font-size: 14px;
    color: var(--texto-escuro);
}

.contact-item span {
    font-size: 13px;
    color: var(--texto-escuro);
}

/* ========================================
   NAVEGAÇÃO
   ======================================== */
.navbar {
    background-color:#f4e2cb;
    padding: 15px 0;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}



.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu li a {
    color:#040044;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-right: 1px dotted #040044;
    transition: color 0.3s;
}

.nav-menu li:last-child a {
    border-right: none;
}

.nav-menu li a:hover {
    color: var(--laranja);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--branco);
    border-radius: 2px;
}

/* ========================================
   HERO BANNER
   ======================================== */
.hero {
    background-color: var(--fundo-azul-claro);
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-image {
    position: relative;
    flex: 1;
    min-height: 500px;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-blue {
    width: 388px;
    height: 388px;
    background-color: #1e3d89;
    left: -119px;
    top: 59px;
    margin-top: -87px;
    z-index: 1;
    border-radius: 31% 69% 57% 43% / 27% 48% 52% 73%;
    animation: pulse 10s ease-in-out infinite;
}

.shape-yellow {
    width: 80px;
    height: 80px;
    background-color: var(--amarelo);
    right: 90px;
    top: 0px;
    z-index: 1;
    animation: floatUpDown 6s ease-in-out infinite;
}

.shape-yellow-blob {
    width: 155px;
    height: 155px;
    background-color: var(--amarelo);
    right: 120px;
    top: 90px;
    bottom: auto;
    z-index: 1;
    border-radius: 40% 60% 27% 73% / 60% 75% 25% 40%;
    animation: floatSlow 8s ease-in-out infinite;
}

.shape-orange {
    width: 183px;
    height: 183px;
    background-color: #d97218;
    border-radius: 45% 55% 37% 63% / 63% 73% 27% 37%;
    margin-left: 180px;
    top: 300px;
    z-index: 1;
    position: relative;
    animation: floatSlow 10s ease-in-out 1s infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes floatSide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.child-img {
    position: absolute;
    bottom: 30px;
    max-width: 320px;
    z-index: 2;
    animation: floatUpDown 9s ease-in-out infinite;
}

.toys-img {
    position: absolute;
    right: 80px;
    top: 120px;
    max-width: 234px;
    z-index: 2;
    animation: floatUpDown 8s ease-in-out infinite;
}

.books-img {
    position: absolute;
    left: 200px;
    bottom: 0;
    max-width: 120px;
    z-index: 3;
    animation: floatUpDown 8s ease-in-out 0.5s infinite;
}

.toy2-img {
    position: absolute;
    right: 100px;
    bottom: 60px;
    max-width: 112px;
    z-index: 3;
    animation: floatSlow 7s ease-in-out 0.8s infinite;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--azul-principal);
    line-height: 1.2;
    margin-bottom: 30px;
}

.text-orange {
    color: var(--laranja);
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-subtitle img {
    max-width: 60px;
}

.hero-subtitle p {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--texto-escuro);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}


/* ========================================
   SEÇÃO BEM-VINDO
   ======================================== */
.welcome {
    background-color: #f4ede5;
    padding: 80px 0 160px;
    text-align: center;
    position: relative;
}

.welcome::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgODYiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIHNsaWNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmN2Y1ZmMiPjxwYXRoIGQ9Ik0xMjgwIDBIMHY2NS4yYzYuOCAwIDEzLjUuOSAyMC4xIDIuNiAxNC0yMS44IDQzLjEtMjggNjQuOC0xNCA1LjYgMy42IDEwLjMgOC4zIDE0IDEzLjkgNy4zLTEuMiAxNC44LS42IDIxLjggMS42IDIuMS0zNy4zIDM0LjEtNjUuOCA3MS40LTYzLjcgMjQuMyAxLjQgNDYgMTUuNyA1Ni44IDM3LjYgMTktMTcuNiA0OC42LTE2LjUgNjYuMyAyLjRDMzIzIDU0IDMyNy40IDY1IDMyNy43IDc2LjVjLjQuMi44LjQgMS4yLjcgMy4zIDEuOSA2LjMgNC4yIDguOSA2LjkgMTUuOS0yMy44IDQ2LjEtMzMuNCA3Mi44LTIzLjMgMTEuNi0zMS45IDQ2LjktNDguMyA3OC44LTM2LjYgOS4xIDMuMyAxNy4yIDguNyAyMy44IDE1LjcgNi43LTYuNiAxNi43LTguNCAyNS40LTQuOCAyOS4zLTM3LjQgODMuMy00NCAxMjAuNy0xNC44IDE0IDExIDI0LjMgMjYuMSAyOS40IDQzLjEgNC43LjYgOS4zIDEuOCAxMy42IDMuOCA3LjgtMjQuNyAzNC4yLTM4LjMgNTguOS0zMC41IDE0LjQgNC42IDI1LjYgMTUuNyAzMC4zIDMwIDE0LjIgMS4yIDI3LjcgNi45IDM4LjUgMTYuMiAxMS4xLTM1LjcgNDktNTUuNyA4NC43LTQ0LjcgMTQuMSA0LjQgMjYuNCAxMy4zIDM1IDI1LjMgMTItNS43IDI2LjEtNS41IDM3LjkuNiAzLjktMTEuNiAxNS41LTE4LjkgMjcuNy0xNy41LjItLjMuMy0uNi41LS45IDIzLjMtNDEuNCA3NS44LTU2IDExNy4yLTMyLjYgMTQuMSA3LjkgMjUuNiAxOS43IDMzLjMgMzMuOCAyOC44LTIzLjggNzEuNS0xOS44IDk1LjMgOSAyLjYgMy4xIDQuOSA2LjUgNi45IDEwIDMuOC0uNSA3LjYtLjggMTEuNC0uOEwxMjgwIDB6Ii8+PC9nPjwvc3ZnPgo=);
    background-size: cover;
    background-position: center top;
    transform: scale(1, -1);
    z-index: 1;
}

.welcome h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 36px;
    color: var(--azul-principal);
    margin-bottom: 10px;
}

.welcome .subtitle {
    color: var(--laranja);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    height: 350px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px 20px;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--texto-escuro);
}

.card-content p {
    font-size: 14px;
    color: var(--texto-escuro);
}

.card-yellow .card-content {
    background-color: #fff4b8;
}

.card-blue .card-content {
    background-color: var(--azul-card);
}

.card-green .card-content {
    background-color: var(--verde-card);
}

/* ========================================
   SEÇÃO FEATURES (PREPARO, AFETO)
   ======================================== */
.features {
    padding: 80px 0 150px;
    text-align: center;
    position: relative;
    background-color: var(--fundo-claro);
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.70;
}

.features h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 36px;
    color: var(--azul-principal);
    margin-bottom: 10px;
    position: relative;
}

.features .subtitle {
    color: var(--laranja);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.arrow-down {
    font-size: 24px;
    color: var(--azul-principal);
    margin-bottom: 40px;
    position: relative;
}

.features-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.floating-icon {
    position: absolute;
    max-width: 90px;
    z-index: 4;
}

.icon-backpack {
    left: -50px;
    top: 80px;
    animation: levitate 3s ease-in-out 0.3s infinite;
}

.icon-notebook {
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    animation: levitate 3s ease-in-out 0.8s infinite;
}

.icon-medal {
    right: -80px;
    top: 170px;
    animation: levitate 3s ease-in-out 1.3s infinite;
}

.icon-flask {
    left: 40%;
    transform: translateX(-50%);
    bottom: 20px;
    animation: levitate 3s ease-in-out 1.8s infinite;
}

.feature-card {
    flex: 1;
    max-width: 379px;
    min-height: 300px;
    padding: 45px 38px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--texto-escuro);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--texto-escuro);
}

.feature-card.card-blue {
    background-color: var(--azul-card);
    animation: levitate 3s ease-in-out 0.5s infinite;
}

.feature-card.card-yellow {
    background-color: #fff4b8;
    margin-top: 50px;
    animation: levitate 3s ease-in-out infinite;
}

.feature-card.card-green {
    background-color: var(--verde-card);
    margin-top: 100px;
    animation: levitate 3s ease-in-out 1s infinite;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ========================================
   SEÇÃO EQUIPE
   ======================================== */
.team {
    background: #A2D9F1;
    padding: 80px 0;
    text-align: center;
}

.team-rounded {
    border-radius: 300px 300px 0 0;
}

.logo-center img {
    max-width: 250px;
    margin: 0 auto 30px;
}

.team h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 28px;
    color: var(--azul-principal);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.4;
}

.team h2 .highlight {
    background-color: var(--laranja);
    color: var(--branco);
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

.team p {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--texto-escuro);
}

/* ========================================
   CARROSSEL / GALERIA
   ======================================== */
.gallery {
    background-color: #A2D9F1;
    padding: 40px 0 60px;
}

.carousel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-track {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-slide img {
    width: 100%;
    height: 135px;
    object-fit: cover;
}

.carousel-btn {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: none;
    border: 2px solid #1a3570;
    color: #1a3570;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background-color: #1a3570;
    color: var(--branco);
}

.carousel-slide {
    cursor: pointer;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--laranja);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    background: none;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #fff;
    color: #1a3570;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ========================================
   WRAPPER FOOTER (Azul ciano full width)
   ======================================== */
.footer-wrapper {
    background-color: #00b5e2;
    width: 100%;
    padding-top: 30px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   SEÇÃO 1: BARRA DE CONTATOS (Azul médio)
   ======================================== */
.footer-contacts {
    background-color: #2a4d91;
    padding: 50px 40px 40px;
    color: var(--branco);
    border-radius: 40px 40px 0 0;
}

.contact-icons {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    color: var(--branco);
    transition: all 0.3s;
    flex: 1;
    padding: 0 10px;
}

.contact-box:hover {
    opacity: 0.8;
}

.contact-box i {
    font-size: 50px;
    color: var(--branco);
}

.contact-box span {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--branco);
}

/* ========================================
   SEÇÃO 2: FOOTER PRINCIPAL (Azul escuro)
   ======================================== */
.footer-main {
    background-color: #1a3570;
    padding: 60px 40px;
    color: var(--branco);
    position: relative;
    border-top: 1px dotted #ffffff;
    border-radius: 0 0 30px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer-logo {
    text-align: left;
}

.footer-logo img {
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-menu {
    padding-top: 0;
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--laranja);
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 0;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 2px solid var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--branco);
    color: var(--azul-principal);
}

/* ========================================
   CRÉDITOS (Azul ciano)
   ======================================== */
.credits {
    background-color: #00b5e2;
    padding: 15px 0;
}

.credits .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.credits span {
    font-size: 12px;
    color: #1a3570;
}

.credits img {
    max-height: 28px;
}

/* ========================================
   BREADCRUMB (Páginas internas)
   ======================================== */
.breadcrumb {
    background-color: #c9dde2;
    padding: 15px 0;
    font-size: 16px;
}

.breadcrumb a {
    color: var(--azul-principal);
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--laranja);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--azul-principal);
}

.breadcrumb .current {
    color: var(--azul-principal);
    font-weight: 400;
}

/* ========================================
   CONTEÚDO DE PÁGINA INTERNA
   ======================================== */
.page-content {
    padding: 60px 0 80px;
    background-color: var(--branco);
}

.page-content h1 {
    color: var(--azul-principal);
    font-size: 36px;
    margin-bottom: 30px;
}

.content-area {
    font-size: 16px;
    line-height: 1.8;
    color: var(--texto-escuro);
}

/* ========================================
   MENU ITEM ATIVO
   ======================================== */
.nav-menu li a.active {
    color: var(--laranja);
}

.mobile-dropdown li a.active {
    color: var(--laranja);
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 980px) {
    /* === HEADER MOBILE === */

    /* Linha 1: Esconder redes sociais, exibir ícones de contato */
    .header-top .social-icons {
        display: none;
    }

    .mobile-contact-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .mobile-contact-icons a {
        width: 40px;
        height: 40px;
        background-color: var(--azul-principal);
        color: var(--branco);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: background-color 0.3s;
    }

    .mobile-contact-icons a:hover {
        background-color: var(--laranja);
    }

    /* Linha 2: Logo + Hamburger lado a lado */
    .header-main {
        position: relative;
        z-index: 100;
        background-color: #f4e2cb;
    }

    .header-main .container {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
        align-items: center;
    }

    .header-main .logo img {
        max-width: 200px;
        float: none;
    }

    /* Esconder SVG topo no mobile (SVGs comentados no HTML) */
    #topo-svg {
        display: none;
    }

    /* Esconder contatos com texto no mobile */
    .contact-info {
        display: none;
    }

    /* Exibir hamburger duplicado no header-main */
    .mobile-menu-toggle {
        display: flex;
        background-color: var(--azul-principal);
        border-radius: 10px;
        padding: 16px;
    }

    /* Linha 3: Botões lado a lado */
    .header-buttons {
        justify-content: center;
    }

    .header-buttons .btn {
        font-size: 12px;
        padding: 10px 18px;
        min-width: 160px;
    }

    /* Esconder a navbar inteira no mobile */
    .navbar {
        display: none;
    }

    /* Menu suspenso mobile */
    .mobile-dropdown {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        background-color: var(--azul-principal);
        padding: 10px 20px 20px;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        border-radius: 0 0 15px 15px;
    }

    .mobile-dropdown.active {
        display: flex;
    }

    .mobile-dropdown li {
        list-style: none;
    }

    .mobile-dropdown li a {
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 15px;
        color: var(--branco);
        font-size: 18px;
        font-weight: 600;
    }

    .mobile-dropdown li:last-child a {
        border-bottom: none;
    }

    .mobile-dropdown li a:hover {
        color: var(--laranja);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        min-height: 350px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        justify-content: center;
    }

    .shape-blue {
        width: 194px;
        height: 194px;
        left: -60px;
        top: 30px;
    }

    .shape-yellow {
        right: auto;
        left: 250px;
    }

    .shape-yellow-blob {
        width: 78px;
        height: 78px;
        right: 30px;
        top: 50px;
    }

    .shape-orange {
        width: 92px;
        height: 92px;
        margin-left: 90px;
        top: 200px;
    }

    .child-img {
        left: auto;
        right: 100px;
        max-width: 220px;
    }

    .toys-img {
        left: 100px;
        right: auto;
        top: 80px;
    }

    .books-img {
        left: 10px;
        bottom: 0;
        max-width: 84px;
    }

    .toy2-img {
        right: auto;
        bottom: -10px;
        left: 200px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .features-cards {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .feature-card {
        max-width: 100%;
        margin-top: 0 !important;
    }

    .floating-icon {
        max-width: 72px;
        opacity: 0.85;
    }

    .icon-backpack {
        left: 10%;
        top: 28%;
        transform: none;
    }

    .icon-notebook {
        left: auto;
        right: 10px;
        top: -15px;
        transform: none;
    }

    .icon-medal {
        right: 10px;
        top: 63%;
        bottom: auto;
    }

    .icon-flask {
        left: 10px;
        bottom: 50px;
        transform: none;
    }

    .footer-contacts {
        border-radius: 20px 20px 0 0;
        padding: 40px 20px 30px;
        margin-top: -20px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-icons {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }

    .contact-box {
        flex: 0 0 30%;
    }

    .contact-box i {
        font-size: 40px;
    }

    .carousel-slide {
        flex: 0 0 calc(50% - 8px);
    }

    .carousel-slide img {
        height: auto;
    }

    .credits .container {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .header-top .container {
        flex-direction: column;
        gap: 15px;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .shape-blue {
        width: 200px;
        height: 200px;
    }

    .child-img {
        max-width: 200px;
    }

    .welcome h2,
    .features h2 {
        font-size: 28px;
    }

    .team h2 {
        font-size: 22px;
    }

    .footer-contacts {
        border-radius: 15px 15px 0 0;
        padding: 30px 15px 25px;
        margin-top: -15px;
    }

    .contact-box {
        flex: 0 0 45%;
    }

    .contact-box i {
        font-size: 32px;
    }

    .contact-box span {
        font-size: 11px;
    }

    .footer-menu ul {
        gap: 10px;
    }

    .footer-menu a {
        font-size: 14px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-logo img {
        max-width: 200px;
    }

}

/* ========================================
   WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.15); }
}

/* ========================================
   PÁGINA A ESCOLA
   ======================================== */

/* 3 Destaques */
.escola-destaques {
    display: flex;
    gap: 24px;
    margin: 40px 0 60px;
    align-items: stretch;
}

.escola-destaque-card {
    flex: 1;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.ed-amarelo { background-color: #fff4b8; }
.ed-azul    { background-color: #8ed3e2; }
.ed-verde   { background-color: #a0ffce; }

.ed-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.ed-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.escola-destaque-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e3d89;
    line-height: 1.5;
    margin: 0;
}

/* Texto descritivo */
.escola-texto {
    max-width: 900px;
    margin: 0 auto 60px;
    background: #f7f5fc;
    border-radius: 16px;
    padding: 40px 48px;
    border-left: 5px solid #1e3d89;
}

.escola-texto p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.escola-texto p:last-child {
    margin-bottom: 0;
}

/* Galeria */
.escola-galeria {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.eg-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.eg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    cursor: pointer;
}

.eg-item:hover img {
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 980px) {
    .escola-destaques {
        flex-direction: column;
    }
    .escola-texto {
        padding: 30px 24px;
    }
    .escola-galeria {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .escola-galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   PÁGINA CONTATO
   ======================================== */

.contato-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 20px;
}

/* Coluna de informações */
.contato-info {
    flex: 0 0 38%;
}

.contato-info h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e3d89;
    margin-bottom: 10px;
}

.contato-info > p {
    font-size: 15px;
    color: #666;
    margin-bottom: 36px;
    line-height: 1.7;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contato-icone {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: #1e3d89;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.contato-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contato-item strong {
    font-size: 14px;
    font-weight: 700;
    color: #1e3d89;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contato-item span {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Coluna do formulário */
.contato-form-wrap {
    flex: 1;
    background: #f7f5fc;
    border-radius: 20px;
    padding: 40px 44px;
    border-top: 5px solid #1e3d89;
}

.form-grupo {
    margin-bottom: 22px;
}

.form-grupo label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #1e3d89;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.char-count {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-transform: none;
    letter-spacing: 0;
}

.form-grupo input,
.form-grupo textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0ddf0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.3s;
    box-sizing: border-box;
    resize: vertical;
}

.form-grupo input:focus,
.form-grupo textarea:focus {
    outline: none;
    border-color: #1e3d89;
}

.btn-whatsapp-form {
    width: 100%;
    padding: 16px;
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp-form i {
    font-size: 20px;
}

.btn-whatsapp-form:hover {
    background-color: #1ebe5a;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .contato-wrap {
        flex-direction: column;
        gap: 40px;
    }
    .contato-info {
        flex: 0 0 auto;
        width: 100%;
    }
    .contato-form-wrap {
        padding: 30px 24px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ========================================
   PÁGINA NOSSA EQUIPE
   ======================================== */

.ne-fotos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.ne-foto {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.ne-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    .ne-fotos {
        grid-template-columns: 1fr;
    }
}

/* Cards de informação */
.ne-cards {
    display: flex;
    gap: 24px;
    margin-top: 50px;
    align-items: stretch;
}

.ne-card {
    flex: 1;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.ne-card-amarelo { background-color: #fff4b8; }
.ne-card-azul    { background-color: #8ed3e2; }
.ne-card-verde   { background-color: #a0ffce; }

.ne-card-icone {
    width: 64px;
    height: 64px;
    background-color: #1e3d89;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.ne-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3d89;
    margin: 0;
}

.ne-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.ne-link {
    color: #d97218;
    font-weight: 700;
    text-decoration: underline;
}

.ne-link:hover {
    color: #1e3d89;
}

.ne-periodos {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.ne-periodos li {
    font-size: 15px;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid rgba(30,61,137,0.15);
    line-height: 1.5;
}

.ne-periodos li:last-child {
    border-bottom: none;
}

.ne-periodos strong {
    color: #1e3d89;
}

/* Nossos Eventos */
.ne-eventos {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed #e0ddf0;
}

.ne-eventos h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e3d89;
    margin-bottom: 30px;
}

/* Grid de cards de eventos (máx. 3 colunas) */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.evento-card {
    background: #fff;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Imagem principal */
.evento-img-principal {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px 16px 0 0;
}

.evento-img-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* Conteúdo (título + texto) */
.evento-conteudo {
    padding: 20px 22px 16px;
    flex: 1;
}

.evento-conteudo h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e3d89;
    margin-bottom: 10px;
}

.evento-conteudo p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 10px;
}

.evento-conteudo p:last-child {
    margin-bottom: 0;
}

.evento-texto-scroll {
    max-height: 130px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: auto;
    scrollbar-color: #1e3d89 #e0ddf0;
}
.evento-texto-scroll::-webkit-scrollbar {
    width: 8px;
}
.evento-texto-scroll::-webkit-scrollbar-track {
    background: #e0ddf0;
    border-radius: 4px;
}
.evento-texto-scroll::-webkit-scrollbar-thumb {
    background: #1e3d89;
    border-radius: 4px;
}
.evento-texto-scroll::-webkit-scrollbar-button {
    background: #1e3d89;
    height: 8px;
    border-radius: 2px;
}

/* Thumbs */
.evento-thumbs {
    display: flex;
    gap: 6px;
    padding: 12px 22px 18px;
    overflow-x: auto;
    scrollbar-width: auto;
    scrollbar-color: #1e3d89 #e0ddf0;
}
.evento-thumbs::-webkit-scrollbar {
    height: 8px;
}
.evento-thumbs::-webkit-scrollbar-track {
    background: #e0ddf0;
    border-radius: 4px;
}
.evento-thumbs::-webkit-scrollbar-thumb {
    background: #1e3d89;
    border-radius: 4px;
}
.evento-thumbs::-webkit-scrollbar-button {
    background: #1e3d89;
    width: 8px;
    border-radius: 2px;
}

.evento-thumb {
    flex: 0 0 52px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.evento-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evento-thumb:hover {
    opacity: 0.85;
}

.evento-thumb.active {
    opacity: 1;
    border-color: #1e3d89;
}

@media (max-width: 980px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .ne-cards {
        flex-direction: column;
    }
}

/* ========================================
   PÁGINA CONFIANÇA E VIVÊNCIA
   ======================================== */

.cv-secao {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.cv-invertido {
    flex-direction: row-reverse;
}

.cv-imagem {
    flex: 0 0 45%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.cv-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cv-texto {
    flex: 1;
}

.cv-texto h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e3d89;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
}

.cv-texto h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: #d97218;
    border-radius: 2px;
}

.cv-texto p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

@media (max-width: 980px) {
    .cv-secao,
    .cv-invertido {
        flex-direction: column;
    }
    .cv-imagem {
        flex: 0 0 auto;
        width: 100%;
    }
}
