@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    background: #F9F9F9 !important;
}

p {
    margin: 0.4rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Proteger layout em zoom alto usando unidades relativas e limites */
.container, main, section {
    max-width: 100vw;
}

.laws-button {
    width: 45vw;
    height: 6vh;
    border-radius: 45px;
    background: #3273C0;
    border: #3273C0 1px solid;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.section-2 {
    margin-top: 0;
    padding-top: clamp(16px, 4vh, 64px);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
}

.section-2>.text-container>h1 {
    margin: 0;
    padding: 0;
    font-size: 55px;
    font-weight: bolder;
    letter-spacing: 2px;
}

.section-2>.text-container {
    max-width: 45%;
    text-align: start;
}

.image-col1 {
    background-image: url('../public/DJI_00301.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 50vw;
    height: 70vh;
}

.image-col2 {
    background-image: url('../public/landfill-with-burning-trash-piles-2025-04-01-10-47-58-utc1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 50vw;
    height: 70vh;
}

/* Wrappers and labels for importance section images */
.image-col-wrapper {
    width: 50vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-label {
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-3 {
    width: 100vw;
    min-height: 60vh;
    height: auto;
    padding: 6vh 0;
    background-image: url('../public/lady-justice.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: start;
}

.section-3>.text-container {
    max-height: none;
}

/* ensure .section-3 text block doesn't reserve large height */
.section-3 .h-60vh { height: auto; }

.section-3>.text-container>h1 {
    margin: 0;
    padding: 0;
    font-size: 35px;
    font-weight: bolder;
    letter-spacing: 2px;
}

.section-3>.text-container>p {
    margin: 0;
    padding: 0;
    font-size: 24px;
    letter-spacing: 2px;
}

.section-3>.text-container {
    max-width: 40%;
    text-align: start;
}

.section-4 {
    width: 100vw;
    height: 95vh;
    background-image: url('../public/result_IMG_84491.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: start;
}

.section-4>.text-container>h1 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    font-size: 65px;
    font-weight: bolder;
    letter-spacing: 2px;
    color: #FFFFFF;
    max-width: 25vw;
}

.section-4>.text-container>p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    letter-spacing: 2px;
    max-width: 15vw;
    margin-left: 2vw;
    color: #FFFFFF;
}

.section-4>.text-container {
    max-width: 70%;
    text-align: start;
}

.background-blue {
    background-color: rgba(0, 60, 80, 0.6);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2px;
    font-size: 1.2rem;
    display: inline;
    line-height: 1.4;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.experience {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 5vh;
}

.experience>p {
    color: #FFFFFF;
}

.w-100vw {
    width: 100vw;
}

.h-60vh {
    height: 60vh;
}

.bold {
    font-weight: bold;
}

.flex {
    display: flex;
}

.center {
    justify-content: center;
    /* align-items: center; */
    /* text-align: start; */
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.gap-3 {
    gap: 3rem;
}

.gap-4 {
    gap: 4rem;
}

.color-white {
    color: #FFFFFF;
}

.background-red {
    background-color: red;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0.2rem 1rem;
}

.font-size-1 {
    font-size: 1rem;
}

.font-size-2 {
    font-size: 2rem;
}

.font-size-3 {
    font-size: 3rem;
}

.font-size-4 {
    font-size: 4rem;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.letter-spacing-4 {
    letter-spacing: 4px;
}

.letter-spacing-5 {
    letter-spacing: 5px;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.ml-1 {
    margin-left: 1rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-3 {
    margin-left: 3rem;
}

.ml-4 {
    margin-left: 4rem;
}

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mr-3 {
    margin-right: 3rem;
}

.mr-4 {
    margin-right: 4rem;
}

.mr-5 {
    margin-right: 5rem;
}

.mr-6 {
    margin-right: 6rem;
}

.mr-7 {
    margin-right: 7rem;
}

.mr-8 {
    margin-right: 8rem;
}

.mr-9 {
    margin-right: 9rem;
}

.mr-10 {
    margin-right: 10rem;
}

.mr-16 {
    margin-right: 25vw;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.relative-block {
    position: relative;
    display: inline-block;
}

@media (max-width: 1024px) {
    .section-2>.text-container { max-width: 80%; }
    .section-3>.text-container { max-width: 70%; }
    .section-4>.text-container>h1 { max-width: 60vw; }
}

@media (max-width: 1280px) {
    .section-3>.text-container { max-width: 60%; }
    .section-4>.text-container>p { max-width: 30vw; }
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .section-3 { padding: 60px 0; }
    .section-3>.text-container { max-width: 60%; }
    .section-3>.text-container>h1 { font-size: 32px; }
    .section-3>.text-container>p { font-size: 20px; }
}

@media (min-width: 1500px) {
    .section-3 { padding: 8vh 0; }
    .section-3>.text-container { max-width: 50%; }
}

/* Quando a altura da janela é baixa (zoom elevado), reduza espaços verticais */
@media (max-height: 900px) {
    .section-2 { padding-top: clamp(24px, 6vh, 96px); }
    .section-3 { padding: 6vh 0; }
}

@media (max-width: 1366px) {
    .h-60vh { height: auto; }
    .section-2 { margin-top: 0; }
}

@media (max-width: 1150px) {
    .h-60vh { height: auto; }
    .section-3>.text-container>h1 { font-size: 28px; }
    .section-3>.text-container>p { font-size: 18px; }
    .section-4>.text-container>h1 { font-size: 48px; }
}

@media (max-width: 768px) {
    .section-2>.text-container>h1 { font-size: 32px; }
    .section-2>.text-container { max-width: 90%; text-align: start; }
    .flex { flex-direction: column; gap: 16px; }
    .w-100vw { width: 100%; }
    .image-col1, .image-col2 { width: 100vw; height: 35vh; }
    .image-col-wrapper { width: 100vw; }

    .section-3 { height: auto; padding: 40px 0; }
    .section-3>.text-container { max-width: 90%; max-height: none; }
    .section-3>.text-container>h1 { font-size: 24px; }
    .section-3>.text-container>p { font-size: 16px; }

    .section-4 { height: auto; padding: 60px 0; }
    .section-4>.text-container>h1 { font-size: 36px; max-width: 90vw; }
    .section-4>.text-container>p { font-size: 14px; max-width: 80vw; margin-left: 0; }

    .laws-button { width: 90vw; font-size: 16px; height: auto; padding: 12px 16px; }
    .font-size-4 { font-size: 2rem; }
    .font-size-3 { font-size: 1.6rem; }
    .font-size-2 { font-size: 1.2rem; }
    .mr-16, .mr-10, .mr-9, .mr-8, .mr-7, .mr-6, .mr-5 { margin-right: 0; }
}

/* 819px wide layout refinements */
@media (min-width: 768px) and (max-width: 900px) {
    .section-3>.text-container { max-width: 85%; }
    .section-3>.text-container>h1 { font-size: 26px; }
    .section-3>.text-container>p { font-size: 16px; }
}