/* ===================================
   PFL Logística - Estilos Principais
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #555555;
    background-color: #F5F5F5;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-image: url('../images/capa.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-logo {
    width: 70px;
    height: auto;
    margin-bottom: 30px;
}

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.15;
}

.hero h1 strong {
    font-weight: 700;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 500px;
}

.hero-dude {
    max-height: 450px;
    width: auto;
    object-fit: contain;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background-color: #F5F5F5;
    padding: 80px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: #2D3091;
    line-height: 40px;
    margin-bottom: 30px;
}

.about-text p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

/* ===================================
   SERVICES CARDS SECTION
   =================================== */
.services {
    background-color: #F5F5F5;
    background-image: url('../images/rectangle-2.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #DDDDDD;
    border-radius: 40px 40px 30px 0px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.card-header {
    background-color: #FFFFFF;
    border-radius: 40px 40px 40px 0px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.card-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.card-arrow {
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.card-body {
    padding: 25px 30px 30px;
}

.card-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555555;
    margin-bottom: 12px;
}

.card-body p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #7A7A7A;
    line-height: 1.6;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits {
    background-color: #F5F5F5;
    padding: 80px 0;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.benefits-container > h2 {
    font-family: 'Sora', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #2D3091;
    line-height: 42px;
    margin-bottom: 50px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    flex: 0 0 calc(33.333% - 30px);
}

.benefit-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 10px;
}

.benefit-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #7A7A7A;
    line-height: 1.6;
}

/* ===================================
   CTA BANNER SECTION
   =================================== */
.cta-banner {
    position: relative;
    background-color: #F5F5F5;
    padding: 40px 40px 0;
}

.cta-banner-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 280px;
    background-image: url('../images/rectangle-3.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 40px;
}

.cta-content h2 {
    font-family: 'Sora', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */
.why-choose {
    background-color: #F5F5F5;
    padding: 0 0 80px;
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-choose-card {
    background-color: #FFFFFF;
    border-radius: 40px 40px 40px 0px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    padding: 50px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.why-choose-card h2 {
    font-family: 'Sora', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #2D3091;
    line-height: 42px;
    margin-bottom: 20px;
}

.why-subtitle {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    color: #555555;
    margin-bottom: 15px;
}

.why-choose-card > p:last-child {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #7A7A7A;
    line-height: 1.7;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: #F5F5F5;
    padding: 40px 0 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    width: 150px;
    height: auto;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        padding: 30px 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-dude {
        max-height: 350px;
    }

    .about-container {
        padding: 0 20px;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .benefits-container > h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .benefit-item {
        flex: 0 0 calc(50% - 20px);
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .why-choose-card {
        padding: 40px;
    }

    .why-choose-card h2 {
        font-size: 32px;
        line-height: 38px;
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-image {
        max-width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .hero-dude {
        max-height: 300px;
    }

    .about-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .about-text {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .services-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .card-header h3 {
        font-size: 22px;
    }

    .benefits-container {
        padding: 0 20px;
    }

    .benefits-container > h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .benefits-grid {
        gap: 20px;
    }

    .benefit-item {
        flex: 0 0 100%;
    }

    .cta-banner {
        padding: 40px 20px 0;
    }

    .cta-banner-inner {
        min-height: 200px;
    }

    .cta-content h2 {
        font-size: 26px;
        line-height: 30px;
    }

    .why-choose {
        padding: 0 0 60px;
    }

    .why-choose-container {
        padding: 0 20px;
    }

    .why-choose-card {
        padding: 30px 25px;
    }

    .why-choose-card h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .footer {
        padding: 30px 0 40px;
    }

    .footer-logo {
        width: 120px;
    }
}

/* ===================================
   RESPONSIVE - SMALL MOBILE
   =================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .about-text h2 {
        font-size: 22px;
        line-height: 26px;
    }

    .benefits-container > h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .why-choose-card h2 {
        font-size: 24px;
        line-height: 30px;
    }
}
