    /* =====================
       VARIABLES & RESET
    ====================== */
:root {
    --red: #c21b17;
    --red-bright: #ff3026;
    --blue: #030338;
    --text-muted: #757575;
    --card-bg: #efefee;
    --footer-bg: #030338;
    --light: #f9f9f9;
    --gabarito: "Gabarito", sans-serif;

    --page-gutter: clamp(24px, 4vw, 148px);
    --section-gap: clamp(72px, 8vw, 160px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--gabarito);
    color: var(--blue);
    background: #ffffff;
}

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

a {
    color: inherit;
}

/* =====================
   ACCESSIBILITY
====================== */
.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    background: #000000;
    color: #ffffff;
    padding: 8px 12px;
    z-index: 1000;
}

/* =====================
   TOP BAR
====================== */
.top-bar {
    height: 50px;
    background: var(--red);
}

.top-bar-inner {
    height: 100%;
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--light);
    font-size: 17px;
    line-height: 20px;
}

@media (max-width: 768px) {
    .top-bar-inner {
        /*display: none;*/
    }
}

/* =====================
   HEADER
====================== */
.header {
    background: #ffffff;
}

.header-inner {
    padding: 54px var(--page-gutter) 0;
}

/* =====================
   HERO
====================== */
.hero-grid {
    width: 100%;
}

.hero-row-top,
.hero-row-bottom {
    display: grid;
    grid-template-columns: 1fr;
}

.hero-text {
    padding: 24px var(--page-gutter) 32px;
}

.hero-eyebrow {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: clamp(22px, 2.3vw, 27px);
    line-height: 1.4;
}

h1 {
    margin: 0;
    color: var(--red);
    font-weight: 400;
    font-size: clamp(22px, 0.5vw, 27px);
    line-height: 1.25;
}

.hero-text h1 {
    margin: 0;
    color: var(--red);
    font-weight: 400;
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.25;
}


.hero-text p {
    margin: 24px 0 0;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.65;
}

.hero-image-cell {
    background-image: url("assets/hero-blue.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    display: flex;
    justify-content: center;
}

.hero-image-cell img {
    height: fit-content;
    align-self: end;
}

.hero-red-cell {
    background-image: url("assets/hero-red.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: cover;
}

.hero-row-bottom {
    background-color: rgba(218, 218, 217, 0.25);
}

.hero-empty-cell {
    margin: 48px var(--page-gutter) 68px;
}

.hero-empty-cell .text {
    margin: 0 0 12px;
    color: #630d14;
    font-size: 22px;
    line-height: 27px;
}

.hero-empty-cell .subtitle {
    margin: 0;
    color: var(--blue);
    font-weight: 400;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 1;
}



@media (min-width: 1024px) {
    .hero-grid {
        display: grid;
        grid-template-rows: clamp(380px, 60vh, 600px) 300px
    }

    .hero-row-top,
    .hero-row-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text {
        padding-top: 48px;
    }

    .hero-empty-cell {
        margin: auto auto 68px;
    }
}

@media (min-width: 1920px) {
    .hero-grid {
        display: grid;
        grid-template-rows: 600px 300px;
    }
}

/*    @media (max-width: 1024px) {
        .hero-image-cell {
            justify-content: flex-end;
            max-width: 91%;
            margin-left: 9%;
        }
    }*/

@media (max-width: 768px) {
    .hero-red-cell {
        width: 68px;
        min-height: 100px;
        background-position: right top;
        background-size: auto;
    }
    .hero-image-cell {
        justify-content: flex-end;
        max-width: 91%;
        margin-left: 9%;
    }
}

@media (max-width: 475px) {
    .hero-red-cell {
        width: 38px;
        min-height: 63px;
    }
}

@media (max-width: 375px) {
    .hero-red-cell {
        width: 34px;
        min-height: 57px;
    }
}
    @media (max-width: 320px) {
        .hero-red-cell {
            width: 29px;
            min-height: 50px;
        }
    }

/* =====================
   CTA
====================== */
.cta-europassistance {
    padding: 0 var(--page-gutter);
    text-align: center;
}

.cta-europassistance .text {
    margin: 64px 0 24px;
    font-weight: 400;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.85;
}

.button,
.cta-europassistance .button,
.categorie-info .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 30px;
    background-color: var(--red-bright);
    color: var(--light);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.cta-europassistance .button {
    width: min(100%, 468px);
    min-height: 52px;
    margin: 0 auto 115px;
    padding: 16px 24px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .cta-europassistance .button {
        margin-bottom: 75px;
    }
}

/* =====================
   CATEGORIES
====================== */
.categories {
    padding: 0 var(--page-gutter);
}

.categories > .title {
    margin: 0 0 clamp(58px, 7vw, 102px);
    text-align: center;
    font-weight: 400;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.85;
}

.wrapper-categories {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.wrapper-categories::-webkit-scrollbar {
    display: none;
}

.categorie-box {
    flex: 0 0 311px;
    overflow: hidden;
    margin-bottom: var(--section-gap);
    border-top-right-radius: 110px;
    border-bottom-left-radius: 110px;
    background-color: var(--card-bg);
}

.image-box,
.image-box img {
    width: 311px;
    height: 225px;
}

.image-box img {
    object-fit: cover;
    border-top-right-radius: 110px;
    border-bottom-left-radius: 110px;
}

.categorie-info {
    display: flex;
    flex-direction: column;
    padding: 0 32px;
}

.categorie-info .title {
    margin: 27px 0 0;
    color: var(--blue);
    text-align: left;
    font-weight: 600;
    font-size: clamp(22px, 1.8vw, 24px);
    line-height: 1.1;
}

.categorie-info .text {
    margin: 20px 0;
    color: var(--blue);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.3;
}

.categorie-info .button {
    align-self: flex-end;
    width: 196px;
    min-height: 44px;
    margin-bottom: 44px;
    padding: 12px 20px;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .wrapper-categories {
        display: grid;
        grid-template-columns: repeat(2, 311px);
        justify-content: center;
        gap: 40px;
        overflow: visible;
    }

    .categorie-box {
        margin-bottom: 40px;
    }
}

@media (min-width: 1440px) {
    .wrapper-categories {
        grid-template-columns: repeat(4, 311px);
        gap: 20px;
    }
}

@media (min-width: 1920px) {
    .wrapper-categories {
        grid-template-columns: repeat(4, 345px);
        gap: 40px;
    }

    .categorie-box {
        flex-basis: 345px;
    }

    .image-box,
    .image-box img {
        width: 345px;
        height: 250px;
    }
}

/* =====================
   FOOTER
====================== */
.site-footer {
    margin-top: var(--section-gap);
    padding: 48px 32px 64px;
    background: var(--footer-bg);
    color: #ffffff;
    font-size: 14px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer p {
    margin: 0 0 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-top-left img {
    /*max-width: 180px;*/
}

.footer-top-right {
    display: flex;
    gap: 16px;
}

.footer-top-right a {
    opacity: 0.9;
    text-decoration: none;
}

.footer-top-right a:hover {
    opacity: 1;
}

.footer-divider {
    height: 1px;
    margin: 32px 0;
    border: none;
    background: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.footer-column h4 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
}

.footer-column .text {
    font-size: 14px;
    line-height: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.footer-links li::after {
    content: " | ";
}

.footer-links li:last-child::after {
    content: "";
}

.footer-links li a {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.9;
}

.footer-links li a:hover {
    opacity: 1;
}

.footer-version {
    margin-top: 16px;
    font-size: 12px;
    opacity: 0.7;
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 416px));
        justify-content: center;
        gap: 64px;
    }

    .footer-column:first-child {
        width: 416px;
    }

    .footer-column {
        width: 345px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 789px) and (max-height: 900px) {
    .hero-grid {
        grid-template-rows: 67vh 300px;
    }
}

@media (min-width: 789px) and (max-height: 800px) {
    .hero-grid {
        grid-template-rows: 69vh 300px;
    }
}

@media (min-width: 789px) and (max-height: 720px) {
    .hero-grid {
        grid-template-rows: 71vh 300px;
    }
}


    /* PRIVACY */
.container {
    padding: var(--page-gutter);;
}

