/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: rgb(1,34,139);
    --primary-color-light: rgb(31,64,169);
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #111111;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header.scrolled .logo a {
    background: rgba(255, 255, 255, 0.05);
}

.navbar {
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: none;
}

.logo a:hover .logo-img {
    transform: scale(1.03);
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(1,34,139,0.05), rgba(1,34,139,0.1)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(1,34,139,0.8), rgba(1,34,139,0.4));
}

.hero-content {
    color: var(--white);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: all 0.5s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--primary-color);
}

.cta-button:hover::before {
    width: 100%;
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
}

section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Serviços */
.servicos {
    background-color: var(--white);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.servico-card {
    background: var(--gray-100);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-200);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(1,34,139,0.1);
}

.servico-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.servico-card h3 {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.servico-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
}

/* Sobre Section */
.sobre {
    background-color: var(--gray-100);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text p {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sobre-numeros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.numero-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.numero-item .numero {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.numero-item .texto {
    color: var(--gray-800);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button.outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button.outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Contato */
.contato {
    background-color: var(--gray-100);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--gray-200);
    height: fit-content;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(1,34,139,0.1);
    padding: 1rem;
    border-radius: 50%;
}

.info-item h4 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Form Styles */
#contato-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

#contato-form input,
#contato-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--gray-800);
    transition: all 0.3s ease;
}

#contato-form input:focus,
#contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255,255,255,0.08);
}

#contato-form input::placeholder,
#contato-form textarea::placeholder {
    color: var(--gray-600);
}

#contato-form textarea {
    height: 200px;
    resize: vertical;
    min-height: 150px;
    max-height: 300px;
}

#contato-form .cta-button {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    margin: 1rem auto 0;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

#contato-form .cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

#contato-form .cta-button::before {
    display: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgb(0,20,80) 100%);
    color: var(--white);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-info {
    padding-right: 2rem;
}

.footer-info p {
    color: rgba(255,255,255,0.8);
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.footer-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--primary-color-light);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
}

.footer-links {
    padding: 0 2rem;
}

.footer-links h4,
.footer-contato h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 500;
}

.footer-links h4::after,
.footer-contato h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color-light), transparent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(10px);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contato {
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.footer-contato p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.footer-contato i {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-contato p:hover i {
    background: var(--primary-color-light);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 1.2rem;
    background: rgba(0,0,0,0.1);
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contato {
        grid-column: span 2;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-info,
    .footer-links,
    .footer-contato {
        padding: 0;
        border: none;
    }

    .footer-contato {
        grid-column: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links h4,
    .footer-contato h4 {
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contato h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links a {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contato p {
        justify-content: center;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servico-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-800);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* Animações Gerais */
.hero-content.animate {
    animation: fadeInUp 1s ease forwards;
}

section h2.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.contato-content.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle.active i::before {
        content: "\f00d";
    }

    .navbar {
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .servico-card {
        padding: 2rem 1.5rem;
    }
}

/* Responsividade Adicional */
@media (max-width: 992px) {
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contato-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .info-item {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
    }

    .sobre-numeros {
        grid-template-columns: 1fr;
    }

    .numero-item {
        padding: 1.5rem;
    }

    .numero-item .numero {
        font-size: 2.5rem;
    }

    #contato-form {
        padding: 2rem;
    }

    .contato-info {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .info-item {
        padding: 1.2rem;
    }

    .info-item i {
        font-size: 1.5rem;
        padding: 0.8rem;
    }

    .footer-links {
        padding: 0;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

.whatsapp-button i {
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
}

/* Responsividade do botão do WhatsApp */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}

/* Ajustes responsivos para o logo */
@media (max-width: 1200px) {
    .logo-img {
        height: 60px;
    }

    .footer-logo-img {
        height: 70px;
    }
}

@media (max-width: 992px) {
    .logo-img {
        height: 55px;
    }

    .footer-logo-img {
        height: 65px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }

    .footer-logo-img {
        height: 60px;
    }

    .logo {
        margin-bottom: 0;
    }

    .header {
        padding: 0.6rem 0;
    }

    .header.scrolled {
        padding: 0.4rem 0;
    }

    .navbar {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }

    .footer-logo-img {
        height: 55px;
    }
}

/* Form button */
.form-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.form-button:hover {
    background: transparent;
    color: var(--primary-color);
} 