:root {
    --primary-blue: #0A1E86;
    /* FUNDO DO FRAME DE VÍDEO */
    --accent-blue: #2A45C3;
    /* BOTÕES E GRADIENTES */
    --accent-green: #00D58D;
    /* COR DE DESTAQUE (VERDE) */
    --text-white: #FFFFFF;
    --font-primary: 'Arial', sans-serif;
    /* FONTE PRINCIPAL */
}


html {
    scroll-behavior: smooth;
    background-color: #f7f9fc;
}

* {
    margin: -2px;
    padding: 0;
    box-sizing: border-box;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-primary);
    background-color: #ffffff;
    color: var(--text-white);
    overflow-x: hidden;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}


/* CABEÇALHO (HEADER) */
.header {
    background: #ffffff;
    padding: 0.7rem 2rem; /* Espaço mínimo nas laterais */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e6e6e6;
    max-width: 100%;
}

/* MOBILE MENU OVERLAY - Hidden by default */
.mobile-menu {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1f3dbb;
    border-radius: 3px;
    transition: 0.3s;
}

/* LOGO */
.logo-center {
    display: flex;
    justify-content: center;
}

.logo-center img {
    height: 55px;
}

/* MENUS */
.nav-left ul,
.nav-right ul {
    display: flex;
    gap: 2rem; /* Espaçamento agradável entre as opções */
    list-style: none;
    align-items: center;
    white-space: nowrap;
}

.nav-left {
    justify-self: end; /* Fixa o menu esquerdo próximo ao logo */
    margin-right: 4rem; /* Distância elegante entre o menu e o logo */
    margin-left: 0;
}

.nav-right {
    justify-self: start; /* Fixa o menu direito próximo ao logo */
    margin-left: 4rem; /* Distância elegante entre o menu e o logo */
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* LINKS */
.header a {
    text-decoration: none;
    color: #1f3dbb;
    font-weight: 700;
    font-size: 1.05rem;
}

/* BOTÃO */
.btn-primary {
    background: #1f3dbb;
    color: #fff !important;
    padding: 0.55rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 1rem;
    /* Margem adicionada para empurrar o botão para a direita */
}

/* Ajustes para telas médias/zooms de desktop (evitar sobreposição do header) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .header {
        padding: 0.7rem 1.5rem;
    }
    .nav-left {
        margin-right: 2rem;
    }
    .nav-right {
        margin-left: 2rem;
        gap: 1rem;
    }
    .nav-left ul,
    .nav-right ul {
        gap: 1.2rem;
    }
    .header a {
        font-size: 0.95rem;
    }
    .header .btn-primary {
        padding: 0.5rem 1rem;
        margin-left: 0.5rem;
    }
}

/* HERO SECTION (HOME) */
.hero {
    position: relative;
    padding: 2rem 2rem;
    min-height: 550px;
    /* Reduzido para alinhar com os banners */
    display: flex;
    align-items: center;
    overflow: hidden;

    background: url('../assets/img/hero-bg.png') no-repeat center top;
    background-size: cover;
}

/* Gradiente de fallback se a imagem falhar ou para sobreposição */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 134, 0.9) 0%, rgba(42, 69, 195, 0.8) 100%);
    z-index: 1;
}

/* Estilo específico para o Hero da página inicial (Banner VR) */
.home-hero {
    background-color: #FFA51F;
    background-image: none !important; /* Remove o fundo azul padrão do hero */
    width: 100%;
    /* Mesma altura do banner Sobre para consistência entre páginas */
    height: clamp(530px, 36vw, 680px);
    min-height: clamp(530px, 36vw, 680px);
    max-height: clamp(530px, 36vw, 680px);
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    display: none;
}

/* Camadas de fundo com efeito hover */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-no-glasses {
    background-image: url('../assets/img/Banner_sem_oculos.png');
}

.hero-bg-with-glasses {
    background-image: url('../assets/img/Banner o futuro da tecnologia.png');
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.home-hero:hover .hero-bg-with-glasses {
    opacity: 1;
}

.hero-bottom-bar {
    width: 100%;
    z-index: 2;
    height: 90px;       /* Match Sobre hero bottom height */
    background: rgba(0, 0, 0, 0.18); /* Glassmorphism */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bottom-bar img {
    height: auto;
    width: 100%;
    max-height: 150px; /* increased for mobile to touch sides */
    object-fit: contain;
    display: block;
    padding: 0;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.highlight-green {
    color: var(--accent-green);
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Visuais Principais (Cards) */
.hero-visuals {
    display: flex;
    gap: 1.5rem;
    height: 500px;
    /* Viewport mais compacta */
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* Colunas */
.visual-column {
    width: 180px;
    /* Correspondente à proporção de referência */
    height: 100%;
    position: relative;
}

.column-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Layout - Colunas com Rolagem */
.column-track.up {
    animation: scrollUp 12s linear infinite;
}

.column-track.down {
    animation: scrollDown 15s linear infinite;
}

.column-track.delay {
    animation-duration: 13s;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-50% - 0.75rem));
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(calc(-50% - 0.75rem));
    }

    100% {
        transform: translateY(0);
    }
}

.visual-card {
    flex-shrink: 0;
    height: 420px;
    width: 100%;
    border-radius: 120px;
    overflow: hidden;

}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Imagem de sangria total */
    display: block;
}

/* Responsividade Header e Hero */
@media (max-width: 1024px) {
    .header {
        padding: 1.2rem 1rem;
        /* More vertical space for the logo */
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        /* Slightly distance from the blue hero part */
        min-height: 80px;
        /* Ensure a minimum height for the white bar */
    }

    .logo-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hamburger {
        display: flex;
    }

    .close-menu-btn {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 3rem;
        color: #FFA51F;
        cursor: pointer;
        font-weight: bold;
        z-index: 1060;
        line-height: 1;
    }

    .nav-left,
    .nav-right ul {
        display: none;
    }

    /* Redefining Menu Mobile logic */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transition: 0.4s;
        z-index: 1050;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .mobile-menu ul li {
        margin: 1.5rem 0;
    }

    .mobile-menu a {
        font-size: 1.5rem;
        text-decoration: none;
        color: #FFA51F;
        font-weight: 700;
    }

    .header .btn-primary {
        display: none;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-visuals {
        height: 350px;
        gap: 1rem;
        justify-content: center;
        perspective: 1000px;
    }

    .visual-column {
        width: 120px;
        /* Slimmer for mobile side-by-side */
    }

    /* Hide one column to save space and look cleaner */
    .visual-column:last-child {
        display: none;
    }

    .visual-card {
        height: 220px;
        border-radius: 40px;
    }
}

/* SEÇÃO SOBRE A IP Tech (HOME) */
.about-section {
    background-color: #ffffff;
    padding: 3rem 2rem 5rem;
    text-align: center;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    color: #FFA51F;
    /* cor Sobre Ip*/
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
}

.section-description {
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    color: #FFA51F;
    /* a cor do "IP Tech compromete-se em preparar a próxima geração com habilidades cruciais para o sucesso no futuro digital."*/
    font-weight: 700;
}

/* Responsive Sobre Section */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .video-frame {
        display: none !important;
    }
}

/* VIDEO PLACEHOLDER */
.video-frame {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    /* Fundo gradiente azul + texturizar se possível */
    background: linear-gradient(135deg, #0a2498 0%, #0055FF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.iframe-fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(10, 30, 205, 0.85);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.iframe-fullscreen-btn:hover {
    background: #0A1ECD;
    transform: scale(1.1);
}

.mobile-pres-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a2498 0%, #0055FF 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.iframe-close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(225, 30, 30, 0.9);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.iframe-close-btn:hover {
    background: #ff0000;
    transform: scale(1.1);
}

/* Quando o container estiver em fullscreen */
#about-video-frame:fullscreen,
#about-video-frame:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #000 !important;
}

#about-video-frame:fullscreen .iframe-close-btn,
#about-video-frame:-webkit-full-screen .iframe-close-btn {
    display: flex !important;
}

#about-video-frame:fullscreen #presentation-iframe,
#about-video-frame:-webkit-full-screen #presentation-iframe {
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
}

#about-video-frame:fullscreen .mobile-pres-placeholder,
#about-video-frame:-webkit-full-screen .mobile-pres-placeholder {
    display: none !important;
}

#about-video-frame:fullscreen .iframe-fullscreen-btn,
#about-video-frame:-webkit-full-screen .iframe-fullscreen-btn {
    display: none !important;
}

.video-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.video-brand-center img {
    height: 100px;
    /* Inverter logo para branco */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* CONTROLS OVERLAY */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    color: white;
    z-index: 10;
}

.control-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.time-display {
    font-size: 0.85rem;
    font-weight: 500;
}

.control-right {
    display: flex;
    gap: 1.2rem;
}

.control-right span {
    cursor: pointer;
    font-size: 1.1rem;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.progress-bar-fill {
    width: 5%;
    height: 100%;
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .video-brand-center img {
        height: 70px;
    }
}

/* SEÇÃO DE FEATURES (HOME) */
.features {
    background: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

/* CARD */
.feature-card {
    text-align: left;
}

.feature-card img {
    width: clamp(50px, 4vw, 70px);
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: clamp(1.2rem, 1.4vw, 1.6rem);
    font-weight: 800;
    color: #FFA51F;
    /*cor das 3 opções*/
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-card p {
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    color: #333;
    line-height: 1.7;
}

/* BOTÃO */
.features-button {
    margin-top: 3rem;
}

.btn-more {
    background: #1f3dbb;
    /*botão saiba mais*/
    color: #fff;
    padding: 0.7rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-more:hover {
    background: #FFA51F;
}


@media (max-width: 900px) {
    .features-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-card {
        text-align: center;
    }

    /* Shift hero text right to avoid overlap with people images */
    .hero-text {
        margin-left: 2rem;
        text-align: left;
    }

    /* Indent tech list items (numbers) away from people images */
    .tech-column ul li {
        padding-left: 1rem;
    }
}

/* SEÇÃO TECNOLOGIAS APLICADAS */
.tech-section {
    background-color: #ffffff;
    padding: 4rem 2rem 6rem;

    display: flex;
    justify-content: center;
}

.tech-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-header {
    background-color: #0A1ECD;
    /*cor do Tecnologias Aplicadas*/
    color: white;
    padding: 1rem 3rem;
    border-radius: 15px 15px 0 0;
    width: fit-content;
    margin-bottom: -1px;
    z-index: 2;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.tech-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-transform: none;
}

.tech-board {
    background-color: #1123CC;
    /*cor do Tecnologias Aplicadas*/
    width: 100%;
    border-radius: 15px;
    padding: 3rem 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(10, 30, 205, 0.2);
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.tech-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-column li {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.tech-column li:last-child {
    margin-bottom: 0;
}

@media (max-width: 850px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-header {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .tech-board {
        padding: 2rem 1.5rem;
    }

    .tech-column li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

/* SEÇÃO NOSSOS PROGRAMAS */
.programas {
    background: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
}

.programas-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #FFA51F;
    margin-bottom: 3rem;
}

/* GRID */
.programas-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* CARD EXTERNO (1ª BORDA) */
.programa-card {
    border: 2.5px solid #FFA51F;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    transition: 0.4s ease;
}

/* FRAME INTERNO (2ª BORDA) */
.programa-frame {
    border: 2.5px solid #FFA51F;
    border-radius: 14px;
    padding: 8px;
    background: #fff;
    overflow: hidden;
}

/* IMAGEM (MESMO TAMANHO DO EXEMPLO) */
.programa-frame img {
    width: 100%;
    height: 220px;
    /* controla o tamanho da imagem */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* TÍTULO + SETA */
.programa-header {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #FFA51F;
    font-size: 1.1rem;
    cursor: pointer;
}

/* SETA */
.programa-arrow {
    transition: 0.3s ease;
}

/* TEXTO OCULTO */
.programa-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s ease;
    margin-top: 10px;
}

.programa-content p {
    color: #333;
    line-height: 1.6;
    font-size: 0.98rem;
}

/* CARD ABERTO */
.programa-card.active .programa-content {
    max-height: 300px;
    opacity: 1;
}

.programa-card.active .programa-arrow {
    transform: rotate(90deg);
}

/* HOVER SUAVE */
.programa-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .programas-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* SEÇÃO IMPACTO DA TECNOLOGIA */
/* ============================= */

.impacts-section {
    background-color: #E2E2E5;
    padding: 4rem 2rem 3rem;
    color: #333;
}

.impacts-container {
    max-width: 1100px;
    margin: 0 auto;
}

.impacts-title {
    text-align: center;
    color: #FFA51F;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

/* Layout dos cards */
.impacts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 0;
}

/* Base dos cards */
.impact-card {
    background: #F7F7F7;
    border-radius: 16px;
    padding: 0;
    height: 269px;
    min-height: 269px;
    max-height: 269px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: none;
}

/* Largura dos cards - correspondente ao tamanho real das imagens */
.impacts-grid .impact-card:nth-child(1) {
    flex: 0 0 513px;
    width: 513px;
}

.impacts-grid .impact-card:nth-child(2) {
    flex: 0 0 339px;
    width: 339px;
}

.impacts-grid .impact-card:nth-child(3) {
    flex: 0 0 339px;
    width: 339px;
}

.impacts-grid .impact-card:nth-child(4) {
    flex: 0 0 513px;
    width: 513px;
}

/* ============================= */
/* CARD 1 - MULHER */
/* ============================= */

.card1-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.card1-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
    border-radius: 16px;
}

.card1-content {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 230px;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================= */
/* CARD 2 - MAPA */
/* ============================= */

.card2-content {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    z-index: 2;
}

.card2-visual,
.card2-visual-mapa {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.card2-visual img,
.card2-visual-mapa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 16px;
}

/* ============================= */
/* CARD 3 - MENINO */
/* ============================= */

.card3-content,
.card3-content-left {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    z-index: 2;
}

.card3-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.card3-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    border-radius: 16px;
}

/* ============================= */
/* CARD 4 - MENINA */
/* ============================= */

.card4-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.card4-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
    border-radius: 16px;
}

.card4-content {
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 230px;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================= */
/* TEXTOS, NÚMEROS E CÍRCULOS */
/* ============================= */

.big-number {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    display: inline;
}

.big-number-sm {
    font-size: 1.3rem;
    font-weight: 800;
    color: #000000;
}

.stat-block {
    margin: 0;
}

.impact-text,
.impact-text-sm {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 700;
    color: #000000;
    margin-top: 0.5rem;
}

.chart-pie,
.chart-donut-orange {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 14px solid #FFA51F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.chart-donut-blue {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 14px solid #1f6dff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.chart-value {
    font-weight: 800;
    font-size: 1.3rem;
    color: #000000;
}

/* Avaliações */
.reviews-placeholder {
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 0;
    font-weight: 700;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.stars {
    color: #FFA51F;
    font-size: 1.2rem;
}

/* Responsivo */
@media (max-width: 900px) {
    .impacts-container {
        max-width: 100%;
    }

    .impacts-grid {
        flex-direction: column;
        align-items: center;
    }

    .impacts-grid .impact-card:nth-child(1),
    .impacts-grid .impact-card:nth-child(2),
    .impacts-grid .impact-card:nth-child(3),
    .impacts-grid .impact-card:nth-child(4) {
        width: 100%;
        max-width: 520px;
        flex: 0 0 auto;
    }
}

@media (max-width: 600px) {
    .impacts-section {
        padding: 3rem 1rem;
    }

    .impact-card {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }

    .card1-content, .card4-content {
        width: 60%;
    }

    .card2-content, .card3-content, .card3-content-left {
        width: 55%;
    }
}


/* --- SEÇÃO DE DEPOIMENTOS --- */
.testimonials-section {
    background-color: #ffffff;
    padding: 4rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
    /* Evita barra de rolagem horizontal devido a efeitos de escala */
}



/* Cabeçalho de navegação centralizado */
.carousel-nav-header {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-btn {
    background: #ffffff;
    /* Fundo branco com borda */
    border: 2px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    color: #000;
}



/*botões dos videos dos relatos*/
.nav-btn {
    background: #FFA51F;
    /* Azul primário */
    border: 2px solid #FFA51F;
    color: white;
}

.nav-btn:hover {
    background: #FFA51F;
    /* Azul mais claro */
    border-color: #FFA51F;
    transform: scale(1.1);
}

.nav-btn:hover {
    background: #FFA51F;
    color: white;
    border-color: #FFA51F;
}



.carousel-window {
    width: 100%;
    overflow: visible;
    /* Queremos ver itens laterais */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 550px;
    /* Ajuste baseado na altura máxima do card */
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* JS ou transform lidará com espaçamento se necessário, mas flex gap é mais fácil */
    position: relative;
    /* Manipularemos a posição via JS ou classes CSS */
}

.video-card {
    width: 280px;
    height: 400px;
    background: #fff;
    border-radius: 20px;
    flex-shrink: 0;
    margin: 0 10px;
    transition: all 0.5s ease;
    opacity: 0.5;
    transform: scale(0.85);
    filter: blur(2px) grayscale(50%);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estado Ativo */
.video-card.active {
    width: 340px;
    height: 480px;
    opacity: 1;
    transform: scale(1);
    filter: blur(0) grayscale(0);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFA51F;
    /*borda dos videos*/

}

.video-poster {
    width: 100%;
    height: 70%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    position: relative;
    background: #f0f0f0;
}

.video-poster img,
.video-poster video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(10, 30, 205, 0.8);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.video-card.active .play-overlay:hover {
    background: #0A1ECD;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Clicável apenas se ativo */
.video-card:not(.active) .play-overlay {
    pointer-events: none;
    background: rgba(100, 100, 100, 0.5);
}

.video-info {
    padding: 1.5rem;
    text-align: center;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-info h3 {
    color: #1f3dbb;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.quote-text {
    margin-top: 1rem !important;
    font-style: italic;
    font-size: 0.85rem !important;
    color: #333 !important;
    display: none;
    /* Esconde em cards pequenos */
}

.video-card.active .quote-text {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .video-card {
        display: flex !important;
        width: 200px !important;
        height: 300px !important;
        margin: 0 8px !important;
        opacity: 0.6;
        transform: scale(0.85);
        filter: blur(1px) grayscale(30%);
    }

    .video-card.active {
        display: flex !important;
        width: 250px !important;
        height: 370px !important;
        opacity: 1;
        transform: scale(1) !important;
        filter: blur(0) grayscale(0);
        z-index: 10;
    }

    .carousel-window {
        height: 400px !important;
    }
}

/* RODAPÉ (FOOTER) */
.site-footer {
    background-color: #ededed;
    /* Cinza claro correspondente */
    padding: 3rem 1rem 1rem;
    color: #333;
    font-size: 0.95rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 60px;
    /* Ajuste baseado na imagem */
}

.footer-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-weight: 700;
}

.footer-nav a {
    text-decoration: none;
    color: #000;
}

.footer-contact p {
    margin: 0.2rem 0;
    font-weight: 600;
    color: #000;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #444;
    /* Círculos cinza escuro */
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.footer-social a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a[aria-label="Instagram"]:hover {
    background-color: #E1306C;
    /* Rosa Instagram */
}

.footer-legal {
    width: 100%;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    border: none;
    /* Visual limpo conforme referência */

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: #222;
}

.footer-legal a {
    text-decoration: none;
    color: #222;
}

@media (max-width: 900px) {
    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* --- SCROLL REVEAL CLASSE BASE --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA SECTION NO INDEX --- */
.cta-section {
    background-color: #f7f9fc;
    padding: 6rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    color: #FFA51F;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-container p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cta-btn {
    background-color: #FFA51F !important;
    color: #ffffff !important;
}

.cta-btn:hover {
    background-color: #f0a800 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 165, 31, 0.3);
}

/* --- SEÇÃO PARCEIRO: HERO --- */
.partner-hero {
    background: #FFA51F;
    padding: 3.5rem 2rem 120px 2rem; /* Alterado padding inferior para abrir espaço para a barra absoluta maior no desktop */
    position: relative;
    color: white;
    height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.partner-hero-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.partner-hero-text {
    width: 680px; /* Aumentado para evitar quebra de linha */
    max-width: 100%;
    text-align: left;
}

.partner-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: inline-block;
    border-bottom: 4.5px solid #1f3dbb; /* Sublinhado azul */
    padding-bottom: 12px;
    white-space: nowrap; /* Sem quebra de linha no desktop */
}

.highlight-blue {
    color: #1f3dbb;
    display: inline;
}

.partner-hero-text p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-solicitar {
    display: inline-block;
    background: #1f3dbb;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-solicitar:hover {
    background: #0A1E86;
    color: #fff;
    transform: translateY(-2px);
}

.partner-hero-banners {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    transform: translateX(110px);
}

.partner-hero-banners img {
    max-width: 100%;
    height: auto;
    border-radius: 50px 0 0 50px;
}

/* Opções do Hero Parceiro */
.partner-hero-options {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 120px !important; /* Aumentado para 120px no desktop */
    z-index: 10 !important;
    background-color: #DA8B16 !important; /* Cor sólida, não transparente */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.partner-hero-options img {
    height: auto !important;
    max-height: 100px !important; /* Aumentado de 75px para 100px no desktop para expandir a escala devido ao aspect ratio */
    width: 100% !important;
    max-width: 1180px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 900px) {
    .partner-hero {
        height: auto;
        min-height: auto;
        padding: 6.5rem 1rem 90px !important; /* Aumentado padding inferior para abrir espaço para a barra absoluta no mobile */
        position: relative !important;
    }

    .partner-hero-main {
        flex-direction: column;
        text-align: center;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .partner-hero-text {
        width: 100%;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .partner-hero-text h1 {
        font-size: 2.2rem;
        white-space: normal;
        display: inline-block;
        border-bottom: 3px solid #1f3dbb;
        padding-bottom: 8px;
    }

    .partner-hero-banners {
        display: none !important;
    }

    .partner-hero-options {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 75px !important;
        z-index: 10 !important;
        background-color: #DA8B16 !important; /* Cor sólida, não transparente */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .partner-hero-options img {
        width: 98% !important; /* Aumentado de 96% para 98% */
        max-width: 100% !important;
        max-height: 58px !important; /* Aumentado de 42px para 58px */
        height: auto !important;
        object-fit: contain !important;
    }
}

/* --- SEJA PARCEIRO: JOURNEY --- */
.partnership-journey {
    padding: 5rem 2rem;
    background: #fff;
    text-align: center;
}

.journey-subtitle {
    color: #ffb703;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.journey-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    font-style: italic;
}

.journey-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.journey-step {
    flex: 1;
    position: relative;
    text-align: left;
    padding: 1rem;
}

.step-bg {
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 165, 31, 0.12);
    z-index: 1;
    line-height: 1;
}

.journey-step h3 {
    position: relative;
    z-index: 2;
    color: #0A1E86;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.journey-step p {
    position: relative;
    z-index: 2;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.journey-step.divider {
    flex: 0;
    min-width: 20px;
    height: 1px;
    background: #eee;
    margin-top: 30px;
    border-top: 2px dotted #ccc;
    background: none;
}

/* --- SEJA PARCEIRO: CONTACT SPLIT --- */
.partner-contact-section {
    padding: 4rem 2rem 6rem;
    background: #f4f6fa;
}

.partner-split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
}

.partner-blue-card {
    flex: 1;
    background: #001C8F;
    border-radius: 20px;
    padding: 3rem;
    color: white;
}

.partner-form-card {
    flex: 1.2;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.partner-icon {
    width: 60px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1) sepia(1) saturate(10000%) hue-rotate(20deg);
    /* Faz a imagem ficar amarela para simular o SVG no print, como gambiarra limpa */
}

.partner-icon {
    filter: none;
    /* Actually, we will just keep it normal or just insert inline svg later, but keeping normal is fine */
}

.highlight-yellow {
    color: #ffb703;
}

.partner-blue-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-style: italic;
}

.partner-checklist {
    list-style: none;
    margin-bottom: 3rem;
}

.partner-checklist li {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.partner-checklist li::before {
    content: "✓";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 2px solid #ffb703;
    border-radius: 50%;
    color: #ffb703;
    font-size: 0.7rem;
    font-weight: bold;
}

.partner-contact-direct {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.partner-contact-direct span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.partner-contact-direct strong {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 5px;
}

/* White Form Elements */
.partner-form-card h2 {
    font-size: 1.8rem;
    color: #FFA51F;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.partner-form-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.partner-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row.full {
    flex-direction: column;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-group input,
.form-group select {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #f4f6fa;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0A1E86;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 30, 134, 0.1);
}

.btn-whatsapp-yellow {
    width: 100%;
    margin-top: 1rem;
    background: #ffb703;
    color: #000;
    border: none;
    padding: 1.1rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp-yellow:hover {
    background: #f0a800;
    transform: translateY(-2px);
}

/* Responsividade Geral */
@media (max-width: 900px) {
    .partner-split-container {
        flex-direction: column;
    }

    .journey-grid {
        flex-direction: column;
    }

    .journey-step.divider {
        display: none;
    }

    .step-bg {
        top: -20px;
    }

    .journey-step {
        margin-bottom: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ================================================= */
/* AJUSTE FINAL - BANNER HOME */
/* ================================================= */

/* Posicionamento do bloco de texto */
.hero.home-hero .hero-text {
    position: absolute !important;
    /* Verticalmente: 28-32% de cima */
    top: 28% !important;
    /* Horizontalmente: 8% da borda esquerda */
    left: clamp(60px, 8%, 160px) !important;
    z-index: 10 !important;
    /* Largura: ~46% do banner para caber antes da imagem da criança */
    max-width: clamp(380px, 46%, 660px) !important;
    text-align: left !important;
}

/* Título: "Conheça o Futuro da" em BRANCO */
.hero.home-hero .hero-text h1 {
    font-size: clamp(2rem, 3.2vw, 3.8rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
}

/* "Educação Tecnológica" em AZUL */
.hero.home-hero .hero-text h1 span {
    color: #1f6dff !important;
    display: block !important;
}

/* Linha azul abaixo do título */
.hero.home-hero .hero-text .hero-line {
    width: 100% !important;
    height: 3px !important;
    background: #1f6dff !important;
    margin: 0.9rem 0 1.1rem !important;
    display: block !important;
}

/* Parágrafo em BRANCO */
.hero.home-hero .hero-text p {
    font-size: clamp(0.85rem, 1.15vw, 1.2rem) !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* ================================================= */
/* SEÇÃO DE CONTATO DA HOME (LARANJA COM MAPA)       */
/* ================================================= */

.home-contact-section {
    background-color: #ffffff; /* Fundo branco da seção externa */
    padding: 5rem 2rem;
    width: 100%;
}

.home-contact-container {
    background-color: #FFA51F; /* Fundo laranja limitado ao retângulo */
    border-radius: 24px; /* Bordas arredondadas */
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Sombra suave */
}

/* Coluna do Formulário */
.contact-form-col h2 {
    color: #1966FF; /* Tom de azul exato solicitado: 1966FF */
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-form-col .contact-subtitle {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 500;
}

.home-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.home-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.home-contact-form .form-row.full {
    grid-template-columns: 1fr;
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    background-color: #FFFFFF;
    border: none;
    border-radius: 12px; /* Cantos arredondados */
    padding: 1rem 1.2rem;
    font-size: 1rem;
    color: #333333;
    font-family: inherit;
    transition: all 0.3s ease;
}

.home-contact-form input::placeholder,
.home-contact-form textarea::placeholder {
    color: #777777;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 102, 255, 0.2);
}

.home-contact-form textarea {
    resize: vertical;
}

.btn-send-contact {
    align-self: flex-start;
    background-color: #1966FF; /* Tom de azul exato solicitado: 1966FF */
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-send-contact:hover {
    background-color: #004de6; /* Azul ligeiramente mais escuro para o hover */
    transform: translateY(-2px);
}

.btn-send-contact:active {
    transform: translateY(0);
}

/* Coluna do Mapa */
.contact-map-col {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-map-col iframe {
    width: 100%;
    height: 480px;
    border-radius: 16px; /* Cantos arredondados do mapa */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Responsivo */
@media (max-width: 992px) {
    .home-contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }
    
    .contact-map-col iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .home-contact-section {
        padding: 3rem 1rem;
    }
    
    .home-contact-container {
        padding: 2rem 1.2rem;
        border-radius: 16px;
    }
    
    .home-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .btn-send-contact {
        width: 100%;
        text-align: center;
    }
}

/* Responsividade do Banner da Home (Home-Hero) */
@media (max-width: 1024px) {
    .hero.home-hero {
        height: auto !important;
        min-height: 550px !important;
        max-height: unset !important;
        padding-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Pushes text to top and bottom bar to bottom */
        align-items: center;
    }

    .hero-bg {
        background-size: cover !important;
        background-position: 65% center !important; /* Centers the kid beautifully */
    }

    .hero.home-hero .hero-text {
        position: static !important;
        max-width: 90% !important;
        text-align: center !important;
        margin: 3rem auto 2rem !important;
        transform: none !important;
    }

    .hero.home-hero .hero-text h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        text-align: center !important;
    }

    .hero.home-hero .hero-text h1 span {
        display: inline !important;
    }

    .hero.home-hero .hero-text p {
        font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
        text-align: center !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero.home-hero {
        padding-bottom: 0 !important;
        min-height: 500px !important;
    }
    
    .hero-bottom-bar {
        height: 75px !important; /* Aumentado de 70px */
        width: 450px; 
    }
    
    .hero-bottom-bar img {
        padding: 10px 0 !important; /* Padding vertical no mobile */
    }
}
