/* ============================= */
/*          CSS VARS             */
/* ============================= */

:root {
    --primary-color: #0b3c6d;
    --secondary-color: #0b4f78;
    --accent-color: #e67e22; /* Para detalhes sutis */
    --text-dark: #2c3e50;
    --text-light: #546e7a;
    --bg-light: #f8faff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    width: 100%;
    padding-top: 80px;
    color: var(--text-dark);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

/* ============================= */
/*             HERO              */
/* ============================= */

.polish-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 100px 5%;
    gap: 40px;
}

.polish-hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.polish-hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.polish-hero-image img {
    width: 100%;
    max-height: 550px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: var(--shadow);
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(11, 60, 109, 0.3);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11, 60, 109, 0.4);
}

/* ============================= */
/*            IMPACT             */
/* ============================= */

.polish-impact {
    padding: 100px 5%;
    background-color: var(--white);
}

.impact-text {
    text-align: center;
    margin: auto;
    max-width: 900px;
}

.impact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.impact-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 60px auto 0;
    gap: 40px;
}

.impact-gallery img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.impact-gallery div:hover img {
    transform: scale(1.02);
}

/* ============================= */
/*             ABOUT             */
/* ============================= */

.polish-about {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 5%;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

/* ============================= */
/*            STEPS              */
/* ============================= */

.polish-steps {
    background: var(--bg-light);
    padding: 100px 5%;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.step:hover span {
    color: #3479e2;
    transition: color 0.5s ease;
}

.step span {
    font-size: 50px;
    font-weight: 800;
    color: rgba(0, 47, 142, 0.356);
    position: absolute;
    top: 0px;
    right: 20px;
}

.step h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* ============================= */
/*           BENEFITS            */
/* ============================= */

.polish-benefits {
    padding: 100px 5%;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    padding: 40px 25px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    background: var(--white);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ============================= */
/*             QUOTE             */
/* ============================= */

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

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

/* ============================= */
/*         RESPONSIVENESS        */
/* ============================= */

@media (max-width: 992px) {
    .polish-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    .polish-hero-text h1 {
        font-size: 2.8rem;
    }

    .polish-hero-text p {
        margin: 20px auto;
    }

    .polish-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .impact-gallery {
        grid-template-columns: 1fr;
    }
    
    .steps-container, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .polish-hero {
        padding: 20px 5%;
    }
    
    .polish-hero-text h1 {
        font-size: 2.2rem;
    }

    .polish-impact, .polish-benefits, .polish-steps {
        padding: 20px 5%;
    }
}