/* ============================= */
/*        Global Styles          */
/* ============================= */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding-top: 100px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


/* ============================= */
/*          Slideshow            */
/* ============================= */

.slideshow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 600px minmax(0, 1fr);
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
}

.slide.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================= */
/*     Slideshow Responsiveness  */
/* ============================= */

@media (max-width: 1200px) {
    .slideshow {
        grid-template-columns: minmax(0, 0.5fr) 600px minmax(0, 0.5fr);
    }
}

@media (max-width: 900px) {
    .slideshow {
        grid-template-columns: 0 600px 0;
    }

    .slide.photo {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 1000px) {
    .slideshow {
        grid-template-columns: 1fr;
        height: 80vh;
    }

    .slide.photo {
        display: none;
    }

    .slide.video {
        display: block;
        height: 100%;
    }
}

@media (max-width: 600px) {
    .slideshow {
        grid-template-columns: 1fr;
        height: 80vh;
    }

    .slide.video {
        width: 100%;
    }

    .slide.photo {
        display: none;
    }
}


/* ============================= */
/*        Video Overlay          */
/* ============================= */

.slide.video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}


/* ============================= */
/*      Video Text Content       */
/* ============================= */

.video-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    letter-spacing: 5px;
    gap: 5rem;
}

.video-text h1 {
    font-size: 2rem;
    margin: 5px;
}

.video-text p {
    font-size: 1.1rem;
    margin: 0;
}


/* ============================= */
/*         Video Divider         */
/* ============================= */

.video-divider {
    width: 100%;
    height: 1px;
    background-color: #fff;
    border-radius: 2px;
    margin-top: 1rem;
    z-index: 3;
}


/* ============================= */
/*    Mobile Video Adjustments   */
/* ============================= */

@media (max-width: 600px) {
    .video-content {
        justify-content: flex-start;
        padding-bottom: 3rem;
    }

    .video-divider {
        margin-top: 0.75rem;
    }

    .video-text h1 {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .video-text p {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}


/* ============================= */
/*        PPF Introduction       */
/* ============================= */

/* ============================= */
/* PPF Introduction       */
/* ============================= */

.ppf-intro {
    padding: 60px 0; /* Removed horizontal padding to let image breathe */
    background: #fff;
}

.ppf-intro-content {
    max-width: 1400px; /* Increased for a "huge" feel */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Image gets slightly more space */
    gap: 60px;
    align-items: center; /* Centers text vertically against the image */
}

/* Image Container */
.ppf-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
}
.ppf-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px; /* Aplica 20px aos quatro cantos */
}
/* Text Container */
.ppf-details {
    padding-right: 80px;
}

.ppf-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ppf-text .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.ppf-text .description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

/* List styling remains similar but adjusted for the new layout */
.ppf-advantages ul {
    list-style: none;
    padding: 0;
}

.ppf-advantages ul li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 15px;
    color: #444;
}

.ppf-advantages ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0b5ed7;
    font-weight: bold;
}

/* ============================= */
/* Responsiveness          */
/* ============================= */

@media (max-width: 1024px) {
    .ppf-intro-content {
        grid-template-columns: 1fr; /* Stacked layout */
        gap: 40px;
    }

    .ppf-image {
        min-height: 400px;
    }

    .ppf-image img {
        border-radius: 0; /* Full width on mobile */
    }

    .ppf-details {
        padding: 0 40px; /* Add padding when stacked */
    }
}

@media (max-width: 600px) {
    .ppf-text h1 {
        font-size: 28px;
    }
    
    .ppf-image {
        min-height: 300px;
    }
}


/* ============================= */
/* Process Steps PRO       */
/* ============================= */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 80px 5%;
    background: #f8f9fa; /* Fundo levemente acinzentado para destacar os cards brancos */
}

.step-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: left; /* Alinhamento à esquerda fica mais moderno */
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Efeito de elevação ao passar o rato */
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #0b5ed7;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.step-number {
    font-size: 40px;
    font-weight: 800;
    color: #0b5ed7;
    position: absolute;
    right: 20px;
    top: 10px;
    transition: color 0.3s ease;
}

.step-card:hover .step-number {
    color: rgba(11, 94, 215, 0.2);
}

.step-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.step-divider {
    width: 40px;
    height: 3px;
    background: #0b5ed7;
    margin-bottom: 20px;
    transition: width 0.3s ease;
}

.step-card:hover .step-divider {
    width: 60px;
}

.step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsividade */
@media (max-width: 1100px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .process-steps {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .step-card {
        padding: 30px;
    }
}


/* ============================= */
/* Application Process Zig-Zag   */
/* ============================= */

.application-process {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title h1 {
    font-size: 38px;
    color: #222;
    margin-bottom: 10px;
}

.process-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    padding: 0 20px;
}

/* Esta regra inverte a ordem apenas nos passos pares (2, 4, 6...) */
.process-row:nth-child(even) {
    flex-direction: row-reverse;
}

.process-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-row:hover .process-image img {
    transform: scale(1.05);
}

.process-info {
    flex: 1;
}

.step-tag {
    display: inline-block;
    background: #0b5ed7;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.process-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}

.process-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ============================= */
/* Responsividade Mobile         */
/* ============================= */

@media (max-width: 900px) {
    .process-row, 
    .process-row:nth-child(even) {
        flex-direction: column; /* No mobile fica tudo em coluna normal */
        gap: 30px;
        margin-bottom: 60px;
    }

    .process-image {
        width: 100%;
        height: 300px;
    }

    .process-info {
        text-align: center;
    }
}

/* ============================= */
/*          Quote Section        */
/* ============================= */

.quote-title {
    margin-top: 30px;
}

.quote-title h2 {
    font-size: 30px;
    text-align: center;
}