/* About Us Page Styles - Simplified Mobile First */

/* Container & Layout */
.sobre-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section {
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;
}

.section-title {
    font-size: 36px;
    color: #1e3a8a;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

/* Hero Section (Preserved) */
.about-hero {
    position: relative;
    background-image: url('../assets/images/casa-passiva-mareines-arquitetura_19.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* INCREASED HEIGHT */
    height: 65vh;
    min-height: 500px;

    /* Centering */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

    /* Spacing */
    padding: 100px 20px 60px;

    overflow: hidden;
}

/* LIGHTER overlay for better image visibility */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.about-eyebrow {
    font-size: 14px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.about-hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* Text Content */
.text-container {
    max-width: 900px;
    margin: 0 auto;
}

.history-label {
    font-size: 14px;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}

.history-title {
    font-size: 36px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
}

.text-container p {
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 20px;
}

.highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #d4af37;
    padding: 24px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 32px 0;
}

/* Cards (Milestones & Values) */
.cards-container {
    display: flex;
    gap: 2.5%;
    /* Fluid gap */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.card-milestone {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 0 0 31.66%;
    /* 3 columns desktop */
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 0;
}

.milestone-badge {
    display: inline-block;
    background: #d4af37;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.milestone-title-text {
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.card-value {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: left;
    flex: 0 0 31.66%;
    /* 3 columns desktop */
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-value:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 56px;
    height: 56px;
    color: #d4af37;
    margin-bottom: 20px;
}

.value-title {
    font-size: 24px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 16px;
}

.value-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #334155;
    margin-bottom: 8px;
}

.values-list li i {
    color: #d4af37;
    width: 20px;
    height: 20px;
}

/* CTA Section */
.cta-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    color: var(--color-primary);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.cta-btn {
    display: inline-block;
    background: #d4af37;
    color: var(--color-primary);
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background: #e5c158;
}

/* --- MOBILE RESPONSIVE RULES --- */
@media (max-width: 992px) {
    .about-hero {
        height: 60vh;
        min-height: 450px;
        padding: 90px 20px 50px;
    }

    .about-hero-title {
        font-size: 38px;
    }

    .about-hero-subtitle {
        font-size: 18px;
    }

    .card-milestone,
    .card-value {
        flex: 0 0 48%;
        /* 2 columns tablet */
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 20px;
    }

    .about-hero {
        height: 55vh;
        min-height: 400px;
        padding: 100px 20px 50px;
    }

    .about-hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .about-hero-subtitle {
        font-size: 16px;
        margin-top: 0;
    }

    .about-eyebrow {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .history-title,
    .section-title {
        font-size: 28px;
    }

    .text-container p {
        font-size: 16px;
    }

    .highlight-box {
        font-size: 18px;
        padding: 20px;
    }

    /* Cards Stack */
    .cards-container {
        flex-direction: column;
        gap: 0;
    }

    .card-milestone,
    .card-value {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .cta-title {
        font-size: 24px;
    }
}