:root {
    --azul-principal: #278CB0;
    --azul-escuro: #1E6B84;
    --azul-profundo: #15566B;
    --azul-claro: #5FA8C1;
    --branco: #FEFEFE;
    --cinza-claro: #F5F8FA;
    --cinza-medio: #65696e;
    --cinza-borda: #E5E7EB;
    --verde: #91B343;
    --verde-lima: #BFD042;
    --magenta: #BF2C66;
    --rosa-escuro: #B03B6A;
    --laranja: #E19134;
    --bordo: #87415A;
    --sombra: 0 10px 30px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--cinza-claro);
    color: #1F2937;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    background: transparent !important;
    padding: 0;
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-buttons .btn {
    border: 0;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   BRILHO DOS BOTÕES
========================================================= */

.nav-buttons .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-50deg);
    animation: luzPassando 10s infinite ease-in-out;
}

@keyframes luzPassando {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}


/* =========================================================
   HOVER DOS BOTÕES
========================================================= */

.nav-buttons .btn:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}


/* =========================================================
   BOTÃO VISITANTES
========================================================= */

.btn-visitantes {
    background: var(--verde);
    color: white;
}

.btn-visitantes:hover {
    background: #7f9f35;
    color: white;
    transform: translateY(-2px);
}


/* =========================================================
   BOTÃO EXPOSITORES
========================================================= */

.btn-expositores {
    background: var(--magenta);
    color: white;
}

.btn-expositores:hover {
    background: var(--rosa-escuro);
    color: white;
    transform: translateY(-2px);
}


/* =========================================================
   BOTÃO MENU MOBILE
========================================================= */

.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: var(--azul-escuro);
    border: none !important;
    box-shadow: var(--sombra);
    transition:
        background 0.5s ease,
        transform 0.5s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    background: var(--azul-profundo);
    box-shadow: var(--sombra);
}

.mobile-menu-btn .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    background: var(--azul-principal);
    overflow: hidden;
}

.hero-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: -5.5rem;
}


/* =========================================================
   CAROUSEL
========================================================= */

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    min-height: 520px;
    height: 560px;
    padding: clamp(2rem, 4vw, 4rem);
    overflow: hidden;
}

.carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 10;
}


/* =========================================================
   ALINHAMENTO VERTICAL DOS CARDS
========================================================= */

/*
   O card fica centralizado verticalmente dentro do slide.
   O conteúdo interno não é alterado.

   IMPORTANTE:
   O .card-header continua normalmente à esquerda.
*/

.carousel-item.active,
.carousel-item.carousel-item-next,
.carousel-item.carousel-item-prev {
    align-items: center;
    justify-content: center;
}


/* =========================================================
   CARD BASE
========================================================= */

.card {
    width: 100%;
    max-width: 100%;
    border: none;
    color: white;
    font-size: clamp(0.85rem, 1.5vw, 1.2rem);
    font-weight: 600;
    overflow: hidden;
    box-sizing: border-box;
}

.card-header {
    margin-left: 15px;
}


/* =========================================================
   CARD 1
========================================================= */

.card-um {
    background: var(--laranja);
}

.carousel-item-um {
    background: var(--laranja);
    flex-direction: column;
}


/* =========================================================
   CARD 2
========================================================= */

.card-dois {
    background: rgba(191, 44, 103, 0.123);
}

.header-dois {
    background: var(--verde-lima);
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: clamp(60px, 8vw, 80px);
    height: clamp(40px, 5vw, 50px);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
}

.carousel-item-dois {
    background: rgba(191, 44, 102);
}


/* =========================================================
   CARD 3
========================================================= */

.header-tres {
    background: rgba(0, 0, 0, 0.788);
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: clamp(60px, 8vw, 80px);
    height: clamp(40px, 5vw, 50px);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
}

.carousel-item-tres {
    background: var(--azul-claro);
}

.card-tres {
    background: var(--azul-claro);
}


/* =========================================================
   CARD 4
========================================================= */

.header-quatro {
    background: var(--laranja);
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: clamp(60px, 8vw, 80px);
    height: clamp(40px, 5vw, 50px);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
}

.carousel-item-quatro {
    background: var(--verde-lima);
}

.card-quatro {
    background: var(--verde-lima);
}

.card-quatro p {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   CARD 5
========================================================= */

.header-cinco {
    background: var(--azul-profundo);
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: clamp(60px, 8vw, 80px);
    height: clamp(40px, 5vw, 50px);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
}

.carousel-item-cinco {
    background: var(--laranja);
}

.card-cinco {
    background: var(--laranja);
}


/* =========================================================
   PRIMEIRO CARD - DESTAQUE
========================================================= */

.carousel-item-um .card-um {
    width: 100%;
    max-width: 1100px;
    min-height: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}


/* =========================================================
   CONTEÚDO DO PRIMEIRO CARD
========================================================= */

.carousel-item-um .card-body {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================================
   LABEL
========================================================= */

.card-label {
    display: inline-block;
    padding:
        clamp(5px, 1vw, 8px) clamp(12px, 2vw, 20px);
    margin-bottom: clamp(10px, 2vw, 18px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px !important;
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    font-weight: 900;
    letter-spacing: clamp(1px, 0.5vw, 3px);
}

.card-title {
    font-weight: bold;
}


/* =========================================================
   TÍTULO PRINCIPAL
========================================================= */

.card-title-destaque {
    font-size: clamp(1.8rem, 4vw, 4rem) !important;
    font-weight: 900 !important;
    line-height: 1.05;
    margin-top: 0;
    margin-bottom: clamp(12px, 2vw, 25px);
    text-transform: uppercase;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.card-title-destaque strong {
    display: block;
    font-size: 1.15em;
}


/* =========================================================
   TEXTO
========================================================= */

.carousel-item-um .card-text {
    width: 100%;
    max-width: 750px;
    margin:
        0 auto clamp(15px, 2vw, 25px);
    font-size: clamp(0.9rem, 1.5vw, 1.25rem);
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: normal;
}

.carousel-item-um .card-text strong {
    font-weight: 900;
}


/* =========================================================
   CARDS INTERNOS DO CAROUSEL
========================================================= */

.carousel-item .card {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-item .card-body {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.carousel-item .card-body>* {
    max-width: 100%;
}

.carousel-item p,
.carousel-item li,
.carousel-item td,
.carousel-item th {
    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================================
   TABELAS DO CAROUSEL
========================================================= */

.carousel-item .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(0.72rem, 1.1vw, 1rem);
    table-layout: fixed;
    word-break: normal;
    overflow-wrap: anywhere;
}

.carousel-item .table th,
.carousel-item .table td {
    padding: clamp(0.45rem, 1vw, 0.8rem);
    vertical-align: middle;
    overflow-wrap: anywhere;
    word-break: normal;
}

.carousel-item .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}


/* =========================================================
   ELEMENTOS BOOTSTRAP DENTRO DOS CARDS
========================================================= */

.carousel-item .container,
.carousel-item .container-fluid,
.carousel-item .row,
.carousel-item [class*="col-"] {
    max-width: 100%;
}

.carousel-item .row {
    margin-left: 0;
    margin-right: 0;
}

.carousel-item [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-title {
    background: linear-gradient(135deg,
            var(--azul-escuro),
            var(--azul-principal));
    color: white;
    padding: 55px 20px;
    text-align: center;
}

.hero-title h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-title p {
    margin: 12px 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
}


/* =========================================================
   PROGRAMAÇÃO
========================================================= */

.programacao {
    padding: 55px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--magenta);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title h2 {
    color: var(--azul-escuro);
    font-weight: 800;
    margin: 0;
}

.section-title p {
    color: var(--cinza-medio);
    margin-top: 10px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    padding: 70px 0;
}

.faq-section:nth-of-type(even) {
    background: white;
}

.faq-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.faq-card {
    background: white;
    box-shadow: var(--sombra);
    overflow: hidden;
    border: 1px solid var(--cinza-borda);
}

.faq-section:nth-of-type(even) .faq-card {
    background: var(--cinza-claro);
}

.accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--cinza-borda);
}

.accordion-item:last-child {
    border-bottom: 0;
}

.accordion-button {
    background: transparent;
    color: var(--azul-escuro);
    font-weight: 700;
    font-size: 1rem;
    padding: 22px 25px;
    box-shadow: none !important;
    transition:
        background 0.5s ease,
        color 0.5s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(39, 140, 176, 0.08);
    color: var(--azul-escuro);
}

.accordion-button::after {
    background-size: 16px;
    transition: transform 0.5s ease;
}

.accordion-body {
    padding: 0 25px 25px;
    color: var(--cinza-medio);
    line-height: 1.7;
}

.accordion-body ul {
    margin-top: 15px;
    margin-bottom: 0;
}

.accordion-body li {
    margin-bottom: 6px;
}


/* =========================================================
   BADGES DAS SEÇÕES
========================================================= */

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.badge-visitantes {
    background: rgba(145, 179, 67, 0.15);
    color: #66821f;
}

.badge-expositores {
    background: rgba(191, 44, 102, 0.12);
    color: var(--magenta);
}


/* =========================================================
   BOTÃO VOLTAR AO TOPO
========================================================= */

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    background: var(--azul-escuro);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: var(--sombra);
    transition:
        background 0.5s ease,
        transform 0.5s ease;
    z-index: 999;
}

.back-top:hover {
    background: var(--azul-principal);
    color: white;
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: var(--azul-profundo);
    color: white;
    padding: 35px 20px;
    text-align: center;
}

footer p {
    margin: 5px 0;
    opacity: 0.9;
}

.footer-small {
    font-size: 0.85rem;
    opacity: 0.7;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 769px) {

    .mobile-menu-btn {
        display: none !important;
    }

    .nav-buttons {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 5rem !important;
        width: auto;
    }

    .hero-banner {
        margin-top: -5.5rem;
    }

    .carousel-item {
        height: 560px;
        min-height: 560px;
        padding:
            clamp(2rem, 4vw, 4rem) clamp(3rem, 7vw, 7rem);
    }

    .carousel-item-um .card-um {
        min-height: 100%;
        height: auto;
    }

    .carousel-item-um .card-body {
        max-width: 900px;
    }
}


/* =========================================================
   TABLETS
========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .carousel-item {
        height: 600px;
        min-height: 600px;
        padding: 2.5rem 4rem;
    }

    .carousel-item-um .card-body {
        max-width: 850px;
        padding: 2rem;
    }

    .card-title-destaque {
        font-size: clamp(2rem, 5vw, 3.2rem) !important;
    }

    .carousel-item .table {
        font-size: 0.85rem;
    }

    .carousel-item .table th,
    .carousel-item .table td {
        padding: 0.55rem;
    }
}


/* =========================================================
   RESPONSIVIDADE MOBILE
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       NAVBAR
    ===================================================== */

    .navbar {
        padding: 0;
    }

    .navbar .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        justify-content: center !important;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }


    /* =====================================================
       BOTÃO HAMBÚRGUER
    ===================================================== */

    .mobile-menu-btn {
        display: flex;
        width: 100vw;
        max-width: 100vw;
        height: 46px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        align-items: center;
        justify-content: center;
        background: var(--azul-escuro);
        border: none !important;
        box-shadow: var(--sombra);
        transition:
            background 0.5s ease,
            transform 0.5s ease;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:focus {
        background: var(--azul-profundo);
        box-shadow: var(--sombra);
    }

    .mobile-menu-btn .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }


    /* =====================================================
       MENU MOBILE
    ===================================================== */

    .nav-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0;
        margin-top: 0 !important;
        overflow: hidden;
        position: absolute;
        top: 46px;
        left: 0;
        z-index: 1100;
    }


    /* =====================================================
       ANIMAÇÃO COLLAPSE
    ===================================================== */

    .nav-buttons.collapsing {
        height: 0 !important;
        transition:
            height 0.8s ease-in-out;
    }

    .nav-buttons.collapse {
        transition:
            height 0.8s ease-in-out;
    }

    .nav-buttons.collapse.show {
        margin-top: 12px !important;
    }


    /* =====================================================
       BOTÕES INTERNOS
    ===================================================== */

    .nav-buttons .btn {
        width: auto;
        min-width: 180px;
        font-size: 0.9rem;
        padding: 10px 18px;
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.15);
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 0.6s ease,
            transform 0.7s ease,
            background 0.4s ease;
    }


    /* =====================================================
       BOTÕES QUANDO ABERTO
    ===================================================== */

    .nav-buttons.show .btn {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-buttons.show .btn:nth-child(1) {
        transition-delay: 0.15s;
    }

    .nav-buttons.show .btn:nth-child(2) {
        transition-delay: 0.25s;
    }


    /* =====================================================
       HEADER MOBILE
    ===================================================== */

    header {
        position: relative;
        z-index: 1000;
    }

    .navbar {
        position: relative;
        z-index: 1000;
    }


    /* =====================================================
       BANNER
    ===================================================== */

    .hero-banner {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 0;
    }

    .nav-buttons.show,
    .nav-buttons.collapsing {
        z-index: 1100;
    }


    /* =====================================================
       CAROUSEL MOBILE
    ===================================================== */

    .carousel {
        width: 100%;
        overflow: hidden;
    }

    /*
       IMPORTANTE:
       Todos os slides possuem uma altura mínima.
       O card é centralizado verticalmente dentro dessa área.
    */

    .carousel-item {
        height: auto;
        min-height: 530px;
        padding:
            1.5rem 1rem;

        /*
           Centraliza TODOS os cards verticalmente.
        */
        align-items: center;
        justify-content: center;
    }

    /*
       Garante o alinhamento também durante
       a troca/animacão do Bootstrap Carousel.
    */
    .carousel-item.active,
    .carousel-item.carousel-item-next,
    .carousel-item.carousel-item-prev {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-item .card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .carousel-item .card-body {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem;
        overflow-wrap: anywhere;
    }


    /* =====================================================
       PRIMEIRO CARD MOBILE
    ===================================================== */

    .carousel-item-um {
        padding: 1rem;
        align-items: center;
        justify-content: center;
    }

    .carousel-item-um .card-um {
        width: 100%;
        max-width: 100%;
        min-height: 400px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .carousel-item-um .card-body {
        width: 100%;
        max-width: 100%;
        padding:
            1.5rem 1rem;
    }


    /* =====================================================
       TÍTULO MOBILE
    ===================================================== */

    .card-title-destaque {
        font-size: clamp(1.6rem,
                8vw,
                2.7rem) !important;

        line-height: 1.05;
        margin-bottom: 1rem;
        overflow-wrap: anywhere;
    }


    /* =====================================================
       TEXTO MOBILE
    ===================================================== */

    .carousel-item-um .card-text {
        width: 100%;
        max-width: 100%;
        margin:
            0 auto 1.25rem;

        font-size: clamp(0.85rem,
                3.5vw,
                1rem);

        line-height: 1.5;
        overflow-wrap: anywhere;
    }


    /* =====================================================
       LABEL
    ===================================================== */

    .card-label {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        padding:
            5px 12px;
        margin-bottom: 12px;
    }


    /* =====================================================
       TABELAS MOBILE
    ===================================================== */

    .carousel-item .table {
        width: 100%;
        table-layout: fixed;
        font-size: 0.72rem;
        margin-bottom: 0;
    }

    .carousel-item .table th,
    .carousel-item .table td {
        padding: 0.4rem;
        vertical-align: middle;
        overflow-wrap: anywhere;
        word-break: normal;
        white-space: normal;
    }

    .carousel-item .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }


    /* =====================================================
       COLUNAS BOOTSTRAP
    ===================================================== */

    .carousel-item .row {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .carousel-item [class*="col-"] {
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero-title {
        padding: 35px 15px;
    }


    /* =====================================================
       FAQ
    ===================================================== */

    .faq-section {
        padding: 50px 15px;
    }

    .accordion-button {
        padding: 18px;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding:
            0 18px 20px;
    }
}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 480px) {

    .navbar {
        padding: 0;
    }

    .mobile-menu-btn {
        width: 100vw;
        height: 42px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .nav-buttons {
        gap: 6px;
    }

    .nav-buttons .btn {
        min-width: 170px;
        font-size: 0.82rem;
        padding: 9px 12px;
    }

    .hero-banner {
        width: 100%;
        height: auto;
    }


    /* =====================================================
       CAROUSEL PEQUENO
    ===================================================== */

    .carousel-item {
        height: auto;
        min-height: 530px;
        padding:
            1rem 0.65rem;

        align-items: center;
        justify-content: center;
    }

    .carousel-item.active,
    .carousel-item.carousel-item-next,
    .carousel-item.carousel-item-prev {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-item-um {
        padding: 0.65rem;
        align-items: center;
        justify-content: center;
    }

    .carousel-item-um .card-um {
        min-height: 430px;
        height: auto;
    }

    .carousel-item-um .card-body {
        padding:
            1.25rem 0.75rem;
    }

    .card-title-destaque {
        font-size: 1.7rem !important;
        line-height: 1.05;
    }

    .carousel-item-um .card-text {
        font-size: 0.85rem;
        line-height: 1.45;
    }


    /* =====================================================
       TABELAS MUITO PEQUENAS
    ===================================================== */

    .carousel-item .table {
        font-size: 0.65rem;
    }

    .carousel-item .table th,
    .carousel-item .table td {
        padding: 0.3rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 360px) {

    .carousel-item {
        padding:
            0.6rem 0.4rem;

        min-height: 500px;
        align-items: center;
        justify-content: center;
    }

    .carousel-item.active,
    .carousel-item.carousel-item-next,
    .carousel-item.carousel-item-prev {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-item-um {
        padding: 0.4rem;
    }

    .carousel-item-um .card-body {
        padding:
            1rem 0.6rem;
    }

    .card-title-destaque {
        font-size: 1.45rem !important;
    }

    .carousel-item-um .card-text {
        font-size: 0.78rem;
    }

    .carousel-item .table {
        font-size: 0.6rem;
    }

    .carousel-item .table th,
    .carousel-item .table td {
        padding: 0.25rem;
    }
}


/* =========================================================
   TÍTULOS DOS GRUPOS FAQ
========================================================= */

h4 {
    color: var(--azul-escuro);
    font-weight: 700;
}

.kids-info {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 20px;
    padding: 10px 0 10px 12px;

    border-left: 4px solid var(--laranja);
}

.kidsicon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0;

    filter:
        brightness(0)
        saturate(100%)
        invert(62%)
        sepia(70%)
        saturate(900%)
        hue-rotate(350deg)
        brightness(82%)
        contrast(100%);
}

.carousel-item-quatro.active .kidsicon {
    animation: ferris-spin 1.5s ease-in-out;
}

@keyframes ferris-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



.kids-info p {
    margin: 0;
    line-height: 1.4;
}

/* =========================================================
   AJUSTE FINAL — CENTRALIZAÇÃO VERTICAL DOS CARDS
   Apenas o card é reposicionado; o conteúdo interno permanece
   com o alinhamento original.
========================================================= */

.carousel-item.active,
.carousel-item.carousel-item-next,
.carousel-item.carousel-item-prev {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item>.card {
    height: auto !important;
    min-height: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.carousel-item-um>.card-um {
    min-height: 0;
    height: auto !important;
}

/* =========================================================
   AJUSTE FINAL — CENTRALIZAÇÃO DO CARD SEM ALTERAR O CONTEÚDO
========================================================= */

@media (min-width: 769px) {

    .carousel-item.active,
    .carousel-item.carousel-item-next,
    .carousel-item.carousel-item-prev {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-item .card {
        height: auto !important;
        min-height: 0 !important;
        margin-top: auto;
        margin-bottom: auto;
    }

    .carousel-item-um .card-um {
        height: auto !important;
        min-height: 0 !important;
    }
}