/* ===== VARIÁVEIS E RESET ===== */
:root {
    --azul-escuro: #0A2463;
    --azul: #1E40AF;
    --azul-claro: #3B82F6;
    --roxo: #7C3AED;
    --verde: #10B981;
    --vermelho: #EF4444;
    --branco: #FFFFFF;
    --cinza-escuro: #1F2937;
    --cinza: #4B5563;
    --cinza-claro: #F3F4F6;
    --cinza-borda: #E5E7EB;
    --planos-azul: #2563eb;
    --planos-azul-escuro: #1e40af;
    --planos-branco: #ffffff;
    --planos-cinza-escuro: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--cinza-escuro);
    line-height: 1.6;
    overflow-x: hidden;
    /* PADDING REMOVIDO - isso resolve as margens brancas */
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--azul);
    color: var(--branco);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--azul-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--azul);
    color: var(--azul);
}

.btn-outline:hover {
    background-color: var(--azul);
    color: var(--branco);
}

section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--azul);
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--azul);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--azul-escuro);
    padding: 5px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul) 100%);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--branco);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--branco);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: var(--azul-escuro);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(55, 54, 107, 0.3);
}

.cta-button:hover {
    background-color: #2b46c0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

.btn-container {
    text-align: right;
    width: 100%;
    margin: 30px 0;
}

/* ===== CONTAINER DOS PLANOS ===== */
.planos-container-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px; /* Padding apenas no container dos planos */
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
}

.planos-title {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-align: center;
}

.planos-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.2rem;
    text-align: center;
}

/* Container do botão centralizado */
.planos-hero-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
}

/* Estilo do botão principal usando variáveis específicas */
.planos-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--planos-azul);
    color: var(--planos-branco);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.planos-btn-primary:hover {
    background-color: var(--planos-azul-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

/* Modal de planos */
.planos-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px 0;
    animation: planosFadeIn 0.3s ease;
}

@keyframes planosFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.planos-modal-content {
    background-color: transparent;
    margin: 50px auto;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px 30px 30px;
    position: relative;
    animation: planosSlideUp 0.4s ease;
}

@keyframes planosSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.planos-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #777;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    z-index: 10;
}

.planos-close-modal:hover {
    color: #333;
}

/* Títulos */
.planos-modal-title {
    text-align: center;
    margin-bottom: 40px;
    color: #0056b3;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.planos-modal-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0056b3, #007bff);
    border-radius: 3px;
}

/* Layout dos cards de planos */
.planos-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    align-items: stretch;
}

.planos-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.planos-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.planos-card-express:before {
    background: linear-gradient(to right, #4CAF50, #8BC34A);
}

.planos-card-business:before {
    background: linear-gradient(to right, #2196F3, #03A9F4);
}

.planos-card-premium:before {
    background: linear-gradient(to right, #FF9800, #FFC107);
}

.planos-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.planos-card-destaque {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #2196F3;
    z-index: 2;
}

.planos-card-destaque:hover {
    transform: scale(1.05) translateY(-10px);
}

.planos-card-destaque .planos-card-title {
    font-size: 1.8rem;
}

.planos-card-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #333;
}

.planos-card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.planos-card-descricao {
    margin-bottom: 25px;
    color: #555;
    flex-grow: 1;
}

.planos-card-lista {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.planos-card-lista li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.planos-card-lista li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.planos-card-destaque .planos-card-lista li:before {
    color: #2196F3;
}

/* Botão WhatsApp */
.planos-btn-whatsapp {
    display: block;
    background: linear-gradient(to right, #25D366, #128C7E);
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.planos-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    background: linear-gradient(to right, #128C7E, #25D366);
}

.planos-btn-whatsapp i {
    margin-right: 8px;
}

/* Destaque no plano Business */
.planos-destaque-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(to right, #2196F3, #03A9F4);
    color: white;
    padding: 8px 35px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ===== MODAL DE FORMULÁRIO ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 15px;
}

.modal-content {
    background-color:transparent;
    margin: 135px auto 30px auto;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.4s;
    display: flex;
    flex-direction: column;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.close-button:hover {
    color: #333;
}

.form-header {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: white;
    padding: 20px 25px;
    border-radius: 10px 10px 0 0;
}

.form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-body {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

#businessForm {
    overflow-y: auto;
    max-height: 45vh;
    padding-right: 5px;
    margin-bottom: 15px;
}

/* Personalizar a barra de rolagem */
#businessForm::-webkit-scrollbar {
    width: 6px;
}

#businessForm::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#businessForm::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

#businessForm::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.required::after {
    content: " *";
    color: #e74c3c;
}

.optional {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
}

.example {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-top: 3px;
}

.submit-btn {
    background-color: #27ae60;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 3px 6px rgba(39, 174, 96, 0.3);
}

.submit-btn:hover {
    background-color: #219653;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.4);
}

/* Rodapé do formulário fixo na parte inferior */
.form-footer {
    margin-top: auto;
    padding: 15px 0 0;
    border-top: 1px solid #eaeaea;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.form-footer a {
    color: var(--azul);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ===== SERVIÇOS ===== */
.servicos {
    background-color: var(--branco);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--azul-escuro);
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--azul);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--cinza);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: stretch;
}

.servico-card {
    background-color: var(--branco);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cinza-borda);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-icon {
    font-size: 45px;
    color: var(--azul);
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--azul-escuro);
    min-height: 60px;
}

.servico-card p {
    color: var(--cinza);
    line-height: 1.6;
    flex-grow: 1;
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
    background-color: var(--cinza-claro);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--branco);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--cinza);
}

/* ===== CARROSSEL DE TEXTO ===== */
.carrossel-texto-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background-color: #1a56db;
    padding: 20px 0;
}

.carrossel-texto-track {
    display: flex;
    white-space: nowrap;
    animation: carrossel-texto-animacao 25s linear infinite;
}

.carrossel-texto-item {
    flex-shrink: 0;
    padding: 0 40px;
    color: white;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.carrossel-texto-item:not(:last-child)::after {
    content: "—";
    position: absolute;
    right: 0;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes carrossel-texto-animacao {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Efeito de sobreposição nas bordas */
.carrossel-texto-container::before,
.carrossel-texto-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    z-index: 2;
}

.carrossel-texto-container::before {
    left: 0;
    background: linear-gradient(to right, #1E40AF, transparent);
}

.carrossel-texto-container::after {
    right: 0;
    background: linear-gradient(to left, #1E40AF, transparent);
}

/* ===== CASES DE SUCESSO ===== */
.cases-section {
    padding: 80px 20px;
    background-color: #1a56db;
    color: white;
}

.cases-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #0A2463;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 20px auto 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    color: #2d3748;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.case-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1a56db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #1a56db;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a56db;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #4a5568;
}

.case-description {
    margin-bottom: 20px;
    color: #4a5568;
}

.case-link {
    display: inline-flex;
    align-items: center;
    color: #1a56db;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.case-link:hover {
    color: #0d3a9c;
}

.case-link:hover i {
    transform: translateX(5px);
}

.cta-container {
    text-align: center;
    margin-top: 60px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--branco);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-contato h3 {
    color: var(--branco);
    margin-bottom: 20px;
}

.footer-contato p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contato i {
    margin-right: 12px;
    color: var(--azul-claro);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--branco);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--azul-claro);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    animation: pulse 2s infinite;
}

.whatsapp-float i {
    font-size: 30px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--branco);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .servico-card {
        padding: 25px 20px;
    }
    
    .servico-icon {
        font-size: 40px;
    }
    
    .servico-card h3 {
        font-size: 1.2rem;
        min-height: auto;
    }
    
    .modal-content {
        margin: 50px auto 20px auto;
        width: 95%;
        max-height: 80vh;
    }
    
    .form-body {
        padding: 15px 20px;
    }
    
    .form-header {
        padding: 15px 20px;
    }
    
    input, select, textarea {
        padding: 9px 11px;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    #businessForm {
        max-height: 40vh;
    }
    
    .carrossel-texto-item {
        font-size: 1.5rem;
        padding: 0 30px;
    }
    
    .carrossel-texto-container::before,
    .carrossel-texto-container::after {
        width: 50px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Responsividade para planos */
    .planos-cards-container {
        gap: 20px;
    }
    
    .planos-card {
        min-width: 280px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .servicos {
        padding: 80px 0;
    }
    
    .servico-card {
        padding: 20px 15px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .carrossel-texto-item {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .carrossel-texto-container::before,
    .carrossel-texto-container::after {
        width: 30px;
    }
    
    /* Responsividade para planos */
    .planos-modal-content {
        margin: 20px;
        padding: 30px 20px 20px;
    }
    
    .planos-modal-title {
        font-size: 1.8rem;
    }
    
    .planos-title {
        font-size: 2rem;
    }
    
    .planos-hero-buttons {
        justify-content: center;
    }
    
    .planos-btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .planos-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .planos-card {
        width: 100%;
        max-width: 450px;
    }
    
    .planos-card-destaque {
        transform: scale(1);
    }
    
    .planos-card-destaque:hover {
        transform: translateY(-10px);
    }
}

/* Estilos para o estado de carregamento */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mensagens de validação */
.validation-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Campos inválidos */
input:invalid {
    border-color: #e74c3c;
}

/* Menu mobile ativo */
@media (max-width: 992px) {
    nav ul.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--branco);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

.mensagem-sucesso {
  margin-top: 15px;
  color: #1E40AF;
  font-weight: 600;
  background-color: #E0F2FE;
  padding: 10px 15px;
  border-radius: 6px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Classe para mostrar com fade-in */
.mensagem-sucesso {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mensagem-sucesso.show {
  opacity: 1;
  visibility: visible;
}