/* Reset e Variáveis */
:root {
    --primary: #2DD4BF;
    --primary-dark: #0D9488;
    --secondary: #334155;
    --light: #F8FAFC;
    --dark: #0F172A;
    --gray: #94A3B8;
    --white: #FFFFFF;
    --black: #000000;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

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

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

/* Botões */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-reset,
.btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset {
    background: #f1f1f1;
    color: #444;
    border: 1px solid #ddd;
}

.btn-reset:hover {
    background: #e6e6e6;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3, #00408a);
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}

/* Loader dentro do botão */
.loader {
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    animation: spin 1s linear infinite;
    display: none;
}

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

.submit-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-link:hover i {
    transform: translateX(3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

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

.nav {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    gap: 30px; /* Espaço entre itens do menu e botão */
}

.logo img {
    height: 80px;
    transition: all 0.3s;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
}

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

.menu-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Main */
main {
    margin-top: 100px; /* ajuste conforme a altura real do header */
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--dark);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Serviços */
section[id]{
    scroll-margin-top: 100px;
}
.servicos {
    padding: 80px 0;
    background: var(--light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.servico-card {
    width: 100%;
    max-width: 280px;
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Estilos para a seção de serviços */
.servico-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
    text-align: center; /* Centraliza o texto */
    padding: 20px;
    /*
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s; 
    */
}

.servico-card h4 {
    width: 100%; /* Ocupa toda a largura */
    margin: 15px 0 10px 0;
}
.servico-card p {
    text-align: justify;
}
.servico-card:hover {
    transform: translateY(-10px);
}

.servico-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin: 0 auto 10px;
    text-align: center;
}

.servico-lista {
    list-style: none;
    margin: 20px 0;
}

.servico-lista li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-align: left;
}

.servico-lista i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Diferenciais */
.diferenciais {
    padding: 80px 0;
    background: var(--white);
}

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

.diferencial-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: var(--light);
    transition: transform 0.3s;
}

.diferencial-item:hover {
    transform: translateY(-5px);
}

.diferencial-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.diferencial-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.diferencial-item h3 {
    margin-bottom: 10px;
}

.diferencial-item p {
    color: var(--gray);
}

/* Depoimentos */
.depoimentos {
    padding: 80px 0;
    background: var(--light);
}

.depoimento-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.depoimento-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--secondary);
}

.depoimento-author {
    display: flex;
    align-items: center;
}

.depoimento-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.depoimento-author h4 {
    margin-bottom: 5px;
}

.depoimento-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Parceiros */
.parceiros {
    padding: 60px 0;
    background: var(--white);
}

.parceiros-slider div {
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.parceiros-slider img {
    max-width: 150px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.parceiros-slider img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contato */
.contato {
    padding: 80px 0;
    background: var(--light);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

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

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

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contato-list {
    list-style: none;
}

.contato-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contato-list i {
    margin-right: 10px;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer p {
    color: var(--gray);
    margin-bottom: 20px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--primary);
}

.footer ul li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

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

.selos img {
    max-width: 120px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.3s;
}

.error-message {
    display: none; /* Isso resolve o problema! */
    color: #E74C3C;
    font-size: 14px;
    margin-top: 5px;
    padding: 5px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    border-left: 3px solid #E74C3C;
}

/* Mostrar apenas quando tiver a classe 'show' */
.error-message.show {
    display: block;
}

/* Ou alternativamente, se preferir usar inline style */
.error-message[style*="display: block"] {
    display: block !important;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 1200px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 em tablets */
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 40px 20px;
        transition: all 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav ul li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav ul li a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    .logo img {
        height: 50px; /* Reduz um pouco em mobile */
    }
    .servicos-grid {
        grid-template-columns: 1fr; /* 1 coluna em mobile */
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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