/* ============================================================
   INSPECTION TOITURE PAR DRONE — assets/css/inspection-toiture-drone.css
   Dépendances : style.css, home.css, local.css
   Sections réutilisées sans surcharge :
   .hero, .hero__content, .hero__text, .hero h1, .hero__description,
   .hero__eyebrow, .hero__tagline, .btn-hero, .section-title,
   .section-contact, .section-faq, .faq-list, .footer-cta-local,
   .text-red
   ============================================================ */

/* ----------------------------------------------------------
   HERO — variante inspection toiture drone
   (reprend tel quel .hero, .hero__content, .hero__text, .hero h1,
   .hero__description, .hero__eyebrow, .hero__tagline, .btn-hero
   de home.css / local.css — aucune surcharge nécessaire)
---------------------------------------------------------- */

/* ----------------------------------------------------------
   GRILLE 6 CAS D'USAGE
---------------------------------------------------------- */
.section-idt-cas {
    padding: 36px 0 36px;
    background: var(--bg-section);
}

.idt-cas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.idt-cas-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 26px;
    background: #ffffff;
    scroll-margin-top: 110px;
}

.idt-cas-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    margin-bottom: 16px;
}

.idt-cas-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--title-color);
    margin: 0 0 10px;
    line-height: 1.3;
    text-align: center;
}

.idt-cas-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--txt-color);
    font-weight: 500 !important;
    margin: 0 0 16px;
    text-align: center;
}

.idt-cas-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--btn-color);
    white-space: nowrap;
}

.idt-cas-link svg {
    transition: transform .15s ease;
}

.idt-cas-link:hover {
    color: var(--btn-color-hover);
}

.idt-cas-link:hover svg {
    transform: translateX(3px);
}

/* ----------------------------------------------------------
   ANALYSE / ÉTAPES / PHOTO
---------------------------------------------------------- */
.section-idt-process {
    padding: 40px 0 56px;
    background: #ffffff;
}

.idt-process-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}

.idt-analyse-card {
    position: relative;
    background: var(--bg-section);
    border-radius: 14px;
    padding: 28px 26px;
    overflow: hidden;
}

.idt-analyse-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 70%;
    height: auto;
    color: var(--title-color);
    opacity: .12;
    pointer-events: none;
}

.idt-analyse-card h3 {
    position: relative;
    font-size: 16px;
    font-weight: 800;
    color: var(--title-color);
    line-height: 1.35;
    margin: 0 0 12px;
}

.idt-analyse-card p {
    position: relative;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--txt-color);
    font-weight: 500 !important;
    margin: 0;
}

.idt-steps-card {
    background: var(--bg-section);
    border-radius: 14px;
    padding: 28px 26px;
}

.idt-steps-title {
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--title-color);
    margin: 0 0 22px;
}

.idt-steps {
    display: flex;
    gap: 18px;
    position: relative;
}

.idt-steps::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 8%;
    right: 8%;
    height: 1px;
    border-top: 1.5px dashed var(--border-color);
    z-index: 0;
}

.idt-step {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 1;
}

.idt-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--title-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.idt-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    margin-bottom: 10px;
}

.idt-step p {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--txt-color);
    font-weight: 500 !important;
    margin: 0;
}

.idt-process-photo {
    border-radius: 14px;
    overflow: hidden;
}

.idt-process-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----------------------------------------------------------
   BANDEAU AVERTISSEMENT
---------------------------------------------------------- */
.section-idt-warning {
    padding: 0 0 56px;
    background: #ffffff;
}

.idt-warning-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 20px;
    background: #FCEAE9;
    border-radius: 14px;
    padding: 22px 30px;
}

.idt-warning-lead {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.idt-warning-icon {
    flex-shrink: 0;
    color: var(--btn-color);
    display: flex;
}

.idt-warning-lead p {
    font-size: 14.5px;
    font-weight: 800 !important;
    color: var(--btn-color);
    line-height: 1.3;
    margin: 0;
}

.idt-warning-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--title-color);
}

.idt-warning-x {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--btn-color);
    color: #ffffff;
}

/* ----------------------------------------------------------
   FOOTER CTA — variante idt
---------------------------------------------------------- */
.footer-cta-local--idt .footer-cta-local__signature {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    opacity: .85;
    margin: 6px 0 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .idt-cas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .idt-process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .idt-process-photo {
        grid-column: span 2;
        min-height: 220px;
    }
}

@media (max-width: 720px) {
    .idt-cas-grid {
        grid-template-columns: 1fr;
    }

    .idt-process-grid {
        grid-template-columns: 1fr;
    }

    .idt-process-photo {
        grid-column: span 1;
    }

    .idt-steps {
        flex-direction: column;
        gap: 22px;
    }

    .idt-steps::before {
        display: none;
    }

    .idt-warning-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta-local--idt .footer-cta-local__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta-local--idt .footer-cta-local__actions {
        flex-direction: column;
        width: 100%;
    }

    .exp-intro-picto {
        flex-direction: column;
    }
}
