:root {
    --header-height: 5.5rem;
    --green: #21ef83;
    --green-dark: #0fc86b;
    --light-bg: #f2f5de;
    --dark-bg: #F7F7F5;
    --ink: #06110d;
    --page-bg: #fff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --page-x: 8.6%;
    --section-pad-x: 1.25rem;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--page-bg);
}

body.devis-open {
    overflow: hidden;
}

section,
footer {
    min-height: 88vh;
}

header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    width: 100%;
    height: var(--header-height);
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1.75rem;
    padding: 0.9rem 4%;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

header.header-dark {
    background-color: var(--dark-bg);
    border-bottom-color: rgba(0, 0, 0, 0.18);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}

.logo-container img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
}

.title h1 {
    margin: 0;
    font-size: 1.625rem;
    line-height: 1;
}

.title p {
    margin: 0.375rem 0 0;
    color: var(--text-muted);
    font-size: 0.5625rem;
    letter-spacing: 0.1375rem;
    white-space: nowrap;
}

header.header-dark .title p {
    color: rgba(6, 17, 13, 0.72);
}

.green {
    color: var(--green);
}

.tech {
    color: #fff;
}

header.header-dark .tech {
    color: var(--ink);
}

nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.875rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    position: relative;
    display: inline-flex;
    padding: 0.375rem 0 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

header.header-dark nav a {
    color: var(--ink);
}

nav a:hover,
nav a.active,
header.header-dark nav a:hover,
header.header-dark nav a.active {
    color: var(--green);
}

nav a.active::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 0.1875rem;
    background: var(--green);
}

.mobile-menu-toggle,
.mobile-quote-item {
    display: none;
}

.quote-button,
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}

.quote-button {
    min-height: 2.625rem;
    padding: 0 1.25rem;
    color: var(--green);
    font-size: 0.875rem;
    white-space: nowrap;
    border: 0.0625rem solid var(--green);
    border-radius: 0.375rem;
    transition: background 0.3s, color 0.3s;
}

.quote-button:hover {
    color: var(--ink);
    background: var(--green);
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    height: 100vh;
    min-height: 100vh;
    padding: calc(var(--header-height) + 4.25rem) var(--page-x) 4rem;
    overflow: visible;
    background: #fff;
}

.hero::before {
    display: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(3, 18, 20, 0.82) 0%, rgba(4, 20, 22, 0.64) 34%, rgba(0, 0, 0, 0.10) 66%, rgba(0, 0, 0, 0) 100%),
        url("background-accueil.jpeg") center bottom / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    transform: translateY(0);
}

.hero h2 {
    max-width: 44rem;
    margin: 1.5rem 0 1.125rem;
    color: #fff;
    font-size: 4rem;
    line-height: 1.06;
    letter-spacing: 0;
}

.hero h2 span {
    display: block;
    color: var(--green);
}

.hero h2 .hero-line-white {
    color: #fff;
}

.hero-subtitle {
    max-width: 42rem;
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.625rem;
}

.hero-button {
    gap: 0.875rem;
    min-height: 4.25rem;
    padding: 0 2rem;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 800;
    border-radius: 0.4375rem;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.hero-button:hover {
    transform: translateY(-0.125rem);
}

.hero-button.primary {
    color: var(--ink);
    background: linear-gradient(135deg, var(--green), #5cf18d);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.16);
    border: 0.0625rem solid rgba(255, 255, 255, 0.88);
}

.hero .partner-box {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 6;
    width: min(92rem, calc(100% - 4rem));
    margin: 0;
    transform: translate(-50%, 50%);
}

.hero .partner-logos {
    grid-template-columns: repeat(9, minmax(0, 1fr));
}

.services,
.about,
.realisations,
.contact,
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 2rem) var(--section-pad-x) 2rem;
    text-align: center;
}

.services {
    align-items: center;
    padding-top: calc(var(--header-height) + 7rem);
    padding-bottom: 1.5rem;
    background: #F7F7F5;
    color: var(--ink);
}

.about {
    background: var(--light-bg);
    color: var(--ink);
    align-items: center;
    min-height: 58vh;
    padding-bottom: 4rem;
}

.realisations,
.contact,
footer {
    background: var(--dark-bg);
    color: var(--ink);
}

.realisations {
    gap: 1.5rem;
    min-height: auto;
    padding-top: 3.5rem;
}

.services h2,
.about h2,
.realisations h2,
.contact h2 {
    margin-bottom: 2.5rem;
    color: var(--green-dark);
    font-size: 2rem;
}

.realisations h2 {
    margin-bottom: 1rem;
}

.realisation-gallery {
    width: min(177rem, 100%);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(24rem, 32rem);
    gap: 1.25rem;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 0 0 1rem;
    scroll-behavior: auto;
    scrollbar-width: none;
}

.realisation-gallery::-webkit-scrollbar {
    display: none;
}

.realisation-photo {
    aspect-ratio: 4 / 3;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 0.0625rem solid rgba(6, 17, 13, 0.08);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.75rem rgba(6, 17, 13, 0.12);
    cursor: zoom-in;
}

.realisation-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.realisation-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(6, 17, 13, 0.88);
}

.realisation-modal[hidden] {
    display: none;
}

.realisation-modal-image {
    max-width: min(96vw, 92rem);
    max-height: 90vh;
    display: block;
    object-fit: contain;
    box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.42);
}

.realisation-modal-close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 81;
    width: 2.75rem;
    height: 2.75rem;
    color: #fff;
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.28);
    border: 0;
    border-radius: 999rem;
}

.realisation-modal-close:hover {
    color: var(--green);
}

.realisation-photo-auto {
    position: relative;
}

.realisation-auto-track {
    width: 200%;
    height: 100%;
    display: flex;
    animation: realisationAutoScroll 6s ease-in-out infinite;
}

.realisation-auto-track img {
    width: 50%;
    flex: 0 0 50%;
}

@keyframes realisationAutoScroll {
    0%,
    42% {
        transform: translateX(0);
    }

    50%,
    92% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.services h2 {
    margin-bottom: 3.5rem;
    font-size: 2.6rem;
}

.section-eyebrow {
    margin: 0 0 4rem;
    color: var(--green-dark);
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.service-grid {
    width: min(100%, 94rem);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    min-height: 27rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem 2rem;
    text-align: left;
    background: #fff;
    border: 0.0625rem solid rgba(6, 17, 13, 0.06);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.75rem rgba(6, 17, 13, 0.08);
}

.service-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.5rem;
    color: var(--green-dark);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.service-icon-wrench svg,
.service-icon-snowflake svg {
    stroke-width: 2;
}

.service-svg-calendar {
    stroke-width: 2;
}

.service-icon-bath svg {
    stroke-width: 1.8;
}

.service-icon-plus svg {
    stroke-width: 9;
}

.service-card h3 {
    margin: 0 0 1.35rem;
    color: var(--ink);
    font-size: 1.2rem;
}

.service-card p {
    margin: 0;
    color: rgba(6, 17, 13, 0.66);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
}

.service-more {
    min-height: 4.25rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: auto;
    padding: 0 1.7rem;
    color: #fff;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #03c96f, #0ac85f);
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.85rem 1.75rem rgba(3, 201, 111, 0.24);
    transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.service-more:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 1rem 2rem rgba(3, 201, 111, 0.32);
    filter: brightness(1.04);
}

.service-more span {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
}

.services.services-detail-open .service-grid {
    display: none;
}

.service-details {
    position: relative;
    width: min(100%, 94rem);
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 2rem;
    margin: 0 auto;
    text-align: left;
}

.service-details[hidden] {
    display: none;
}

.service-detail-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(6, 17, 13, 0.42);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.service-detail-close:hover {
    color: var(--green-dark);
}

.service-detail-menu {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.75rem rgba(6, 17, 13, 0.08);
}

.service-detail-tab {
    min-height: 5rem;
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0 1.25rem;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    background: #fff;
    border: 0.0625rem solid transparent;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1.5rem rgba(6, 17, 13, 0.04);
}

.service-detail-tab.is-active {
    border-color: var(--green);
}

.service-detail-tab-icon {
    color: var(--green-dark);
    width: 2.1rem;
    height: 2.1rem;
    line-height: 1;
}

.service-detail-tab-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.service-detail-tab-arrow {
    color: rgba(6, 17, 13, 0.35);
    font-size: 1.6rem;
}

.service-detail-card {
    min-height: 28rem;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
    align-items: center;
    gap: 3rem;
    padding: 4.75rem 3.5rem 3.5rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1.25rem 3.5rem rgba(6, 17, 13, 0.1);
}

.service-detail-eyebrow {
    margin: 0 0 1rem;
    color: var(--green-dark);
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.service-detail-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 2.15rem;
    line-height: 1.15;
}

.service-detail-line {
    width: 3.5rem;
    height: 0.1875rem;
    display: block;
    margin: 1.6rem 0 1.5rem;
    background: var(--green-dark);
}

.service-detail-description {
    margin: 0 0 1.6rem;
    color: rgba(6, 17, 13, 0.72);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
}

.service-detail-list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.service-detail-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--ink);
    font-weight: 700;
}

.service-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 0.85rem;
    font-weight: 900;
    border: 0.125rem solid var(--green);
    border-radius: 999rem;
}

.service-detail-quote {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    color: var(--green-dark);
    font-weight: 800;
    text-decoration: none;
    border: 0.0625rem solid var(--green);
    border-radius: 0.375rem;
}

.service-detail-quote:hover {
    color: var(--ink);
    background: var(--green);
}

.service-detail-visual {
    min-height: 22rem;
    margin: 0;
    overflow: hidden;
    background: #f4f7ef;
    border: 0;
    border-radius: 0;
}

.service-detail-image {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    display: block;
    object-fit: cover;
}

.about-inner {
    width: min(74rem, 100%);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
    padding: 2.75rem;
    text-align: left;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1.25rem 3.5rem rgba(6, 17, 13, 0.12);
}

.about-image {
    aspect-ratio: 1 / 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.75rem rgba(6, 17, 13, 0.13);
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.about-text p {
    max-width: 42rem;
    margin: 0 0 1.15rem;
    color: #1f2a24;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.about-small-image {
    width: 9rem;
    height: 4rem;
    margin: 0 0 0.7rem;
    overflow: hidden;
}

.about-small-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.about-text .about-name {
    margin-bottom: 0.35rem;
    color: #143820;
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1.05;
}

.about-text .about-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    color: #4f8f2c;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.about-text .about-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 0.125rem;
    background: #68bd22;
}

.contact p,
footer p {
    color: #333;
    line-height: 1.5;
}

.contact p {
    font-size: 1.125rem;
}

.partner-box {
    width: min(92rem, 94%);
    margin: 0 auto 2.25rem;
    padding: 2rem 2.75rem 2.25rem;
    background: #fff;
    border: 0.125rem solid rgba(6, 17, 13, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 0.875rem 2.5rem rgba(6, 17, 13, 0.13);
}

.partner-box p {
    margin: 0 0 1.75rem;
    color: rgba(6, 17, 13, 0.52);
    font-size: 0.9375rem;
    font-weight: 800;
    text-align: center;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    align-items: center;
}

.partner-slot {
    position: relative;
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
}

.partner-slot[aria-hidden="true"] {
    display: none;
}

.partner-slot::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(6.5rem, 72%);
    height: 2.5rem;
    display: block;
    background: rgba(6, 17, 13, 0.04);
    border: 0.0625rem dashed rgba(6, 17, 13, 0.16);
    border-radius: 0.25rem;
    transform: translate(-50%, -50%);
}

.partner-slot.has-logo::before {
    display: none;
}

.partner-slot + .partner-slot {
    border-left: 0.0625rem solid rgba(6, 17, 13, 0.12);
}

.partner-slot img {
    max-width: min(10rem, 100%);
    max-height: 3rem;
    object-fit: contain;
}

.partner-slot img[src] {
    position: relative;
    z-index: 1;
}

.partner-slot img:not([src]),
.partner-slot img[src=""] {
    display: none;
}

.contact {
    min-height: auto;
    padding: 6rem 1.5rem 7rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(33, 239, 131, 0.08), transparent 22rem),
        radial-gradient(circle at 86% 72%, rgba(33, 239, 131, 0.08), transparent 24rem),
        #F7F7F5;
    text-align: center;
}

.contact-inner {
    width: min(96rem, 100%);
    margin: 0 auto;
}

.contact h2 {
    margin: 0;
    color: #123f34;
    font-size: 2.8rem;
    line-height: 1.1;
}

.contact-title-line {
    width: 3.75rem;
    height: 0.1875rem;
    display: block;
    margin: 1rem auto 1.15rem;
    background: var(--green-dark);
}

.contact-intro {
    margin: 0 auto 3.5rem;
    color: #31423d;
    font-size: 1.2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.contact-card {
    min-height: 7.25rem;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    padding: 1.65rem 1.6rem;
    text-align: left;
    background: #fff;
    border: 0.0625rem solid rgba(6, 17, 13, 0.06);
    border-radius: 0.5rem;
    box-shadow: 0 0.85rem 2.25rem rgba(6, 17, 13, 0.1);
}

.contact-card-icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 999rem;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 200, 107, 0.2);
}

.contact-card-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    color: #fff;
}

.contact-card h3 {
    margin: 0 0 0.35rem;
    color: #123f34;
    font-size: 1rem;
    font-weight: 700;
}

.contact-card p,
.contact-card a {
    margin: 0;
    color: #025f32;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.contact-card:nth-child(4) p {
    color: #52625e;
    font-weight: 500;
}

.contact-services {
    width: min(36rem, 100%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    margin: 4.2rem auto 2.25rem;
}

.contact-services span {
    height: 0.0625rem;
    background: rgba(15, 200, 107, 0.6);
}

.contact-services h3 {
    margin: 0;
    color: #123f34;
    font-size: 1.35rem;
}

.contact-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 5.5rem;
    margin: 0 0 4rem;
}

.contact-points p {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    color: #1d312b;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-points span {
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 0.95rem;
    border: 0.125rem solid var(--green-dark);
    border-radius: 999rem;
}

.contact-quote-card {
    width: min(58rem, 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.25rem;
    margin: 0 auto;
    padding: 2.4rem 2.8rem;
    text-align: left;
    background: #fff;
    border: 0.0625rem solid rgba(6, 17, 13, 0.05);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(6, 17, 13, 0.11);
}

.contact-email-image {
    width: 7.5rem;
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(33, 239, 131, 0.12);
    border-radius: 0.5rem;
}

.contact-email-image.is-empty::before {
    content: "";
    width: 70%;
    height: 70%;
    display: block;
    background: rgba(15, 200, 107, 0.16);
    border: 0.125rem dashed rgba(15, 200, 107, 0.55);
    border-radius: 0.375rem;
}

.contact-email-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.contact-quote-text h3 {
    margin: 0 0 0.65rem;
    color: #123f34;
    font-size: 1.45rem;
}

.contact-quote-text p {
    max-width: 24rem;
    margin: 0;
    color: #52625e;
    font-size: 1.05rem;
    line-height: 1.55;
}

.contact-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1.65rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 0.375rem;
    box-shadow: 0 0.85rem 1.75rem rgba(15, 200, 107, 0.22);
    transition: transform 0.25s, filter 0.25s;
}

.contact-button:hover {
    transform: translateY(-0.125rem);
    filter: brightness(1.04);
}

footer {
    min-height: auto;
    justify-content: flex-start;
    padding: 0;
    color: #F5F7FA;
    text-align: left;
    background:
        radial-gradient(circle at 14% 20%, rgba(15, 23, 42, 0.95), transparent 28rem),
        radial-gradient(circle at 82% 22%, rgba(15, 23, 42, 0.8), transparent 30rem),
        #16181D;
    border-top: 0.1875rem solid #22C55E;
}

footer p {
    margin: 0.3125rem 0;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
    color: inherit;
}

.footer-inner {
    width: min(92rem, calc(100% - 2.5rem));
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 1fr) minmax(15rem, 0.95fr);
    gap: 3.5rem;
    margin: 0 auto;
    padding: 3.75rem 0 3rem;
}

.footer-column + .footer-column {
    border-left: 0.0625rem solid #2D333D;
    padding-left: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 5.75rem;
    height: 5.75rem;
    object-fit: contain;
}

.footer-logo h2 {
    margin: 0;
    color: #F5F7FA;
    font-size: 2.2rem;
    line-height: 1;
}

.footer-logo h2 span:last-child {
    color: #F5F7FA;
}

.footer-logo p {
    margin-top: 0.55rem;
    color: #B6BDC8;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    white-space: nowrap;
}

.footer-accent,
.footer-heading-line {
    display: block;
    width: 2.5rem;
    height: 0.125rem;
    background: #22C55E;
}

.footer-accent {
    margin: 1.8rem 0 1.5rem;
}

.footer-description {
    max-width: 23rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
}

.footer-socials a,
.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #22C55E;
    background: rgba(245, 247, 250, 0.08);
    border-radius: 999rem;
}

.footer-socials a {
    width: 3rem;
    height: 3rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.footer-socials svg,
.footer-email svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
}

.footer-socials a:hover {
    color: #16181D;
    background: #4ADE80;
    transform: translateY(-0.125rem);
}

.footer-socials .footer-facebook {
    font-size: 1.55rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
}

.footer-contact h3,
.footer-links h3 {
    margin: 0 0 0.75rem;
    color: #4ADE80;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.footer-heading-line {
    margin-bottom: 1.65rem;
}

.footer-contact p,
.footer-links li,
.footer-bottom p {
    color: #B6BDC8;
    font-size: 1rem;
    line-height: 1.65;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1rem;
    color: #F5F7FA;
    font-weight: 700;
}

.footer-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    background: rgba(34, 197, 94, 0.12);
}

.footer-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
}

.footer-contact a,
.footer-links a {
    color: #F5F7FA;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #4ADE80;
}

.footer-email {
    width: min(100%, 22rem);
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0 1.5rem;
    color: #22C55E;
    border: 0.0625rem solid #16C94C;
    border-radius: 999rem;
}

.footer-email:hover {
    color: #16181D;
    background: #4ADE80;
    border-color: #4ADE80;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    border-bottom: 0.0625rem solid #2D333D;
}

.footer-links a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3.15rem;
    padding-left: 1.8rem;
}

.footer-links a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #22C55E;
    font-size: 1.8rem;
    line-height: 1;
}

.footer-bottom {
    width: 100%;
    margin: 0;
    padding: 1.45rem 1.25rem 1.55rem;
    text-align: center;
    border-top: 0.0625rem solid #2D333D;
    background: rgba(15, 23, 42, 0.28);
}

.footer-bottom strong,
.footer-bottom span {
    color: #22C55E;
}

.devis-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(6, 17, 13, 0.62);
}

.devis-modal[hidden] {
    display: none;
}

.devis-panel {
    position: relative;
    width: min(34rem, 100%);
    max-height: min(44rem, calc(100vh - 2.5rem));
    overflow: auto;
    padding: 2.25rem;
    color: var(--ink);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

.devis-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(6, 17, 13, 0.48);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.devis-close:hover {
    color: var(--green-dark);
}

.devis-panel h2 {
    margin: 0 2rem 0.65rem 0;
    color: var(--green-dark);
    font-size: 2rem;
}

.devis-panel p {
    margin: 0 0 1.5rem;
    color: rgba(6, 17, 13, 0.68);
    line-height: 1.5;
}

.devis-form {
    display: grid;
    gap: 1rem;
}

.devis-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink);
    font-weight: 800;
    text-align: left;
}

.devis-form input,
.devis-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    color: var(--ink);
    font: inherit;
    border: 0.0625rem solid rgba(6, 17, 13, 0.18);
    border-radius: 0.375rem;
    outline: none;
}

.devis-form input:focus,
.devis-form textarea:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 0.1875rem rgba(33, 239, 131, 0.22);
}

.devis-form textarea {
    resize: vertical;
}

.devis-form button {
    min-height: 3.4rem;
    margin-top: 0.35rem;
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    background: var(--green);
    border: 0;
    border-radius: 0.375rem;
}

.devis-form button:hover {
    background: var(--green-dark);
}

@media (max-width: 56rem) {
    header {
        gap: 1rem;
        padding-right: 2%;
        padding-left: 2%;
    }

    nav ul {
        gap: 1rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-details {
        grid-template-columns: 1fr;
    }

    .service-detail-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-quote-card {
        grid-template-columns: auto 1fr;
    }

    .contact-button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 38rem) {
    header {
        grid-template-columns: 1fr auto;
        overflow: visible;
    }

    .mobile-menu-toggle {
        width: 2.75rem;
        height: 2.75rem;
        min-height: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: var(--green);
        cursor: pointer;
        background: transparent;
        border: 0;
    }

    .mobile-menu-toggle span,
    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        width: 1.25rem;
        height: 0.125rem;
        display: block;
        background: currentColor;
        border-radius: 999rem;
    }

    .mobile-menu-toggle span {
        position: relative;
    }

    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .mobile-menu-toggle span::before {
        top: -0.4375rem;
    }

    .mobile-menu-toggle span::after {
        top: 0.4375rem;
    }

    header.header-dark .mobile-menu-toggle,
    header.nav-open .mobile-menu-toggle {
        color: var(--green);
        background: transparent;
    }

    nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        width: min(18rem, calc(100vw - 2rem));
        display: none;
        padding: 0.75rem;
        background: rgba(247, 247, 245, 0.98);
        border: 0.0625rem solid rgba(6, 17, 13, 0.12);
        border-radius: 0.5rem;
        box-shadow: 0 1rem 2.5rem rgba(6, 17, 13, 0.18);
    }

    header.nav-open nav {
        display: block;
    }

    nav ul {
        display: grid;
        gap: 0.25rem;
    }

    nav a,
    header.header-dark nav a {
        width: 100%;
        min-height: 2.75rem;
        align-items: center;
        padding: 0 0.85rem;
        color: var(--ink);
        border-radius: 0.375rem;
    }

    nav a:hover,
    nav a.active,
    header.header-dark nav a:hover,
    header.header-dark nav a.active {
        color: var(--ink);
        background: rgba(33, 239, 131, 0.24);
    }

    nav a.active::after {
        display: none;
    }

    .mobile-quote-item {
        display: block;
    }

    .mobile-quote-item a {
        margin-top: 0.25rem;
        color: var(--ink);
        font-weight: 900;
        background: var(--green);
    }

    header > .quote-button {
        display: none;
    }

    .hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-content {
        transform: translateY(-1.5rem);
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero .partner-box {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 2rem;
        transform: none;
    }

    .services {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .services h2 {
        margin-bottom: 2rem;
        font-size: 2.1rem;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 1.25rem;
    }

    .about-text {
        text-align: center;
    }

    .about-text .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-eyebrow {
        margin-bottom: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 18rem;
    }

    .service-detail-menu {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }

    .service-detail-card {
        gap: 1.75rem;
        padding: 4rem 1.25rem 1.5rem;
    }

    .service-detail-card h3 {
        font-size: 1.65rem;
    }

    .service-detail-visual {
        min-height: 14rem;
    }

    .partner-box {
        width: min(100%, 22rem);
        padding: 1rem 0.75rem;
    }

    .partner-box p {
        margin-bottom: 1rem;
        font-size: 0.75rem;
    }

    .contact {
        padding: 5rem 1rem;
    }

    .contact h2 {
        font-size: 2.2rem;
    }

    .contact-intro {
        margin-bottom: 2.5rem;
        font-size: 1rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        min-height: 6.25rem;
        padding: 1.25rem;
    }

    .contact-services {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 3rem auto 1.75rem;
    }

    .contact-services span {
        width: 7rem;
        justify-self: center;
    }

    .contact-points {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        gap: 1rem;
        margin: 0 auto 3rem;
    }

    .contact-quote-card {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.25rem;
        padding: 1.5rem;
        text-align: center;
    }

    .contact-email-image {
        width: 6.5rem;
        height: 6.5rem;
    }

    .contact-button {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
    }

    .hero .partner-logos {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 8.5rem;
        grid-template-columns: none;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.75rem;
        overscroll-behavior-inline: contain;
        scroll-behavior: auto;
        scrollbar-width: none;
    }

    .hero .partner-logos::-webkit-scrollbar {
        display: none;
    }

    .hero .partner-slot {
        width: 8.5rem;
        min-width: 8.5rem;
        min-height: 3rem;
        display: inline-flex;
        padding: 0 0.9rem;
    }

    .hero .partner-slot::before {
        width: 5.75rem;
        height: 2.2rem;
    }

    .hero .partner-slot img {
        max-width: 7rem;
        max-height: 2.5rem;
    }

    .hero .partner-slot + .partner-slot {
        border-left: 0.0625rem solid rgba(6, 17, 13, 0.12);
    }

    .footer-inner,
    .footer-brand {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column + .footer-column {
        padding-left: 0;
        padding-top: 2rem;
        border-left: 0;
        border-top: 0.0625rem solid #2D333D;
    }

    .footer-logo p {
        white-space: normal;
    }
}
