:root {
    --red: #B80C09;
    --red-dark: #8A0907;
    --dark: #2B3036;
    --text-muted: #686D6C;
    --bg-light: #f5f6f7;
    --bg-mid: #eceef0;
    --border: #D1D4D9;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
}

/* --------------------------------  HERO  ------------------------------------------------ */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f6f7 0%, #e9ebed 100%);
}

.hero .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(184,12,9,0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(43,48,54,0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* ── LEFT ── */
.hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hero-title {
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.hero-title .accent {
    color: var(--red);
    position: relative;
    display: inline;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-divider {
    width: 48px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 520px;
}

/* ── CTAs ── */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 0.25rem;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--red);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.05rem 2.4rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(184,12,9,0.32);
    white-space: nowrap;
}

.btn-call:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184,12,9,0.4);
}

.btn-call .phone-icon {
    width: 22px;
    height: 22px;
    animation: phoneRing 1.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-14deg); }
    20% { transform: rotate(14deg); }
    30% { transform: rotate(-14deg); }
    40% { transform: rotate(14deg); }
    50% { transform: rotate(0deg); }
}

.btn-configurator {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: white;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    padding: 1.05rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-configurator:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* ── Trust row ── */
.trust-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 0.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--red);
    flex-shrink: 0;
}

/* ── RIGHT ── */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
}

.hero-right::before {
    content: '';
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,12,9,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.gate-illustration {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.gate-illustration .hero-photo {
    border-radius: 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 24px 48px rgba(43,48,54,0.18);
}

.hero-photo {
    max-height: 620px;
    width: 100%;
    object-fit: cover;
}

.badge-intervention {
    position: absolute;
    bottom: 28px;
    left: -16px;
    background: var(--red);
    color: white;
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 8px 24px rgba(184,12,9,0.35);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.badge-intervention svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.badge-intervention .bi-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.badge-intervention .bi-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
}

.badge-intervention .bi-value {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-right { justify-content: center; }

    .hero-right::before {
        right: 50%;
        transform: translate(50%, -50%);
    }

    .badge-intervention { left: 10px; bottom: 20px; }
}

@media (max-width: 640px) {
    .hero .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .btn-call { font-size: 1.05rem; padding: 0.95rem 1.8rem; }
    .btn-configurator { font-size: 0.9rem; padding: 0.95rem 1.6rem; }

    .hero-ctas { flex-direction: column; align-items: flex-start; }

    .trust-row { gap: 1rem; }
}



/* -------------------------------- QUALITÉ DES MOTEURS ------------------------------------------------ */
.qual-section {
    padding: 5rem 0;
    background-color: #ffffff;
}
 
.qual-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
 
.qual-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8B0000;
    margin: 0 0 1rem 0;
}
 
.qual-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #2B3036;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
 
.qual-subtitle {
    font-size: 1.1rem;
    color: #686D6C;
    font-weight: 400;
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6;
}
 
/* ── Marques ── */
.brands-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
 
.brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D1D4D9;
    border-radius: 12px;
    padding: 0.9rem 2rem;
    min-width: 160px;
}
 
.brand-chip img {
    width: auto;
    max-width: 120px;
    display: block;
    object-fit: contain;
}
 
.qual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
 
.qual-card {
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
    padding: 2.25rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
 
.qual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 12, 9, 0.12);
    border-color: #B80C09;
}
 
.qual-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B80C09 0%, #8A0907 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(184, 12, 9, 0.3);
    flex-shrink: 0;
    align-self: center;
}
 
.qual-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}
 
.qual-stat-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    align-self: center;
}
 
.qual-stat {
    font-size: 1.4rem;
    font-weight: 800;
    color: #B80C09;
    letter-spacing: -0.01em;
    text-align: center;
}
 
.qual-card-desc {
    font-size: 0.92rem;
    color: #686D6C;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
 
.qual-compare {
    margin-top: auto;
    background: rgba(255,255,255,0.6);
    border-left: 3px solid #D1D4D9;
    border-radius: 0 8px 8px 0;
    padding: 0.9rem 1.1rem;
}
 
.qual-compare-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa1a6;
    margin-bottom: 0.4rem;
}
 
.qual-compare p {
    font-size: 0.85rem;
    color: #7b8288;
    line-height: 1.55;
    font-style: italic;
    margin: 0;
}
 
@media (max-width: 1024px) {
    .qual-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .qual-section { padding: 4rem 0; }
}
 
@media (max-width: 640px) {
    .qual-section { padding: 3rem 0; }
    .qual-header { margin-bottom: 2.5rem; }
    .qual-card { padding: 2rem 1.5rem; }
    .brand-chip { padding: 0.7rem 1.25rem; min-width: 130px; }
    .brand-chip img { height: 30px; }
}
 

/* ── Lien vers le guide ── */
.qual-guide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-top: 3rem;
    text-align: center;
}
 
.qual-guide-text {
    font-size: 1rem;
    color: #686D6C;
    margin: 0;
}
 
.qual-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    color: #2B3036;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid #D1D4D9;
    transition: all 0.3s ease;
    white-space: nowrap;
}
 
.qual-guide-link svg {
    width: 16px;
    height: 16px;
}
 
.qual-guide-link:hover {
    border-color: #B80C09;
    color: #B80C09;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
 
@media (max-width: 640px) {
    .qual-guide { flex-direction: column; margin-top: 2.5rem; }
}
 

/* -------------------------------- TARIFS MOTORISATION ------------------------------------------------
   À ajouter à la fin de motorisation-portail.css
   (réutilise .container, .btn-call, .btn-configurator et les variables :root) */

   .moto-section {
    padding: 5rem 0;
    background-color: #2B3036;
}

.moto-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.moto-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e0645f;
    margin: 0 0 1rem 0;
}

.moto-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.moto-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6;
}

.moto-subtitle strong {
    color: #ffffff;
    font-weight: 700;
}

/* ── Hypothèse électrique ── */
.moto-assumption {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 3px solid #B80C09;
    border-radius: 0 12px 12px 0;
}

.moto-assumption svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #e0645f;
}

.moto-assumption p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.moto-assumption strong {
    color: #ffffff;
    font-weight: 700;
}

/* ── Cartes ── */
.moto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.moto-card {
    position: relative;
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
    padding: 2.25rem 1.5rem 1.75rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.moto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 12, 9, 0.25);
    border-color: #B80C09;
}

/* Étiquette battant / coulissant */
.moto-type {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2B3036;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.moto-type--alt {
    background: #B80C09;
    border-color: #B80C09;
    box-shadow: 0 4px 12px rgba(184, 12, 9, 0.35);
}

.moto-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B80C09 0%, #8A0907 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 14px rgba(184, 12, 9, 0.3);
}

.moto-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.moto-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2B3036;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.moto-card-desc {
    font-size: 0.9rem;
    color: #686D6C;
    line-height: 1.65;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ── Prix ── */
.moto-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.moto-price-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #686D6C;
}

.moto-price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #B80C09;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* ── Inclus ── */
.moto-includes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.moto-includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: #2B3036;
    line-height: 1.5;
}

.moto-includes svg {
    width: 16px;
    height: 16px;
    color: #B80C09;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── Facteurs de prix ── */
.moto-factors {
    position: relative;
    text-align: center;
    margin-top: 3.5rem;
    padding-top: 3.5rem;
}

.moto-factors::before,
.moto-ctas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.moto-factors::after,
.moto-ctas::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #B80C09;
    box-shadow: 0 0 0 3px rgba(184, 12, 9, 0.2);
}

.moto-factors-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
}

.moto-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.moto-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.5rem 1rem;
}

.moto-note {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.moto-note strong {
    color: #ffffff;
    font-weight: 700;
}

/* ── CTA ── */
.moto-ctas {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 3.5rem;
}

/* Bouton secondaire lisible sur fond sombre : il reste blanc, comme dans le hero */
.moto-btn-light {
    background: white;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .moto-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.25rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .moto-section { padding: 4rem 0; }
}

@media (max-width: 640px) {
    .moto-section { padding: 3rem 0; }
    .moto-header { margin-bottom: 2rem; }
    .moto-assumption { margin-bottom: 2.5rem; }

    .moto-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .moto-card { padding: 2rem 1.5rem 1.75rem; }

    .moto-factors,
    .moto-ctas {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }

    .moto-ctas { flex-direction: column; align-items: stretch; }
    .moto-ctas .btn-call,
    .moto-ctas .btn-configurator { justify-content: center; }
}

/* ── DIFFÉRENCIATION SECTION ── */
.diff-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.diff-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.diff-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #2B3036;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.diff-subtitle {
    font-size: 1.1rem;
    color: #686D6C;
    font-weight: 400;
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6;
}

.diff-subtitle strong {
    color: #2B3036;
    font-weight: 700;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.diff-card {
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 12, 9, 0.12);
    border-color: #B80C09;
}

.diff-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #B80C09 0%, #8A0907 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 14px rgba(184, 12, 9, 0.3);
}

.diff-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.diff-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2B3036;
    margin-bottom: 0.75rem;
}

.diff-card-desc {
    font-size: 0.95rem;
    color: #686D6C;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .diff-section {
        padding: 4rem 0;
    }
}

@media (max-width: 640px) {
    .diff-section {
        padding: 3rem 0;
    }

    .diff-header {
        margin-bottom: 2.5rem;
    }

    .diff-card {
        padding: 2rem;
    }
}



/* ── PROCESS SECTION ── */
.process-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
}

.process-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #2B3036;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

/* horizontal connecting line between steps */
.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5% );
    width: 75%;
    height: 2px;
    background: #D1D4D9;
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #B80C09 0%, #8A0907 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(184, 12, 9, 0.3);
    flex-shrink: 0;
    border: 4px solid #f5f6f7;
    position: relative;
    z-index: 2;
}

.process-icon svg {
    width: 34px;
    height: 34px;
    color: #ffffff;
}

/* hide the inline connector divs — we use the ::before line instead */
.process-connector { display: none; }

.process-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.process-step-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: #B80C09;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.process-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2B3036;
    line-height: 1.3;
}

.process-step-desc {
    font-size: 0.9rem;
    color: #686D6C;
    line-height: 1.65;
    max-width: 220px;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .process-grid::before {
        display: none;
    }

    .process-section {
        padding: 4rem 0;
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-section {
        padding: 3rem 0;
    }

    .process-title {
        margin-bottom: 3rem;
    }
}

/* ── VIDÉOS CHANTIERS ──
   À ajouter à la fin de installation-portail.css */

   .video-section {
    padding: 5rem 0;
    background-color: #2B3036;
}

.video-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.video-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e0645f;
    margin: 0 0 1rem 0;
}

.video-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.video-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6;
}

.video-subtitle strong {
    color: #ffffff;
    font-weight: 700;
}

/* ── Piste de vidéos (desktop : centrées, quel que soit leur nombre) ── */
.video-track {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.video-card {
    flex: 0 1 250px;
    min-width: 0;
}

.video-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    background: #1d2125;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover .video-frame {
    transform: translateY(-4px);
    border-color: #B80C09;
    box-shadow: 0 12px 28px rgba(184, 12, 9, 0.3);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Plein écran : afficher toute la vidéo, sans recadrage */
.video-frame video:fullscreen {
    object-fit: contain;
    background: #000;
}

.video-frame video:-webkit-full-screen {
    object-fit: contain;
    background: #000;
}

/* ── Bouton lecture ── */
.video-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.video-play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #B80C09;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(184, 12, 9, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-play-icon svg {
    width: 26px;
    height: 26px;
    margin-left: 3px; /* centrage optique du triangle */
}

.video-play:hover .video-play-icon {
    background: #8A0907;
    transform: scale(1.08);
}

.video-card.is-playing .video-play {
    opacity: 0;
    pointer-events: none;
}

/* ── Légende ── */
.video-caption {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 1rem;
    text-align: center;
}

.video-caption-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}

.video-caption-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Pied de section ── */
.video-footer {
    text-align: center;
    margin-top: 3rem;
}

.video-footer-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0 0 1rem 0;
}

.video-socials {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
}

.video-social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.video-social-icon svg {
    width: 22px;
    height: 22px;
}

.video-social-icon:hover {
    background: #B80C09;
    border-color: #B80C09;
    transform: translateY(-2px);
}



/* ── Tablette / mobile : défilement horizontal avec accroche ── */
@media (max-width: 1024px) {
    .video-section { padding: 4rem 0; }

    .video-track {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.75rem 2rem 1rem;
        margin-inline: -2rem; /* le défilement va jusqu'au bord de l'écran */
    }

    .video-track::-webkit-scrollbar { display: none; }

    .video-card {
        flex: 0 0 min(68%, 260px);
        scroll-snap-align: center;
    }
}

@media (max-width: 640px) {
    .video-section { padding: 3rem 0; }
    .video-header { margin-bottom: 2.5rem; }
}


/* ── LOCALISATION SECTION ── */
/* À ajouter à la suite de ton fichier installation-portail.css */

.loc-section {
    padding: 96px 0;
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
}

.loc-container {
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.loc-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8B0000;
    margin: 0 0 1rem 0;
}

.loc-title {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    color: #2B3036;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem 0;
}

.loc-divider {
    width: 48px;
    height: 3px;
    background: #8B0000;
    border-radius: 2px;
    margin-bottom: 1.75rem;
}

.loc-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #686D6C;
    max-width: 480px;
    margin: 0 0 2rem 0;
}

/* ── Distance chips ── */
.loc-distances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.loc-dist-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    background: white;
    border: 1px solid #D1D4D9;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.loc-dist-city {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2B3036;
}

.loc-dist-km {
    font-size: 0.82rem;
    font-weight: 700;
    color: #B80C09;
}

.loc-note {
    font-size: 0.88rem;
    color: #686D6C;
    font-style: italic;
    margin: 0;
}

/* ── Map ── */
.loc-map-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.loc-map {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(43,48,54,0.14));
}

.loc-badge {
    position: absolute;
    bottom: 12px;
    left: 4px;
    background: #B80C09;
    color: white;
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 8px 24px rgba(184,12,9,0.35);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.loc-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.loc-badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.loc-badge-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
}

.loc-badge-value {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .loc-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .loc-map-wrap {
        /* order: -1; */
    }
}

@media (max-width: 640px) {
    .loc-section {
        padding: 64px 0;
    }

    .loc-body {
        max-width: none;
    }

    .loc-distances {
        gap: 0.5rem;
    }

    .loc-dist-item {
        padding: 0.4rem 0.8rem;
    }
}


/* --------------------------------  whoe are we  ------------------------------------------------ */

.qsn {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; */
    padding: 96px 0;
    background: #ffffff;
}
 
.qsn-container {
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
 
.qsn-photo-wrap {
    position: relative;
}
 
.qsn-photo-wrap img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 24px 48px rgba(43,48,54,0.18);
}
 
.qsn-badge {
    position: absolute;
    bottom: 28px;
    right: -16px;
    background: #8B0000;
    color: white;
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 8px 24px rgba(139,0,0,0.35);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
 
.qsn-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: white;
    fill: none;
}
 
.qsn-badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
 
.qsn-badge-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
}
 
.qsn-badge-value {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}
 
.qsn-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}
 
.qsn-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8B0000;
    margin: 0 0 1rem 0;
}
 
.qsn-title {
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    font-weight: 800;
    color: #2b3036;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem 0;
}
 
.qsn-divider {
    width: 48px;
    height: 3px;
    background: #8B0000;
    border-radius: 2px;
    margin-bottom: 1.75rem;
}
 
.qsn-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b7280;
    margin: 0 0 1.25rem 0;
}
 
.qsn-body p:last-child {
    margin: 0;
}
 
.qsn-sig {
    margin-top: 2.25rem;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 1.75rem;
    border-top: 1px solid #f0f0f0;
}
 
.qsn-avatars {
    display: flex;
}
 
.qsn-av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #8B0000;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #e0b0b0;
}
 
.qsn-av:last-child {
    margin-left: -10px;
}
 
.qsn-sig-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2b3036;
}
 
.qsn-sig-text span {
    font-size: 12px;
    color: #9ca3af;
}
 
@media (max-width: 1024px) {
    .qsn-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .qsn-badge { right: 10px; bottom: 20px; }
}
 
@media (max-width: 640px) {
    .qsn { padding: 64px 0; }
    .qsn-title { font-size: 1.7rem; }
    .qsn-body p { font-size: 0.95rem; }
}


/* -------------------------------- FORMULAIRE DE DEVIS ------------------------------------------------
   À ajouter à la fin de motorisation-portail.css
   (classes préfixées .devis- pour éviter tout conflit avec le reste de la page) */

   .devis-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
}

.devis-header {
    text-align: center;
    margin-bottom: 3rem;
}

.devis-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8B0000;
    margin: 0 0 1rem 0;
}

.devis-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #2B3036;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.devis-subtitle {
    font-size: 1.1rem;
    color: #686D6C;
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6;
}

.devis-subtitle strong {
    color: #2B3036;
    font-weight: 700;
}

/* ── Carte ── */
.devis-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 2.25rem 2.5rem;
    box-sizing: border-box;
}

.devis-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.devis-group {
    margin-bottom: 1rem;
}

.devis-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.devis-required {
    color: #8B0000;
}

.devis-group input,
.devis-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2c3e50;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.devis-group input:focus,
.devis-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.devis-group input.devis-invalid,
.devis-group textarea.devis-invalid {
    border-color: #e74c3c;
}

.devis-group textarea {
    resize: vertical;
    min-height: 120px;
}

.devis-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.devis-btn {
    padding: 0.95rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: #8B0000;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.devis-btn:hover:not(:disabled) {
    background: #a00000;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.3);
}

.devis-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Succès ── */
.devis-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.devis-success.show {
    display: block;
    animation: cfg-fadeIn 0.4s ease;
}

.devis-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B0000, #c41e1e);
    color: white;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.25);
}

.devis-success h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.devis-success p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
}

@keyframes cfg-fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .devis-section { padding: 4rem 0; }
}

@media (max-width: 640px) {
    .devis-section { padding: 3rem 0; }
    .devis-header { margin-bottom: 2.5rem; }
    .devis-card { padding: 1.5rem; }
    .devis-row { grid-template-columns: 1fr; gap: 0; }
    .devis-btn { width: 100%; }
}

/* ----------------- FINAL CTA SECTION ----------------- */
.final-cta-section {
    padding: 5rem 0;
    background-color: #2B3036;
}

.final-cta-content {
    text-align: center;
}

.final-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.footer-line {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: left;
}

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

    .final-cta-title {
        margin-bottom: 2rem;
    }

    .footer-line {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #B80C09;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(184, 12, 9, 0.3);
    margin-bottom: 1.5rem;
}

.cta-button:hover {
    background-color: #8A0907;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(184, 12, 9, 0.4);
}

.phone-icon {
    width: 28px;
    height: 28px;
    animation: phoneRing 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-15deg);
    }
    20% {
        transform: rotate(15deg);
    }
    30% {
        transform: rotate(-15deg);
    }
    40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}