/* ===================================
   VARIÁVEIS GLOBAIS
   =================================== */
:root {
    --primary-color: #0D6EFD;
    --primary-dark: #0a58ca;
    --secondary-color: #198754;
    --secondary-dark: #146c43;
    --accent-color: #FFC107;
    --dark-color: #212529;
    --light-color: #F8F9FA;
    --gray-color: #6C757D;
    --gray-light: #E9ECEF;
    --white-color: #FFFFFF;
    --whatsapp-color: #25D366;
    --danger-color: #DC3545;
    
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ===================================
   RESET E ESTILOS GLOBAIS
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   TIPOGRAFIA
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header {
    margin-bottom: 3rem;
}

/* ===================================
   BOTÕES
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

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

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-color), #20ba5a);
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

.btn i {
    margin-right: 8px;
}

.btn-header {
    background-color: var(--whatsapp-color);
    color: var(--white-color);
    padding: 10px 24px;
}

.btn-header:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

/* ===================================
   HEADER
   =================================== */
.header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: var(--white-color);
    padding: 180px 0 120px;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-trust::before {
    content: '✓';
    color: var(--accent-color);
    margin-right: 5px;
    font-weight: bold;
}

/* ===================================
   URGÊNCIA SECTION
   =================================== */
.urgencia {
    background-color: var(--white-color);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

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

.urgencia-card {
    background: linear-gradient(135deg, var(--danger-color), #c82333);
    color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.urgencia-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.urgencia-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.urgencia-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.urgencia-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===================================
   SERVIÇOS SECTION
   =================================== */
.servicos {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.servico-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.servico-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.servico-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.servico-card > p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.servico-list {
    margin-top: 20px;
}

.servico-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-color);
}

.servico-list li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ===================================
   SOBRE SECTION
   =================================== */
.sobre {
    padding: 80px 0;
    background-color: var(--white-color);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image {
    position: relative;
}

.sobre-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    width: 100%;
}

.sobre-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--box-shadow);
}

.sobre-badge i {
    font-size: 1.5rem;
}

.sobre-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.sobre-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    line-height: 1.8;
}

.diferenciais {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.diferencial-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.diferencial-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.diferencial-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.diferencial-item p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* ===================================
   ÁREAS DE ATENDIMENTO
   =================================== */
.areas-atendimento {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
}

.areas-atendimento .section-title,
.areas-atendimento .section-subtitle {
    color: var(--white-color);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.area-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.area-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.area-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* ===================================
   CONTATO SECTION
   =================================== */
.contato {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--white-color);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.contato-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

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

.info-item a {
    color: var(--primary-color);
}

.info-item a:hover {
    text-decoration: underline;
}

.contato-cta {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--whatsapp-color);
}

.contato-cta p {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contato-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.footer-about p {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

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

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

.footer ul li a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer ul li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: var(--gray-light);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--whatsapp-color), #20ba5a);
    color: var(--white-color);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 998;
    transition: var(--transition);
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   RESPONSIVIDADE
   =================================== */
@media (max-width: 1024px) {
    .section-title { font-size: 2.2rem; }
    .hero h1 { font-size: 2.8rem; }
    .sobre-content { grid-template-columns: 1fr; }
    .contato-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    
    .nav-menu,
    .header .btn-header {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: var(--box-shadow);
        padding: 20px;
        gap: 15px;
    }

    .nav-menu.active a {
        text-align: center;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .urgencia-grid {
        grid-template-columns: 1fr;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 90px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }
}
