/************ Interventions section ************/
.intervencoes-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 90px;
}

.intervencoes-intro {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

/************ Cards grid ************/
.intervention-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.intervention-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    padding: 32px 30px;
    background: #faf8f3;
    border: 1px solid #ece5d8;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.intervention-card:hover {
    transform: translateY(-4px);
    border-color: #d8cfbf;
    box-shadow: 0 14px 30px rgba(34, 58, 89, 0.12);
}

.intervention-card .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #223a59;
    color: #fff;
    font-size: 1.4rem;
    transition: background 0.25s ease;
}

.intervention-card:hover .icon {
    background: #2d4c74;
}

.intervention-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #223a59;
    margin: 0;
    line-height: 1.3;
}

.intervention-card .card-more {
    margin-top: auto;
    color: #b67a1c;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.intervention-card:hover .card-more {
    text-decoration: underline;
}

/************ Modal styling ************/
.modal-pretty {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-pretty .modal-header {
    background: #f2efe6;
    border-bottom: 1px solid #e6ddcd;
    padding: 22px 28px;
}

.modal-pretty .modal-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #223a59;
    line-height: 1.3;
}

.modal-pretty .modal-header .close {
    color: #223a59;
    opacity: 0.7;
    text-shadow: none;
    font-size: 1.6rem;
}

.modal-pretty .modal-header .close:hover {
    opacity: 1;
}

.modal-pretty .modal-body {
    padding: 28px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body-content {
    color: #444;
    line-height: 1.85;
    font-size: 1.05rem;
}

.modal-body-content p {
    margin-bottom: 16px;
    text-align: justify;
}

.modal-body-content p:last-child {
    margin-bottom: 0;
}

.modal-body-content .lead-in {
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 16px;
    text-align: justify;
    font-weight: 400;
}

.modal-body-content h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: #223a59;
    margin: 36px 0 12px;
    padding-left: 16px;
    border-left: 3px solid #b67a1c;
}

.modal-body-content .modal-quote {
    text-align: center;
    font-style: italic;
    color: #6a5a3a;
    background: #f6f1e7;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

/************ Responsive ************/
@media (max-width: 768px) {
    .intervencoes-container {
        padding: 45px 20px 70px;
    }

    .intervention-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intervention-card {
        padding: 26px 24px;
    }

    .modal-pretty .modal-title {
        font-size: 1.4rem;
    }
}

/************ Home page: Áreas de Intervenção band ************/
.home-areas {
    max-width: 100%;
    background: #ffffff;
    padding: 80px 20px 90px;
}

.home-areas .section-head {
    text-align: center;
    margin-bottom: 46px;
}

.home-areas .section-tag {
    display: block;
    color: #b67a1c;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.home-areas .section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #223a59;
    margin: 0;
}

.home-areas .section-head,
.home-areas .intervention-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
