css
/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #f7f8fc;
    color: #111827;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    height: 72px;
    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid #e8eaf0;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: #2563eb;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    color: #667085;
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #2563eb;
}

.nav-button {
    padding: 10px 18px;

    border-radius: 9px;

    background: #111827;
    color: white;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.nav-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}


/* =========================================
   HERO
========================================= */

.nutrition-hero {
    min-height: 500px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #080d1c;
    color: white;

    text-align: center;
}

.nutrition-hero-content {
    position: relative;
    z-index: 2;

    max-width: 800px;

    padding: 80px 25px;
}

.hero-badge {
    display: inline-flex;

    padding: 8px 15px;

    border-radius: 999px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.12);

    color: #cbd5e1;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nutrition-hero h1 {
    margin-top: 28px;

    font-size: clamp(48px, 7vw, 76px);

    line-height: 1;

    letter-spacing: -4px;

    font-weight: 900;
}

.nutrition-hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #60a5fa,
            #a78bfa
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.nutrition-hero p {
    max-width: 620px;

    margin: 25px auto 0;

    color: #a7b1c4;

    font-size: 16px;
    line-height: 1.8;
}

.hero-orb {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.25;
}

.orb-one {
    background: #2563eb;

    top: -220px;
    left: -100px;

    animation: floatOne 9s ease-in-out infinite;
}

.orb-two {
    background: #7c3aed;

    right: -100px;
    bottom: -220px;

    animation: floatTwo 11s ease-in-out infinite;
}

@keyframes floatOne {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(60px, 40px);
    }
}

@keyframes floatTwo {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, -30px);
    }
}


/* =========================================
   COMMON
========================================= */

.goal-section,
.foods-section,
.recipes-section {
    max-width: 1180px;

    margin: auto;

    padding: 100px 30px;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 45px;
}

.section-label {
    margin-bottom: 10px;

    color: #2563eb;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.section-heading h2 {
    font-size: 40px;

    line-height: 1.1;

    letter-spacing: -2px;
}

.section-heading p {
    margin-top: 14px;

    color: #667085;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================
   OBJECTIFS
========================================= */

.goal-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.goal-card {
    min-height: 170px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    text-align: left;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    background: white;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.goal-card:hover {
    transform: translateY(-5px);

    border-color: #bfdbfe;

    box-shadow:
        0 15px 35px rgba(15,23,42,0.07);
}

.goal-card.active {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37,99,235,0.08);
}

.goal-icon {
    font-size: 28px;

    margin-bottom: 15px;
}

.goal-card strong {
    font-size: 18px;
}

.goal-card > span:last-child {
    margin-top: 4px;

    color: #667085;

    font-size: 13px;
}


/* =========================================
   ALIMENTS
========================================= */

.food-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.food-card {
    padding: 24px;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.food-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 35px rgba(15,23,42,0.08);
}

.food-emoji {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #eff6ff;

    font-size: 25px;
}

.food-card h3 {
    margin-bottom: 6px;

    font-size: 18px;
}

.food-card p {
    color: #667085;

    font-size: 13px;

    line-height: 1.6;
}

.food-macros {
    margin-top: 16px;

    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}

.food-macro {
    padding: 5px 8px;

    border-radius: 7px;

    background: #f8fafc;

    color: #475467;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================
   RECETTES
========================================= */

.recipes-section {
    padding-top: 20px;
}

.recipe-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.recipe-card {
    padding: 28px;

    border-radius: 20px;

    background: white;

    border: 1px solid #e5e7eb;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.recipe-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(15,23,42,0.08);
}

.recipe-icon {
    font-size: 35px;

    margin-bottom: 18px;
}

.recipe-card h3 {
    font-size: 20px;

    margin-bottom: 8px;
}

.recipe-card p {
    color: #667085;

    font-size: 13px;

    line-height: 1.7;
}

.recipe-info {
    margin-top: 20px;

    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}

.recipe-tag {
    padding: 6px 9px;

    border-radius: 8px;

    background: #f8fafc;

    color: #475467;

    font-size: 10px;

    font-weight: 800;
}


/* =========================================
   CTA
========================================= */

.nutrition-cta {
    max-width: 1180px;

    margin: auto;

    padding: 40px 30px 100px;
}

.cta-box {
    padding: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    border-radius: 24px;

    border: 1px solid #dbeafe;

    background:
        linear-gradient(
            120deg,
            #eff6ff,
            #f5f3ff
        );
}

.cta-box h2 {
    max-width: 600px;

    font-size: 32px;

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.cta-box p {
    margin-top: 10px;

    color: #667085;

    font-size: 14px;
}

.cta-button {
    flex-shrink: 0;

    padding: 14px 20px;

    border-radius: 10px;

    background: #2563eb;

    color: white;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.cta-button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 65px 6% 25px;

    background: #080d1c;

    color: white;
}

.footer-container {
    max-width: 1120px;

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 80px;

    padding-bottom: 50px;
}

.footer-brand {
    max-width: 310px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 15px;

    color: white;
}

.footer-brand p {
    color: #7d899f;

    font-size: 13px;

    line-height: 1.8;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 7px;

    font-size: 13px;
}

.footer-column a {
    color: #7d899f;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1120px;

    margin: auto;

    padding-top: 22px;

    display: flex;

    justify-content: space-between;

    border-top:
        1px solid rgba(255,255,255,0.08);

    color: #566176;

    font-size: 11px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .goal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .food-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recipe-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .navbar {
        height: 65px;

        padding: 0 18px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-button {
        padding: 9px 13px;

        font-size: 11px;
    }

    .nutrition-hero {
        min-height: 520px;
    }

    .nutrition-hero-content {
        padding: 70px 20px;
    }

    .nutrition-hero h1 {
        font-size: 45px;

        letter-spacing: -2.5px;
    }

    .nutrition-hero p {
        font-size: 14px;
    }

    .goal-section,
    .foods-section,
    .recipes-section {
        padding: 70px 20px;
    }

    .section-heading h2 {
        font-size: 32px;

        letter-spacing: -1.5px;
    }

    .goal-grid {
        grid-template-columns: 1fr;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

    .recipe-grid {
        grid-template-columns: 1fr;
    }

    .nutrition-cta {
        padding:
            30px 20px
            70px;
    }

    .cta-box {
        padding: 32px 25px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-button {
        width: 100%;

        text-align: center;
    }

    footer {
        padding:
            55px 20px
            25px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}
