:root {
    --primary-color: #1e88e5;
    --secondary-color: #1565c0;
    --accent-color: #40c4ff;
    --accent-light: #80d8ff;
    --text-color: #2c3e50;
    --text-light: #546e7a;
    --background-light: #f8fafc;
    --background-alt: #e3f2fd;
    --white: #ffffff;
    --header-height: 70px;
    --shadow-soft: 0 4px 6px rgba(30, 136, 229, 0.06);
    --shadow-medium: 0 6px 12px rgba(30, 136, 229, 0.08);
    --gradient-blue: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

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

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    padding-top: var(--header-height); /* Adiciona espaço para o header fixo */
}

/* Header e Navegação */
header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(227, 242, 253, 0.98));
    box-shadow: var(--shadow-medium);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 136, 229, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(30, 136, 229, 0.1));
}

.logo img:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 4px 8px rgba(30, 136, 229, 0.2));
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.05rem;
}

.menu a:hover {
    color: var(--primary-color);
    background-color: var(--background-alt);
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    background-color: #E3F2FD;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background-color: #25D366;
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
    background-color: #20BC5C;
    color: var(--white) !important;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

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

/* Sobre */
.sobre {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(64, 196, 255, 0.1));
    padding: 8rem 5%;
    text-align: center;
}

.sobre-content {
    max-width: 1000px;
    margin: -4rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.sobre-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
}

.sobre h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.sobre h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.sobre p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Serviços */
.servicos {
    padding: 5rem 5%;
    background: var(--light-gray);
}

.servicos h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ver-mais-container {
    text-align: center;
    margin-top: 3rem;
}

.ver-mais-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.ver-mais-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(30, 136, 229, 0.2);
}

.ver-mais-button i {
    transition: transform 0.3s ease;
}

.ver-mais-button:hover i {
    transform: translateX(5px);
}

.servico-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.servico-card:hover {
    transform: translateY(-5px);
}

.servico-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 1rem;
    background-color: var(--background-alt);
    transition: transform 0.3s ease;
}

.servico-info {
    padding: 1.5rem;
}

.servico-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contato */
.contato {
    padding: 6rem 5%;
    background: var(--background-light);
    position: relative;
}

.contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
    opacity: 0.3;
}

.contato h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.contato h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.contato {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(64, 196, 255, 0.1));
    padding: 8rem 5%;
}

.contato-container {
    max-width: 1000px;
    margin: -4rem auto 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.contato-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
}

#formulario-contato {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.input-group {
    position: relative;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 1;
}

.input-group textarea + .input-icon {
    top: 1.2rem;
    transform: none;
}

#formulario-contato input,
#formulario-contato textarea {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3rem;
    border: 2px solid rgba(30, 136, 229, 0.1);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 4px rgba(30, 136, 229, 0.05);
}

#formulario-contato input::placeholder,
#formulario-contato textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

#formulario-contato input:focus,
#formulario-contato textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(64, 196, 255, 0.1);
    background: var(--white);
    transform: translateY(-2px);
}

#formulario-contato textarea {
    height: 180px;
    resize: vertical;
    line-height: 1.6;
}

#formulario-contato button {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#formulario-contato button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

#formulario-contato button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.2);
}

#formulario-contato button:hover::before {
    transform: translateX(100%);
}

#formulario-contato button:active {
    transform: translateY(-1px);
}

.redes-sociais {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 15px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.redes-sociais h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.redes-sociais a {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
}

.redes-sociais a:hover {
    color: var(--white);
    background: var(--gradient-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.1)
    );
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top right, rgba(64, 196, 255, 0.2), transparent 60%),
        radial-gradient(circle at bottom left, rgba(21, 101, 192, 0.2), transparent 60%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
    padding: 5rem 5% 3rem;
    justify-content: center;
    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-column h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--white);
    padding: 4px;
    transition: all 0.4s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-contact p:hover {
    opacity: 1;
}

.footer-contact i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social a.instagram img {
    content: url('../img/instagram.png');
}

.footer-social a.whatsapp img {
    content: url('../img/whatsapp.png');
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 5%;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-container {
        grid-template-columns: 1fr;
    }
    
    .redes-sociais {
        padding: 1.5rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .redes-sociais a {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    nav {
        padding: 0.6rem 4%;
    }
    
    .logo img {
        height: 40px;
    }
    
    .menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .sobre {
        padding: 6rem 5% 4rem;
    }
    
    .sobre-content {
        padding: 2rem;
        margin-top: -2rem;
    }
    
    .sobre h2 {
        font-size: 2rem;
    }
    
    .sobre p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contato-container {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 5% 2rem;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-logo {
        justify-content: center;
        display: flex;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 1.5rem 5%;
    }
    
    #formulario-contato button {
        width: 100%;
    }
}

.menu-mobile .whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-mobile .whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-mobile .whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

/* Ajustes da seção de contato */
.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
}

.info-card, .redes-sociais {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--background-alt);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.social-links a img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Responsividade para contato */
@media (max-width: 768px) {
    .contato-container {
        grid-template-columns: 1fr;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    .social-links a img {
        width: 30px;
        height: 30px;
    }
}
