/* ===================================
   PALETA DE CORES - MORAES AR CONDICIONADO
   Azul Escuro: #1F3B52
   Azul Médio: #2E6F95
   Azul Claro: #4AA3C0
   Branco: #FFFFFF
   Cinza Claro: #F5F7FA
   Cinza Médio: #E8EBF0
   Cinza Escuro: #64748B
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1F3B52;
    background-color: #FFFFFF;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===================================
   HEADER COM LOGO
   =================================== */

.header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #1F3B52;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2E6F95;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1F3B52;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 30;
    }

    .header-nav.active {
        display: flex;
    }

    .logo {
        height: 40px;
    }
}

/* ===================================
   BOTÃO FLUTUANTE WHATSAPP
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20BA58;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1F3B52 0%, #2E6F95 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    color: white;
    animation: fadeIn 0.6s ease-out forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge i {
    color: #FCD34D;
}

.hero-text h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

.subheadline {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #E5E7EB;
    font-weight: 300;
}

@media (min-width: 768px) {
    .subheadline {
        font-size: 1.25rem;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #25D366;
    color: white;
}

.btn-primary:hover {
    background-color: #20BA58;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: white;
    color: #1F3B52;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #F5F7FA;
    color: #1F3B52;
}

.hero-image {
    display: none;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
        animation: fadeIn 0.6s ease-out 0.2s forwards;
        opacity: 0;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
        box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    }
}

/* ===================================
   SERVIÇOS SECTION
   =================================== */

.servicos {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1F3B52;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748B;
    max-width: 42rem;
    margin: 0 auto;
}

.servicos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .servicos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1F3B52;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.service-icon {
    font-size: 2rem;
    color: #4AA3C0;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1F3B52;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #64748B;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: #2E6F95;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1F3B52;
}

/* ===================================
   PROVA SOCIAL SECTION
   =================================== */

.prova-social {
    padding: 5rem 0;
    background-color: #F5F7FA;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #FCD34D;
    font-size: 1.5rem;
}

.rating-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F3B52;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #FCD34D;
    font-size: 1rem;
}

.testimonial-text {
    color: #64748B;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: #1F3B52;
    font-weight: 600;
}

/* ===================================
   SOBRE SECTION
   =================================== */

.sobre {
    padding: 5rem 0;
    background-color: white;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sobre-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sobre-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sobre-text h2 {
    color: #1F3B52;
    margin-bottom: 1.5rem;
}

.sobre-text p {
    color: #64748B;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.diferenciais {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.diferencial-item i {
    color: #4AA3C0;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.diferencial-item span {
    color: #64748B;
    font-size: 1.05rem;
}

/* ===================================
   ÁREA DE ATENDIMENTO SECTION
   =================================== */

.area-atendimento {
    padding: 5rem 0;
    background-color: #F5F7FA;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contato-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contato-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1F3B52;
}

.contato-icon {
    font-size: 1.75rem;
    color: #1F3B52;
    margin-bottom: 1rem;
}

.contato-card h3 {
    color: #1F3B52;
    margin-bottom: 0.75rem;
}

.contato-card p {
    color: #64748B;
}

.phone-link {
    color: #2E6F95;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #1F3B52;
}

.phone-info {
    color: #64748B;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ===================================
   CTA FINAL SECTION
   =================================== */

.cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1F3B52 0%, #2E6F95 100%);
    color: white;
    text-align: center;
}

.cta-final h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-final p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #E5E7EB;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-cta:hover {
    background-color: #20BA58;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #1F3B52;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-info {
    flex: 1;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-subtitle {
    color: #9CA3AF;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

/* ===================================
   ANIMAÇÕES
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .servicos,
    .prova-social,
    .sobre,
    .area-atendimento,
    .cta-final {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ===================================
   ACESSIBILIDADE
   =================================== */

a:focus,
button:focus {
    outline: 2px solid #4AA3C0;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
