/* ===== CSS Reset & Variables ===== */
:root {
    --blue: #1e50a0;
    --orange: #f5a623;
    --green: #4b7e3d;
    --dark: #333;
    --light: #f8f9fa;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --red: #e74c3c;
    --purple: #9C27B0;

    /* UV index colors - simplified */
    --uv-low: #8BC34A;
    --uv-medium: #FFF59D;
    --uv-high: #FFB74D;
    --uv-very-high: #E57373;
    --uv-extreme: #9C27B0;

    /* UI elements */
    --rounded: 16px;
    --shadow: 0 3px 4px rgba(0, 0, 0, 0.2);

    /* Spacing system */
    --space-1: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-2: clamp(0.5rem, 1vw, 1rem);
    --space-3: clamp(1rem, 2vw, 1.5rem);
    --space-4: clamp(1.5rem, 3vw, 2.5rem);
    --space-5: clamp(2rem, 4vw, 3.5rem);
    --space-6: clamp(2rem, 4vw, 3.5rem);

    /* Typography */
    --text-xs: clamp(0.7rem, 1.5vw, 0.75rem);
    --text-sm: clamp(0.8rem, 1.8vw, 0.875rem);
    --text-base: clamp(0.9rem, 2vw, 1rem);
    --text-md: clamp(1rem, 2.2vw, 1.125rem);
    --text-lg: clamp(1.1rem, 2.5vw, 1.25rem);
    --text-xl: clamp(1.3rem, 3vw, 1.5rem);
    --text-2xl: clamp(1.6rem, 4vw, 1.875rem);
    --text-3xl: clamp(2rem, 5vw, 2.25rem);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-size: var(--text-base);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul,
li {
    list-style-type: none;
}

p {
    margin-bottom: var(--space-3);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: var(--space-3);
    color: var(--blue);
    line-height: 1.2;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-normal {
    font-weight: 400;
}

.text-blue {
    color: var(--blue);
}

.text-orange {
    color: var(--orange);
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--dark);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-orange {
    background-color: var(--orange);
}

.bg-white {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-green {
    background-color: var(--green);
    border: solid 6px white;
}

.bg-light {
    background-color: var(--light);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section {
    margin-bottom: var(--space-6);
    background-color: var(--white);
    padding: clamp(2rem, 2vw, 3rem) var(--space-6) var(--space-6);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section-title {
    margin: var(--space-4);
    margin-top: var(--space-4);
    color: var(--blue);
    font-size: var(--text-2xl);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.section-intro {
    color: var(--blue);
    font-weight: 500;
    margin-bottom: var(--space-6);
    margin-top: clamp(1.2rem, 1.5vw, 1.5rem);
    /* Added top margin */
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Header ===== */
header {
    background-color: var(--orange);
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 6rem) 0;
    text-align: center;
}

.background-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Circle elements */
.blue-circle-1,
.blue-circle-2,
.blue-circle-3,
.white-circle-1,
.white-circle-2,
.white-circle-3 {
    position: absolute;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.blue-circle-1 {
    width: clamp(80px, 12vw, 120px);
    height: clamp(80px, 12vw, 120px);
    background-color: var(--blue);
    top: 15%;
    right: 10%;
}

.blue-circle-2 {
    width: clamp(50px, 8vw, 80px);
    height: clamp(50px, 8vw, 80px);
    background-color: var(--blue);
    bottom: 15%;
    left: 12%;
}

.blue-circle-3 {
    width: clamp(100px, 15vw, 160px);
    height: clamp(100px, 15vw, 160px);
    background-color: var(--blue);
    bottom: -8%;
    right: -3%;
}

.white-circle-1 {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    background-color: var(--white);
    top: 12%;
    left: 8%;
    opacity: 0.9;
    /* Slight transparency for subtlety */
}

.white-circle-2 {
    width: clamp(40px, 6vw, 70px);
    height: clamp(40px, 6vw, 70px);
    background-color: var(--white);
    bottom: 20%;
    right: 28%;
    opacity: 0.8;
}

.white-circle-3 {
    width: clamp(30px, 5vw, 50px);
    height: clamp(30px, 5vw, 50px);
    background-color: var(--white);
    top: 28%;
    right: 32%;
    opacity: 0.7;
}


.logo-container {
    position: relative;
    z-index: 1;
    width: clamp(200px, 35vw, 300px);
    /* Responsive logo size */
    height: clamp(200px, 35vw, 300px);
    background-color: var(--white);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-shadow: var(--shadow);
}

.logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    padding-bottom: 30px;
}

/* ===== Navigation Bar ===== */
/* ===== SIMPLIFIED NAVIGATION BAR CSS ===== */

.navbar {
    background-color: var(--dark);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-lg);
}

.navbar-toggler {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-icon {
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar-nav {
    display: flex;
    gap: 1.5rem;
}

/* UNIFIED NAV LINK STYLES */
.navbar-nav .nav-link {
    color: var(--white);
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--orange);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* DESKTOP - ACTIVE SECTION STYLING (ORANGE BACKGROUND) */
@media (min-width: 992px) {
    .navbar-nav .nav-link.section-active {
        color: var(--blue);
        background-color: var(--orange);
        border-radius: 4px;
        padding: 0.5rem 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .navbar-nav .nav-link.section-active:hover {
        color: white;
        /* Keep white on hover when active */
        background-color: #e8960d;
        /* Slightly darker orange on hover */
    }

    .navbar-nav .nav-link.section-active::after {
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        pointer-events: none;
        text-transform: uppercase;
        background-color: var(--orange);
        color: var(--dark);
    }
}

/* MOBILE FLOATING INDICATOR - VERTICAL ON LEFT EDGE */
.navbar-floating-indicator {
    position: fixed;
    left: 2%;
    /* Completely glued to left border */
    top: 35%;
    transform: translateY(-50%) rotate(-90deg);
    /* Vertical text */
    transform-origin: left center;
    background-color: var(--orange);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    text-transform: uppercase;
}

.navbar-floating-indicator.show {
    opacity: 1;
    visibility: visible;
}


/* HIDE FLOATING INDICATOR ON DESKTOP */
@media (min-width: 992px) {
    .navbar-floating-indicator {
        display: none;
        /* Completely hide on desktop */
    }
}

/* MOBILE NAVIGATION */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        max-width: 200px;
        height: calc(100vh - 60px);
        background-color: var(--dark);
        transition: right 0.3s ease;
        padding: 1rem;
        overflow-y: auto;
        z-index: 1001;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.2rem;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
    }

    /* MOBILE ACTIVE SECTION STYLING */
    .navbar-nav .nav-link.section-active {
        color: var(--orange);
        background-color: transparent;
        font-weight: 700;
    }

    /* HAMBURGER ANIMATION */
    .navbar-toggler.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .navbar-toggler.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* HIDE INDICATOR WHEN MOBILE MENU IS OPEN */
.navbar-collapse.show~.navbar-floating-indicator {
    display: none;
}

.scroll-hook {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* ===== Main Content ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Highlights Cards */
.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    margin: 2rem 0;
}

.highlights-card {
    flex: 1;
    max-width: calc(33.333% - 1rem);
    padding: clamp(1.2rem, 3vw, 3rem) clamp(1rem, 2vw, 1.2rem);
    border-radius: 20px;
    text-align: center;
}

.highlights-card p {
    margin: 0;
    font-size: clamp(1.1rem, 1.5vw, 2rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    font-family: "kit-rounded", sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}

.highlights-card p span {
    font-size: clamp(1rem, 1vw, 1.2rem);
}

/* Aspects Container */
.aspects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 2vw, 30px);
    margin: 2rem 0;
}

.aspect-card {
    border-radius: 10px;
    padding: clamp(1rem, 2vw, 1.5rem);
    overflow: hidden;
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    background-color: #f8f9fa;
}

.aspect-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
}

.aspect-icon {
    color: #f8f9fa;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-color: var(--orange);
}

.aspect-content {
    flex-grow: 1;
}

.aspect-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.aspect-description {
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--blue);
    line-height: 1.4;
}

.aspect-features {
    margin: 0 auto;
    /* Center the list container */
    margin-bottom: 0;
    padding-left: clamp(15px, 4vw, 20px);
    /* Use padding instead of margin */
    max-width: fit-content;
    /* Make container fit content width */
    text-align: left;
}

.aspect-feature {
    margin-bottom: 0;
    position: relative;
    padding-left: 1.5rem;
}

.aspect-feature::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
    position: relative;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    /* Changed from space-around to center */
    margin-bottom: 2rem;
    padding: 0 clamp(1rem, 4vw, 5rem);
}

.stats-figures {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--blue);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 8px;
    justify-content: space-around;
    margin: 2rem 0;
    box-sizing: border-box;
    /* Ensure padding is included in width */
}

.people-icons {
    max-width: 90%;
    height: auto;
    margin-bottom: 1rem;
}

.exclamation-mark {
    font-size: 10rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 0.8;
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}

.percentage-icon {
    font-size: 6rem;
    font-weight: 900;
    color: #10b981;
    line-height: 0.8;
    margin-top: -1rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    text-align: center;
}

.stat-item {
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 500;
    font-family: "kit-rounded", sans-serif;
}

.stats-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Reduced from 280px */
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 clamp(1rem, 4vw, 4.5rem) 3rem;
    /* Reduced minimum padding */
    justify-items: start;
    /* Align items to the start */
}

.stat-fact {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--blue);
    font-weight: 500;
    font-family: "kit-rounded", sans-serif;
    position: relative;
    padding-left: 1.5rem;
    max-width: 100%;
    /* Changed from 300px to 100% */
    width: 100%;
    /* Ensure full width */
    box-sizing: border-box;
}

.stat-fact::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

/* Risk Factors Section */

/* Estilos para as tabs */
.risk-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2rem 0;
}

.risk-tab {
    background-color: var(--light-gray);
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.risk-tab:hover {
    background-color: var(--blue);
    color: var(--white);
}

.risk-tab.active {
    background-color: var(--dark);
    color: var(--white);
}

/* Estilos para o conteúdo das tabs */
.risk-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.risk-content.active {
    display: block;
    opacity: 1;
}

.risk-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: clamp(1.5rem, 4vw, 3rem);
}

.risk-card {
    border-radius: 10px;
    flex: 1 1 300px;
    max-width: 550px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-sizing: border-box;
    /* Ensure consistent sizing */
}

.risk-card.environmental {
    background-color: var(--blue);
}

.risk-card.phenotypic {
    background-color: var(--orange);
}


.pheno-icon-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    color: white;
    line-height: 1.3;
}

.pheno-icon-list li {
    padding: 0.5rem;
    background-color: #1e50a0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.risk-card.genetic {
    background-color: #FFD166;
}

.risk-card.alert {
    background-color: var(--red);
}

.risk-title {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--orange);
    font-family: "kit-rounded", sans-serif;
    font-weight: 700;
}

.risk-card.phenotypic .risk-title {
    color: var(--blue);
}

.risk-card.genetic .risk-title {
    color: var(--dark);
}

.risk-card.alert .risk-title {
    color: var(--white);
}

.risk-icon-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.env-icon,
.genetic-icon,
.alert-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 10px);
    text-align: center;
    margin-bottom: 20px;
}

.pheno-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.env-icon img,
.pheno-icon img {
    width: 63%;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.env-icon span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

.pheno-icon span {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.genetic-intro {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.genetic-intro p {
    margin: 4rem;
}

/* Transição suave entre tabs */
.risk-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.genetic-icon p,
.alert-icon p {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.alert-icon p {
    color: white;
}

.genetic-icon span {
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 400;
}

.alert-icon span {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 400;
}

/* UV Container Styles */

.uv-introduction {
    max-width: 900px;
    margin: 2rem auto 1rem;
    text-align: center;
}

.uv-introduction p {
    margin-bottom: 1.5rem;
}

.UV-header {
    margin-bottom: 0;
    border-radius: 12px;
    padding: 30px 30px 0 30px;
}

.UV-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(15px, 3vw, 30px);
    border-radius: 10px;
    padding: clamp(1rem, 2.5vw, 2rem);
    align-items: stretch;
}

.UV-information {
    grid-column: 2;
    background-color: var(--dark);
    border-radius: 22px;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vw, 4rem);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.UV-information h4 {
    color: #d1a9f7;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-left: 0;
    margin-top: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.uv-subtitle {
    color: var(--orange);
    margin-top: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 0;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-family: "kit-rounded", sans-serif;
    font-weight: 600;
}

.uv-subtitle:first-child {
    margin-top: 0;
}

.uv-subtitle span {
    font-weight: 400;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #b7b3b3;
}

.UV-information p {
    color: var(--white);
    margin: 0.5rem 0 clamp(1rem, 2vw, 1.5rem) 0;
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
    line-height: 1.4;
}

.UV-image {
    grid-column: 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: clamp(200px, 25vw, 400px);
}

.UV-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* UV Index Card */
.uv-index-card {
    grid-column: 1 / -1;
    /* Span all columns */
    background-color: #1c1c1c;
    border-radius: var(--rounded);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: clamp(15px, 3vw, 20px) 0;
    border: solid 6px white;
}

.uv-index-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    background-color: #000000;
    line-height: 1.3;
}

.uv-index-title {
    color: white;
    font-size: 1.6rem;
    font-weight: 900;
    max-width: 70%;
    margin-top: 10px;
}

/* UV Levels - Layout em colunas para telas grandes */
.uv-levels {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: 0;
}

.uv-level {
    display: flex;
    padding: clamp(15px, 3vw, 20px);
    flex-direction: column;
    flex: 1 1 200px;
    /* Flexible basis */
    min-width: 180px;
}


.uv-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.uv-number {
    width: 35px;
    height: 35px;
    background-color: black;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.uv-risk {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.uv-description {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 500;
}

/* Cores dos níveis */
.level-baixo {
    background-color: var(--uv-low);
}

.level-moderado {
    background-color: var(--uv-medium);
}

.level-elevado {
    background-color: var(--uv-high);
}

.level-muito-elevado {
    background-color: var(--uv-very-high);
}

.level-extremo {
    background-color: var(--uv-extreme);
}

/* Cores do texto */
.level-baixo .uv-risk,
.level-baixo .uv-description,
.level-moderado .uv-risk,
.level-moderado .uv-description,
.level-elevado .uv-risk,
.level-elevado .uv-description {
    color: var(--dark);
}

.level-muito-elevado .uv-risk,
.level-muito-elevado .uv-description,
.level-extremo .uv-risk,
.level-extremo .uv-description {
    color: var(--white);
}

/* Melanoma Section */
#Melanoma.section {
    background-color: white;
}

/* Container de factos-chave com fundo escuro */
.melanoma-main-container {
    display: flex;
    justify-content: space-between;
    gap: 11px;
    margin: clamp(1rem, 3vw, 2rem);
    max-width: 1100px;
}

.melanoma-facts-container {
    border-radius: 12px;
    padding: clamp(1.2rem, 3vw, 2rem);
    flex: 3;
    max-width: 50vw;
    margin: 0;
}

/* Layout 2x2 para os factos */
.melanoma-key-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.key-fact {
    background-color: var(--dark);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.key-fact p {
    color: white;
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Secção da imagem */
.melanoma-image-section {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.melanoma-image-container {
    max-width: 90%;
}

.melanoma-image {
    max-width: 100%;
    height: auto;
}

/* Subsecção de como identificar */
.sub-section-title {
    color: var(--blue);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
    text-align: center;
}

.identification-text {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 1000px;
}

/* REGRA ABCDE */
.melanoma-detection {
    background-color: white;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 8px;
}

.detection-heading {
    color: #1e50a0;
    font-size: 2.2rem;
    font-family: "kit-rounded", sans-serif;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.abcde-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.abcde-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1 1 160px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 3px solid #333;
    margin-bottom: 1rem;
}

.abcde-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.abcde-icon img {
    width: 100%;
    height: auto;
}

.abcde-content {
    padding: 0.8rem;
    text-align: center;
}

.abcde-content h4 {
    color: #1e50a0;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.abcde-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Aviso de cuidado */
.melanoma-warning {
    background-color: #fff8f8;
    border: 3px solid #ffdbdb;
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
    margin: 0 clamp(1.5rem, 7vw, 4.5rem) 1rem;
}

.warning-title {
    color: #951818;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 900;
    font-family: "kit-rounded", sans-serif;
}

.warning-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.warning-list li {
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.warning-list li span {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    display: block;
    font-weight: 700;
    color: #951818;
}

.warning-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f0f5ff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.warning-note i {
    color: #1e50a0;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.warning-note p {
    margin: 0;
    font-weight: 500;
    color: var(--dark);
    max-width: 600px;
}

/* Evita Platform Section */
.evita-platform {
    margin: 0 clamp(2rem, 15vw, 12rem);
    background-color: #f0f5ff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.evita-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.evita-info {
    flex: 2;
    text-align: right;
}

.evita-info h3 {
    color: var(--blue);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: "kit-rounded", sans-serif;
}

.evita-info p {
    color: var(--dark);
    font-size: 1.1rem;
}

.evita-circle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--space-6) 0;
    padding: 1rem;
}

/* Circular card: responsive size */
.evita-circle-card {
    border-radius: 50%;
    width: clamp(200px, 40vw, 280px);
    height: clamp(200px, 40vw, 280px);
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Button stays centered and circular */
.evita-circle-button {
    display: inline-block;
    background-color: rgb(79, 64, 166);
    color: var(--orange);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    line-height: 189.5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0px 2px 3px #aaa, inset 5px 5px 12px #818bc4, inset -4px -10px 20px #000d51;
    text-align: center;
    font-family: "kit-rounded", sans-serif;
}

.evita-circle-button:hover {
    color: var(--white);
    box-shadow: 0px 3px 10px #000d51 inset, 0px 0px 3px #818bc4;
}

/* Title and text scale with viewport */
.evita-circle-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    margin: 0.5rem 0 0.3rem;
}

/* Prevention Section */
.prevencao-container {
    max-width: 1200px;
    margin: 0 auto;
}

.protection-highlights-0 {
    margin: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4.5rem) clamp(1rem, 2vw, 1rem);
}

.protection-highlights-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Changed from 1fr 1fr */
    gap: clamp(15px, 3vw, 20px);
    margin: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4.5rem) clamp(1rem, 2vw, 1rem);
}

.protection-highlights-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Changed from 1fr 1fr */
    gap: clamp(15px, 3vw, 20px);
    margin: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4.5rem) clamp(1rem, 2vw, 1rem);
}

/* Card 1: A pele é o maior órgão */
.protection-card {
    background-color: var(--light);
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    min-height: clamp(180px, 25vw, 230px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 900;
    text-align: center;
    padding: clamp(1rem, 2vw, 1.5rem);
}


.protection-card p {
    font-family: "kit-rounded", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: var(--blue);
    margin: 1rem;
}

.protection-card h4 {
    color: var(--orange);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Card 2: Horários de Exposição */
.protection-card.bg-dark {
    background-color: var(--dark);
}

.protection-card.bg-dark h4 {
    color: var(--orange);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.protection-card.bg-dark p {
    color: var(--orange);
    font-size: clamp(1.1rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
}

.protection-card.bg-dark p span {
    color: white;
    font-weight: 600;
}

/* Protection-tips */

.protection-tip {
    flex: 1;
    min-width: 250px;
    background-color: var(--green);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border-radius: 8px;
    box-shadow: var(--shadow);
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-family: "kit-rounded", sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    overflow: hidden;
}

.protection-tip h4 {
    color: var(--orange);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1rem;
    font-weight: 700;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.protection-tip h4 span {
    color: white;
    font-weight: 300;
    font-size: 1rem;
    display: block;
    margin-top: 5px;
}

.protection-tip-0,
.protection-tip-2 {
    box-shadow: var(--shadow);
    min-width: 250px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
    line-height: 1.3;
    letter-spacing: 0.02em;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: solid 7px var(--green);
}

.protection-tip-0 {
    background-color: #e7f9e2;
}

.protection-tip-0 p {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 500;
}

.protection-tip-1 {
    background-color: var(--green);
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    min-width: 250px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
    line-height: 1.3;
    letter-spacing: 0.02em;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.protection-tip-1 p {
    color: white;
    font-weight: 300;
    font-size: 1rem;
    display: block;
}

.protection-tip-1 h4 {
    margin: 0;
    font-size: clamp(1.1rem, 1.3vw, 3rem);
    color: var(--white);
    font-family: "kit-rounded", sans-serif;
    font-weight: 900;
    margin: 20px 0;
}

.protection-tip-3 {
    background-color: var(--green);
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    min-width: 250px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
    line-height: 1.3;
    letter-spacing: 0.02em;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    margin: 0 clamp(1.5rem, 4vw, 4.5rem) 1rem;
}




/* Card 3: Regra da Sombra */
.sombra-content {
    border-radius: 10px;
    padding: 0 clamp(10px, 2vw, 20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 8vw, 40px);
}

.sombra-content p {
    font-size: clamp(1.1rem, 1.3vw, 3rem);
    color: white;
    text-align: right;
    margin: 0;
    font-family: "kit-rounded", sans-serif;
    line-height: 1.1;
}

.sombra-content p span {
    color: white;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    line-height: 0.9;
}

.sombra-content p:nth-child(2) {
    text-align: left;
}

.sombra-image {
    padding: clamp(1vw, 3vw, 2vw) 0 0 clamp(1vw, 3vw, 4vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card 4: Proteção Complementar */

.protection-image {
    display: flex;
    justify-content: center;
    margin: clamp(20px, 5vw, 40px) 0;
}

/* Bottom cards grid */
.bottom-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(15px, 3vw, 20px);
    margin: clamp(1rem, 2vw, 1rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2rem, 3vw, 2rem);
}

/* Daily protection card */

.tip-header {
    color: var(--blue-primary);
    padding: 15px 20px;
    font-size: 1.4rem;
    font-weight: 900;
    font-family: "kit-rounded", sans-serif;
}

.tip-header[style="color: var(--secondary-color)"] {
    color: var(--orange) !important;
}

.tip-content {
    padding: 20px;
}

.daily-tip {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

.daily-tip:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tip-icon {
    height: 60px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--blue);
    font-size: 1.5rem;
}

.tip-icon img {
    max-height: 90%;
    object-fit: contain;
}

.tip-text {
    font-size: 1rem;
    color: var(--dark);
    text-align: left;
}

.tip-text strong {
    color: var(--blue);
}

/* Amount item */
.amount-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.amount-icon {
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.amount-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    height: auto;
}

.amount-text h4 {
    color: var(--blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
    text-align: left;
}

.amount-text {
    padding-left: 2rem;
}

.amount-text p {
    color: var(--dark);
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 15px;
}

/* Application card (full width) */
.application-card {
    grid-column: span 2;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 0 clamp(1.5rem, 4vw, 4.5rem) 1rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: solid 7px var(--green);
}

.application-header {
    color: var(--dark);
    padding: 15px 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 900;
    font-family: "kit-rounded", sans-serif;
}

.application-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.application-step {
    background-color: var(--light-gray);
    border-radius: var(--rounded);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.application-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--orange);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.step-text {
    font-weight: 600;
    color: var(--blue);
}

/* Checkup Section */

.checkup-header {
    color: var(--light);
    padding: 15px 20px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: "kit-rounded", sans-serif;
}

.checkup-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    padding: 0 clamp(1rem, 3vw, 4rem) 1rem;
}

.checkup-card {
    background-color: #f8f9fa;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    padding: clamp(1.2rem, 2.5vw, 2rem);
    color: var(--blue);
    /* Ensure cards take full available width */
}

.checkup-card[style*="padding"] {
    padding: clamp(1.2rem, 2.5vw, 2rem) !important;
}

.checkup-card h3 {
    font-weight: 900;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-family: "kit-rounded", sans-serif;
    line-height: 1.3;
    margin: 0;
    color: var(--blue);
}

.checkup-card p {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
    margin: 1rem 0 0 0;
}

/* Questionnaire Section */
#questionario.section {
    position: relative;
    padding: var(--space-5);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.questionario-container {
    padding: clamp(1.5rem, 3vw, 2rem);
    margin: 0 clamp(2rem, 8vw, 5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.questionario-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 clamp(1rem, 3vw, 2rem) 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-icon {
    background-color: var(--blue);
    color: white;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.benefit-item p {
    margin: 0;
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: "kit-rounded", sans-serif;
    line-height: 1.2;
}

.questionnaires-triangle {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.triangle-row-top {
    display: flex;
    justify-content: center;
}

.triangle-row-bottom {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.cta-circle {
    display: flex;
    align-items: center;
    margin: 0.5rem;
}

.circle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(30, 80, 160);
    color: var(--orange);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0px 2px 3px #aaa, inset 5px 5px 12px #818bc4, inset -4px -10px 20px #000d51;
    text-align: center;
    font-family: "kit-rounded", sans-serif;
    line-height: 1.2;
}

.circle-button:hover {
    box-shadow: 0px 3px 10px #000d51 inset, 0px 0px 3px #818bc4;
    color: var(--light);
}

/* Footer */
footer {
    background-color: var(--blue);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 1.8rem;
    padding: 0 10rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.footer-info {
    flex: 2;
    min-width: 280px;
}

.footer-logo {
    max-width: 200px;
    padding: 0 0 2rem 2.3rem;
}

.footer-contact {
    flex: 1;
    min-width: 280px;
}

.footer-contact h3 {
    color: var(--orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--orange);
    transform: translateY(-3px);
}


.footer-team {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-team h3 {
    color: var(--orange);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    align-items: start;
}

.team-promoters,
.team-coordination {
    color: var(--white);
    max-width: 330px;
}

.team-container h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.team-promoters p,
.team-coordination p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.team-promoters .role,
.team-coordination .role {
    font-weight: 600;
    color: var(--orange);
}

/* Partners Section */
.footer-partners {
    background-color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 3rem;
    margin: 1rem 5rem;
}

.logos-container {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}
.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 1.5rem 0;
}

.footer-partners h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.partners-intro {
    text-align: center;
    color: var(--blue);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0rem;
    justify-items: center;
    margin: 0 0.5rem;
    align-items: center;
}

.partners-grid img {
    max-width: 110px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.promotor-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 0 0.5rem;
    align-items: center;
}

.promotor-container img {
    max-width: 136px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-left: 0.3rem;
}

.partners-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Partner details text */
.partners-details {
    color: var(--blue);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: .8rem 1.8rem 3.8rem 1.8rem;
    text-align: left;
    columns: 3;
    column-gap: 7rem;
    column-rule: 1px solid rgba(44, 90, 160, 0.2);
}

.partners-details p {
    margin-bottom: 0.8rem;
    break-inside: avoid;
}

.partners-details strong {
    color: var(--orange);
}


/* Responsive Media Queries - Apenas mudanças estruturais essenciais */
@media (max-width: 991px) {

    .stats-figures {
        min-width: 250px;
        max-width: none;
        gap: 2rem;
    }


    .stats-figures:nth-child(3) {
        flex-direction: row;
        text-align: left;
    }


    .evita-content {
        flex-direction: column;
        text-align: center;
    }

    .evita-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .evita-feature {
        justify-content: flex-start;
        text-align: left;
    }

    .melanoma-main-container {
        flex-direction: column;
        max-width: 90%;
    }

    .melanoma-facts-container {
        width: 100%;
        max-width: none;
    }

    .melanoma-image-section {
        width: 100%;
        margin-top: 1.5rem;
    }

    .melanoma-image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .warning-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .warning-list li:nth-child(3) {
        grid-column: 1 / -1;
        /* Span from first column to last */
    }

    .questionario-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {

    header {
        padding: 4rem 0;
    }

    .section {
        padding: clamp(2rem, 2vw, 3rem) var(--space-5) var(--space-6);
    }

    .section-wrapper {
        padding: 3 rem;
    }

    .highlights-card {
        max-width: 100%;
    }

    .stats-container {
        padding: 0 1rem;
        /* Minimal padding on mobile */
        gap: 1rem;
        flex-direction: column;
        /* Stack vertically */
        align-items: center;
    }

    .stats-figures {
        width: 100%;
        /* Full width on mobile */
        max-width: 100%;
        min-width: unset;
        /* Remove min-width constraint */
        margin: 1rem 0;
        padding: 2rem 1rem;
        flex-direction: row;
        text-align: left;
    }

    .stats-figures:nth-child(3) {
        flex-direction: column;
        text-align: center;
        padding: clamp(2rem, 3vw, 3rem);
    }

    .percentage-icon {
        margin-top: 0;
    }

    .people-icons {
        max-width: 37%;
    }



    .stats-facts {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        padding: 0 1rem 2rem;
        /* Minimal side padding */
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-fact {
        max-width: 100%;
        width: 100%;
        padding-left: 1.2rem;
        /* Slightly reduce arrow space */
    }

    .aspect-card {
        max-width: 100%;
    }

    .risk-container {
        flex-direction: column;
        /* Stack in single column */
        align-items: center;
        /* Center the cards */
        margin: 1.5rem 0.5rem;
        /* Reduce side margins */
        gap: 20px;
    }

    .risk-card {
        width: 100%;
        /* All cards same width */
        max-width: 100%;
        /* Remove max-width constraint */
        flex: none;
        /* Remove flex grow/shrink */
        margin: 0;
        /* Remove any margins */
    }

    .risk-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .risk-tabs {
        gap: 8px;
        margin: 1.5rem 0;
    }

    .risk-card {
        max-width: 100%;
    }

    .warning-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .warning-list li:nth-child(3) {
        grid-column: 1;
        /* Reset to single column */
    }

    .protection-highlights {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 15px;
        margin: 1.5rem 0.5rem;
    }

    .bottom-cards-grid {
        grid-template-columns: 1fr;
        margin: 1rem;
    }

    .application-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sombra-content p[style*="text-align: right"] {
        text-align: left !important;
    }

    .sombra-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .sombra-content p:first-child {
        text-align: left;
    }

    .sombra-image {
        padding: 0;
        margin-top: 1rem;
    }

    .protection-card {
        min-height: auto;
    }

    .protection-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 1.5rem 0.5rem;
        /* Reduced margin for more width */
    }

    .protection-card,
    .protection-tip,
    .protection-tip-1,
    .uv-index-card {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .bottom-cards-grid {
        grid-template-columns: 1fr;
        margin: 1rem 0.5rem;
        gap: 15px;
    }

    .protection-tip-2 {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .application-card {
        margin: 0 0.5rem 1rem;
        width: calc(100% - 1rem);
        box-sizing: border-box;
    }

    .protection-tip-3 {
        margin: 0;
        width: calc(100% - 1rem);
        box-sizing: border-box;
    }

    .checkup-card-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 1rem;
    }

    .uv-levels {
        flex-direction: column;
        /* Stack UV levels vertically */
    }

    .uv-level {
        flex-direction: row;
        align-items: center;
        padding: 15px 20px;
        min-width: 100%;
        gap: 8px;
        flex: 1 1;
    }

    .uv-numbers {
        margin-bottom: 0;
        flex-shrink: 0;
        min-width: 40px;
        /* FIXED WIDTH for consistent alignment */
        width: 50px;
        /* Ensure exact width */
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: flex-start;
        /* Align numbers to the left */
    }

    .uv-info {
        flex: 1;
        text-align: left;
        /* Ensure text starts aligned */
    }

    .uv-risk {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .uv-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .uv-index-title {
        font-size: 1.4rem;
        margin-top: 5px;
    }

    .amount-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .amount-text {
        padding-left: 0;
    }

    .amount-text h4,
    .amount-text p {
        text-align: center;
    }

    .amount-icon {
        margin: 0 auto 1rem;
    }

    .UV-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .UV-image {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }

    .UV-information {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        margin: 0;
    }

    .tip-text {
        text-align: left;
    }

    .melanoma-key-facts {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }

    .melanoma-detection {
        margin: 1.5rem;
        padding: 1.5rem;
    }

    .melanoma-warning {
        margin: 0;
    }

    .warning-list {
        grid-template-columns: 1fr;
    }

    .detection-heading {
        font-size: 1.8rem;
    }

    .sub-section-title {
        font-size: 1.5rem;
    }

    .evita-circle-wrapper {
        margin: 0;
        padding: 0;
    }

    .evita-platform {
        padding: 3rem;
        margin: 1.5rem;
    }

    .abcde-container {
        justify-content: center;
    }

    .abcde-card {
        flex: 0 0 140px;
    }

    .triangle-row-top {
        gap: 2rem;
    }

    .triangle-row-bottom {
        gap: 0;
    }

    /* Reverse the order */
    .questionnaires-triangle {
        flex-direction: column-reverse;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .partners-details {
        columns: 1;
        font-size: 0.8rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .partners-grid img {
        max-width: 80px;
        max-height: 50px;
    }

}

@media (max-width: 576px) {
    .risk-tab {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .risk-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .risk-tab {
        border-radius: 8px;
    }

}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .logo-container {
        width: 60vw;
        height: 60vw;
    }

    .blue-circle-1,
    .blue-circle-2,
    .blue-circle-3,
    .white-circle-1,
    .white-circle-2,
    .white-circle-3 {
        display: none;
    }


    .section {
        padding: clamp(2rem, 2vw, 3rem) var(--space-4) var(--space-6);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .highlights-card p {
        font-size: 1.2rem;
    }

    .highlights-card p span {
        font-size: 1rem;
        line-height: 1.1;
    }

    .stats-facts {
        padding: 0 0.5rem 1.5rem;
        /* Even less padding */
        gap: 0.8rem;
    }

    .stat-fact {
        font-size: 0.9rem;
        /* Slightly smaller text */
        padding-left: 1rem;
        line-height: 1.3;
    }

    .stat-fact::before {
        content: "→";
        position: absolute;
        left: 0;
        color: var(--orange);
        font-weight: bold;
        font-size: 0.8rem;
        /* Smaller arrow on mobile */
    }

    .risk-container {
        margin: 1rem 0.25rem;
        /* Minimal margins */
        gap: 15px;
    }

    .risk-card {
        width: 100%;
        padding: 1.5rem 1rem;
        /* Reduce horizontal padding */
        border-radius: 8px;
        /* Smaller border radius */
    }

    .risk-icon-group {
        gap: 15px;
        /* Reduce gap between icons */
    }

    .env-icon,
    .pheno-icon,
    .genetic-icon,
    .alert-icon {

        margin-bottom: 15px;
    }

    .risk-title {
        font-size: 1.8rem;
    }

    .evita-platform {
        padding: 1.5rem;
    }

    .evita-info h3 {
        font-size: 1.6rem;
    }

    .UV-card {
        border-radius: 8px;
    }

    .UV-information {
        border-radius: 16px;
    }

    .UV-information p {
        line-height: 1.3;
    }

    .melanoma-facts-container {
        padding: 1.2rem;
    }

    .key-fact {
        padding: 1rem;
    }

    .detection-heading {
        font-size: 1.5rem;
    }

    .warning-title {
        font-size: 1.8rem;
    }

    .uv-index-header {
        padding: 10px 15px;
    }

    .uv-index-title {
        font-size: 1.2rem;
        margin-top: 0;
    }

    .uv-level {
        padding: 12px 15px;
        gap: 6px;
    }

    .uv-numbers {
        gap: 3px;
        flex-direction: column;
    }

    .uv-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .uv-risk {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .uv-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .protection-highlights {
        margin: 1rem 0.25rem;
    }

    .bottom-cards-grid {
        margin: 1rem 0.25rem;
    }

    .application-card {
        margin: 0 0.25rem 1rem;
        width: calc(100% - 0.5rem);
    }

    .protection-tip-3 {
        margin: 0 0.25rem 1rem;
        width: calc(100% - 0.5rem);
    }

    .protection-card,
    .protection-tip,
    .protection-tip-1,
    .protection-tip-2,
    .uv-index-card {
        border-radius: 8px;
        /* Smaller border radius for mobile */
        margin: 0;
        width: 100%;
    }

    /* Reduce padding on very small screens */
    .protection-card {
        padding: 1rem;
    }

    .protection-tip,
    .protection-tip-1 {
        padding: 1rem;
    }

    .protection-tip-2 {
        padding: 1rem;
    }

    .checkup-card {
        padding: 1rem !important;
    }

    .protection-card p {
        font-size: 1.3rem;
    }

    .protection-tip-1 h4 {
        font-size: 1.3rem;
    }

    .tip-icon {
        min-width: 40px;
        height: 40px;
    }

    .application-content {
        grid-template-columns: 1fr;
    }

    .footer-team h3,
    .footer-partners h3 {
        font-size: 1.1rem;
    }

    .team-promoters h4,
    .team-coordination h4 {
        font-size: 1rem;
    }

    .team-promoters p,
    .team-coordination p {
        font-size: 0.85rem;
    }

    .partners-details {
        font-size: 0.75rem;
    }
}