:root {
    --primary-color: #003366; /* Azul Escuro */
    --secondary-color: #1a1a1a; /* Quase Preto */
    --secondary-color-light: #2c2c2c; /* Cinza Escuro */
    --accent-color: #f8e595; /* Amarelo/Dourado (para detalhes, talvez um amarelo mais vibrante) */
    --text-light: #cccccc; /* Cinza Claro para textos */
    --white: #ffffff;
    --black: #000000;
    --max-width: 1200px;
}

/* ========= Animated Background (Deeper and More Dynamic) =========*/
@keyframes bg-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float-light-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(60px, -60px) scale(1.3); opacity: 0.9; }
    66% { transform: translate(-40px, 40px) scale(0.9); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

@keyframes float-light-2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(-60px, 60px) scale(0.9); opacity: 0.8; }
    66% { transform: translate(40px, -40px) scale(1.2); opacity: 0.4; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
}

.bg-animated {
    background: linear-gradient(
        -45deg,
        #0a0a0a,
        #001a33,
        #0d1b2e,
        #1a1a1a,
        #002244,
        #111111
    ) !important;
    background-size: 400% 400% !important;
    animation: bg-shift 15s ease infinite;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: -1px; /* Fecha gap de renderização entre elementos */
}

/* Pseudo-elementos luminosos flutuantes */
.bg-animated::before,
.bg-animated::after {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(90px); /* Suaviza as bordas para criar efeito de "luz" */
    z-index: -1; /* Joga pra trás do texto, mas na frente do background da .bg-animated porque ela tem z-index:1 */
    pointer-events: none; /* Não interfere com cliques */
}

.bg-animated::before {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.45) 0%, transparent 65%); /* Azul elétrico */
    animation: float-light-1 14s ease-in-out infinite alternate;
}

.bg-animated::after {
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(248, 229, 149, 0.25) 0%, transparent 65%); /* Luz amarela mais evidente */
    animation: float-light-2 18s ease-in-out infinite alternate;
}

/* O conteúdo das sessões animadas precisa de z-index para ficar acima das luzes */
.bg-animated > .section__container {
    position: relative;
    z-index: 1;
}

/* Wrapper principal: sobrepõe o final do header com transparência gradual */
.bg-animated-wrapper {
    margin-top: -8rem; /* Sobe para cobrir o final do header */
    position: relative;
    z-index: 2; /* Fica acima do header para o efeito funcionar */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 8rem);
    mask-image: linear-gradient(to bottom, transparent 0, black 8rem);
}

/* ========= Base Styling & Typography =========*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

body, html {
    overflow-x: hidden; /* Evita vazamento lateral no mobile */
}

.section__header {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--white);
}

.section__subheader {
    position: relative;
    isolation: isolate;
    margin-bottom: 1rem;
    padding-left: 20px;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--accent-color);
    text-align: center;
}

.section__subheader::after {
    position: absolute;
    content: "";
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    height: 45px;
    width: 45px;
    background-color: rgba(228, 225, 60, 0.075); /* Versão mais suave da primary-color */
    border-radius: 50%; /* Círculo para o efeito */
    z-index: -1;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--white);
    background-color: var(--secondary-color);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.9rem 1.8rem;
    outline: none;
    font-size: 1rem;
    color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid transparent;
    will-change: transform; /* OTIMIZAÇÃO: Indica que a propriedade transform será alterada */
}

.btn__secondary {
    background-color: transparent;
    border-color: var(--white);
}

.btn__primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn span {
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.4);
    transform: translateY(-3px); /* Leve levantada no hover */
}

.btn__secondary:hover {
    background-color: rgba(0, 51, 102, 0.2); /* Fundo sutil */
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn:hover span {
    transform: translateX(5px);
}

.btn--small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 4px;
}

/* Botão "Saiba Mais" dos cards de serviço */
.service__card-side .btn--small {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transition: all 0.3s ease; 
    align-self: flex-start; 
    margin-top: 0.5rem; 
}

.service__card-side .btn--small:hover {
    background-color: var(--primary-color) !important;
    border-color: transparent !important;
    color: var(--accent-color) !important;
}

.service__card-side .btn--small:hover span {
    transform: none; /* Remove o translateX do span, a rotação do botão já é o efeito */
}

img {
    display: block; /* Use block para evitar espaço extra abaixo da imagem */
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.para {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========= Header & Navigation =========*/
header {
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.55)
    ),
    url("./images/farol.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Base do header, mas acima do background-image */
    overflow: hidden;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* Opacidade total para cobrir o farol */
}

/* Overlay escuro para garantir leitura independente do vídeo */
.hero__video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Overlay para contraste do texto */
}

/* Fade suave na borda inferior do header, fundindo com a seção seguinte */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Cobre boa parte de baixo para degradê suave */
    background: linear-gradient(to bottom, transparent 0%, rgba(17, 17, 17, 0.7) 65%, #111111 100%);
    pointer-events: none;
    z-index: 1;
}

nav {
    max-width: 100%;
    background-color: transparent; /* Transparente sobre o vídeo */
    padding: 1rem 5rem;
    display: flex; /* Visível desde o início */
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.5s, box-shadow 0.5s;
    z-index: 1000;
    position: absolute; /* Sobreposto ao header/vídeo */
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: none;
}


.nav__logo img {
    max-width: 15rem; /* Ajustado para um tamanho bom */
    height: auto;
    transition: all 0.3s ease;
}

nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background-color: #2c2c2c; /* Tom de cinza */
    padding: 0.2rem 2rem; /* Levemente menor padding vertical */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: nav-slide-down 0.4s ease forwards;
    display: flex;
    justify-content: center; /* Centraliza para aproximar os elementos */
    gap: 35rem;
}

@keyframes nav-slide-down {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

nav.scrolled .nav__logo img {
    max-width: 3.5rem; /* Reduzida conforme solicitado */
    margin: 8px; /* Margem em volta da logo */
}

/* Animação escalonada para os links quando a barra aparece */
nav.scrolled .link {
    opacity: 0;
    transform: translateY(-10px);
    animation: link-entrance 0.4s ease forwards;
}

nav.scrolled .link:nth-child(1) { animation-delay: 0.1s; }
nav.scrolled .link:nth-child(2) { animation-delay: 0.2s; }
nav.scrolled .link:nth-child(3) { animation-delay: 0.3s; }
nav.scrolled .link:nth-child(4) { animation-delay: 0.4s; }

@keyframes link-entrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Novo estilo de hover para os links na barra fixa (mais parecido com botão) */
nav.scrolled .link a {
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.85rem; 
}

nav.scrolled .link a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
}

nav.scrolled .link a::after {
    display: none; /* Remove a linha de baixo no estado scrolled para usar o fundo */
}

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.link a {
    padding: 5px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    transition: 0.3s ease;
    position: relative;
}

.link a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.link a:hover::after {
    width: 100%;
}

.link a:hover {
    color: var(--accent-color);
}

.nav__menu__btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--white);
}

.header__container {
    min-height: 100vh; /* Hero ocupa a tela inteira */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 18rem; /* Aumentado ainda mais para descer o texto e o botão */
    padding-bottom: 8rem;
    position: relative;
    z-index: 2; /* Garante que o conteúdo fique sobre o vídeo */
}

.header__container h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.header__container p {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.3;
}

/* Header animations (for initial load) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards; /* Reduzido de 0.8s para acelerar load site */
    will-change: opacity, transform; /* OTIMIZAÇÃO */
}

.fade-in-up.delay-2 {
    animation-delay: 0.2s; /* Ajustado proporcional */
}

.fade-in-up.delay-4 {
    animation-delay: 0.4s; /* Ajustado proporcional */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão de Contato do Header — Animação Premium */
header .btn.scroll-to-contact {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--primary-color) !important;
    color: var(--accent-color) !important;
    border-color: transparent !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition:
        background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Luz deslizando no botão (shimmer) */
header .btn.scroll-to-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0s;
    pointer-events: none;
    z-index: 1;
}

header .btn.scroll-to-contact:hover::before {
    left: 160%;
    transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

header .btn.scroll-to-contact:hover {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-7px) scale(1.07) !important;
    box-shadow:
        0 8px 25px rgba(248, 229, 149, 0.45),
        0 2px 8px rgba(248, 229, 149, 0.2) !important;
}

/* ========= About Section =========*/
.about {
    background-color: transparent;
    padding-top: 10rem; /* 8rem de overlap + 2rem de respiro */
}

.about__container {
    padding-block: 0;
}

.about__grid {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: #333333;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
}

.about__content .section__header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.about__content .section__subheader {
    text-align: left;
}

.about__content .section__subheader::after {
    left: 0;
    transform: translateY(-50%);
}


.about__content .para {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about__list {
    display: grid;
    gap: 1.5rem;
}

.about__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.about__item span {
    flex-shrink: 0;
    padding: 15px 22px;
    font-size: 2rem;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
}

.about__item:hover span {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(248, 229, 149, 0.35);
}

.about__item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.about__item:hover h4 {
    color: var(--accent-color);
}

.about__prose-list {
    list-style: none; 
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.about__prose-list li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-light);
    padding-left: 1.8rem;
}
.about__prose-list li::before {
    content: "━";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 900;
}

/* ========= Mission Vision Values Section =========*/
.mission-vision-values {
    background-color: transparent;
    padding-top: 2rem;
}

.m-v-v__container {
    padding-top: 0;
}

.m-v-v__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.m-v-v__card {
    background-color: rgba(255, 255, 255, 0.03); /* Fundo translúcido para glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borda fina de vidro */
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    will-change: transform;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Ícone grande decorativo no canto superior direito */
.m-v-v__card-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.15;
    transition: all 0.4s ease;
    line-height: 1;
}

.m-v-v__card:hover .m-v-v__card-icon {
    opacity: 0;
    transform: translateY(-20px) scale(1.3);
}

/* Hover: acende o card */
.m-v-v__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(248, 229, 149, 0.1), 0 5px 20px rgba(0,0,0,0.3);
    background-color: #232323;
}

/* Hint "Clique para saber mais" */
.m-v-v__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--accent-color);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
}

.m-v-v__card:hover .m-v-v__hint {
    opacity: 1;
    transform: translateY(0);
}

.m-v-v__card .section__subheader {
    text-align: left;
    padding-left: 20px;
}

.m-v-v__card .section__subheader::after {
    left: 0;
    transform: translateY(-50%);
}

.m-v-v__card .section__header {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.m-v-v__card .para {
    color: var(--text-light);
    line-height: 1.7;
}

.values__list {
    list-style: none;
    margin-top: 1rem;
}

.values__list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.values__list li span i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* ========= Modal MVV =========*/
.mvv-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mvv-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mvv-modal-box {
    background-color: var(--secondary-color-light);
    border-radius: 14px;
    padding: 3rem;
    max-width: 650px;
    width: 90%;
    position: relative;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: translateY(40px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
    opacity: 0;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--accent-color) transparent; /* Firefox */
}

/* Barra de rolagem customizada (Chrome/Edge/Safari) */
.mvv-modal-box::-webkit-scrollbar {
    width: 4px;
}

.mvv-modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.mvv-modal-box::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}

.mvv-modal-overlay.active .mvv-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.mvv-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.mvv-modal-close:hover {
    color: var(--accent-color);
}

.mvv-modal-content .modal-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.mvv-modal-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.mvv-modal-content .modal-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.mvv-modal-content p,
.mvv-modal-content li {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.mvv-modal-content ul {
    list-style: none;
    margin-top: 1rem;
}

.mvv-modal-content ul li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.mvv-modal-content ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ========= Services Overview Section =========*/
.services-overview {
    background-color: #111111; /* Sólido */
    position: relative;
    z-index: 10; /* Z-index altíssimo para garantir que nada na página o sobreponha (Edge fix) */
    pointer-events: auto !important;
}

.services-overview__container .section__header,
.services-overview__container .section__subheader {
    text-align: center;
}

.services-overview__container .section__subheader::after {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

/* Carrossel de Serviços — Layout Split */
.services-wrapper-globals {
    padding: 0 4rem 3rem 4rem; /* Mesmas margens do depoimento para acomodar setas */
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.servicesSwiper {
    width: 100%;
    max-width: 1100px; /* Largura para manter bela harmonia panorâmica */
    margin: 0 auto;
    height: 400px !important; /* Aumentado para 400px conforme solicitado */
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    pointer-events: auto !important;
}

@media (max-width: 850px) {
    .servicesSwiper {
        height: auto !important; /* Desbloqueia a caixa estática do Desktop */
    }
    .services-wrapper-globals {
        padding: 0 1rem 3rem 1rem; /* Margens mobile do depoimento */
    }
}

.servicesSwiper .swiper-slide {
    height: 100%; /* Garante que o slide ocupe toda a altura do swiper */
    display: flex;
}

@media (max-width: 850px) {
    .servicesSwiper .swiper-slide {
        height: auto !important; /* Destrava do 100% */
        align-items: stretch; /* Cards todos com a mesma altura */
    }
}

.service__split {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 400px !important; /* ALINHA A CAIXA EXATAMENTE À ALTURA FORÇADA */
    min-height: 400px; 
    max-height: 400px; 
    border-radius: 14px;
    background-color: var(--secondary-color-light);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    transition: all 0.4s ease, transform 0.3s ease;
    position: relative;
    z-index: 5;
    pointer-events: auto !important; /* Garante que os hovers funcionem mesmo com bugs no Edge */
}

/* Linha luminosa no hover */
.service__split::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: left 0.55s ease;
    z-index: 2;
}

.service__split:hover::before { left: 100%; }

/* Responsividade do Split */
@media (max-width: 850px) {
    .service__split {
        flex-direction: column;
        height: auto !important; /* Quebra regra de 400px do Desktop */
        min-height: auto !important;
        max-height: none !important;
        border-radius: 14px;
    }
}

.service__split:hover {
    transform: translateY(-5px); /* Efeito 3D para subir no hover igual depoimentos */
    box-shadow: 0 15px 50px rgba(0,0,0,0.5), 0 0 25px rgba(248, 229, 149, 0.05);
    border-color: rgba(248, 229, 149, 0.15);
}

/* Lado do conteúdo (texto) */
.service__card-side {
    flex: 0 0 54%; 
    background: linear-gradient(145deg, #383838, #2e2e2e);
    padding: 1.5rem 2.5rem; /* Respiros confortáveis, já que a altura é de 300px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem; /* Gap restaurado para a leitura elegante */
    border-right: 4px solid var(--accent-color);
    position: relative;
    z-index: 1;
}

@media (max-width: 850px) {
    .service__card-side {
        flex: 1 0 auto; /* Permite crescer mas não encolher mais do que o conteúdo puro */
        border-right: none;
        border-bottom: 4px solid var(--accent-color);
        padding: 1.4rem 1.4rem 1.4rem 1.4rem; /* Reduz drasticamente a "gordura" de padding na base */
        min-height: auto; /* Deixa de forçar lixo vazio no fundo de cartões curtos */
        justify-content: flex-start; /* Alinha o conteúdo ao topo para fluxo legível */
        border-radius: 0 0 14px 14px; /* Casamento macio com imagem acima */
    }
}

.service__card-side h4 {
    font-size: 1.8rem; /* Inalterado */
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
    line-height: 1.2; /* Respiro normal retornado */
    margin: 0;
}

.service__split:hover .service__card-side h4 {
    color: var(--accent-color);
}

.service__card-side p {
    color: var(--text-light);
    line-height: 1.6; /* Leitura retornado ao normal */
    font-size: 1rem; 
    margin: 0 0 0.5rem 0;
}

.service__card-side .service__icon {
    margin-bottom: 0; /* Cortar até a mínima sobra */
}

.service__card-side .service__icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* ORIGINAL intocado */
    height: 60px; 
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 2.1rem; /* TAMANHO ÉPICO INTACTO */
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
}

.service__split:hover .service__icon span {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(248, 229, 149, 0.35);
}

/* Lado da imagem */
.service__image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* min-height removido para permitir formato ultra-retangular */
    position: relative;
    transition: transform 0.6s ease;
}

@media (max-width: 850px) {
    .service__image-side {
        height: 200px; /* Reduz altura da foto para ganhar mais compacidade no card */
        min-height: 200px;
        flex: none; /* Trava o tamanho da imagem para ser exatamente igual em todos os cards */
        order: -1; /* Põe a visualização fotográfica chamativa no TOPO celular ! */
        border-radius: 14px 14px 0 0; /* Arredondamento do topo superior externo */
    }
}

.service__split:hover .service__image-side {
    transform: scale(1.05);
}


/* Setas exclusivas do carrossel de serviços (mesmas settings do depoimentos) */
.services-wrapper-globals .services-prev, 
.services-wrapper-globals .services-next {
    color: var(--accent-color) !important;
    transition: 0.3s ease;
    width: 50px;
    height: 50px;
    background-color: transparent;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
    margin-top: 0;
    position: absolute;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.services-wrapper-globals .services-prev { left: 0; }
.services-wrapper-globals .services-next { right: 0; }

.services-wrapper-globals .services-prev::after,
.services-wrapper-globals .services-next::after {
    font-size: 1.2rem !important;
    font-weight: 900;
}

.services-wrapper-globals .services-prev:hover,
.services-wrapper-globals .services-next:hover {
    transform: translateY(-50%) scale(1.2);
}

.services-wrapper-globals .services-prev:hover::after,
.services-wrapper-globals .services-next:hover::after {
    color: var(--white) !important;
    filter: drop-shadow(0 0 8px var(--accent-color)) drop-shadow(0 0 15px var(--accent-color));
}

/* (Removidas definições antigas de hover pois foram incluídas na global acima) */

/* Removidas definições antigas do hover ::after */

/* Paginação dos serviços */
.services-pagination {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin-top: 0 !important; /* Espaçamento abaixo do card resolvido pelo padding do wrapper */
}

.services-pagination .swiper-pagination-bullet {
    background-color: var(--text-light) !important;
    opacity: 0.5 !important;
}

.services-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
    opacity: 1 !important;
}

/* ========= Detailed Service Sections =========*/
.service-detail-section {
    /* Animado: herda o bg-animated via classe no HTML */
    background-color: #111111;
    padding: 6rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail-section.alt-bg {
    background-color: #0d0d0d;
}

.service-detail__container {
    display: flex;
    justify-content: center;
}

.service-detail__content {
    max-width: 900px;
    text-align: center;
}

.service-detail__content .section__subheader,
.service-detail__content .section__header {
    text-align: center;
}

.service-detail__content .section__subheader::after {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.service-detail__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 800px;
}

.service-detail__images img {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    height: 250px; /* Altura fixa para as imagens dentro da seção detalhada */
}

.service-detail__images.reverse-order img:first-child { order: 2; }
.service-detail__images.reverse-order img:last-child { order: 1; }

.service-features {
    list-style: none;
    text-align: left;
    margin: 2rem auto 3rem;
    max-width: 600px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.service-features li i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* ========= Stats Section (Counters) =========*/
.stats {
    background-color: var(--secondary-color-light);
    background-image: linear-gradient(
        to bottom,
        rgba(180, 140, 0, 0.55), /* Dourado/amarelo semi-transparente */
        rgba(120, 90, 0, 0.75)
    ),
    url("./images/eng 2.jpg"); /* Imagem de fundo para a seção */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Parallax Effect */
    text-align: center;
}

.stats .section__subheader {
    color: var(--white);
    padding-left: 0; /* Remove o padding lateral para centralizar perfeitamente */
}

.stats .section__header {
    color: var(--white);
}

.stats .section__subheader::after {
    background-color: rgba(255, 255, 255, 0.2); /* Círculo branco semi-transparente */
    left: 50%;
    transform: translateX(-50%) translateY(-50%); /* Centraliza o círculo exatamente no meio/atrás da frase */
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start; /* Impede que os vizinhos herdem a altura quando um for focado/aberto no hover */
}

.stat__item {
    background-color: rgba(0, 0, 0, 0.45);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
}

/* Linha luminosa dourada no topo */
.stat__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: left 0.55s ease;
}

.stat__item:hover::before {
    left: 100%;
}

.stat__item:hover {
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 229, 149, 0.1);
    border-color: rgba(248, 229, 149, 0.25);
    transform: translateY(-6px);
}

.stat__item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.stat__item:hover h3 {
    transform: scale(1.08);
}

.stat__item p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Subtexto que aparece no hover */
.stat__detail {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-top: 0.8rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    border-top: 1px solid rgba(248, 229, 149, 0.15);
    padding-top: 0;
}

.stat__item:hover .stat__detail {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 0.8rem;
}



.swiper {
    width: 100%;
    height: 500px; /* Altura fixa para o slider */
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden; /* Garante que as imagens não transbordem */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.swiper-slide {
    display: flex;
    align-items: stretch; /* Troca center por stretch para todos os cards alcançarem a altura máxima do carrossel */
    justify-content: center;
    background-color: transparent; /* Remove var(--secondary-color-light) para não chocar com a split */
}

/* Garante que imagens de swipers padrão não quebrem (Ex: parceiros ou outros simples) */
.swiper-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper navigation and pagination custom styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    font-size: 2.5rem !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem !important; /* Tamanho do ícone de seta */
}

.swiper-pagination-bullet {
    background-color: var(--text-light) !important;
    opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
    opacity: 1 !important;
}


/* ========= Why Choose Us Section =========*/
.why-choose-us {
    background-color: #2e2e2e; /* Cinza mais claro */
}

.why-choose-us__container .section__header,
.why-choose-us__container .section__subheader {
    text-align: center;
}

.why-choose-us__container .section__subheader::after {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.why-choose-us__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem; /* Espaço para o scale não ser cortado */
    overflow: visible; /* Garante que o card que cresce não seja cortado */
}

.reason__card {
    background: linear-gradient(145deg, #505050, #404040);
    padding: 1.4rem 2rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    /* overflow temporariamente comentado para teste de scale */
    will-change: transform;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    z-index: 1; /* z-index base estabelecido */
}

/* Linha luminosa que percorre o topo do card no hover */
.reason__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: left 0.5s ease;
}

.reason__card:hover::before {
    left: 100%;
}

/* Garantindo que o hover afete ESTRITAMENTE o elemento atual no CSS */
.reason__card:hover {
    transform: scale(1.04); /* Escala garantida e segura */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(248, 229, 149, 0.15);
    border-color: rgba(248, 229, 149, 0.3);
    background: linear-gradient(145deg, #5c5c5c, #4a4a4a);
    z-index: 10; /* Leva o card para cima dos outros durante o hover */
}

.reason__card span {
    display: inline-flex;
    flex-shrink: 0; /* Não encolhe */
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0; /* Removido margin-bottom pois agora ficou ao lado */
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
}

.reason__card:hover span {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(248, 229, 149, 0.35);
}

.reason__card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.reason__card:hover h4 {
    color: var(--accent-color);
}

.reason__card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ========= Testimonials Section =========*/
.testimonials {
    background-color: #0d0d0d; /* Sólido escuro */
    padding-bottom: 3rem;
}

.testimonials__container .section__header,
.testimonials__container .section__subheader {
    text-align: center;
}

.testimonials__container .section__subheader::after {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.testimonialSwiper {
    height: auto;
    padding: 2rem 0 4rem 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial__card {
    display: flex;
    justify-content: center;
    width: 100%;
}

.testimonial__split {
    display: flex;
    flex-direction: row;
    background: linear-gradient(145deg, #2a2a2a, #222222);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 100%; /* Garante que preencha toda a altura do slide */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    transition: all 0.4s ease;
}

/* Linha luminosa que percorre o topo no hover */
.testimonial__split::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transition: left 0.55s ease;
    z-index: 2;
}

.testimonial__card:hover .testimonial__split::before {
    left: 100%;
}

.testimonial__card:hover .testimonial__split {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 229, 149, 0.07);
    border-color: rgba(248, 229, 149, 0.18);
    transform: translateY(-4px);
}

.testimonial__image-side {
    flex: 0 0 35%; /* Ocupa 35% da largura */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* Substituído borda grossa por linha discreta */
}

.testimonial__content-side {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Mudado de center para permitir margin-top: auto no botão */
    text-align: left;
}

.testimonial__author {
    font-weight: 800;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.testimonial__location {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.testimonial__text {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic; /* Conforme a foto */
}

.testimonial__company {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
    font-weight: 600;
}

.testimonial__company span {
    color: #555;
    margin-left: 10px;
}

.testimonial__btn {
    align-self: flex-start;
    margin-top: auto; /* Empurra o botão para a base do card uniformemente */
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.testimonial__btn:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-color: transparent;
}

/* Setas de Navegação Personalizadas */
.testimonial-wrapper-globals {
    /* Dar espaço nas laterais para as setas e espaço inferior para bolinhas na versão desktop */
    padding: 0 4rem 3rem 4rem; 
    position: relative; /* Necessário para alinhar a paginação independente do swiper */
}

.testimonialSwiper {
    padding: 0; /* Espaço para paginação movido para o pai */
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-wrapper-globals .swiper-button-next,
.testimonial-wrapper-globals .swiper-button-prev {
    color: var(--accent-color) !important;
    transition: 0.3s ease;
    width: 50px;
    height: 50px;
    background-color: transparent; /* Retirando o fundo se for para imitar a imagem de referência perfeitamente */
    top: calc(50% - 1.5rem); /* Centraliza considerando o padding-bottom do wrapper */
    transform: translateY(-50%);
    margin-top: 0;
}

/* Posiciona as setas fora do card principal, alinhadas ao centro do wrap-global */
.testimonial-wrapper-globals .swiper-button-prev {
    left: 0;
}

.testimonial-wrapper-globals .swiper-button-next {
    right: 0;
}

/* Diminui o tamanho do ícone da seta e ajusta a grossura */
.testimonial-wrapper-globals .swiper-button-next::after,
.testimonial-wrapper-globals .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 900;
}

.testimonial-wrapper-globals .swiper-button-next:hover,
.testimonial-wrapper-globals .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.2);
}

.testimonial-wrapper-globals .swiper-button-next:hover::after,
.testimonial-wrapper-globals .swiper-button-prev:hover::after {
    color: var(--white) !important;
    filter: drop-shadow(0 0 8px var(--accent-color)) drop-shadow(0 0 15px var(--accent-color));
}

/* Ajustar cor e posição das bolinhas de paginação para fora do slider */
.testimonial-wrapper-globals .swiper-pagination {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
}

.testimonial-wrapper-globals .swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
}

@media (max-width: 768px) {
    .testimonial__card {
        height: auto !important; /* Permite que o swiper dite a altura do slide */
        display: flex;
    }
    .testimonial__split {
        flex-direction: column;
        height: 100% !important; /* Força o preenchimento total da altura do slide */
    }
    .testimonial__image-side {
        flex: none;
        height: 250px;
        min-height: 250px;
        border-right: none;
        border-bottom: 5px solid var(--accent-color);
    }
    .testimonial__content-side {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-wrapper-globals {
        padding: 0 1rem 3rem 1rem; /* Remove os 4rem pesados das laterais */
    }
    
    /* Esconder setas de depoimentos em mobile */
    .testimonial-wrapper-globals .swiper-button-prev,
    .testimonial-wrapper-globals .swiper-button-next {
        display: none !important;
    }
}

/* ========= Contact Section =========*/
.about, 
.contact,
.mission-vision-values,
.services-overview,
.testimonials,
.bg-animated-wrapper {
    position: relative;
    overflow: hidden;
}

.bg-animated-wrapper {
    z-index: 2; /* Garante que o conjunto About + MVV fique ACIMA do vídeo */
    overflow: visible; /* Garante que o card da História não seja cortado */
}

.about {
    background-color: transparent;
    position: relative;
    overflow: visible; /* Garante que o card transformado não seja cortado */
}

.contact,
.mission-vision-values,
.services-overview,
.testimonials {
    background-color: #0b0b0b;
}

.mission-vision-values {
    background-color: transparent;
}

/* Grafismo Técnico & Dinamismo Compartilhado: Azul + Ouro (Para Wrapper, Contact, MVV) */
.bg-animated-wrapper.bg-animated,
.contact.bg-animated,
.mission-vision-values.bg-animated {
    background: linear-gradient(-45deg, 
        #050505, 
        #001a33, /* Azul profundo */
        #1a1a1a, 
        #2a2000, /* Ouro profundo/escuro */
        #080808
    ) !important;
    background-size: 400% 400% !important;
    animation: bg-shift 12s ease infinite !important;
}

/* Versão APENAS AZUL (Para Serviços e Depoimentos) */
.services-overview.bg-animated-blue,
.testimonials.bg-animated-blue {
    background: linear-gradient(-45deg, 
        #050505, 
        #00152b, /* Azul muito escuro */
        #002447, /* Azul profundo */
        #003366, /* Azul primário */
        #080808
    ) !important;
    background-size: 400% 400% !important;
    animation: bg-shift 12s ease infinite !important;
}

.about::before,
.contact::before,
.mission-vision-values::before,
.services-overview::before,
.testimonials::before,
.bg-animated-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Grafismo Técnico (Grade/Pontos) para seções Tech */
.bg-animated-wrapper.bg-animated::before,
.contact.bg-animated::before,
.mission-vision-values.bg-animated::before {
    background-image: 
        radial-gradient(rgba(248, 229, 149, 0.05) 1px, transparent 1px), /* Pontos dourados sutis */
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px, 120px 120px, 120px 120px;
}

/* Grafismo sutil para seções Azul */
.services-overview.bg-animated-blue::before,
.testimonials.bg-animated-blue::before {
    background-image: 
        linear-gradient(rgba(0, 102, 204, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Luzes Dinâmicas - AZUL E OURO */
.bg-animated-wrapper.bg-animated::before,
.contact.bg-animated::before,
.mission-vision-values.bg-animated::before {
    background: radial-gradient(circle, rgba(0, 102, 204, 0.3) 0%, transparent 70%) !important;
    animation: float-light-1 12s ease-in-out infinite alternate !important;
}

.bg-animated-wrapper.bg-animated::after,
.contact.bg-animated::after,
.mission-vision-values.bg-animated::after {
    background: radial-gradient(circle, rgba(248, 229, 149, 0.15) 0%, transparent 70%) !important;
    animation: float-light-2 18s ease-in-out infinite alternate !important;
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%; z-index:0;
}

/* Luzes Dinâmicas - APENAS AZUL */
.services-overview.bg-animated-blue::before,
.testimonials.bg-animated-blue::before {
    background: radial-gradient(circle, rgba(0, 102, 204, 0.25) 0%, transparent 70%) !important;
    animation: float-light-1 15s ease-in-out infinite alternate !important;
}

.services-overview.bg-animated-blue::after,
.testimonials.bg-animated-blue::after {
    background: radial-gradient(circle, rgba(0, 153, 255, 0.1) 0%, transparent 70%) !important;
    animation: float-light-2 20s ease-in-out infinite alternate !important;
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%; z-index:0;
}

/* ========================================= */
/*       SCROLL REVEAL ANIMATIONS BASE       */
/* ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
    transition: all 0.5s ease-out; /* Reduzido de 0.8s para deixar resto do site mais rápido */
    will-change: opacity, transform, filter;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal.left {
    transform: translateX(-30px);
}
.reveal.left.active {
    transform: translateX(0);
}

.reveal.right {
    transform: translateX(30px);
}
.reveal.right.active {
    transform: translateX(0);
}

.contact__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact__content .section__header {
    text-align: left;
    margin-bottom: 1rem;
}
.contact__content .section__subheader {
    text-align: left;
}
.contact__content .section__subheader::after {
    left: 0;
    transform: translateY(-50%);
}

.contact__content .para {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact__info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact__info p i {
    color: var(--accent-color);
    font-size: 1.5rem; /* Aumentado um pouco */
    background: rgba(248, 229, 149, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact__info p:hover i {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 15px rgba(248, 229, 149, 0.4);
}

.contact__form {
    background: rgba(255, 255, 255, 0.05); /* Fundo ultra translúcido */
    backdrop-filter: blur(15px); /* Efeito de desfoque de vidro */
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda fina de "brilho" */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact__form:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(248, 229, 149, 0.05);
    border-color: rgba(248, 229, 149, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--text-light);
    border-radius: 5px;
    background-color: var(--secondary-color-light);
    color: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: #ff6b6b; /* Vermelho para mensagens de erro */
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none; /* Escondido por padrão, mostrado com JS */
}

.success-message {
    color: #6bff6b; /* Verde para mensagens de sucesso */
    font-size: 1rem;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.contact__form .btn {
    width: 100%;
    margin-top: 1rem;
}

.contact__form .btn:hover {
    color: var(--primary-color);
}

/* ========= Form Modals (Hidden by default) =========*/
.form-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
    display: flex; /* Use flex to center content */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.form-modal.active {
    display: flex;
    opacity: 1;
}

.form-modal-content {
    background-color: var(--secondary-color-light);
    margin: auto;
    padding: 2.5rem;
    border-radius: 10px;
    width: 90%; /* Adjust width */
    max-width: 600px; /* Max width */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(20px); /* Initial state for animation */
    transition: transform 0.3s ease-in-out;
    will-change: transform, opacity; /* OTIMIZAÇÃO */
}

.form-modal.active .form-modal-content {
    transform: translateY(0); /* Final state for animation */
}

.form-modal-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-modal-content .close-button {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.form-modal-content .close-button:hover,
.form-modal-content .close-button:focus {
    color: var(--primary-color);
}


/* ========= Footer Section =========*/
.footer {
    background-color: var(--black);
    padding-top: 4rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__col .footer__logo img {
    max-width: 15rem;
    margin-bottom: 1.5rem;
}

.footer__col .para {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer__socials {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer__socials a {
    color: var(--text-light);
    transition: 0.3s ease;
}

.footer__socials a:hover {
    color: var(--accent-color);
}

.footer__col h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 1rem;
}

.footer__links li a {
    color: var(--text-light);
    transition: 0.3s ease;
    font-size: 1rem;
    display: flex; /* Para alinhar ícones, se usados */
    align-items: center;
    gap: 0.5rem;
}

.footer__links li a:hover {
    color: var(--accent-color);
}

.footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========= Responsiveness =========*/
@media (max-width: 992px) {
    /* Ajusta padding do nav no mobile */
    nav {
        padding: 0.8rem 1.5rem;
        transition: background-color 0.3s ease;
    }

    /* Fundo da barra inteira quando o menu está aberto: mais escuro que o dropdown */
    nav.open {
        background: rgba(10, 10, 15, 0.8) !important;
        /* blur removido daqui para não bugar o blur dos links embaixo */
    }

    /* Corrige nav.scrolled no mobile: remove gap:35rem e centraliza com space-between */
    nav.scrolled {
        justify-content: space-between;
        gap: 0;
        padding: 0.2rem 1.5rem;
    }

    .nav__links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 25, 0.55); /* Semi-transparente */
        backdrop-filter: blur(12px); /* Restaurado para o valor original */
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        animation: none;
    }

    .nav__links.open {
        display: flex;
        animation: menu-drop 0.3s ease forwards;
    }

    @keyframes menu-drop {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .nav__links .link {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav__links .link a {
        padding: 12px 0;
        width: 100%;
        display: block;
        font-size: 1.1rem;
        color: var(--white);
        letter-spacing: 0.04em;
    }

    .nav__links .link a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--accent-color);
    }

    nav.scrolled .link a {
        border-radius: 0; /* Remove o border-radius do desktop no mobile */
        font-size: 1.1rem;
        min-height: 48px; /* Garantia tátil no menu suspenso mobile */
    }

    .nav__menu__btn {
        display: block;
        font-size: 1.8rem;
        color: var(--white);
    }

    .header__container h1 {
        font-size: 3.5rem;
    }

    .header__container p {
        font-size: 1.8rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        /* transform removido para não sobrepor o header */
    }

    .about__content .section__header,
    .about__content .section__subheader {
        text-align: center;
    }
    .about__content .section__subheader::after {
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .m-v-v__grid, .services__grid, .stats__grid, .why-choose-us__grid, .contact__container, .footer__container {
        grid-template-columns: 1fr;
    }

    .contact__container {
        gap: 3rem;
    }

    .contact__content .section__header,
    .contact__content .section__subheader {
        text-align: center;
    }
    .contact__content .section__subheader::after {
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .swiper {
        height: auto; /* Deixa o carrossel ajustar ao tamanho do card */
    }
    
    .servicesSwiper .swiper-slide {
        height: auto; /* Permite que o Swiper calcule a maior altura */
    }
    
    /* Esconder setas de serviços no mobile para economizar espaço assim como em depoimentos */
    .services-wrapper-globals .services-prev, 
    .services-wrapper-globals .services-next {
        display: none !important;
    }

    .service-detail__images {
        grid-template-columns: 1fr; /* Uma imagem por linha em telas menores */
    }
    .service-detail__images img {
        height: 200px; /* Ajuste a altura */
    }
    .service-detail__images.reverse-order img:first-child { order: 1; } /* Volta a ordem normal em mobile */
    .service-detail__images.reverse-order img:last-child { order: 2; }
}

@media (max-width: 600px) {
    .header__container h1 {
        font-size: 2.8rem;
    }

    .header__container p {
        font-size: 1.5rem;
    }

    .section__header {
        font-size: 2rem;
    }

    .section__subheader {
        font-size: 1.1rem;
    }

    .about__grid {
        padding: 1.5rem;
    }

    .about__item span {
        font-size: 1.5rem;
        padding: 10px 15px;
    }

    .about__item h4 {
        font-size: 1.1rem;
    }

    .m-v-v__card, .service__card, .reason__card {
        padding: 2rem 1.5rem;
    }

    .m-v-v__card:hover, .reason__card:hover {
        transform: scale(1.02) translateY(-4px); /* Reduzido o scale no celular para não transbordar e mantida uma leve subida */
    }

    .reason__card {
        flex-direction: column; /* Coloca ícone e título em cima no mobile */
        text-align: center;
        gap: 1rem;
    }

    .stat__item h3 {
        font-size: 3rem;
    }

    .swiper {
        height: auto;
    }

    .footer {
        padding-top: 2.5rem; /* Reduz espaço desnecessário antes da logo */
    }
    .footer__col {
        text-align: center;
    }
    .footer__col--links, .footer__col--services {
        display: none;
    }
    .footer__logo img {
        margin-inline: auto;
    }
    .footer__socials {
        justify-content: center;
    }
    .footer__links li a {
        justify-content: center; /* Centraliza ícone + texto no mobile */
    }
    .footer__links {
        padding-left: 0;
    }
    .footer__links li {
        text-align: center;
    }

    .form-modal-content {
        padding: 1.5rem;
    }
    .form-modal-content h3 {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════
   ACESSIBILIDADE — Skip-to-content link
   ═══════════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 0 0 6px 6px;
    font-weight: 700;
    z-index: 99999;
    transition: top 0.2s;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ═══════════════════════════════════════════════════
   CRO — WhatsApp Floating CTA
   ═══════════════════════════════════════════════════ */
@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    animation: whatsapp-pulse 2.2s ease-out infinite;
    transition: transform 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.13);
    background-color: #1ebe5b;
}

/* Tooltip on hover */
.whatsapp-float__tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    transform: translateY(-50%) translateX(6px);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a1a;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ═══════════════════════════════════════════════════
   CRO — Melhorias no Formulário de Contato
   ═══════════════════════════════════════════════════ */

/* Glow de foco nos campos */
.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(248, 229, 149, 0.18);
    background-color: rgba(255, 255, 255, 0.06);
}

/* Estilo do select de urgência — destaque visual */
#mainUrgency {
    background-color: rgba(0, 51, 102, 0.25);
    border-color: rgba(0, 80, 160, 0.5) !important;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#mainUrgency:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(248, 229, 149, 0.18);
}

/* Label com asterisco de campo obrigatório */
.form-group label span[aria-hidden="true"] {
    color: var(--accent-color);
    margin-left: 3px;
}

/* ═══════════════════════════════════════════════════
   CRO — Micro-animações aprimoradas nos botões .btn
   ═══════════════════════════════════════════════════ */
.btn {
    transition:
        background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.35) !important;
}

.btn:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    transition-duration: 0.08s !important;
}

/* ═══════════════════════════════════════════════════
   SEMANA 3 — Interatividade e Revisão Gráfica
   ═══════════════════════════════════════════════════ */

/* ── MVV Cards: hover glow + cursor interativo ── */
.m-v-v__card {
    cursor: pointer;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}

.m-v-v__card:hover,
.m-v-v__card:focus-visible {
    transform: translateY(-8px) scale(1.015);
    box-shadow:
        0 0 0 1px rgba(248, 229, 149, 0.3),
        0 16px 40px rgba(0, 51, 102, 0.5),
        0 0 20px rgba(248, 229, 149, 0.08);
    outline: none;
}

/* Feedback visual no ícone ao hover */
.m-v-v__card:hover .m-v-v__card-icon i,
.m-v-v__card:focus-visible .m-v-v__card-icon i {
    transform: scale(1.2) rotate(-5deg);
    color: var(--white);
    filter: drop-shadow(0 0 8px rgba(248, 229, 149, 0.6));
}

.m-v-v__card-icon i {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s, filter 0.25s;
}

/* Hint arrow animation on hover */
.m-v-v__card:hover .m-v-v__hint i,
.m-v-v__card:focus-visible .m-v-v__hint i {
    transform: translateX(5px);
}

.m-v-v__hint i {
    display: inline-block;
    transition: transform 0.25s ease;
}

/* Teaser text — fonte um pouco menor para distinguir do parágrafo completo */
.m-v-v__teaser {
    font-size: 0.95rem !important;
    opacity: 0.85;
}

.m-v-v__teaser-list {
    font-size: 0.9rem;
}

/* Focus ring acessível (teclado) */
.m-v-v__card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* ── About Items: hover glow individual ── */
.about__item {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease !important;
    cursor: default;
}



.about__item:hover span i {
    color: var(--primary-color);
    transform: scale(1.15);
}

.about__item span i {
    transition: color 0.25s, transform 0.25s;
}

/* ── Reason/Diferenciais Cards: hover individual ── */
.reason__card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

.reason__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(248, 229, 149, 0.1), 0 0 0 1px rgba(248, 229, 149, 0.15);
}

.reason__card:hover span i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(248, 229, 149, 0.5));
}

.reason__card span i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s;
}

/* ── Footer: revisão gráfica ── */

/* Footer links: hover underline slide de esquerda para direita */
.footer__links li a {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.footer__links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.25s ease;
}

.footer__links li a:hover::after,
.footer__links li a:focus::after {
    width: 100%;
}

.footer__links li a:hover {
    color: var(--accent-color);
}

/* Footer bar — whitespace e separadores */
.footer__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    font-size: 0.82rem;
}

.footer__bar-sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
}

.footer__wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer__wa-link:hover {
    color: #22c55e;
}

/* Footer social icons: individual hover scale+color */
.footer__socials a {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s, filter 0.2s !important;
}

.footer__socials a:hover {
    transform: translateY(-4px) scale(1.2) !important;
    color: var(--accent-color) !important;
    filter: drop-shadow(0 0 6px rgba(248, 229, 149, 0.4));
}

/* ═══════════════════════════════════════════════════
   MOBILE ONLY ACCESSIBILITY & ERGONOMICS (WCAG 2.2)
   ═══════════════════════════════════════════════════ */
@media (max-width: 850px) {
    /* Reduzir espaço entre header e seção Sobre Nós */
    .bg-animated-wrapper {
        margin-top: -10rem;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 6rem);
        mask-image: linear-gradient(to bottom, transparent 0, black 6rem);
    }

    /* Tipografia e Leitura Textual */
    body, html {
        font-size: clamp(14px, 1.2vw + 10px, 18px);
    }
    body {
        line-height: 1.6;
    }
    .para, .testimonial__text, .service__card-side p, .about__prose-list {
        max-width: 75ch;
    }
    
    /* Touch Targets (48x48) */
    .btn, .btn--small, .mvv-modal-close {
        min-height: 48px;
        min-width: 48px;
    }
    .link a {
        display: inline-flex; min-height: 48px; min-width: 48px; padding: 12px 10px;
    }
    nav.scrolled .link a {
        display: inline-flex; min-height: 48px; min-width: 48px; padding: 8px 16px;
    }
    .footer__links li a {
        min-height: 48px; padding: 6px 0;
    }
    
    /* Ajuste de Espaço (Botão Services) */
    .service__card-side p { margin: 0 0 1rem 0; }
    .service__card-side > .btn {
        margin-top: auto; 
        align-self: flex-start;
    }

    /* Otimização de espaço dos cards MVV (Missão, Visão e Valores) */
    .m-v-v__card {
        padding: 1.5rem; /* Reduz drasticamente a gordura de espaçamento de 2.5rem */
    }
    .m-v-v__hint {
        display: none !important; /* Esconde o texto invisível de "hover" que ocupava espaço ocioso no mobile */
    }

    /* Otimização Secção Stats (Conquistas) */
    .stat__item {
        padding: 1.2rem; /* Reduzido de 2rem */
        min-height: auto;
    }
    .stat__item h3 {
        font-size: 2.4rem; /* Reduzido de 3.5rem */
        margin-bottom: 0.2rem;
    }
    .stat__item p {
        font-size: 0.95rem; /* Reduzido de 1.1rem */
        margin-bottom: 0;
    }
    .stat__detail {
        margin-top: 0; /* Corta a margem oculta que somava altura morta */
    }

    /* Expansor Oculto (Sobre Nós) */
    .mobile-only-btn {
        display: inline-flex !important;
        width: max-content;
        gap: 8px;
        margin-top: 1rem;
        margin-bottom: 2rem;
        background-color: transparent !important;
        color: var(--accent-color) !important;
        border: 1px solid var(--accent-color) !important;
        font-weight: 600;
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        border-radius: 4px;
        box-shadow: none !important;
        position: relative;
        z-index: 100 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    .mobile-only-btn:hover,
    .mobile-only-btn:active,
    .mobile-only-btn:focus {
        background-color: rgba(248, 229, 149, 0.1) !important;
        color: var(--accent-color) !important;
        transform: none !important;
        box-shadow: none !important;
    }
    body .about__prose-list {
        display: none; /* Oculta a lista no início */
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    body .about__prose-list.expanded {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        height: auto !important;
    }
}

/* ═══════════════════════════════════════════════════
   SMARTPHONES ONLY (MAX-WIDTH: 600px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
    /* Otimização Secção Diferenciais (Por que escolher) */
    .reason__card {
        padding: 1rem 1.2rem !important; /* Reduz brutalmente o preenchimento */
        gap: 1rem !important; /* Aproxima o ícone do bloco de texto */
        flex-direction: row !important; /* Arquiteta o layout inovador de lista horizontal no mobile */
        text-align: left !important; /* Remove a centralização forçada */
        align-items: center !important;
    }
    .reason__card span {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important; /* Ícone bem menor */
        flex-shrink: 0;
    }
    .reason__card h4 {
        font-size: 1.05rem !important; /* Título enxuto */
        margin-bottom: 0.15rem !important;
    }
    .reason__card p {
        font-size: 0.82rem !important; /* Texto descritivo super compacto e fluido */
        line-height: 1.4 !important;
    }

    /* Otimização Secção Stats (Conquistas) - Layout Bento Grid Quadrado */
    .stats__grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Força 2 colunas no celular */
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    .stat__item {
        padding: 1.2rem 0.5rem !important; 
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        aspect-ratio: 1 / 1 !important; /* Proporção perfeitamente quadrada */
    }
    .stat__item h3 {
        font-size: 2.8rem !important; /* Maior estado inicial */
        margin-bottom: 0.1rem !important;
        transition: font-size 0.3s ease !important;
    }
    .stat__item p {
        font-size: 1rem !important; /* Maior estado inicial */
        line-height: 1.2 !important;
        text-align: center !important;
        transition: font-size 0.3s ease !important;
    }
    
    /* Reset de Hover Global no Mobile: apenas se NÃO estiver aberto */
    .stat__item:not(.is-open-mobile):hover {
        transform: none !important;
        background-color: rgba(0, 0, 0, 0.45) !important;
    }
    .stat__item:not(.is-open-mobile):hover .stat__detail {
        max-height: 0 !important;
        opacity: 0 !important;
        padding-top: 0 !important;
    }

    /* Configuração de toque dinâmico (Click/Toggle no Celular) */
    .stat__item.is-open-mobile {
        aspect-ratio: auto !important; /* Quebra a gaiola geométrica forçada e permite o card expandir a altura necessária pro texto */
        padding-bottom: 2rem !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 229, 149, 0.1) !important;
        border-color: rgba(248, 229, 149, 0.25) !important;
        transform: translateY(-4px) !important;
    }
    
    /* Encolhimento Imediato do cabeçalho ao focar (Para sobrar mais espaço e ficar elegante) */
    .stat__item.is-open-mobile h3 {
        font-size: 1.8rem !important;
        transform: scale(1) !important;
    }
    .stat__item.is-open-mobile p {
        font-size: 0.75rem !important;
    }

    .stat__detail {
        font-size: 0.73rem !important; /* Texto do conteúdo bem menor como pedido */
        line-height: 1.3 !important;
        margin-top: 0.5rem !important;
        text-align: center !important;
    }
    .stat__more-hint {
        display: block !important;
        font-size: 0.75rem !important;
        color: var(--accent-color) !important;
        margin-top: 0.4rem !important;
        opacity: 0.85;
    }
    .stat__item.is-open-mobile .stat__more-hint {
        display: none !important; /* Esconde a dica quando a verdadeira informação abrir */
    }
    body .stat__item.is-open-mobile .stat__detail {
        max-height: 500px !important; /* Aumentado para garantir que nada seja cortado */
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        padding-top: 0.8rem !important;
        display: block !important;
    }

    /* Exibição forçada do Hint "Mostrar mais" nos Cards MVV no Mobile (Consistente com Stats) */
    .m-v-v__hint {
        opacity: 1 !important;
        transform: translateY(0) !important;
        display: inline-flex !important;
        margin-top: 1rem !important;
        font-size: 0.82rem !important;
        color: var(--accent-color) !important;
        font-weight: 600 !important;
    }

    /* Refinamento Tipográfico: Info de Contato (Telefone, Email, Local) */
    .contact__info p {
        font-size: 0.9rem !important;
        gap: 0.6rem !important;
    }
    .contact__info p i {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
    }
}

/* Base style fora do media query */
.mobile-only-btn { display: none; }
.stat__more-hint { display: none; } /* Oculto obrigatoriamente na versão Desktop Web */

