/* ==========================================================================
   MR CONSTRUCTION — style.css
   ========================================================================== */

:root {
    --red: #d81f26;
    --red-dark: #a8161c;
    --black: #0c0c0d;
    --charcoal: #161618;
    --ink: #1c1c1f;
    --grey: #6b6b70;
    --grey-light: #a9a9af;
    --paper: #f7f6f3;
    --white: #ffffff;
    --hairline: rgba(12, 12, 13, 0.08);
    --hairline-light: rgba(255, 255, 255, 0.12);
    --radius-lg: 1.75rem;
    --radius-md: 1.25rem;
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--black);
}

.container {
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
}

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(3.5rem);
    filter: blur(6px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
    will-change: transform;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 12px 32px -12px rgba(216, 31, 38, 0.55);
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -14px rgba(216, 31, 38, 0.6);
}

.btn-outline-white {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-lg { padding: 1.15rem 2.4rem; font-size: 1rem; }

.link-arrow {
    display: inline-block;
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--red);
    transition: transform 0.5s var(--ease);
}
.link-arrow:hover { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
#header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(8, 8, 9, 0.72), rgba(8, 8, 9, 0.35) 65%, transparent);
    transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
#header.scrolled {
    background: rgba(247, 246, 243, 0.85);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--hairline), 0 18px 40px -30px rgba(12, 12, 13, 0.35);
}

.nav-container {
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.9rem;
}

.nav-logo img {
    height: 78px;
    width: auto;
    transition: transform 0.5s var(--ease), height 0.5s var(--ease);
}
.nav-logo:hover img { transform: scale(1.04); }
#header.scrolled .nav-logo img,
#header.menu-open .nav-logo img {
    content: url('../images/logo-transparent.png');
    height: 62px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
#header:not(.scrolled) .nav-link { color: var(--white); }
#header:not(.scrolled) .nav-link:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
#header:not(.scrolled) .nav-link.active { color: #ff6b70; }
#header.scrolled .nav-link { color: var(--ink); }
#header.scrolled .nav-link:hover { background: rgba(216, 31, 38, 0.09); color: var(--red); }
#header.scrolled .nav-link.active { color: var(--red); }

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    margin-left: 0.5rem;
    box-shadow: 0 10px 24px -10px rgba(216, 31, 38, 0.55);
}
.nav-cta:hover { background: var(--red-dark); color: var(--white); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    align-items: center;
}
#header.scrolled .nav-toggle,
#header.menu-open .nav-toggle {
    border-color: var(--hairline);
    background: rgba(255, 255, 255, 0.7);
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
#header.scrolled .nav-toggle span,
#header.menu-open .nav-toggle span { background: var(--black); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9rem 0 3rem;
    background:
        url('../images/realisation/R1/639687185_1549426300521419_6512856531814173278_n.jpg')
        center 70% / cover no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(8, 8, 9, 0.92) 0%, rgba(8, 8, 9, 0.72) 45%, rgba(8, 8, 9, 0.35) 100%);
}

.hero-content {
    position: relative;
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
    max-width: 1180px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
}

.hero h1 {
    max-width: 13ch;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--red); }

.hero-text {
    max-width: 52ch;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2.5rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badges {
    position: relative;
    width: min(1180px, 100% - 3rem);
    margin: 4.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.hero-badge {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    color: var(--white);
}
.hero-badge strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.hero-badge span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
    background: var(--black);
    padding: 4.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat {
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}
.stat:not(:first-child) { border-left: 1px solid var(--hairline-light); }
.stat-number, .stat-plus {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
}
.stat-plus { color: var(--red); }
.stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--grey-light);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 7rem 0; }

.section-dark {
    background: var(--black);
    color: var(--grey-light);
}
.section-dark h2 { color: var(--white); }

.section-header {
    max-width: 620px;
    margin: 0 auto 4rem;
    text-align: center;
}
.section-tag {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: rgba(216, 31, 38, 0.09);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.section-dark .section-tag { background: rgba(216, 31, 38, 0.18); }

.section-header h2, .about-preview-text h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin-bottom: 1rem;
}
.section-header h2 span, .about-preview-text h2 span { color: var(--red); }
.section-header p { color: var(--grey); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2.2rem 1.8rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -45px rgba(12, 12, 13, 0.25);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 70px -40px rgba(12, 12, 13, 0.35);
}

.service-icon {
    width: 64px;
    height: 64px;
    padding: 14px;
    border-radius: 1.1rem;
    background: rgba(216, 31, 38, 0.08);
    color: var(--red);
    margin-bottom: 0.4rem;
    transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.05);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 { font-size: 1.15rem; font-weight: 700; }
.service-card p { font-size: 0.92rem; color: var(--grey); margin-bottom: 0.8rem; }

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-preview-img {
    padding: 0.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline-light);
    background: rgba(255, 255, 255, 0.05);
}
.about-preview-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 0.6rem);
}

.about-preview-text .section-tag { margin-bottom: 1.2rem; }
.about-preview-text p { margin-bottom: 1.8rem; font-size: 1.02rem; }

.about-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.5rem;
    margin-bottom: 2.4rem;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.93rem;
    color: var(--white);
}
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(216, 31, 38, 0.2);
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Réalisations
   -------------------------------------------------------------------------- */
.realisations-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.2rem;
}
.realisations-preview-grid .realisation-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.realisation-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}
.realisation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.realisation-card:hover img { transform: scale(1.06); }

.realisation-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 1.6rem;
    background: linear-gradient(to top, rgba(8, 8, 9, 0.85) 0%, rgba(8, 8, 9, 0.25) 45%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}
.realisation-card:hover .realisation-overlay { opacity: 1; }

.realisation-cat {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
}
.realisation-overlay h4 { color: var(--white); font-size: 1.2rem; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
    padding: 7.5rem 0;
    background:
        url('../images/realisation/R1/640173869_1549426307188085_654605283516507602_n.jpg')
        center / cover no-repeat fixed;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 8, 9, 0.93), rgba(168, 22, 28, 0.82));
}
.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}
.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    margin-bottom: 1rem;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.4rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--black);
    color: var(--grey-light);
    padding: 5rem 0 0;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
}
.footer-brand p { max-width: 32ch; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--hairline-light);
    color: var(--white);
    transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

.footer-col h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { transition: color 0.4s var(--ease); }
.footer-col a:hover { color: var(--red); }

.footer-bottom {
    border-top: 1px solid var(--hairline-light);
    padding: 1.6rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--grey);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 0; }
    .stat:nth-child(3) { border-left: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .realisations-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .realisations-preview-grid .realisation-card:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 860px) {
    .about-preview { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-preview-img img { height: 340px; }
    .hero-badges { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 0; }

    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        inset: 0;
        z-index: 90;
        flex-direction: column;
        justify-content: center;
        gap: 0.6rem;
        background: rgba(247, 246, 243, 0.92);
        backdrop-filter: blur(24px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s var(--ease);
    }
    .nav-menu.open { opacity: 1; pointer-events: auto; }

    #header .nav-menu .nav-link {
        font-size: 1.4rem;
        color: var(--ink);
        opacity: 0;
        transform: translateY(1.5rem);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    }
    .nav-menu.open .nav-link { opacity: 1; transform: translateY(0); }
    .nav-menu.open li:nth-child(1) .nav-link { transition-delay: 0.08s; }
    .nav-menu.open li:nth-child(2) .nav-link { transition-delay: 0.13s; }
    .nav-menu.open li:nth-child(3) .nav-link { transition-delay: 0.18s; }
    .nav-menu.open li:nth-child(4) .nav-link { transition-delay: 0.23s; }
    .nav-menu.open li:nth-child(5) .nav-link { transition-delay: 0.28s; }
    .nav-menu.open li:nth-child(6) .nav-link { transition-delay: 0.33s; }
    .nav-toggle { position: relative; z-index: 95; }

    .hero { padding-top: 7.5rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .realisations-preview-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .realisations-preview-grid .realisation-card:first-child { grid-column: span 1; }
    .realisation-overlay { opacity: 1; }

    .about-checks { grid-template-columns: 1fr; }

    .cta-section { background-attachment: scroll; }

    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 0 0.3rem; }
    .stat:not(:first-child) { border-left: none; }
    .hero-badges { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */

/* ----- Bannière de page ----- */
.page-hero {
    position: relative;
    padding: 11rem 0 5.5rem;
    background: var(--black) center 45% / cover no-repeat;
    text-align: center;
}
.page-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(8, 8, 9, 0.82), rgba(8, 8, 9, 0.72));
}
.page-hero .container { position: relative; }
.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}
.page-hero h1 span { color: var(--red); }
.page-hero p {
    max-width: 60ch;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.08rem;
}

.page-hero--services { background-image: url('../images/realisation/R1/640173869_1549426307188085_654605283516507602_n.jpg'); }
.page-hero--realisations { background-image: url('../images/realisation/R1/639909860_1549426430521406_3902000204549855973_n.jpg'); }
.page-hero--apropos { background-image: url('../images/realisation/REALISATION1/644185253_1556300543167328_2540108787473705616_n.jpg'); }
.page-hero--carrieres { background-image: url('../images/realisation/R3/634132633_1542674324529950_1083171097764799413_n.jpg'); }
.page-hero--contact { background-image: url('../images/realisation/R1/639687185_1549426300521419_6512856531814173278_n.jpg'); }

/* ----- Services : blocs détaillés ----- */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4.5rem 0;
}
.service-block:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.service-block.reverse .service-block-img { order: 2; }

.service-block-img {
    padding: 0.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    background: var(--white);
    box-shadow: 0 30px 60px -45px rgba(12, 12, 13, 0.3);
}
.service-block-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 0.6rem);
}

.service-block-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.service-block-text h2 span { color: var(--red); }
.service-block-text > p { color: var(--grey); margin-bottom: 1.6rem; }

.feature-list { display: grid; gap: 0.7rem; margin-bottom: 2rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
}
.feature-list .check-icon { margin-top: 0.15rem; }

/* ----- Processus ----- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.process-step {
    padding: 2rem 1.6rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
}
.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    margin-bottom: 1.1rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--grey); }

/* ----- Réalisations : projets & galeries ----- */
.projet { padding: 4rem 0; }
.projet:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.projet-header { max-width: 720px; margin-bottom: 2.4rem; }
.projet-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.7rem; }
.projet-header h2 span { color: var(--red); }
.projet-header p { color: var(--grey); font-size: 0.98rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.1rem;
}
.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: zoom-in;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a.tall { grid-row: span 2; }

/* ----- Lightbox ----- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(8, 8, 9, 0.92);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.4s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ----- À propos ----- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.value-card {
    padding: 2.4rem 2rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -45px rgba(12, 12, 13, 0.25);
}
.value-card .service-icon { margin-bottom: 1rem; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.93rem; color: var(--grey); }

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.cert-card {
    padding: 2rem 1.6rem;
    text-align: center;
    border: 1px solid var(--hairline-light);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}
.cert-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.4rem;
}
.cert-card span { font-size: 0.85rem; color: var(--grey-light); }

/* ----- Carrières ----- */
.jobs-grid { display: grid; gap: 1.4rem; max-width: 860px; margin-inline: auto; }
.job-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 2rem 2.2rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -45px rgba(12, 12, 13, 0.25);
}
.job-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.job-card .job-type {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: rgba(216, 31, 38, 0.09);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.job-card p { font-size: 0.93rem; color: var(--grey); max-width: 52ch; }

.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

/* ----- Contact ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-cards { display: grid; gap: 1.1rem; }
.contact-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.6rem 1.8rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
}
.contact-card .service-icon {
    width: 48px;
    height: 48px;
    padding: 11px;
    margin: 0;
    flex-shrink: 0;
}
.contact-card h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--grey); }
.contact-card a:hover { color: var(--red); }

.contact-form {
    padding: 2.4rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -45px rgba(12, 12, 13, 0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--hairline);
    border-radius: 0.8rem;
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(216, 31, 38, 0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.map-wrap {
    margin-top: 4.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ----- Responsive pages intérieures ----- */
@media (max-width: 1024px) {
    .process-grid, .perks-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .service-block { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
    .service-block.reverse .service-block-img { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .page-hero { padding: 8.5rem 0 3.5rem; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .gallery-grid a.tall { grid-row: span 1; }
    .process-grid, .perks-grid, .cert-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   PORTES & FENÊTRES
   ========================================================================== */

/* ----- Bouton contour (fond clair) ----- */
.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid rgba(12, 12, 13, 0.22);
}
.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ----- Bannière de la section ----- */
.page-hero--portes { background-image: url('../images/realisation/R1/639762812_1549426403854742_273946700189115658_n.jpg'); }

.container--narrow { width: min(880px, 100% - 3rem); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Bandeau fournisseur (page vitrine)
   -------------------------------------------------------------------------- */
.partner-strip {
    padding: 5rem 0;
    background: var(--white);
    border-block: 1px solid var(--hairline);
}
.partner-strip-inner {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 4rem;
    align-items: center;
}
.partner-strip-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}
.partner-strip-text h2 span { color: var(--red); }
.partner-strip-text > p { color: var(--grey); margin-bottom: 1.6rem; }

.partner-strip-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 2.6rem 2rem;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
}
.partner-strip-logo img { width: 100%; max-width: 300px; height: auto; }
.partner-strip-caption {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
    text-align: center;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Fourniture seule / installation complète
   -------------------------------------------------------------------------- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}
.offer-card {
    padding: 2.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hairline-light);
    border-radius: var(--radius-lg);
}
.offer-card--featured {
    background: rgba(216, 31, 38, 0.09);
    border-color: rgba(216, 31, 38, 0.4);
}
.offer-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(216, 31, 38, 0.18);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}
.offer-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.8rem; }
.offer-card > p { color: var(--grey-light); font-size: 0.95rem; margin-bottom: 1.6rem; }
.offer-card .feature-list { margin-bottom: 0; }
.offer-card .feature-list li { color: var(--grey-light); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Formulaire de soumission
   -------------------------------------------------------------------------- */
.quote-partner {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: 1.4rem 1.8rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}
.quote-partner img { width: 170px; flex-shrink: 0; }
.quote-partner p { font-size: 0.9rem; color: var(--grey); margin: 0; }

.quote-form { display: grid; gap: 1.6rem; }

.quote-step {
    padding: 2.4rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -50px rgba(12, 12, 13, 0.35);
}
.quote-step-head {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding-bottom: 1.6rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--hairline);
}
.quote-step-num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
}
.quote-step-head h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.quote-step-head p { font-size: 0.88rem; color: var(--grey); margin: 0; }

.quote-step--submit { display: grid; gap: 1.2rem; }

.req { color: var(--red); }
.field-hint { font-size: 0.8rem; color: var(--grey); margin-top: 0.45rem; line-height: 1.55; }
.field-hint a { color: var(--red); font-weight: 600; }

/* Honeypot */
.hp-field {
    position: absolute !important;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ----- Cartes de choix (radios) ----- */
.choice-grid { display: grid; gap: 0.8rem; }
.choice-grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }

.choice-card { display: block; cursor: pointer; }
.choice-card input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.choice-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    height: 100%;
    padding: 1.1rem 1.2rem;
    background: var(--paper);
    border: 1.5px solid var(--hairline);
    border-radius: 1rem;
    transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.choice-card-body svg { width: 32px; height: 32px; color: var(--grey); flex-shrink: 0; }
.choice-card-body strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}
.choice-card-body em {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--grey);
    line-height: 1.5;
}
.choice-card:hover .choice-card-body { border-color: rgba(12, 12, 13, 0.25); transform: translateY(-2px); }
.choice-card input:checked + .choice-card-body {
    border-color: var(--red);
    background: rgba(216, 31, 38, 0.06);
    box-shadow: 0 0 0 3px rgba(216, 31, 38, 0.1);
}
.choice-card input:checked + .choice-card-body svg { color: var(--red); }
.choice-card input:focus-visible + .choice-card-body { outline: 2px solid var(--red); outline-offset: 3px; }
.choice-card--lg .choice-card-body { padding: 1.5rem 1.6rem; gap: 0.6rem; }
.choice-card--lg .choice-card-body svg { width: 40px; height: 40px; }
.choice-card--lg .choice-card-body strong { font-size: 1.05rem; }

/* ----- Blocs conditionnels ----- */
.cond-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--hairline);
    animation: condIn 0.45s var(--ease) both;
}
.cond-block[hidden] { display: none; }
@keyframes condIn {
    from { opacity: 0; transform: translateY(-0.6rem); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----- Bandeau d'information ----- */
.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(216, 31, 38, 0.06);
    border: 1px solid rgba(216, 31, 38, 0.22);
    border-radius: 1rem;
    margin-bottom: 1.8rem;
}
.info-banner svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--red); }
.info-banner p { font-size: 0.9rem; color: var(--ink); margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Guide de prise de mesures
   -------------------------------------------------------------------------- */
.guide {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    overflow: hidden;
}
.guide summary {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.2rem 1.4rem;
    cursor: pointer;
    list-style: none;
    transition: background 0.35s var(--ease);
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary:hover { background: rgba(12, 12, 13, 0.03); }
.guide-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--red); flex-shrink: 0; }
.guide-icon svg { width: 100%; height: 100%; }
.guide-title {
    flex: 1;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--black);
}
.guide-chevron { color: var(--grey); transition: transform 0.35s var(--ease); }
.guide[open] .guide-chevron { transform: rotate(180deg); }

.guide-body { padding: 0 1.4rem 1.8rem; border-top: 1px solid var(--hairline); }

.guide-warning {
    padding: 1rem 1.2rem;
    margin: 1.4rem 0 1.8rem;
    background: rgba(216, 31, 38, 0.07);
    border-left: 3px solid var(--red);
    border-radius: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.65;
}

.guide-steps { display: grid; gap: 1.6rem; }
.guide-step {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.6rem;
    align-items: center;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--hairline);
}
.guide-step:last-child { border-bottom: 0; padding-bottom: 0; }
.guide-fig {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 0.9rem;
    padding: 0.8rem;
}
.guide-fig svg { width: 100%; height: auto; display: block; }
.guide-num {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}
.guide-text h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.guide-text p { font-size: 0.87rem; color: var(--grey); line-height: 1.6; margin-bottom: 0.4rem; }
.guide-rule { color: var(--ink) !important; }
.guide-rule strong { color: var(--red); }

.guide-tips {
    margin-top: 1.8rem;
    padding: 1.4rem 1.6rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 0.9rem;
}
.guide-tips h4 {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.guide-tips ul { display: grid; gap: 0.6rem; }
.guide-tips li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.87rem;
    color: var(--grey);
    line-height: 1.6;
}
.guide-tips li strong { color: var(--ink); }
.guide-tips .check-icon { margin-top: 0.1rem; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Tableau dynamique des ouvertures
   -------------------------------------------------------------------------- */
.openings { display: grid; gap: 1rem; margin-bottom: 1rem; }

.opening {
    padding: 1.2rem 1.3rem 1.4rem;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: 1rem;
    animation: condIn 0.35s var(--ease) both;
}
.opening-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.opening-badge {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(216, 31, 38, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}
.opening-remove {
    background: none;
    border: 0;
    padding: 0.3rem 0.4rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--grey);
    cursor: pointer;
    border-radius: 0.4rem;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.opening-remove:hover { color: var(--red); background: rgba(216, 31, 38, 0.08); }
.opening-remove[hidden] { display: none; }

.opening-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
}
.opening-field { grid-column: span 2; }
.opening-field--wide { grid-column: span 3; }
.opening-field--qte { grid-column: span 1; }
.opening-field--full { grid-column: 1 / -1; }

.opening-field label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 0.35rem;
}
.opening-field input,
.opening-field select {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--hairline);
    border-radius: 0.65rem;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--ink);
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.opening-field input:focus,
.opening-field select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(216, 31, 38, 0.12);
}

/* --------------------------------------------------------------------------
   Pièces jointes
   -------------------------------------------------------------------------- */
.file-drop {
    position: relative;
    border: 1.5px dashed rgba(12, 12, 13, 0.2);
    border-radius: 1rem;
    background: var(--paper);
    transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.file-drop:hover,
.file-drop.is-dragging { border-color: var(--red); background: rgba(216, 31, 38, 0.05); }
.file-drop.has-files { border-style: solid; border-color: rgba(12, 12, 13, 0.18); }
.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 2rem 1.5rem;
    text-align: center;
    pointer-events: none;
}
.file-drop-inner svg { width: 40px; height: 40px; color: var(--grey); }
.file-drop-inner strong { font-family: var(--font-display); font-size: 0.92rem; color: var(--black); }
.file-drop-inner em { font-style: normal; font-size: 0.8rem; color: var(--grey); }

.file-list { display: grid; gap: 0.4rem; margin-top: 0.8rem; }
.file-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.9rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 0.6rem;
    font-size: 0.84rem;
}
.file-list .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .file-size { color: var(--grey); flex-shrink: 0; }
.file-list .file-total {
    justify-content: flex-end;
    background: transparent;
    border: 0;
    padding: 0.2rem 0.9rem 0;
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--grey);
}
.file-list .file-total--over { color: var(--red); }

/* --------------------------------------------------------------------------
   Consentement, alertes, confirmation
   -------------------------------------------------------------------------- */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.6;
    cursor: pointer;
}
.consent input {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--red);
    cursor: pointer;
}

.form-alert {
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    font-size: 0.88rem;
    line-height: 1.6;
}
.form-alert[hidden] { display: none; }
.form-alert p { margin: 0; }
.form-alert--error {
    background: rgba(216, 31, 38, 0.08);
    border: 1px solid rgba(216, 31, 38, 0.3);
    color: var(--red-dark);
}
.form-alert--info {
    background: rgba(12, 12, 13, 0.04);
    border: 1px solid var(--hairline);
    color: var(--ink);
}
.form-alert-action {
    margin-top: 0.8rem;
    padding: 0.5rem 1.1rem;
    background: var(--red);
    color: var(--white);
    border: 0;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s var(--ease);
}
.form-alert-action:hover { background: var(--red-dark); }

.form-footnote { font-size: 0.82rem; color: var(--grey); text-align: center; line-height: 1.6; }
.form-footnote a { color: var(--red); font-weight: 600; }

.quote-success {
    padding: 3.5rem 2.5rem;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -50px rgba(12, 12, 13, 0.35);
}
.quote-success[hidden] { display: none; }
.quote-success-icon { width: 76px; height: 76px; margin: 0 auto 1.5rem; color: var(--red); }
.quote-success-icon svg { width: 100%; height: 100%; }
.quote-success h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.quote-success p { color: var(--grey); max-width: 48ch; margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .partner-strip-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .partner-strip-logo { max-width: 420px; margin-inline: auto; }
    .opening-grid { grid-template-columns: repeat(4, 1fr); }
    .opening-field--wide { grid-column: span 2; }
    .opening-field--qte { grid-column: span 2; }
}

@media (max-width: 860px) {
    .offer-grid { grid-template-columns: 1fr; }
    .choice-grid--3 { grid-template-columns: 1fr; }
    .choice-grid--2 { grid-template-columns: 1fr; }
    .guide-step { grid-template-columns: 1fr; gap: 1rem; }
    .guide-fig { max-width: 320px; }
    .quote-partner { flex-direction: column; text-align: center; gap: 1.1rem; }
}

@media (max-width: 600px) {
    .quote-step { padding: 1.6rem 1.3rem; }
    .quote-step-head { gap: 0.8rem; }
    .opening-grid { grid-template-columns: repeat(2, 1fr); }
    .opening-field,
    .opening-field--wide,
    .opening-field--qte { grid-column: span 1; }
    .opening-field--full { grid-column: 1 / -1; }
    .guide-body { padding-inline: 1rem; }
    .quote-success { padding: 2.5rem 1.5rem; }
    .partner-strip { padding: 3.5rem 0; }
}

/* ----- Grille de produits sur 3 colonnes ----- */
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ----- Bloc services : image remplacée par un logo ----- */
.service-block-img--logo {
    display: grid;
    place-items: center;
    background: var(--white);
    border: 1px solid var(--hairline);
    padding: 3rem 2.5rem;
    min-height: 260px;
}
.service-block-img--logo img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

/* ----- Bannière de mise en avant (accueil) ----- */
.highlight-banner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3.5rem;
    padding: 2.8rem 3rem;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 70px -60px rgba(12, 12, 13, 0.5);
}
.highlight-banner-text h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    margin: 0.9rem 0 0.8rem;
}
.highlight-banner-text > p {
    color: var(--grey);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    max-width: 62ch;
}
.highlight-banner-logo {
    display: grid;
    place-items: center;
    padding: 2rem 1.5rem;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
}
.highlight-banner-logo img { width: 100%; max-width: 250px; height: auto; }

@media (max-width: 1024px) {
    .services-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .highlight-banner { grid-template-columns: 1fr; gap: 2rem; padding: 2.2rem; }
    .highlight-banner-logo { max-width: 360px; }
}

@media (max-width: 685px) {
    .services-grid--3 { grid-template-columns: 1fr; }
    .service-block-img--logo { padding: 2rem 1.5rem; min-height: 0; }
    .highlight-banner { padding: 1.8rem 1.4rem; }
}

/* ----- Correctif : les cartes de choix sont des <label> dans un .form-group,
   elles ne doivent pas hériter du style des étiquettes de champ ----- */
.form-group .choice-card,
.form-group .file-drop label,
.consent {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 0;
}
