/* SELF DRIVE — Composant commun : pied de page et formulaire de contact. */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 88px 20px 26px;
    background: radial-gradient(circle at top left, rgba(13, 147, 180, 0.22), transparent 28%),
        linear-gradient(180deg, #082330 0%, #0c2c3a 46%, #102a43 100%);
    color: #ffffff;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207, 250, 254, 0.7), transparent);
}

.site-footer-shell {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.site-footer-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #9cecfb;
    font-size: var(--font-size-caption);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-footer-column-title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #9cecfb;
    font-size: var(--font-size-caption);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-footer-brand h2 {
    margin: 0 0 16px;
    max-width: 520px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.site-footer-brand p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-size-body);
    line-height: 1.9;
    text-wrap: pretty;
}

.site-footer-contact-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.site-footer-contact-link {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px 18px;
    border: 1px solid rgba(207, 250, 254, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease;
}

.site-footer-contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(156, 236, 251, 0.38);
    background: rgba(13, 147, 180, 0.16);
}

.site-footer-contact-label {
    color: rgba(207, 250, 254, 0.78);
    font-size: var(--font-size-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer-contact-link strong {
    color: #ffffff;
    font-size: var(--font-size-copy);
    font-weight: 700;
    line-height: 1.5;
}

.site-footer-links {
    padding-top: 2px;
}

.site-footer-nav {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: var(--font-size-body);
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer-nav a:hover {
    color: #9cecfb;
    transform: translateX(4px);
}

.site-footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    transition: none;
}

.site-footer-logo-image {
    display: block;
    width: auto;
    height: 86px;
    max-width: 300px;
    border-radius: 0;
    object-fit: contain;
}

.site-footer-form-card {
    padding: 24px;
    border: 1px solid rgba(207, 250, 254, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-footer-form-card h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.site-footer-form {
    display: grid;
    gap: 14px;
}

.site-footer-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.site-footer-field {
    display: grid;
    gap: 8px;
}

.site-footer-field label {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-copy);
    font-weight: 600;
}

.site-footer-field input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(207, 250, 254, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: var(--font-size-copy);
    outline: none;
    transition: border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.site-footer-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(207, 250, 254, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: var(--font-size-copy);
    outline: none;
    transition: border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.site-footer-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-footer-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-footer-field input:focus {
    border-color: rgba(156, 236, 251, 0.48);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(13, 147, 180, 0.12);
}

.site-footer-field textarea:focus {
    border-color: rgba(156, 236, 251, 0.48);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(13, 147, 180, 0.12);
}

.site-footer-field textarea {
    min-height: 130px;
    resize: vertical;
}

.site-footer-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #ffffff;
    color: #103845;
    font-size: var(--font-size-copy);
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(13, 147, 180, 0.28);
    transition: transform 0.28s ease,
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

.site-footer-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 18px 36px rgba(13, 147, 180, 0.34);
}

.site-footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(207, 250, 254, 0.12);
}

.site-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-copy);
    text-align: center;
}

@media (max-width: 650px) {
    .site-footer {
        padding: 68px 14px 22px;
    }

    .site-footer-shell {
        width: min(100%, calc(100% - 20px));
    }

    .site-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-contact-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-grid {
        gap: 26px;
    }

    .site-footer-form-card {
        padding: 18px;
        border-radius: 18px;
    }

    .site-footer-form-card h3 {
        font-size: 21px;
    }

    .site-footer-logo-link {
        width: 100%;
    }

    .site-footer-logo-image {
        height: 72px;
    }
}

@media (max-width: 760px) {
    .site-footer {
        padding-bottom: 84px;
    }
}

.site-footer-shell {
    width: min(1240px, calc(100% - 64px));
    max-width: 1240px;
    margin-inline: auto;
}

.site-footer {
    padding: 64px 0 0;
    border: 0;
    color: #d6e4e9;
}

.site-footer::before {
    display: none;
}

.site-footer-grid {
    grid-template-columns: 1fr .55fr 1.3fr;
    gap: 50px;
    padding: 0 0 40px;
}

.site-footer-kicker {
    color: #91e8f3;
    font-size: var(--font-size-caption);
    font-weight: 500;
    letter-spacing: .15em;
}

.site-footer-column-title {
    color: #91e8f3;
    font-size: var(--font-size-caption);
    font-weight: 500;
    letter-spacing: .15em;
}

.site-footer-brand h2 {
    margin-block: 18px;
    color: #fff;
    font-size: 27px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -.035em;
}

.site-footer-brand p {
    color: #c0d3db;
    font-size: var(--font-size-small);
    line-height: 1.9;
}

.site-footer-nav {
    gap: 12px;
    margin-top: 20px;
}

.site-footer-nav a {
    color: #d0e0e6;
    font-size: var(--font-size-small);
}

.site-footer-nav a:hover {
    color: #91e8f3;
}

.site-footer-logo-image {
    width: 120px;
    height: auto;
}

.site-footer-form-card {
    padding: 26px;
    border: 1px solid #496974;
    border-radius: 12px;
    background: #19424f;
    box-shadow: none;
}

.site-footer-form-card h3 {
    margin: 8px 0 22px;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.site-footer-field label {
    color: #d4e4ea;
    font-size: var(--font-size-caption);
    font-weight: 500;
}

.site-footer-field input {
    min-height: 48px;
    border: 1px solid #617f8a;
    border-radius: 7px;
    background: #123643;
    color: #fff;
    font-size: var(--font-size-small);
}

.site-footer-field textarea {
    min-height: 48px;
    border: 1px solid #617f8a;
    border-radius: 7px;
    background: #123643;
    color: #fff;
    font-size: var(--font-size-small);
}

.site-footer-field input::placeholder {
    color: #a9c2cd;
}

.site-footer-field textarea::placeholder {
    color: #a9c2cd;
}

.site-footer-field textarea {
    min-height: 100px;
    resize: vertical;
}

.site-footer-submit {
    min-height: 50px;
    border-radius: 7px;
    color: #103845;
    font-size: var(--font-size-small);
    box-shadow: none;
}

.site-footer-submit:hover {
    background: #a9eaf3;
    box-shadow: none;
}

.footer-form-note {
    margin: 0;
    color: #bed3dc;
    font-size: var(--font-size-caption);
    line-height: 1.6;
}

.site-footer-bottom {
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid #42616d;
}

.site-footer-bottom p {
    margin: 0;
    color: #aec5cf;
    font-size: var(--font-size-caption);
}

@media (max-width: 1100px) {
    .site-footer-grid {
        gap: 28px;
        grid-template-columns: 1fr .6fr 1.2fr;
    }
}

@media (max-width: 900px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .site-footer-form-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .site-footer-shell {
        width: calc(100% - 36px);
    }

    .site-footer {
        padding-top: 42px;
    }

    .site-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .site-footer-brand {
        max-width: 400px;
    }

    .site-footer-form-card {
        grid-column: auto;
        padding: 22px 18px;
    }

    .site-footer-form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-field input {
        font-size: 1.0625rem;
    }

    .site-footer-field textarea {
        font-size: 1.0625rem;
    }

    .site-footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-logo-link {
        margin-top: 20px;
    }
}
