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

*{
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --page-gutter: clamp(24px, 4vw, 72px);
    --content-width: 1400px;
}

body{
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #075075;
    overflow-x: hidden;
}

header {
    width: 100%;
    min-height: 120px;
    padding: 20px var(--page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #075075;
    color: #FFFFFF;
    border-bottom: 5px solid #396F82;
}

.logoHeader img {
    display: block;
    width: 220px;
    height: auto;
}

.navHeader ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.navHeader li {
    color: #FFFFFF;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    cursor: pointer;
}

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

.navHeader li:hover {
    color: #E3B575;
}

.hero {
    width: 100%;
    max-width: var(--content-width);
    min-height: calc(100vh - 120px);
    margin: 0 auto;
    padding: clamp(72px, 8vw, 128px) var(--page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    color: #FFFFFF;
}

.heroContent {
    flex: 1 1 50%;
    max-width: 760px;
    transform: translateX(-24px);
}

.nameGarage {
    margin: 0 0 28px;
    color: #E3B575;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

h1 {
    margin: 0 0 32px;
    padding: 18px 15px;
    color: #FFFFFF;
    position: relative;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}

h2,
h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
}

h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 10px;
    background-color: #E3B575;
}

h1 span {
    white-space: nowrap;
}

.explicationGarage {
    margin: 0;
    color: #C1D8DE;
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    line-height: 1.6;
}

.heroActions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 2px solid #E3B575;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.buttonPrimary {
    background-color: #E3B575;
    color: #042E42;
}

.buttonPrimary:hover {
    background-color: #FFE7BC;
    border-color: #FFE7BC;
}

.buttonSecondary {
    color: #FFFFFF;
}

.buttonSecondary:hover {
    background-color: #E3B575;
    color: #042E42;
}

.heroImage {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    transform: translateX(24px);
}

.heroImage img {
    display: block;
    width: min(100%, 580px);
    height: auto;
}

.Prestation {
    width: 100%;
    padding: clamp(56px, 5vw, 96px) 0 clamp(64px, 6vw, 112px);
    background-color: #042E42;
}

.prestationContent {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.prestationContent h2 {
    grid-column: 1 / -1;
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cardMeca {
    min-height: 390px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #0D465D;
    border-top: 4px solid #E3B575;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.cardMeca:hover,
.cardMeca:focus-within {
    background-color: #12566F;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    transform: translateY(-6px);
}

.cardTopline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.cardNumber {
    color: #E3B575;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.cardIcon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid #E3B575;
    border-radius: 50%;
    color: #E3B575;
    font-size: 1.4rem;
    line-height: 1;
}

.cardMeca h3 {
    margin: 0 0 10px;
    color: #FFFFFF;
    font-size: 1.5rem;
}

.cardMeca p {
    margin: 0;
    color: #C1D8DE;
    font-size: 1rem;
    line-height: 1.6;
}

.cardMeca ul {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.cardMeca li {
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.cardMeca li::before {
    content: "✓";
    margin-right: 10px;
    color: #E3B575;
    font-weight: 700;
}

.cardLink {
    margin-top: auto;
    color: #FFE7BC;
    font-weight: 700;
    text-decoration: none;
}

.cardLink span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 160ms ease;
}

.cardLink:hover,
.cardLink:focus-visible {
    color: #FFFFFF;
}

.cardLink:hover span,
.cardLink:focus-visible span {
    transform: translateX(4px);
}

.location {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: clamp(64px, 6vw, 112px) var(--page-gutter);
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 64px;
    color: #FFFFFF;
}

.locationInfo h3 {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.locationInfo p {
    margin: 0 0 12px;
    color: #C1D8DE;
    font-size: 1.05rem;
    line-height: 1.6;
}

.locationInfo p:last-child {
    margin-bottom: 0;
}

.locationInfo a {
    color: #FFFFFF;
    font-weight: 600;
}

.locationInfo a:hover {
    color: #E3B575;
}

.locationMap {
    width: 100%;
    height: clamp(300px, 25vw, 460px);
    overflow: hidden;
    border-radius: 8px;
}

.locationMap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

footer {
    width: 100%;
    padding: 40px var(--page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background-color: #042E42;
    text-align: left;
}

footer h3 {
    flex: 1;
    margin: 0;
    color: #E3B575;
    font-size: 1.25rem;
}

footer .footerAddress {
    flex: 1;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
}

footer .footerAddress:hover {
    color: #E3B575;
}

footer .footerPhone {
    flex: 1;
    margin: 0;
    color: #FFE7BC;
    text-align: right;
    font-weight: 600;
    text-decoration: none;
}

footer .footerPhone:hover {
    color: #E3B575;
}

@media (max-width: 768px) {
    header {
        min-height: 90px;
        padding: 16px;
    }

    .logoHeader img {
        width: 145px;
    }

    .navHeader ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .navHeader li {
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: 56px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 48px;
    }

    .heroContent {
        max-width: none;
        transform: none;
    }

    .heroImage {
        justify-content: center;
        transform: none;
    }

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

    .button {
        width: 100%;
    }

    .Prestation {
        padding: 48px 0 56px;
    }

    .prestationContent {
        padding: 0 24px;
        grid-template-columns: 1fr;
    }

    .location {
        padding: 56px 24px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .locationMap {
        height: 300px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        padding: 32px 24px;
        text-align: center;
    }

    footer h3,
    footer .footerAddress,
    footer .footerPhone {
        flex: none;
        text-align: center;
    }
}

@media (min-width: 1600px) {
    :root {
        --content-width: 1800px;
    }

    .logoHeader img {
        width: 250px;
    }

    .navHeader ul {
        gap: 56px;
    }

    .navHeader li {
        font-size: 1.25rem;
    }

    .hero {
        gap: 112px;
    }

    .heroContent {
        max-width: 850px;
    }

    .cardMeca {
        min-height: 390px;
        padding: 36px;
    }
}

@media (min-width: 2560px) {
    :root {
        --content-width: 2200px;
        --page-gutter: 96px;
    }

    header {
        min-height: 140px;
    }

    .logoHeader img {
        width: 290px;
    }

    .navHeader li {
        font-size: 1.4rem;
    }

    .hero {
        min-height: calc(100vh - 140px);
        gap: 160px;
    }

    .heroImage img {
        width: min(100%, 720px);
    }

    .cardMeca p,
    .locationInfo p,
    footer {
        font-size: 1.15rem;
    }
}