/* style.css - Estilos profissionais TechOn S.I */
:root {
    /* Cores profissionais atualizadas */
    --primary: #e63946;        /* Vermelho mais vibrante */
    --secondary: #1d3557;      /* Azul escuro profissional */
    --accent: #457b9d;         /* Azul médio */
    --light-blue: #a8dadc;     /* Azul claro */
    --text-light: #f1faee;     /* Texto claro */
    --text-dark: #1d3557;      /* Texto escuro */
    --bg-dark: #0a192f;        /* Fundo escuro elegante */
    --bg-card: #112240;        /* Fundo de cards */
    --border-color: #233554;   /* Bordas */
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(135deg, #1d3557 0%, #0a192f 100%);
    --gradient-blue: linear-gradient(135deg, #457b9d 0%, #1d3557 100%);
    --gradient-green: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

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

/* MODAL DE ORÇAMENTO */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-header h2 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h2 i {
    font-size: 1.5rem;
}

.modal-subtitle {
    color: var(--light-blue);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--light-blue);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.1);
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-label.required::after {
    content: '*';
    color: var(--primary);
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: rgba(168, 218, 220, 0.5);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--light-blue);
    pointer-events: none;
    font-size: 0.8rem;
}

.form-select {
    appearance: none;
    cursor: pointer;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.whatsapp-direct {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.whatsapp-direct h3 {
    color: #25d366;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whatsapp-direct p {
    color: var(--light-blue);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--gradient-green);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.form-submit {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.form-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
    color: var(--light-blue);
    font-size: 0.9rem;
    position: relative;
}

/* HEADER ELEGANTE */
header {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(35, 53, 84, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 25, 47, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-tech { color: #f1faee; }
.logo-on {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}
.logo-si { color: var(--light-blue); }

.logo-tagline {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.5px;
    border-left: 1px solid var(--border-color);
    padding-left: 1rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

/* HERO SECTION ELEGANTE */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.7)),
    url('https://techonsi.ddns.net/imagens/techonsi.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove background-attachment:fixed em mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 8rem 0 4rem;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    /* Se a imagem for muito grande, force um zoom */
    .hero {
        background-size: 330% auto;
        background-position: 75% center;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .hero {
        background-size: 330% auto;
        background-position: 75% center;
    }
}

/* Mantém parallax apenas em desktop grande */
@media (min-width: 1025px) {
    .hero {
	background-attachment: fixed;
	background-position: 75% center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(241, 250, 238, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ABOUT SECTION */
.about-section {
    padding: 8rem 0;
    background: var(--bg-card);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--light-blue);
    line-height: 1.8;
}

.about-content strong {
    color: var(--primary);
}

/* SECURELOG SECTION */
.securelog-section {
    padding: 8rem 0;
    background: var(--gradient-dark);
    position: relative;
}

.securelog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.securelog-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.securelog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.securelog-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.securelog-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.securelog-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.securelog-content p {
    font-size: 1.1rem;
    color: rgba(168, 218, 220, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.securelog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    transition: var(--transition);
    margin-top: 1rem;
}

.securelog-link:hover {
    background: rgba(230, 57, 70, 0.2);
    gap: 1.25rem;
    transform: translateX(5px);
}

/* SERVICES SECTION */
.services-section {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-blue);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(230, 57, 70, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    height: 120px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
}

.service-content {
    padding: 2rem;
    position: relative;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--light-blue);
}

.service-features i {
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* FOOTER ELEGANTE */
footer {
    background: var(--gradient-dark);
    padding: 6rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--border-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-col p {
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-blue);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--accent);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* PRIVACY SECTION */
.privacy-section {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.privacy-section p {
    color: var(--light-blue);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.privacy-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* LOADING ANIMATION */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* RESPONSIVIDADE */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .securelog-header h2 {
        font-size: 2rem;
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
    }

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

    .mobile-menu-btn.active i::before {
        content: '\f00d';
    }

    .hero {
        padding: 8rem 0 4rem;
        background-attachment: scroll;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .securelog-card {
        padding: 2rem;
    }

    .securelog-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .securelog-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .logo-tagline {
        display: none;
    }

    .modal-content {
        width: 95%;
        max-height: 85vh;
        margin: 1rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .footer-col h3 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* SCROLLBAR PERSONALIZADA */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-card);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.form-select {
    color: var(--text-light);
    cursor: pointer;
}

.form-select option {
    background-color: var(--bg-card);
    color: var(--text-light);
    padding: 10px;
}

.form-select option:checked {
    background-color: var(--primary);
    color: white;
}

.form-select option:hover {
    background-color: var(--accent);
    color: white;
}

/* Adicione no final do style.css */

/* Animação para toast */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Estilos para o WhatsApp Direct no modal (já existia, mas verifique) */
.whatsapp-direct a {
    text-decoration: none;
}

/* Melhorias na validação do formulário */
.field-error {
    color: var(--primary) !important;
    font-size: 0.85rem !important;
    margin-top: 0.25rem !important;
    display: block;
}

.form-input.error {
    border-color: var(--primary) !important;
}

/* Melhorar acessibilidade do modal */
.modal-content:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
/* MODAL DE SERVIÇO */
.servico-modal {
    max-width: 800px;
}

.servico-modal-body {
    padding: 2rem;
}

.servico-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.servico-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.servico-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servico-subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
}

.servico-content {
    margin-bottom: 2.5rem;
}

.servico-section {
    margin-bottom: 2rem;
}

.servico-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.servico-section h3 i {
    font-size: 1.1rem;
}

.servico-section p {
    color: var(--light-blue);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.servico-features-detailed {
    list-style: none;
    margin-top: 1rem;
}

.servico-features-detailed li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--light-blue);
}

.servico-features-detailed i {
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.servico-cta {
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.servico-cta h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.servico-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.servico-cta-buttons .cta-button {
    margin: 0;
}

/* Hover effect para cards clicáveis */
.service-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card-clickable::after {
    content: '+';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-clickable:hover::after {
    opacity: 1;
}

/* Responsividade para modal de serviço */
@media (max-width: 768px) {
    .servico-modal {
        width: 95%;
        margin: 1rem;
        max-height: 85vh;
    }

    .servico-modal-body {
        padding: 1.5rem;
    }

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

    .servico-cta-buttons {
        flex-direction: column;
    }

    .servico-cta-buttons .cta-button {
        width: 100%;
    }
}
/* S3 CLIENT SECTION - Mesmo estilo do SecureLog */
.s3client-section {
    padding: 8rem 0;
    background: var(--gradient-dark);
    position: relative;
}

.s3client-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.s3client-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.s3client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.s3client-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.s3client-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.s3client-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s3client-content p {
    font-size: 1.1rem;
    color: rgba(168, 218, 220, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.s3client-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    transition: var(--transition);
    margin-top: 1rem;
}

.s3client-link:hover {
    background: rgba(230, 57, 70, 0.2);
    gap: 1.25rem;
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .s3client-card {
        padding: 2rem;
    }

    .s3client-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .s3client-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .s3client-header h2 {
        font-size: 2rem;
    }

    .s3client-content p {
        font-size: 1rem;
    }
}
