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

* { box-sizing: border-box; }

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;
    margin: 0;
}

.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 {
    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;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0;
}

.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;
    margin: 0;
}

.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-subtitle {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 520px;
}

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

.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-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    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;
    border: none;
    cursor: pointer;
}

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

.btn-call svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.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;
}

.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;
}

.hero-photo {
    max-height: 620px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 24px 48px rgba(43,48,54,0.18);
}

.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; }

@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; width: 100%; justify-content: center; }
    .trust-row { gap: 0.6rem 1rem; }
}

/* --------------------------------  SECTION HEADER (shared)  ------------------------------------------------ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 1rem 0;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 620px;
    margin-inline: auto;
    line-height: 1.6;
}

/* --------------------------------  PAIN POINTS SECTION  ------------------------------------------------ */
.pp-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

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

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

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

.pp-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.pp-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin: 0;
}

.pp-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.pp-closing {
    text-align: center;
    max-width: 640px;
    margin: 3rem auto 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.6;
}

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

@media (max-width: 640px) {
    .pp-section { padding: 3.5rem 0; }
    .pp-grid { grid-template-columns: 1fr; }
}

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

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

.diag-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(43,48,54,0.05);
}

.diag-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    min-width: 44px;
}

.diag-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem 0;
}

.diag-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.diag-closing {
    text-align: center;
    max-width: 560px;
    margin: 3rem auto 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 900px) {
    .diag-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .diag-section { padding: 3.5rem 0; }
    .diag-card { padding: 1.5rem; }
}

/* --------------------------------  PRODUCTS (GAMME DITEC)  ------------------------------------------------ */
.prod-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.prod-card {
    border: 2px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    background: var(--bg-light);
}

.prod-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(184,12,9,0.12);
}

.prod-img-wrap {
    height: 450px;
    background: #ffffff;
    overflow: hidden;
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prod-body {
    padding: 1.5rem 1.6rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.prod-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0;
}

.prod-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.prod-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.prod-use {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--dark);
}

.prod-use strong {
    color: var(--red);
    font-weight: 700;
}

.prod-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
}

.prod-cta:hover { color: var(--red-dark); }
.prod-cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.prod-cta:hover svg { transform: translateX(3px); }

.prod-footer {
    margin-top: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
    border-radius: 14px;
    padding: 2.25rem 2rem;
}

.prod-footer p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 1.25rem 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

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

@media (max-width: 640px) {
    .prod-section { padding: 3.5rem 0; }
    .prod-grid { grid-template-columns: 1fr; }
}

/* --------------------------------  PROCESS (5 ÉTAPES)  ------------------------------------------------ */
.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: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.process-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

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

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    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;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

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

.process-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.process-step-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 200px;
}

@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-subtitle { margin-bottom: 3rem; }
}

/* --------------------------------  WHY OPEN-IT  ------------------------------------------------ */
.diff-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.diff-card {
    background: linear-gradient(135deg, #f5f6f7 0%, #eceef0 100%);
    padding: 2.25rem 1.75rem;
    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: var(--red);
}

.diff-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);
}

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

.diff-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.65rem;
}

.diff-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .diff-section { padding: 4rem 0; }
}

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

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

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

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

.final-cta-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
}

.contact-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-path {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-path-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(184,12,9,0.35);
}

.contact-path-icon svg { width: 22px; height: 22px; color: #fff; }

.contact-path-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.contact-path-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0;
}

.contact-path .cta-button {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--red);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.9rem 1.9rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(184, 12, 9, 0.3);
}

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

.cta-button-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: none;
}

.cta-button-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
    box-shadow: none;
}

.cta-button .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); }
}

.final-cta-note {
    text-align: center;
    max-width: 520px;
    margin: 2.5rem auto 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

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

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

@media (max-width: 768px) {
    .contact-paths { grid-template-columns: 1fr; }
    .final-cta-section { padding: 4rem 0; }
    .footer-line { margin-top: 2.5rem; padding-top: 1.5rem; }
    .footer-text { text-align: center; }
}