/* Variables */
:root {
    --blue-dark: #056395;
    --blue-light: #33B8FF;
    --bg-dark: #001018;
    --card-light: #01283C;
    --card-dark: #011C2A;
    --white: #ffffff;
    --text-color: #333333;

    --font-primary: 'Montserrat', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    /* Default dark bg for gaps */
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
    margin-bottom: 1rem;
}

h2 {
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--blue-light);
    /* Default section title color */
}

p {
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -1rem auto 3rem;
    color: var(--white);
    /* White text for dark sections */
}

.highlight-blue {
    color: var(--blue-light);
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(5, 99, 149, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 99, 149, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Section CTA - Botões de chamada para ação dentro das seções */
.section-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.section-cta .btn {
    font-size: 1rem;
    padding: 15px 40px;
    box-shadow: 0 4px 20px rgba(5, 99, 149, 0.4);
}

.section-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(5, 99, 149, 0.5);
}

.btn-img-link {
    display: block;
}

.btn-img {
    height: 40px;
    /* Adjust based on image size */
    width: auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 16, 24, 0.98);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

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

header nav {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
}

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

.nav-menu li a.btn:hover {
    color: var(--white);
    /* Keep button text white */
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s;
    border: none;
    /* Remove previous border */
    padding: 0;
    /* Remove previous padding */
}

.lang-switch a:hover,
.lang-switch a.active-lang {
    opacity: 1;
}

.lang-switch svg {
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

/* Botão CTA Mobile - sempre visível no header em dispositivos móveis */
.nav-cta-mobile {
    display: none;
    padding: 4px 8px;
    font-size: 0.55rem;
    white-space: nowrap;
    letter-spacing: 0;
}

/* Botão CTA Desktop */
.nav-cta-desktop {
    display: block;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    background-color: var(--bg-dark);
    text-align: center;
    padding: 100px 0 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.video-link {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.video-link:hover {
    transform: scale(1.02);
}

.video-thumb {
    width: 100%;
    max-width: 600px;
    /* Adjust as needed */
    height: auto;
    display: block;
}

.video-arrow img {
    height: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
#about {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
    color: var(--blue-light);
}

.about-image {
    flex: 1;
}

/* Solutions Section */
#solutions {
    padding: 5rem 0;
    background: radial-gradient(circle at top, #011C2A, #0086CE);
    color: var(--white);
}

#solutions h2 {
    color: var(--blue-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

/* Alternate card colors */
.solution-card:nth-child(odd) {
    background-color: var(--card-light);
}

.solution-card:nth-child(even) {
    background-color: var(--card-dark);
}

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

.solution-card img {
    height: 50px;
    margin: 0 auto 1.5rem;
    /* Icons are already SVG, assume they are correct color or white. If black, invert. */
    /* filter: brightness(0) invert(1); */
}

.solution-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 700;
}

.solution-card p {
    color: var(--white);
    font-weight: 400;
}

/* Security Section */
#security {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    /* Fallback or specific color if needed */
    background-image: url('assets/fundos_e_imagens/fundo_sessao_seg_e_geren_e_sessao_conformidade_nis2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

#security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 16, 24, 0.8);
    /* Dark overlay */
    z-index: 1;
}

#security .container {
    position: relative;
    z-index: 2;
}

#security h2 {
    color: var(--blue-light);
    text-align: left;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.security-text {
    flex: 1;
}

.security-image {
    flex: 1;
}

.security-image img {
    border-radius: 10px;
    /* No border as requested */
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-card {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.security-card:nth-child(odd) {
    background-color: var(--card-light);
}

.security-card:nth-child(even) {
    background-color: var(--card-dark);
}

.security-card img {
    height: 50px;
    margin: 0 auto 1.5rem;
}

.security-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--blue-light);
}

/* NIS2 Section */
#nis2 {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    color: var(--white);
}

#nis2 h2 {
    color: var(--blue-light);
}

.nis2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.nis2-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    /* Reduced height to remove top/bottom excess */
    max-width: 400px;
    /* Narrower width */
    margin: 0 auto;
    /* Center in grid cell */
    background-color: var(--white);
    /* White background as requested */
    /* No shadow as requested */
}

.nis2-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    /* mix-blend-mode removed */
}

.nis2-card:hover img {
    transform: scale(1.05);
}

.nis2-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Full height gradient for better text readability */
    background: linear-gradient(to top, rgba(0, 16, 24, 1) 0%, rgba(0, 16, 24, 0.8) 30%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    text-align: center;
}

.nis2-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--white);
    /* White title as per image */
    font-weight: 700;
}

.nis2-overlay p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #cccccc;
    /* Slightly softer white for text */
    line-height: 1.5;
}

/* Clients Section */
#clients {
    padding: 4rem 0;
    background: url('assets/fundos_e_imagens/fundo_degrade_sessao_clientes.jpg') no-repeat center center/cover;
}

#clients h2 {
    color: var(--blue-light);
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Final CTA Section */
#final-cta {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    color: var(--white);
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.cta-content-left {
    flex: 1;
    text-align: left;
}

.cta-content-left h2 {
    text-align: left;
    color: var(--white);
}

.cta-image-right {
    flex: 1;
}

.cta-image-right img {
    border-radius: 20px;
    width: 100%;
}

/* Footer */
footer {
    position: relative;
    color: var(--white);
    padding: 5rem 0 2rem;
    background: linear-gradient(180deg, #011C2A 0%, #001018 100%);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.footer-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Formulário de Contato no Footer */
.footer-form {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-form h3 {
    margin-bottom: 1.2rem;
    color: var(--blue-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .form-group {
    margin-bottom: 0.8rem;
}

.contact-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--blue-light);
    background: rgba(255, 255, 255, 0.12);
}

.contact-form button {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Links Rápidos no Footer */
.footer-links h3 {
    margin-bottom: 1.2rem;
    color: var(--blue-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--blue-light);
    transform: translateX(5px);
}

/* Informações de Contato no Footer */
.footer-contact-info h3 {
    margin-bottom: 1.2rem;
    color: var(--blue-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-phone {
    margin-top: 0.8rem;
}

.footer-phone a {
    color: var(--blue-light);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: #fff;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer Responsivo */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-links ul li a:hover {
        transform: none;
    }
    
    .footer-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

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

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

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

    /* Botão CTA Mobile - visível na barra superior */
    .nav-cta-mobile {
        display: inline-block;
        margin-right: 10px;
        order: -1;
        padding: 5px 10px;
        font-size: 0.6rem;
    }

    /* Esconder o botão CTA desktop no menu mobile */
    .nav-cta-desktop {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(1, 28, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 16px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-container,
    .security-content,
    .cta-container {
        flex-direction: column;
    }

    .about-text h2,
    .security-text h2,
    .cta-content-left h2 {
        text-align: center;
    }

    .cta-content-left {
        text-align: center;
    }

    .nis2-grid {
        grid-template-columns: 1fr;
    }

    .nis2-card {
        height: 350px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.animate-up {
    opacity: 1;
    transform: none;
}

/* New Feature Sections */
.feature-section {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-section.alt-bg {
    background-color: #011520;
    /* Slightly lighter than bg-dark */
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image,
.feature-content {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(51, 184, 255, 0.3);
    /* Blue-light dashed border */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: rgba(51, 184, 255, 0.05);
    border-color: var(--blue-light);
}

.feature-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--blue-dark);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item h3 {
    color: var(--blue-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }

    .image-placeholder {
        height: 250px;
        margin-bottom: 2rem;
    }

    .feature-item {
        border-left: none;
        border-top: 3px solid var(--blue-dark);
        padding-left: 0;
        padding-top: 1rem;
    }
}

/* Specific background for Security Section */
#seguranca-vulnerabilidades {
    background-image: url('assets/fundos_e_imagens/fundo_degrade_sessao_clientes.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure text remains readable with an overlay if needed, though not requested yet */
}
/* ========================================
   MELHORIAS DE RESPONSIVIDADE MOBILE
   ======================================== */

/* Telas médias (tablets) */
@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .nis2-grid {
        gap: 1.5rem;
    }
}

/* Telas pequenas (smartphones) */
@media (max-width: 768px) {
    /* Tipografia responsiva */
    h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-bottom: 2rem;
    }
    
    /* Container com padding adequado */
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    /* Seções com padding reduzido */
    section {
        padding: 3rem 0;
    }
    
    .feature-section {
        padding: 3rem 0;
    }
    
    /* Cards de soluções - altura automática */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }
    
    .solution-card {
        height: auto;
        min-height: auto;
        padding: 1.5rem;
    }
    
    .solution-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0;
    }
    
    .solution-card img {
        height: 40px;
        margin-bottom: 1rem;
    }
    
    /* Cards NIS2 - altura automática */
    .nis2-card {
        height: auto;
        min-height: 300px;
        max-width: 100%;
    }
    
    .nis2-overlay {
        padding: 1.5rem;
    }
    
    .nis2-overlay h3 {
        font-size: 1.2rem;
    }
    
    .nis2-overlay p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Feature items */
    .feature-item {
        padding-top: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .feature-image img {
        border-radius: 10px;
        margin-bottom: 1.5rem;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 600px;
        height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding-top: 40px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .video-thumb {
        max-width: 100%;
    }
    
    /* About section */
    .about-text {
        padding: 0 10px;
    }
    
    /* CTA Section */
    .cta-content-left {
        padding: 0 10px;
    }
    
    .cta-content-left h2 {
        font-size: 1.4rem;
    }
    
    .cta-image-right img {
        border-radius: 15px;
    }
    
    /* Footer mobile */
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-bottom {
        padding: 1.5rem 15px;
        font-size: 0.8rem;
    }
}

/* Telas muito pequenas (smartphones pequenos - 360px) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    /* Botão CTA mobile ainda mais compacto */
    .nav-cta-mobile {
        padding: 4px 8px;
        font-size: 0.5rem;
    }
    
    /* Cards menores */
    .solution-card {
        padding: 1.2rem;
    }
    
    .nis2-card {
        min-height: 280px;
    }
    
    .nis2-overlay {
        padding: 1rem;
    }
    
    .nis2-overlay h3 {
        font-size: 1.1rem;
    }
    
    .nis2-overlay p {
        font-size: 0.85rem;
    }
}

/* ========================================
   CTAs RESPONSIVOS - Facilmente clicáveis
   ======================================== */

@media (max-width: 768px) {
    /* Botões com tamanho mínimo para toque (48px recomendado) */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 0.85rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* CTAs de seção */
    .section-cta {
        margin-top: 2rem;
        padding: 1.5rem 15px 0;
    }
    
    .section-cta .btn {
        width: 100%;
        max-width: 320px;
        padding: 16px 20px;
        font-size: 0.9rem;
    }
    
    /* CTA final */
    .cta-content-left .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
}

/* ========================================
   GARANTIR QUE TEXTOS NÃO SEJAM CORTADOS
   ======================================== */

/* Overflow automático em todos os containers de texto */
.solution-card,
.nis2-card,
.feature-item,
.about-text,
.cta-content-left,
.security-text {
    overflow: visible;
}

/* Quebra de palavra para textos longos */
.solution-card p,
.nis2-overlay p,
.feature-item p,
.section-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ========================================
   HERO SECTION - HSI BADGE E VÍDEO
   ======================================== */

/* Badge HSI Parceiro Preferencial - Abaixo da seta */
.hsi-partner-badge {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
    animation: fadeInDown 0.8s ease-out 0.5s both;
}

.badge-text {
    display: inline-block;
    background: linear-gradient(135deg, rgba(5, 99, 149, 0.95) 0%, rgba(51, 184, 255, 0.95) 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 20px rgba(51, 184, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Wrapper com botão de play centralizado */
.video-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(51, 184, 255, 0.95);
}

/* Botão de Play centralizado */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(5, 99, 149, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button svg {
    margin-left: 5px; /* Ajuste visual para centralizar o ícone de play */
}

/* Seta de rolagem - espaçamento corrigido */
.video-arrow {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 20px;
}

.video-container {
    padding-bottom: 40px;
}

/* ========================================
   MODAL DE VÍDEO
   ======================================== */

.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.video-modal-close:hover {
    color: var(--blue-light);
}

/* Responsivo para modal de vídeo */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button svg {
        width: 40px;
        height: 40px;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -35px;
        font-size: 30px;
    }
    
    .video-arrow {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .video-container {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .badge-text {
        font-size: 0.65rem;
        padding: 6px 12px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button svg {
        width: 30px;
        height: 30px;
    }
}

/* Botão Fechar abaixo do vídeo */
.video-modal-btn-close {
    display: block;
    width: 100%;
    padding: 15px 30px;
    margin-top: 0;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.video-modal-btn-close:hover {
    background: linear-gradient(90deg, var(--blue-light), var(--blue-dark));
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .video-modal-btn-close {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ========================================
   HSI BADGE RESPONSIVO
   ======================================== */
@media (max-width: 768px) {
    .hsi-partner-badge {
        margin-top: 1rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
        padding: 10px 18px;
        letter-spacing: 0.5px;
    }
}
