/* Ícones para o site usando Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Estilos Globais */
:root {
    /* Paleta de cores */
    --primary-dark: #1A2942;
    --primary-medium: #2E5C8A;
    --primary-light: #4A90E2;
    --accent-gold: #D4AF37;
    --accent-green: #2E8B57;
    --light-text: #FFFFFF;
    --light-gold: #F0E68C;
    --dark-text: #333333;
    --light-bg: #F5F7FA;
    --medium-bg: #E1E8ED;
    --dark-bg: #2C3E50;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #FFFFFF;
    overflow-x: hidden;
    width: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

.section-title.light {
    color: var(--light-text);
}

.section-title.light:after {
    background: var(--light-gold);
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.text-content {
    flex: 1 1 400px;
}

.image-content {
    flex: 1 1 400px;
    min-height: 300px;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-medium);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-light {
    background-color: var(--light-text);
    color: var(--primary-dark);
}

.btn-light:hover {
    background-color: var(--light-gold);
    color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-dark);
}

/* Header */
header {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 0;
    white-space: nowrap;
}

.logo-text p {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: var(--light-gold);
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: 8px 0;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--accent-gold);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(26, 41, 66, 0.8), rgba(26, 41, 66, 0.9)), url('../images/background_digital.png');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/circuit-pattern.png');
    opacity: 0.1;
    z-index: 1;
}

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

#hero h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}

#hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 2rem;
}

.document-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f15c";
    font-weight: 900;
}

.analysis-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f002";
    font-weight: 900;
}

.presentation-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f1dd";
    font-weight: 900;
}

.translation-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f1ab";
    font-weight: 900;
}

/* Areas Section */
.areas-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.area-item:hover {
    transform: translateX(10px);
}

.area-icon {
    min-width: 60px;
    height: 60px;
    background-color: var(--primary-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.5rem;
}

.docs-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f2bb";
    font-weight: 900;
}

.terms-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f084";
    font-weight: 900;
}

.logs-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f15c";
    font-weight: 900;
}

.security-icon:before {
    font-family: "Font Awesome 6 Free";
    content: "\f002";
    font-weight: 900;
}

.area-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Metodologia OWASP Section */
.owasp-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.metodologia-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-light);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.feature-item i {
    font-size: 1.2rem;
}

/* Localização Section */
.map-container {
    flex: 1 1 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-info {
    flex: 1 1 400px;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.location-info h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.location-info p {
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.location-info i {
    color: var(--primary-medium);
    margin-right: 10px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    color: var(--light-gold);
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--light-gold);
    min-width: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.1);
    color: var(--light-text);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    max-width: 150px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-gold);
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Imagens */
.digital-forensics-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInFromLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.slide-in-left {
    animation: slideInFromLeft 0.5s ease-out forwards;
}

@keyframes slideInFromRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.slide-in-right {
    animation: slideInFromRight 0.5s ease-out forwards;
}

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

.slide-in-bottom {
    animation: slideInFromBottom 0.5s ease-out forwards;
}

/* Responsividade */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    
    #hero {
        padding: 150px 0 80px;
    }
    
    .flex-container {
        gap: 30px;
    }
    
    .service-card,
    .area-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .area-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        background-color: var(--primary-dark);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .metodologia-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .area-item {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .location-info {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Acessibilidade */
:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Efeitos de hover e foco */
a:focus, button:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Webmail link */
.webmail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.webmail-link:hover {
    color: var(--light-text);
}

.webmail-link i {
    font-size: 1.2rem;
}
