:root {
    --vlm-rouge: #C00000;
    --vlm-noir: #111111;
    --vlm-blanc: #FFFFFF;
    --vlm-gris-clair: #F5F5F5;
    --vlm-gris-texte: #666666;
    --vlm-titre: "Montserrat", Arial, sans-serif;
    --vlm-texte: "Roboto", Arial, sans-serif;
}

.vlm-ligne-rouge {
    display: flex;
    align-items: center;
    width: min(100%, 720px);
    margin: 28px 0;
}

.vlm-ligne-rouge__carre {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    background: var(--vlm-rouge);
}

.vlm-ligne-rouge__trait {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--vlm-rouge);
}

.vlm-button-devis,
.vlm-article-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border: 1px solid var(--vlm-rouge);
    background: var(--vlm-rouge);
    color: var(--vlm-blanc);
    font-family: var(--vlm-titre);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.vlm-button-devis:hover,
.vlm-button-devis:focus,
.vlm-article-card__button:hover,
.vlm-article-card__button:focus {
    border-color: var(--vlm-noir);
    background: var(--vlm-noir);
    color: var(--vlm-blanc);
    text-decoration: none;
    transform: translateY(-1px);
}

.vlm-button-devis:focus-visible,
.vlm-article-card__button:focus-visible {
    outline: 2px solid var(--vlm-noir);
    outline-offset: 3px;
}

.vlm-articles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.vlm-article-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E6E6E6;
    background: var(--vlm-blanc);
}

.vlm-article-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--vlm-gris-clair);
}

.vlm-article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.vlm-article-card:hover .vlm-article-card__image img,
.vlm-article-card:focus-within .vlm-article-card__image img {
    transform: scale(1.035);
}

.vlm-article-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vlm-gris-clair) 0%, #E4E4E4 100%);
}

.vlm-article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.vlm-article-card__title {
    margin: 0 0 12px;
    color: var(--vlm-noir);
    font-family: var(--vlm-titre);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.vlm-article-card__title a {
    color: inherit;
    text-decoration: none;
}

.vlm-article-card__title a:hover,
.vlm-article-card__title a:focus {
    color: var(--vlm-rouge);
    text-decoration: none;
}

.vlm-article-card__excerpt {
    margin: 0 0 22px;
    color: var(--vlm-gris-texte);
    font-family: var(--vlm-texte);
    font-size: 15px;
    line-height: 1.65;
}

.vlm-article-card__button {
    align-self: flex-start;
    margin-top: auto;
    font-size: 12px;
}

.vlm-articles__empty {
    margin: 24px 0;
    color: var(--vlm-gris-texte);
    font-family: var(--vlm-texte);
}

@media (max-width: 900px) {
    .vlm-articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .vlm-ligne-rouge {
        width: 100%;
    }

    .vlm-articles {
        grid-template-columns: 1fr;
    }

    .vlm-article-card__body {
        padding: 20px;
    }
}
/* Page templates */
.vlm-page {
    color: var(--vlm-noir);
    font-family: var(--vlm-texte);
}

.vlm-page h1,
.vlm-page h2,
.vlm-page h3 {
    color: var(--vlm-noir);
    font-family: var(--vlm-titre);
    letter-spacing: 0;
}

.vlm-hero {
    padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
}

.vlm-hero h1 {
    max-width: 880px;
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.05;
}

.vlm-hero__subtitle {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--vlm-gris-texte);
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.55;
}

.vlm-section {
    padding: clamp(40px, 6vw, 72px) 0;
}

.vlm-section--light {
    padding-right: clamp(20px, 4vw, 40px);
    padding-left: clamp(20px, 4vw, 40px);
    background: var(--vlm-gris-clair);
}

.vlm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

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

.vlm-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vlm-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid #E6E6E6;
    border-top: 3px solid var(--vlm-rouge);
    background: var(--vlm-blanc);
}

.vlm-card-title,
.vlm-card h2,
.vlm-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
}

.vlm-card-text,
.vlm-card p {
    margin: 0 0 14px;
    color: var(--vlm-gris-texte);
    line-height: 1.65;
}

.vlm-card a,
.vlm-link-button {
    color: var(--vlm-rouge);
    font-family: var(--vlm-titre);
    font-weight: 700;
    text-decoration: none;
}

.vlm-card a:hover,
.vlm-card a:focus,
.vlm-link-button:hover,
.vlm-link-button:focus {
    color: var(--vlm-noir);
    text-decoration: none;
}

.vlm-cta {
    margin: clamp(40px, 6vw, 72px) 0;
    padding: clamp(32px, 5vw, 56px);
    background: var(--vlm-gris-clair);
    color: var(--vlm-noir);
}

.vlm-cta h2 {
    color: var(--vlm-noir);
}

.vlm-cta p {
    color: var(--vlm-gris-texte);
}

.vlm-cta p {
    max-width: 760px;
    line-height: 1.65;
}

.vlm-kicker {
    margin: 0 0 12px;
    color: var(--vlm-rouge);
    font-family: var(--vlm-titre);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.vlm-muted {
    color: var(--vlm-gris-texte);
}

.vlm-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.vlm-list li {
    position: relative;
    padding-left: 22px;
    color: var(--vlm-gris-texte);
    line-height: 1.55;
}

.vlm-list li::before {
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--vlm-rouge);
    content: "";
}

.vlm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

@media (max-width: 1100px) {
    .vlm-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .vlm-grid,
    .vlm-grid--2,
    .vlm-grid--4 {
        grid-template-columns: 1fr;
    }

    .vlm-card,
    .vlm-cta {
        padding: 24px;
    }
}
/* Sprint 3 visual components */
.vlm-component {
    box-sizing: border-box;
    width: 100%;
}

.vlm-component *,
.vlm-component *::before,
.vlm-component *::after {
    box-sizing: border-box;
}

.vlm-hero.vlm-component {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 56px);
    background: var(--vlm-blanc);
    border-left: 4px solid var(--vlm-rouge);
}

.vlm-hero.vlm-component::after {
    position: absolute;
    right: clamp(20px, 5vw, 56px);
    bottom: clamp(20px, 5vw, 56px);
    width: clamp(72px, 10vw, 140px);
    height: 1px;
    background: var(--vlm-rouge);
    content: "";
}

.vlm-component .vlm-ligne-rouge,
.vlm-cta .vlm-ligne-rouge {
    margin: 22px 0 28px;
}

.vlm-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vlm-card-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--vlm-rouge);
}

.vlm-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.vlm-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: var(--vlm-rouge);
    font-family: var(--vlm-titre);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.vlm-card-link::after {
    margin-left: 8px;
    content: ">";
}

.vlm-card--linkable {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.vlm-card--linkable:hover,
.vlm-card--linkable:focus-within {
    border-color: var(--vlm-rouge);
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
}

.vlm-engagements .vlm-card {
    min-height: 150px;
}

.vlm-engagements__mark {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 18px;
    border: 2px solid var(--vlm-rouge);
    background: var(--vlm-blanc);
}

.vlm-materials__item {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid #E6E6E6;
    border-left: 3px solid var(--vlm-rouge);
    background: var(--vlm-blanc);
    color: var(--vlm-noir);
    font-family: var(--vlm-titre);
    font-weight: 700;
    text-align: center;
}

.vlm-articles--cols-1 {
    grid-template-columns: 1fr;
}

.vlm-articles--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vlm-articles--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vlm-articles--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .vlm-grid--5,
    .vlm-articles--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vlm-grid--5,
    .vlm-articles--cols-3,
    .vlm-articles--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .vlm-hero.vlm-component {
        padding: 44px 22px;
    }

    .vlm-grid--5,
    .vlm-articles--cols-2,
    .vlm-articles--cols-3,
    .vlm-articles--cols-4 {
        grid-template-columns: 1fr;
    }

    .vlm-materials__item {
        justify-content: flex-start;
        text-align: left;
    }
}
/* Quote form */
.vlm-form-wrap {
    width: 100%;
    margin: 32px 0;
}

.vlm-form {
    display: grid;
    gap: 28px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid #E6E6E6;
    border-top: 4px solid var(--vlm-rouge);
    background: var(--vlm-blanc);
    color: var(--vlm-noir);
    font-family: var(--vlm-texte);
}

.vlm-form-section {
    display: grid;
    gap: 18px;
    padding: 0 0 26px;
    border-bottom: 1px solid #E6E6E6;
}

.vlm-form-section:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.vlm-form-section h3 {
    margin: 0;
    color: var(--vlm-noir);
    font-family: var(--vlm-titre);
    font-size: 22px;
    line-height: 1.25;
}

.vlm-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.vlm-form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.vlm-form-label {
    color: var(--vlm-noir);
    font-family: var(--vlm-titre);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.vlm-form-input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #D8D8D8;
    border-radius: 0;
    background: var(--vlm-blanc);
    color: var(--vlm-noir);
    font-family: var(--vlm-texte);
    font-size: 15px;
    line-height: 1.45;
}

textarea.vlm-form-input {
    min-height: 150px;
    resize: vertical;
}

.vlm-form-input:focus {
    border-color: var(--vlm-rouge);
    outline: 2px solid rgba(192, 0, 0, 0.16);
    outline-offset: 0;
}

.vlm-form-help {
    margin: 0;
    color: var(--vlm-gris-texte);
    font-size: 13px;
    line-height: 1.5;
}

.vlm-form-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--vlm-gris-texte);
    line-height: 1.55;
}

.vlm-form-consent input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--vlm-rouge);
}

.vlm-form-submit {
    display: inline-flex;
    width: fit-content;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid var(--vlm-rouge);
    border-radius: 0;
    background: var(--vlm-rouge);
    color: var(--vlm-blanc);
    cursor: pointer;
    font-family: var(--vlm-titre);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.vlm-form-submit:hover,
.vlm-form-submit:focus {
    border-color: var(--vlm-noir);
    background: var(--vlm-noir);
    color: var(--vlm-blanc);
    transform: translateY(-1px);
}

.vlm-form-message {
    margin: 0 0 22px;
    padding: 18px 20px;
    border-left: 4px solid var(--vlm-rouge);
    background: var(--vlm-gris-clair);
    color: var(--vlm-noir);
    font-family: var(--vlm-texte);
    line-height: 1.55;
}

.vlm-form-message p {
    margin: 0 0 8px;
}

.vlm-form-message ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.vlm-form-success {
    border-left-color: #168A3A;
}

.vlm-form-error {
    border-left-color: var(--vlm-rouge);
}

@media (max-width: 760px) {
    .vlm-form-row {
        grid-template-columns: 1fr;
    }

    .vlm-form-submit {
        width: 100%;
    }
}