/* =========================================
   PAGE EXPERTISE : BASE
   ========================================= */

body.page-expertise-editorial {
    background-color: #262624;
    color: #e0e0e0;
}


/* =========================================
   1. HERO DIAGONAL
   ========================================= */

.diagonal-hero {
    display: flex;
    height: 90vh;
    min-height: 600px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.diag-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 0 10%;
    z-index: 2;
}

.diag-image {
    flex: 1.2;
    position: relative;
    height: 100%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -50px;
}

.image-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    transition: filter 0.5s;
}
.image-cover:hover { filter: brightness(1); }

.tag-pill {
    display: inline-block;
    color: var(--primary-red);
    font-family: var(--font-sub);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.diag-content h1 {
    font-family: var(--font-main);
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.highlight-pill {
    background-color: var(--primary-red);
    color: white;
    padding: 0 15px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(136, 29, 25, 0.4);
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #bbb;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 40px;
}


/* =========================================
   2. CORPS DE PAGE
   ========================================= */

.editorial-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.text-intro {
    max-width: 750px;
    margin: 0 auto 120px auto;
    text-align: center;
}

.text-intro h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.red-line-center {
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin: 0 auto 30px auto;
}

.text-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
    text-align: justify;
    text-align-last: center;
}


/* =========================================
   3. LIGNES CONTENU (Alternance image / texte)
   ========================================= */

.content-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.row-image {
    flex: 1;
    min-height: 350px;
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background: #1f1e1d;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s;
}

.img-placeholder i { font-size: 3rem; margin-bottom: 15px; }
.img-placeholder:hover { border-color: var(--primary-red); color: var(--primary-red); }

.row-img-fluid {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}

.row-text { flex: 1; }

.row-text h3 {
    font-family: var(--font-main);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-pill-small {
    background-color: var(--primary-red);
    color: white;
    font-size: 0.9rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-accent);
    vertical-align: middle;
}

.row-text h4 {
    font-family: var(--font-sub);
    font-size: 1.3rem;
    color: #aaa;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 400;
    font-style: italic;
}

.row-text p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 20px;
    text-align: justify;
}

.row-text strong { color: white; font-weight: 700; }


/* =========================================
   4. MÉTHODE / PROCESSUS
   ========================================= */

.method-section-alt {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 100px auto;
}

.method-header {
    text-align: center;
    margin-bottom: 60px;
}

.method-header h3 {
    font-family: var(--font-main);
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-header p {
    color: #bbb;
    font-family: var(--font-sub);
    font-size: 1.1rem;
}

.method-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    background-color: #2e2e2c;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
}

.process-card:nth-child(1) { transition-delay: 0.1s; }
.process-card:nth-child(2) { transition-delay: 0.3s; }
.process-card:nth-child(3) { transition-delay: 0.5s; }

.process-card:hover {
    transition-delay: 0s !important;
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.process-card:not(:hover) {
    transition-delay: 0s !important;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.process-number {
    background-color: var(--primary-red);
    color: white;
    font-family: var(--font-accent);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(136, 29, 25, 0.4);
}

.process-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(255,255,255,0.1);
    margin-left: 20px;
}

.process-card h4 {
    color: white;
    font-family: var(--font-main);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-card p {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}


/* =========================================
   5. SEO LOCAL
   ========================================= */

.geo-expertise {
    background: #201f1e;
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 100px;
    border: 1px solid rgba(255,255,255,0.05);
}

.geo-content h3 {
    font-family: var(--font-main);
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.geo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.geo-list li {
    font-size: 1rem;
    color: #ccc;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 5px;
}

.geo-list i { color: var(--primary-red); margin-right: 10px; }
.geo-list strong { color: white; }


/* =========================================
   6. FAQ
   ========================================= */

.faq-seo-section {
    max-width: 800px;
    margin: 0 auto 100px auto;
}

.faq-seo-section h3 {
    text-align: center;
    font-family: var(--font-main);
    color: white;
    font-size: 2rem;
    margin-bottom: 40px;
}

.faq-item {
    background: #201f1e;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.5rem;
}

.faq-item[open] summary::after { content: '-'; }

.faq-item p {
    padding: 0 20px 20px 20px;
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}


/* =========================================
   7. CTA CINÉMA
   ========================================= */

.minimal-cta {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.minimal-cta h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.minimal-cta p {
    font-family: var(--font-sub);
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 40px;
}

.big-cta { padding: 15px 40px; font-size: 1.2rem; }

.cta-cinema {
    position: relative;
    padding: 120px 20px;
    margin-top: 100px;
    background-color: #0f0f0f;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cinema-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(136, 29, 25, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-main);
    font-size: 3rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.text-highlight {
    color: transparent;
    -webkit-text-stroke: 1px white;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.cta-cinema:hover .text-highlight {
    color: rgba(255,255,255,0.1);
    transition: color 0.5s ease;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 40px;
}

.cta-action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-large-glow {
    font-size: 1.1rem;
    padding: 18px 45px;
    background-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(136, 29, 25, 0.4);
    transition: all 0.3s ease;
}

.btn-large-glow:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(136, 29, 25, 0.6);
}

.cta-trust {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-trust i { color: var(--primary-red); }


/* =========================================
   8. ANIMATIONS (SCROLL REVEAL)
   ========================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }


/* =========================================
   9. RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
    .diagonal-hero { flex-direction: column; height: auto; }
    .diag-image { height: 300px; clip-path: none; margin-left: 0; order: -1; }
    .diag-content { padding: 50px 20px; text-align: center; }
    .diag-content h1 { font-size: 2.5rem; }

    .content-row,
    .content-row.reverse { flex-direction: column; gap: 40px; }
    .row-image { width: 100%; min-height: 250px; }
    .img-placeholder { height: 250px; }

    .method-cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .process-line { display: none; }
}

@media (max-width: 768px) {
    .cta-title { font-size: 2.2rem; }
    .cinema-glow-bg { width: 100%; }
}
