
/* =========================================================
   CSS VARIABLES
========================================================= */

:root {
    --color-primary: #1261c9;
    --color-primary-dark: #0b4698;
    --color-primary-light: #2878df;

    --color-yellow: #f5c542;

    --color-white: #ffffff;
    --color-black: #101418;

    --color-text: #17202a;
    --color-text-light: #66717d;

    --color-bg: #ffffff;
    --color-bg-light: #f5f7fa;
    --color-bg-dark: #0b1f3a;

    --color-border: #dfe4ea;
    --color-border-light: #edf0f3;

    --font-main: "Inter", sans-serif;

    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;

    --header-height: 82px;
    --container-width: 1200px;

    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-4xl: 7rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 2px 10px rgba(15, 30, 50, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 30, 50, 0.10);
    --shadow-lg: 0 20px 50px rgba(15, 30, 50, 0.15);

    --transition-fast: 180ms ease;
    --transition-normal: 300ms ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-height: 100vh;

    font-family: var(--font-main);
    font-size: var(--fs-base);
    line-height: 1.6;

    color: var(--color-text);
    background: var(--color-bg);

    overflow-x: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

button,
a {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 4px;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin-inline: auto;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 24px;

    border-radius: var(--radius-sm);

    font-size: var(--fs-sm);
    font-weight: 700;

    white-space: nowrap;

    transition:
        background var(--transition-normal),
        color var(--transition-normal),
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-light)
        );

    box-shadow:
        0 8px 20px rgba(18, 97, 201, 0.25);
}

.btn-primary:hover {
    box-shadow:
        0 12px 28px rgba(18, 97, 201, 0.35);
}

.btn-outline {
    color: var(--color-white);

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    color: var(--color-bg-dark);

    background: var(--color-white);

    border-color: var(--color-white);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    color: var(--color-white);

    background: transparent;

    transition:
        background var(--transition-normal),
        color var(--transition-normal),
        box-shadow var(--transition-normal),
        backdrop-filter var(--transition-normal);
}

.site-header.scrolled {
    color: var(--color-text);

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(12px);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;

    gap: var(--space-lg);
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-name {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-subtitle {
    margin-top: 3px;

    font-size: 0.62rem;
    font-weight: 500;

    letter-spacing: 0.18em;

    opacity: 0.7;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    margin-inline: auto;
}

.nav-list {
    display: flex;
    align-items: center;

    gap: 20px;
}

.nav-link {
    position: relative;

    padding: 8px 0;

    font-size: 0.83rem;
    font-weight: 500;

    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--color-primary);

    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 18px;

    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 0.82rem;
    font-weight: 600;

    white-space: nowrap;

    transition: color var(--transition-fast);
}

.header-phone:hover {
    color: var(--color-primary);
}

.phone-icon {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.header-cta {
    min-height: 43px;

    padding: 10px 18px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    background: transparent;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: currentColor;

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 760px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: var(--color-white);

    background-image:
        url("../images/hero-pergola.jpg");

    background-size: cover;
    background-position: center;

    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 38, 0.90) 0%,
            rgba(5, 20, 38, 0.68) 45%,
            rgba(5, 20, 38, 0.30) 100%
        );
}

.hero-container {
    padding-top: 100px;
    padding-bottom: 160px;
}

.hero-content {
    max-width: 760px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 22px;

    font-size: var(--fs-sm);
    font-weight: 600;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-eyebrow span:nth-child(even) {
    color: var(--color-yellow);
}

.hero h1 {
    max-width: 760px;

    font-size: clamp(
        2.5rem,
        6vw,
        4rem
    );

    line-height: 1.08;

    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
}

.yellow-line {
    width: 85px;
    height: 4px;

    margin: 28px 0;

    background: var(--color-yellow);
}

.hero-description {
    max-width: 650px;

    margin-bottom: 32px;

    color: rgba(255, 255, 255, 0.86);

    font-size: var(--fs-lg);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   HERO SOLUTIONS
========================================================= */

.hero-solutions {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    background:
        rgba(4, 18, 34, 0.72);

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
}

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}

.solution-item {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px;

    border-right:
        1px solid rgba(255, 255, 255, 0.12);
}

.solution-item:last-child {
    border-right: 0;
}

.solution-item svg {
    width: 25px;
    height: 25px;

    fill: none;

    stroke: var(--color-yellow);
    stroke-width: 1.6;
}

.solution-item span {
    font-size: var(--fs-sm);
    font-weight: 600;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    background: var(--color-white);

    border-bottom:
        1px solid var(--color-border-light);
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 105px;

    padding: 15px;

    border-right:
        1px solid var(--color-border-light);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: 50%;
}

.trust-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;
}

.trust-item strong {
    display: block;

    margin-bottom: 2px;

    font-size: 0.77rem;

    line-height: 1.3;
}

.trust-item span {
    display: block;

    color: var(--color-text-light);

    font-size: 0.68rem;

    line-height: 1.4;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding-block: var(--space-4xl);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--color-primary);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.section-heading h2 {
    margin-bottom: 18px;

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    line-height: 1.15;

    letter-spacing: -0.03em;
}

.section-heading h2 span {
    display: block;

    color: var(--color-primary);
}

.section-heading p {
    color: var(--color-text-light);

    line-height: 1.75;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--color-bg-light);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    display: flex;
    flex-direction: column;

    min-height: 350px;

    padding: 30px;

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: var(--radius-md);

    transition:
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.service-card:hover {
    border-color: var(--color-primary);

    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: var(--radius-md);

    transition:
        color var(--transition-normal),
        background var(--transition-normal);
}

.service-card:hover .service-icon {
    color: var(--color-white);

    background: var(--color-primary);
}

.service-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;
}

.service-card h3 {
    margin-bottom: 12px;

    font-size: 1.2rem;

    line-height: 1.3;
}

.service-card p {
    color: var(--color-text-light);

    font-size: var(--fs-sm);

    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: auto;
    padding-top: 24px;

    color: var(--color-primary);

    font-size: var(--fs-sm);
    font-weight: 700;
}

.service-link span {
    transition: transform var(--transition-fast);
}

.service-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   FUTURE SECTIONS
========================================================= */

.future-section {
    min-height: 300px;

    display: grid;
    place-items: center;

    color: var(--color-text-light);

    background: var(--color-white);

    border-top:
        1px solid var(--color-border-light);
}


/* =========================================================
   PERGOLAS SECTION
========================================================= */

.pergolas-section {
    background: var(--color-white);
}


/* =========================================================
   PERGOLAS HEADING
========================================================= */

.pergolas-heading {
    max-width: 700px;
}


/* =========================================================
   PERGOLAS GRID
========================================================= */

.pergolas-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}


/* =========================================================
   PERGOLA CARD
========================================================= */

.pergola-card {
    display: flex;
    flex-direction: column;

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: 0;

    overflow: hidden;

    transition:
        border-color var(--transition-normal),
        box-shadow var(--transition-normal),
        transform var(--transition-normal);
}

.pergola-card:hover {
    border-color: var(--color-primary);

    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   PERGOLA IMAGE
========================================================= */

.pergola-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--color-bg-light);
}

.pergola-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 500ms ease;
}

.pergola-card:hover .pergola-image img {
    transform: scale(1.04);
}


/* =========================================================
   PERGOLA CONTENT
========================================================= */

.pergola-content {
    padding: 30px;
}

.pergola-content h3 {
    margin-bottom: 22px;

    font-size: 1.45rem;

    line-height: 1.3;

    color: var(--color-text);
}


/* =========================================================
   PERGOLA FEATURES
========================================================= */

.pergola-features {
    display: flex;
    flex-direction: column;

    gap: 13px;
}

.pergola-features li {
    display: flex;
    align-items: center;

    gap: 11px;

    color: var(--color-text-light);

    font-size: var(--fs-sm);

    line-height: 1.5;
}


/* =========================================================
   CHECK ICON
========================================================= */

.check-icon {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: 50%;
}

.check-icon svg {
    width: 13px;
    height: 13px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.pergola-card:hover .check-icon {
    color: var(--color-white);

    background: var(--color-primary);
}


/* =========================================================
   PERGOLAS CTA
========================================================= */

.pergolas-cta {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}

.pergolas-cta .btn {
    min-height: 50px;
}


/* =========================================================
   PERGOLAS — TABLET
========================================================= */

@media (max-width: 800px) {

    .pergolas-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .pergola-content {
        padding: 25px;
    }

    .pergolas-cta {
        margin-top: 35px;
    }

}


/* =========================================================
   PERGOLAS — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .pergola-content {
        padding: 22px;
    }

    .pergola-content h3 {
        font-size: 1.25rem;

        margin-bottom: 18px;
    }

    .pergola-features {
        gap: 11px;
    }

    .pergola-features li {
        align-items: flex-start;

        font-size: 0.82rem;
    }

    .check-icon {
        width: 20px;
        height: 20px;
    }

    .pergolas-cta {
        width: 100%;
    }

    .pergolas-cta .btn {
        width: 100%;

        text-align: center;

        white-space: normal;
    }

}


/* =========================================================
   PORTES SECTION
========================================================= */

.portes-section {
    background: var(--color-bg-light);
}


/* =========================================================
   PORTES HEADING
========================================================= */

.portes-heading {
    max-width: 750px;
}


/* =========================================================
   PORTES GRID
========================================================= */

.portes-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/* =========================================================
   PORTE CARD
========================================================= */

.porte-card {
    display: flex;
    flex-direction: column;

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: 0;

    overflow: hidden;

    transition:
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.porte-card:hover {
    border-color: var(--color-primary);

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   PORTE IMAGE
========================================================= */

.porte-image {
    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--color-border-light);
}

.porte-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 500ms ease;
}

.porte-card:hover .porte-image img {
    transform: scale(1.04);
}


/* =========================================================
   PORTE CONTENT
========================================================= */

.porte-content {
    padding: 26px;
}

.porte-title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 14px;
}

.porte-title h3 {
    font-size: 1.15rem;

    line-height: 1.35;
}


/* =========================================================
   PORTE ICON
========================================================= */

.porte-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: 50%;

    transition:
        color var(--transition-normal),
        background var(--transition-normal);
}

.porte-icon svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.porte-card:hover .porte-icon {
    color: var(--color-white);

    background: var(--color-primary);
}


/* =========================================================
   PORTE DESCRIPTION
========================================================= */

.porte-content p {
    color: var(--color-text-light);

    font-size: var(--fs-sm);

    line-height: 1.7;
}


/* =========================================================
   PORTES FEATURES
========================================================= */

.portes-features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    margin-top: 45px;

    border:
        1px solid var(--color-border);

    background: var(--color-white);
}

.feature-item {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 70px;

    padding: 15px 20px;

    color: var(--color-text);

    font-size: var(--fs-sm);
    font-weight: 500;

    border-right:
        1px solid var(--color-border);

    border-bottom:
        1px solid var(--color-border);
}

.feature-item:nth-child(3n) {
    border-right: 0;
}

.feature-item:nth-child(n + 4) {
    border-bottom: 0;
}


/* =========================================================
   FEATURE CHECK
========================================================= */

.feature-check {
    width: 23px;
    height: 23px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: 50%;
}

.feature-check svg {
    width: 14px;
    height: 14px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PORTES — TABLET
========================================================= */

@media (max-width: 900px) {

    .portes-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .porte-card:last-child {
        grid-column: 1 / -1;

        max-width: calc(50% - 12px);

        margin-inline: auto;

        width: 100%;
    }

    .portes-features {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .feature-item:nth-child(3n) {
        border-right:
            1px solid var(--color-border);
    }

    .feature-item:nth-child(2n) {
        border-right: 0;
    }

    .feature-item:nth-child(n + 4) {
        border-bottom:
            1px solid var(--color-border);
    }

    .feature-item:nth-child(n + 5) {
        border-bottom: 0;
    }

}


/* =========================================================
   PORTES — MOBILE
========================================================= */

@media (max-width: 650px) {

    .portes-grid {
        grid-template-columns: 1fr;
    }

    .porte-card:last-child {
        grid-column: auto;

        max-width: none;

        margin-inline: 0;
    }

    .porte-content {
        padding: 23px;
    }

    .portes-features {
        grid-template-columns: 1fr;

        margin-top: 30px;
    }

    .feature-item,
    .feature-item:nth-child(2n),
    .feature-item:nth-child(3n) {
        min-height: 60px;

        border-right: 0;

        border-bottom:
            1px solid var(--color-border);
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

}


/* =========================================================
   PORTES — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .porte-title {
        align-items: flex-start;
    }

    .porte-title h3 {
        font-size: 1.05rem;
    }

    .porte-icon {
        width: 40px;
        height: 40px;
    }

    .porte-content p {
        font-size: 0.83rem;
    }

    .feature-item {
        padding: 13px 15px;

        font-size: 0.82rem;
    }

}


/* =========================================================
   RÉALISATIONS SECTION
========================================================= */

.realisations-section {
    background: var(--color-white);
}


/* =========================================================
   RÉALISATIONS HEADING
========================================================= */

.realisations-heading {
    max-width: 720px;
}


/* =========================================================
   GALLERY FILTERS
========================================================= */

.gallery-filters {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 40px;
}

.filter-button {
    min-height: 42px;

    padding: 9px 17px;

    color: var(--color-text-light);

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: 50rem;

    font-size: 0.82rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        color var(--transition-normal),
        background var(--transition-normal),
        border-color var(--transition-normal);
}

.filter-button:hover {
    color: var(--color-primary);

    border-color: var(--color-primary);
}

.filter-button.active {
    color: var(--color-white);

    background: var(--color-primary);

    border-color: var(--color-primary);
}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


/* =========================================================
   GALLERY CARD
========================================================= */

.gallery-card {
    display: flex;
    flex-direction: column;

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: 0;

    overflow: hidden;

    transition:
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.gallery-card:hover {
    border-color: var(--color-primary);

    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   GALLERY IMAGE
========================================================= */

.gallery-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--color-bg-light);
}

.gallery-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 500ms ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}


/* =========================================================
   GALLERY CONTENT
========================================================= */

.gallery-content {
    display: flex;
    flex-direction: column;

    min-height: 125px;

    padding: 20px;
}

.gallery-content h3 {
    margin-bottom: 8px;

    color: var(--color-text);

    font-size: 1rem;

    line-height: 1.4;
}


/* =========================================================
   GALLERY CATEGORY
========================================================= */

.gallery-category {
    color: var(--color-primary);

    font-size: 0.75rem;
    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   MOTORISATION BUTTON
========================================================= */

.gallery-details-button {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    align-self: flex-start;

    margin-top: 14px;
    padding: 0;

    color: var(--color-text);

    background: transparent;

    font-size: 0.75rem;
    font-weight: 700;

    transition:
        color var(--transition-fast);
}

.gallery-details-button span {
    transition:
        transform var(--transition-fast);
}

.gallery-details-button:hover {
    color: var(--color-primary);
}

.gallery-details-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   FILTER ANIMATION
========================================================= */

.gallery-card.is-hidden {
    display: none;
}


/* =========================================================
   RÉALISATIONS — LARGE TABLET
========================================================= */

@media (max-width: 1050px) {

    .gallery-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   RÉALISATIONS — TABLET
========================================================= */

@media (max-width: 800px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 16px;
    }

    .gallery-filters {
        justify-content: flex-start;

        margin-bottom: 30px;
    }

}


/* =========================================================
   RÉALISATIONS — MOBILE
========================================================= */

@media (max-width: 550px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 6px;

        scrollbar-width: thin;
    }

    .filter-button {
        flex-shrink: 0;
    }

    .gallery-content {
        min-height: auto;

        padding: 18px;
    }

}


/* =========================================================
   RÉALISATIONS — SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .filter-button {
        min-height: 39px;

        padding: 8px 13px;

        font-size: 0.75rem;
    }

}


/* =========================================================
   À PROPOS — GENERAL
========================================================= */

.about-section {
    width: 100%;
}


/* =========================================================
   FABRICATION ALGÉRIENNE
========================================================= */

.about-fabrication {
    background: var(--color-primary-dark);

    color: var(--color-white);

    overflow: hidden;
}

.fabrication-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    align-items: stretch;

    min-height: 600px;
}


/* =========================================================
   FABRICATION CONTENT
========================================================= */

.fabrication-content {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 80px 60px 80px 0;
}

.section-label-light {
    color: var(--color-accent);
}

.fabrication-content h2 {
    max-width: 620px;

    margin-top: 14px;
    margin-bottom: 24px;

    color: var(--color-white);

    font-size: clamp(2.2rem, 4vw, 3.5rem);

    line-height: 1.08;
}

.fabrication-description {
    max-width: 620px;

    margin-bottom: 35px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================================================
   FABRICATION FEATURES
========================================================= */

.fabrication-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px 30px;

    max-width: 620px;
}

.fabrication-features li {
    display: flex;
    align-items: center;

    gap: 11px;

    color: rgba(255, 255, 255, 0.9);

    font-size: var(--fs-sm);
    font-weight: 500;
}


/* =========================================================
   YELLOW CHECK
========================================================= */

.yellow-check {
    width: 24px;
    height: 24px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-accent);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;
}

.yellow-check svg {
    width: 14px;
    height: 14px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   FABRICATION IMAGE
========================================================= */

.fabrication-image {
    position: relative;

    min-height: 500px;

    overflow: hidden;
}

.fabrication-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            var(--color-primary-dark),
            transparent 15%
        );

    pointer-events: none;
}

.fabrication-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   MÉTHODE
========================================================= */

.about-method {
    padding: 100px 0;

    background: var(--color-white);
}

.method-heading {
    margin-bottom: 50px;
}


/* =========================================================
   METHOD GRID
========================================================= */

.method-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--color-border);

    border-left:
        1px solid var(--color-border);
}


/* =========================================================
   METHOD CARD
========================================================= */

.method-card {
    position: relative;

    min-height: 260px;

    padding: 30px;

    background: var(--color-white);

    border-right:
        1px solid var(--color-border);

    border-bottom:
        1px solid var(--color-border);

    overflow: hidden;

    transition:
        border-color var(--transition-normal),
        background var(--transition-normal);
}

.method-card:hover {
    border-color: var(--color-primary);
}


/* =========================================================
   METHOD NUMBER
========================================================= */

.method-number {
    display: block;

    margin-bottom: 50px;

    color: #e8eaed;

    font-size: 4.5rem;
    font-weight: 800;

    line-height: 1;
}

.method-card:hover .method-number {
    color: #dce9f9;
}


/* =========================================================
   METHOD CONTENT
========================================================= */

.method-content h3 {
    margin-bottom: 12px;

    color: var(--color-text);

    font-size: 1.1rem;

    line-height: 1.4;
}

.method-content p {
    color: var(--color-text-light);

    font-size: var(--fs-sm);

    line-height: 1.7;
}


/* =========================================================
   FAQ
========================================================= */

.about-faq {
    padding: 100px 0;

    background: var(--color-bg-light);
}

.faq-heading {
    margin-bottom: 45px;
}


/* =========================================================
   FAQ LIST
========================================================= */

.faq-list {
    max-width: 900px;

    margin: 0 auto;

    border-top:
        1px solid var(--color-border);
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    background: var(--color-white);

    border-right:
        1px solid var(--color-border);

    border-left:
        1px solid var(--color-border);

    border-bottom:
        1px solid var(--color-border);

    transition:
        border-color var(--transition-normal);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    border-color: var(--color-primary);
}


/* =========================================================
   FAQ QUESTION
========================================================= */

.faq-question {
    width: 100%;

    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 24px;

    color: var(--color-text);

    background: transparent;

    text-align: left;

    font-size: 0.95rem;
    font-weight: 600;

    cursor: pointer;
}

.faq-question:hover {
    color: var(--color-primary);
}


/* =========================================================
   FAQ ICON
========================================================= */

.faq-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    border:
        1px solid var(--color-border);

    border-radius: 50%;

    font-size: 1.2rem;
    font-weight: 400;

    line-height: 1;

    transition:
        color var(--transition-normal),
        background var(--transition-normal),
        transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
    color: var(--color-white);

    background: var(--color-primary);

    border-color: var(--color-primary);

    transform: rotate(45deg);
}


/* =========================================================
   FAQ ANSWER
========================================================= */

.faq-answer {
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    max-width: 800px;

    margin: 0;

    color: var(--color-text-light);

    font-size: 0.9rem;

    line-height: 1.8;
}


/* =========================================================
   À PROPOS — TABLET
========================================================= */

@media (max-width: 1000px) {

    .fabrication-grid {
        grid-template-columns: 1fr;
    }

    .fabrication-content {
        padding: 80px 0 60px;
    }

    .fabrication-image {
        min-height: 450px;
    }

    .fabrication-image::after {
        background:
            linear-gradient(
                180deg,
                var(--color-primary-dark),
                transparent 20%
            );
    }

    .method-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   À PROPOS — MOBILE
========================================================= */

@media (max-width: 650px) {

    .about-method,
    .about-faq {
        padding: 70px 0;
    }

    .fabrication-content {
        padding: 65px 0 50px;
    }

    .fabrication-content h2 {
        font-size: 2.15rem;
    }

    .fabrication-description {
        font-size: 0.9rem;

        line-height: 1.7;
    }

    .fabrication-features {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .fabrication-image {
        min-height: 330px;
    }

    .method-heading,
    .faq-heading {
        margin-bottom: 35px;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-card {
        min-height: 220px;

        padding: 25px;
    }

    .method-number {
        margin-bottom: 35px;

        font-size: 3.8rem;
    }

    .faq-question {
        min-height: 65px;

        padding: 18px;

        font-size: 0.88rem;
    }

    .faq-answer {
        padding:
            0
            18px
            20px;
    }

    .faq-answer p {
        font-size: 0.83rem;
    }

}


/* =========================================================
   À PROPOS — SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .fabrication-content h2 {
        font-size: 1.9rem;
    }

    .fabrication-features li {
        font-size: 0.82rem;
    }

    .yellow-check {
        width: 21px;
        height: 21px;
    }

    .method-number {
        font-size: 3.2rem;
    }

}



/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    background: var(--color-white);

    padding: 110px 0;
}


/* =========================================================
   CONTACT GRID
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 80px;

    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info {
    padding-top: 20px;
}

.contact-info h2 {
    max-width: 550px;

    margin-top: 14px;
    margin-bottom: 22px;

    color: var(--color-text);

    font-size: clamp(2.3rem, 4vw, 3.5rem);

    line-height: 1.08;
}

.contact-description {
    max-width: 500px;

    margin-bottom: 40px;

    color: var(--color-text-light);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;

    gap: 15px;

    width: fit-content;

    color: var(--color-text);

    text-decoration: none;
}

.contact-detail:hover {
    color: var(--color-primary);
}

.contact-detail > span:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.contact-detail strong {
    font-size: 0.85rem;

    font-weight: 700;
}

.contact-detail small {
    color: var(--color-text-light);

    font-size: 0.82rem;
}


/* =========================================================
   CONTACT ICON
========================================================= */

.contact-detail-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: 50%;

    transition:
        color var(--transition-normal),
        background var(--transition-normal);
}

.contact-detail:hover .contact-detail-icon {
    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            var(--color-primary-dark),
            var(--color-primary-light)
        );
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTACT FORM WRAPPER
========================================================= */

.contact-form-wrapper {
    padding: 35px;

    background: var(--color-bg-light);

    border:
        1px solid var(--color-border);
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--color-text);

    font-size: 0.82rem;
    font-weight: 700;
}

.optional {
    color: var(--color-text-muted);

    font-weight: 400;
}


/* =========================================================
   FORM INPUTS
========================================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    color: var(--color-text);

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    border-radius: 0;

    outline: none;

    font-family: inherit;

    font-size: 0.86rem;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.form-group input,
.form-group select {
    min-height: 48px;
}

.form-group textarea {
    min-height: 125px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(18, 97, 201, 0.1);
}


/* =========================================================
   FILE INPUT
========================================================= */

.form-group input[type="file"] {
    padding: 11px;

    cursor: pointer;
}

.form-help {
    color: var(--color-text-muted);

    font-size: 0.72rem;
}


/* =========================================================
   FORM SUBMIT
========================================================= */

.form-submit {
    margin-top: 5px;
}

.form-submit .btn {
    min-height: 52px;

    width: 100%;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 75px 0 0;

    color: var(--color-white);

    background: var(--color-primary-dark);
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        1fr;

    gap: 70px;

    padding-bottom: 60px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-logo {
    display: inline-flex;

    width: 52px;
    height: 52px;

    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.footer-brand p {
    max-width: 430px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.83rem;

    line-height: 1.8;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-grid h3 {
    margin-bottom: 22px;

    color: var(--color-white);

    font-size: 0.9rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* =========================================================
   FOOTER NAVIGATION
========================================================= */

.footer-navigation ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-navigation a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.83rem;

    text-decoration: none;

    transition:
        color var(--transition-fast);
}

.footer-navigation a:hover,
.footer-contact a:hover {
    color: var(--color-accent);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);

    font-size: 0.72rem;

    line-height: 1.5;
}


/* =========================================================
   CONTACT + FOOTER — TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .contact-info {
        padding-top: 0;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   CONTACT + FOOTER — MOBILE
========================================================= */

@media (max-width: 650px) {

    .contact-section {
        padding: 75px 0;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-description {
        font-size: 0.9rem;

        margin-bottom: 30px;
    }

    .contact-form-wrapper {
        padding: 22px;
    }

    .contact-form {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .form-group-full {
        grid-column: auto;
    }


    /* Footer */

    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

}


/* =========================================================
   CONTACT — SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-info h2 {
        font-size: 1.9rem;
    }

    .contact-form-wrapper {
        padding: 18px;
    }

    .contact-detail-icon {
        width: 41px;
        height: 41px;
    }

    .contact-detail small {
        font-size: 0.77rem;
    }

}











/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .nav-list {
        gap: 13px;
    }

    .nav-link {
        font-size: 0.76rem;
    }

    .header-phone span {
        display: none;
    }

    .trust-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .trust-item:nth-child(3) {
        border-right: 0;
    }

    .trust-item:nth-child(4),
    .trust-item:nth-child(5) {
        border-top:
            1px solid var(--color-border-light);
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    :root {
        --header-height: 70px;
    }

    .container {
        width: min(
            calc(100% - 30px),
            var(--container-width)
        );
    }


    /* Mobile navigation */

    .main-nav {
        position: absolute;

        top: var(--header-height);
        left: 15px;
        right: 15px;

        margin: 0;

        padding: 15px;

        background: var(--color-white);

        border-radius: var(--radius-md);

        box-shadow: var(--shadow-lg);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity var(--transition-normal),
            visibility var(--transition-normal),
            transform var(--transition-normal);
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;

        gap: 2px;
    }

    .nav-link {
        display: block;

        padding: 12px 10px;

        color: var(--color-text);

        border-radius: 6px;
    }

    .nav-link:hover {
        background: #f3f6fa;
    }

    .nav-link::after {
        display: none;
    }


    /* Header */

    .header-actions {
        margin-left: auto;
    }

    .header-phone {
        display: none;
    }

    .header-cta {
        min-height: 40px;

        padding: 9px 13px;

        font-size: 0.72rem;
    }

    .mobile-menu-toggle {
        display: block;
    }


    /* Hero */

    .hero {
        min-height: 700px;

        background-position: 60% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 20, 38, 0.92),
                rgba(5, 20, 38, 0.55)
            );
    }

    .hero-container {
        padding-top: 90px;
        padding-bottom: 145px;
    }

    .hero h1 {
        font-size: clamp(
            2.25rem,
            10vw,
            3.2rem
        );
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;

        max-width: 320px;
    }

    .hero-actions .btn {
        width: 100%;
    }


    /* Hero solutions */

    .solutions-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .solution-item {
        min-height: 75px;

        flex-direction: column;

        gap: 5px;

        text-align: center;
    }

    .solution-item svg {
        width: 21px;
        height: 21px;
    }

    .solution-item span {
        font-size: 0.65rem;

        line-height: 1.25;
    }


    /* Trust */

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-item {
        min-height: 95px;
    }

    .trust-item:nth-child(2n) {
        border-right: 0;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4),
    .trust-item:nth-child(5) {
        border-top:
            1px solid var(--color-border-light);
    }

    .trust-item:last-child {
        grid-column: 1 / -1;

        border-right: 0;
    }


    /* Services */

    .section {
        padding-block: 70px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .service-card {
        min-height: 310px;

        padding: 25px;
    }
}

/* =========================================================
   SÉCURITÉ SECTION
========================================================= */

.security-section {
    background: var(--color-bg-light);
}


/* =========================================================
   SÉCURITÉ HEADING
========================================================= */

.security-heading {
    max-width: 750px;
}


/* =========================================================
   SÉCURITÉ LAYOUT
========================================================= */

.security-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 55px;

    align-items: center;
}


/* =========================================================
   SÉCURITÉ IMAGE
========================================================= */

.security-image {
    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--color-border-light);

    border:
        1px solid var(--color-border);
}

.security-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 500ms ease;
}

.security-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   SÉCURITÉ CONTENT
========================================================= */

.security-content {
    padding: 10px 0;
}

.security-content h3 {
    margin-bottom: 18px;

    font-size: 1.6rem;

    line-height: 1.3;

    color: var(--color-text);
}

.security-content > p {
    color: var(--color-text-light);

    font-size: var(--fs-sm);

    line-height: 1.8;
}


/* =========================================================
   SÉCURITÉ FEATURES
========================================================= */

.security-features {
    display: flex;

    flex-direction: column;

    gap: 13px;

    margin: 25px 0;
}

.security-features li {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    color: var(--color-text);

    font-size: var(--fs-sm);

    line-height: 1.5;
}


/* =========================================================
   SECURITY CHECK
========================================================= */

.security-check {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-primary);

    background: #eef5ff;

    border-radius: 50%;

    font-size: 0.75rem;

    font-weight: 800;
}


/* =========================================================
   SÉCURITÉ DESCRIPTION
========================================================= */

.security-description {
    margin-top: 5px;
}


/* =========================================================
   SÉCURITÉ BUTTON
========================================================= */

.security-button {
    margin-top: 25px;
}


/* =========================================================
   SÉCURITÉ — TABLET
========================================================= */

@media (max-width: 850px) {

    .security-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .security-image {
        aspect-ratio: 16 / 9;
    }

}


/* =========================================================
   SÉCURITÉ — MOBILE
========================================================= */

@media (max-width: 480px) {

    .security-content h3 {
        font-size: 1.3rem;
    }

    .security-content > p,
    .security-features li {
        font-size: 0.83rem;
    }

    .security-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .brand-name {
        font-size: 0.67rem;
    }

    .brand-subtitle {
        font-size: 0.52rem;
    }

    .brand-logo {
        width: 37px;
        height: 37px;

        font-size: 1.2rem;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item,
    .trust-item:nth-child(2n),
    .trust-item:nth-child(3),
    .trust-item:nth-child(4),
    .trust-item:nth-child(5) {
        grid-column: auto;

        border-right: 0;

        border-top:
            1px solid var(--color-border-light);
    }

    .trust-item:first-child {
        border-top: 0;
    }
}
/* =========================================================
   DÉCORATION SECTION
========================================================= */

.decoration-section {
    background: var(--color-white);
}


/* =========================================================
   DÉCORATION HEADING
========================================================= */

.decoration-heading {
    max-width: 780px;
}


/* =========================================================
   DECORATION PROJECT
========================================================= */

.decoration-project {
    margin-bottom: 60px;

    padding-bottom: 55px;

    border-bottom:
        1px solid var(--color-border-light);
}

.decoration-project:last-of-type {
    margin-bottom: 0;

    padding-bottom: 0;

    border-bottom: 0;
}


/* =========================================================
   PROJECT HEADING
========================================================= */

.decoration-project-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}

.decoration-project-number {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-light)
        );

    font-size: 0.82rem;

    font-weight: 800;
}

.decoration-project-heading h3 {
    margin-bottom: 3px;

    font-size: 1.25rem;

    line-height: 1.3;
}

.decoration-project-heading p {
    color: var(--color-text-light);

    font-size: 0.82rem;
}


/* =========================================================
   BEFORE / AFTER GRID
========================================================= */

.before-after-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   BEFORE / AFTER CARD
========================================================= */

.before-after-card {
    overflow: hidden;

    background: var(--color-white);

    border:
        1px solid var(--color-border);

    transition:
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.before-after-card:hover {
    border-color: var(--color-primary);

    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   BEFORE / AFTER IMAGE
========================================================= */

.before-after-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--color-bg-light);
}

.before-after-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 500ms ease;
}

.before-after-card:hover img {
    transform: scale(1.04);
}


/* =========================================================
   BEFORE / AFTER LABEL
========================================================= */

.before-after-label {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 12px;

    color: var(--color-white);

    background: rgba(11, 31, 58, 0.88);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.08em;
}


/* =========================================================
   DÉCORATION SERVICES
========================================================= */

.decoration-services {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-top: 50px;
}

.decoration-service {
    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 70px;

    padding: 15px;

    background: var(--color-bg-light);

    border:
        1px solid var(--color-border);

    transition:
        border-color var(--transition-normal),
        transform var(--transition-normal);
}

.decoration-service:hover {
    border-color: var(--color-primary);

    transform: translateY(-3px);
}

.decoration-service span {
    font-size: 1.25rem;
}

.decoration-service strong {
    font-size: 0.82rem;

    line-height: 1.35;
}


/* =========================================================
   DÉCORATION FOOTER
========================================================= */

.decoration-footer {
    margin-top: 45px;

    padding: 25px;

    text-align: center;

    background: var(--color-bg-light);

    border:
        1px solid var(--color-border);
}

.decoration-footer p {
    margin-bottom: 7px;

    color: var(--color-text);

    font-size: var(--fs-sm);

    font-weight: 600;
}

.decoration-footer span {
    color: var(--color-primary);

    font-size: var(--fs-sm);

    font-weight: 700;
}


/* =========================================================
   DÉCORATION — TABLET
========================================================= */

@media (max-width: 800px) {

    .decoration-services {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   DÉCORATION — MOBILE
========================================================= */

@media (max-width: 600px) {

    .before-after-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .decoration-services {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .decoration-project {
        margin-bottom: 45px;

        padding-bottom: 40px;
    }

}


/* =========================================================
   DÉCORATION — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .decoration-project-heading {
        align-items: flex-start;
    }

    .decoration-project-number {
        width: 40px;
        height: 40px;

        font-size: 0.75rem;
    }

    .decoration-project-heading h3 {
        font-size: 1.1rem;
    }

    .decoration-project-heading p {
        font-size: 0.78rem;
    }

    .decoration-service {
        min-height: 62px;
    }

    .decoration-footer {
        padding: 20px 15px;
    }

}
