@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Thin-web.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Light-web.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Regular-web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Medium-web.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #5881ab;
    --primary-soft: #8faed0;
    --pink: #e2b3b3;
    --pink-text: #e7bcbc;
    --dark: #595959;
    --muted: #595959;
    --white: #ffffff;
    --field: #efeded;

    /* Button standardization tokens */
    --ag-btn-min-height: 44px;
    --ag-btn-padding-y: 12px;
    --ag-btn-padding-x: 34px;
    --ag-btn-pink-text: #422b2b;
    /* WCAG compliant text color for pink button */
    --ag-btn-pink-hover: #d49292;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Bradesco Sans", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}

.container.narrow {
    width: min(760px, calc(100% - 64px));
    text-align: center;
}

.image-slot {
    background-color: #ddd5d0;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.36), rgba(88, 81, 75, 0.42));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-section {
        height: 500px;
    }
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

.hero-main {
    background-color: #ead8c8;
}

.hero-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    /* Centered on mobile */
    z-index: 2;
}

.hero-title {
    color: var(--white);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: normal;
    line-height: 1;
    text-transform: uppercase;
}

.with-bars {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.with-bars::before {
    content: "";
    width: 3px;
    height: 28px;
    background: var(--white);
}

.with-bars::after {
    display: none;
}

/* Custom styles: matching sobre-nos on mobile, returning to original on desktop */
.ag-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero__content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    top: 110px;

}

.hero__indicator {
    width: 4px;
    height: 40px;
    background-color: #ffffff;
}

.hero__title {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-overlay-content {
        align-items: flex-end;
        /* Original desktop bottom-align */
        /* Desktop (ajuste aqui) */
        padding-bottom: 160px;
    }

    .ag-container {
        width: min(1440px, calc(100% - 64px));
        /* Original desktop container width */
        padding: 0;
    }

    .hero__content {
        gap: 8px;
        /* Original gap */
    }

    .hero__indicator {
        width: 3px;
        /* Original indicator width */
        height: 28px;
        /* Original indicator height */
        border-radius: 0;
        /* Original flat indicator */
    }

    .hero__title {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        /* Original clamp size */
        font-weight: normal;
        /* Original lighter font weight */
        letter-spacing: normal;
    }

    .intro-title {
        font-size: 4rem !important;
        /* 50px */
    }
}

.intro-panel {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: -140px auto 0;
    padding: clamp(44px, 6vw, 72px) 0 clamp(72px, 8vw, 108px);
    background: var(--white);
    border-top-right-radius: clamp(80px, 13vw, 210px);
}

.intro-title {
    color: var(--pink-text);
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: uppercase;
}

.project-banner {
    position: relative;
    overflow: hidden;
    min-height: clamp(310px, 38vw, 520px);
    display: grid;
    place-items: center;
    color: var(--white);
    text-align: center;
    border-top-left-radius: clamp(30px, 6vw, 80px);
    border-top-right-radius: clamp(30px, 6vw, 80px);
}

.project-banner>img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.project-integrar {
    background-color: #d3c4ba;
}

.banner-logo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.18));
}

.project-logo {
    width: clamp(200px, 40vw, 450px);
    height: auto;
    margin-bottom: 15px;
}

.banner-logo small {
    font-size: clamp(0.9rem, 1.5vw, 1.25rem);
    font-weight: normal;
    text-transform: none;
}

.rounded-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: -48px auto 0;
    padding: clamp(50px, 7vw, 72px) 0 80px;
    background: var(--white);
    border-top-left-radius: clamp(30px, 5vw, 50px);
    border-top-right-radius: clamp(30px, 5vw, 50px);
}

.blue-title,
.pink-title {
    margin-bottom: 28px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal;
    line-height: 1.08;
}

.blue-title {
    color: var(--primary);
}

.pink-title {
    color: var(--pink-text);
}

.rounded-panel p {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: normal;
}

.section-pill {
    width: fit-content;
    min-width: 306px;
    margin: 58px 0 28px;
    padding: 6px 26px 5px;
    border-radius: 0 100px 100px 0;
    background: var(--pink);
    color: var(--white);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(34px, 7vw, 92px);
}

.info-column {
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.info-column h4 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
}

.info-column ul {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 8px;
    background: var(--field);
}

.info-column li {
    position: relative;
    padding-left: 15px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: normal;
}

.info-column li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.egg-donation {
    min-height: clamp(340px, 44vw, 580px);
    background-color: #b88286;
}

.egg-title {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.14));
}


.line-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 60px 0 22px;
    color: var(--dark);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: normal;
}

.line-title::before {
    content: "";
    width: 4px;
    height: 34px;
    border-radius: 100px;
    background: var(--primary);
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px 42px;
    max-width: 660px;
}

.tag-grid span {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 7px;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: normal;
    text-align: center;
}

.modalities-title {
    margin-top: 84px;
}

.donation-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(34px, 8vw, 96px);
}

.donation-card {
    overflow: hidden;
    min-height: 220px;
    border-radius: 8px;
    background: var(--field);
}

.donation-card h4 {
    padding: 14px 18px;
    background: var(--pink);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}

.donation-card-blue h4 {
    background: var(--primary);
}

.donation-card p {
    padding: 24px 28px;
    color: var(--dark);
    font-size: 1rem;
}

.split-content {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(340px, 1fr);
    gap: clamp(48px, 8vw, 100px);
    margin-top: 58px;
}

.split-content .section-pill {
    margin-top: 0;
}

.section-pill.wide {
    width: 100%;
    min-width: 0;
}

.steps-box,
.reason-box {
    padding: 20px 20px 20px 12px;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: var(--field);
}

.steps-box p,
.reason-box p {
    color: var(--dark);
    font-size: 1rem;
}

.steps-box p+p,
.reason-box p+p {
    margin-top: 16px;
}

.steps-box strong {
    color: var(--dark);
    font-weight: 500;
}

.reception-section {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 430px);
    gap: clamp(42px, 7vw, 90px);
    align-items: end;
    margin-top: 64px;
}

.reception-copy .line-title {
    margin-top: 0;
}

.reception-copy p {
    max-width: 650px;
    margin-bottom: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ag-btn-min-height);
    border-radius: var(--ag-radius-full, 9999px);
    padding: var(--ag-btn-padding-y) var(--ag-btn-padding-x);
    background: var(--pink);
    color: var(--ag-btn-pink-text);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.button:hover {
    background: var(--ag-btn-pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.button:active {
    transform: translateY(0);
}

.button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.reception-image {
    min-height: 320px;
    border-radius: 24px 0 0 24px;
    background-color: #d8c8bc;
    overflow: hidden;
}

.reception-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {

    .container,
    .container.narrow {
        width: min(100% - 32px, 1120px);
    }

    .intro-panel {
        margin-top: -80px;
        border-top-right-radius: 92px;
    }

    .participation-grid,
    .donation-cards,
    .split-content,
    .reception-section {
        grid-template-columns: 1fr;
    }

    .tag-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-pill,
    .section-pill.wide {
        min-width: 0;
        width: 100%;
        border-radius: 100px;
    }

    .reception-image {
        min-height: 260px;
        border-radius: 24px;
    }
}

@media (max-width: 720px) {
    .hero-overlay-content {
        padding-bottom: 100px;
    }

    .hero-bg-image {
        height: 115%;
        top: 5%;
        object-fit: cover;
        object-position: center top;
    }

    .intro-panel {
        margin-top: -80px;
        border-top-right-radius: 92px;
    }
}

@media (max-width: 560px) {

    .project-banner {
        min-height: 260px;
    }

    .rounded-panel {
        margin-top: -32px;
    }
}