/*
 * Blog26 – Secrétariat Médical 360
 * CSS pixel-perfect — reproduit exactement le design HTML d'origine.
 * Prefix : .b26- (évite tout conflit avec Elementor / le thème)
 * ------------------------------------------------------------------ */

/* ── Variables ──────────────────────────────────────────────────────── */
.elementor-widget-blog26-hero,
.elementor-widget-blog26-video,
.elementor-widget-blog26-pillars,
.elementor-widget-blog26-advantages,
.elementor-widget-blog26-vision,
.elementor-widget-blog26-cta {
    --b26-navy:      #0d2d4a;
    --b26-gold:      #9a7d45;
    --b26-gold-l:    #c4a265;
    --b26-white:     #ffffff;
    --b26-cream:     #f8f6f1;
    --b26-muted:     #5a7080;
    --b26-font-head: 'Playfair Display', Georgia, serif;
    --b26-font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── Reset ciblé ───────────────────────────────────────────────────── */
.b26-hero,
.b26-video-section,
.b26-pillars,
.b26-advantages,
.b26-vision,
.b26-cta {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.b26-hero *,
.b26-video-section *,
.b26-pillars *,
.b26-advantages *,
.b26-vision *,
.b26-cta * {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes b26FadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes b26FadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   ZONE 1 – HERO
   ═══════════════════════════════════════════════════════════════════ */
.b26-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: stretch;
    overflow: hidden;
    font-family: var(--b26-font-body);
}

/* Colonne texte */
.b26-hero-text {
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: b26FadeUp 0.8s ease both;
}

/* Badge tag */
.b26-tag {
    display: inline-block;
    background: rgba(154, 125, 69, 0.12);
    color: var(--b26-gold);
    font-family: var(--b26-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
    width: fit-content;
    line-height: 1;
}

/* Titre H1 */
.b26-hero-h1 {
    font-family: var(--b26-font-head);
    font-size: 3rem;
    line-height: 1.15;
    color: var(--b26-navy);
    margin: 0 0 20px 0;
    font-weight: 700;
}

.b26-hero-h1 em {
    font-style: italic;
    color: var(--b26-gold);
}

/* Sous-titre (gras) */
.b26-hero-sub {
    font-family: var(--b26-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--b26-navy);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Corps de texte */
.b26-hero-body {
    font-family: var(--b26-font-body);
    font-size: 0.97rem;
    color: var(--b26-muted);
    line-height: 1.85;
    max-width: 500px;
    margin: 0;
}

/* Colonne image */
.b26-hero-img {
    background: linear-gradient(160deg, var(--b26-navy) 0%, #1a4a6e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: b26FadeIn 1s ease 0.3s both;
    min-height: 400px;
}

.b26-hero-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, rgba(154, 125, 69, 0.2), transparent);
    pointer-events: none;
    z-index: 1;
}

.b26-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.b26-hero-img-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    z-index: 2;
    position: relative;
}

.b26-hero-img-placeholder .b26-ph-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.b26-hero-img-placeholder p {
    font-family: var(--b26-font-body);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   ZONE 2 – VIDÉO
   ═══════════════════════════════════════════════════════════════════ */
.b26-video-section {
    background: var(--b26-navy);
    padding: 90px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: var(--b26-font-body);
}

.b26-video-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(154, 125, 69, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.b26-video-tag {
    display: inline-block;
    color: var(--b26-gold);
    font-family: var(--b26-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.b26-video-h2 {
    font-family: var(--b26-font-head);
    font-size: 2.2rem;
    color: var(--b26-white);
    margin: 0 0 48px 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.b26-video-wrap {
    max-width: 880px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    background: #1a3a55;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b26-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.b26-video-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
}

.b26-video-placeholder .b26-play-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
    line-height: 1;
}

.b26-video-placeholder p {
    font-family: var(--b26-font-body);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}

.b26-video-placeholder small {
    opacity: 0.5;
    font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ZONE 3 – PILIERS (3 cartes)
   ═══════════════════════════════════════════════════════════════════ */
.b26-pillars {
    background: var(--b26-cream);
    padding: 100px 80px;
    font-family: var(--b26-font-body);
}

.b26-section-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.b26-section-tag {
    display: inline-block;
    color: var(--b26-gold);
    font-family: var(--b26-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.b26-section-h2 {
    font-family: var(--b26-font-head);
    font-size: 2.3rem;
    color: var(--b26-navy);
    line-height: 1.3;
    margin: 0 0 18px 0;
    font-weight: 700;
}

.b26-section-desc {
    font-family: var(--b26-font-body);
    font-size: 0.97rem;
    color: var(--b26-muted);
    line-height: 1.75;
    margin: 0;
}

/* Grille 3 cartes */
.b26-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.b26-card {
    background: var(--b26-white);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(154, 125, 69, 0.15);
    transition: transform 0.25s, box-shadow 0.25s;
}

.b26-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(13, 45, 74, 0.1);
}

.b26-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--b26-gold), var(--b26-gold-l));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    line-height: 1;
}

.b26-card-h3 {
    font-family: var(--b26-font-head);
    font-size: 1.2rem;
    color: var(--b26-navy);
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.3;
}

.b26-card-p {
    font-family: var(--b26-font-body);
    font-size: 0.92rem;
    color: var(--b26-muted);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   ZONE 4 – AVANTAGES
   ═══════════════════════════════════════════════════════════════════ */
.b26-advantages {
    padding: 100px 80px;
    background: var(--b26-white);
    font-family: var(--b26-font-body);
}

.b26-advantages-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bloc image */
.b26-adv-img {
    background: linear-gradient(135deg, var(--b26-navy), #1a4a6e);
    border-radius: 20px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.b26-adv-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(154, 125, 69, 0.2), transparent);
    pointer-events: none;
}

.b26-adv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.b26-adv-img-placeholder {
    position: relative;
    z-index: 1;
}

.b26-adv-img-placeholder .b26-ph-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.4;
}

.b26-adv-img-placeholder p {
    font-family: var(--b26-font-body);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Bloc texte */
.b26-adv-h2 {
    font-family: var(--b26-font-head);
    font-size: 2rem;
    color: var(--b26-navy);
    margin: 0 0 36px 0;
    line-height: 1.3;
    font-weight: 700;
}

.b26-adv-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.b26-adv-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.b26-bullet {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: rgba(154, 125, 69, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b26-gold);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
    font-family: var(--b26-font-body);
}

.b26-adv-content strong {
    display: block;
    color: var(--b26-navy);
    font-family: var(--b26-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.b26-adv-content span {
    font-family: var(--b26-font-body);
    color: var(--b26-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════
   ZONE 5 – VISION
   ═══════════════════════════════════════════════════════════════════ */
.b26-vision {
    background: var(--b26-navy);
    padding: 100px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: var(--b26-font-body);
}

.b26-vision::before,
.b26-vision::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(154, 125, 69, 0.13), transparent 70%);
    pointer-events: none;
}

.b26-vision::before {
    top: -120px;
    left: -120px;
    width: 500px;
    height: 500px;
}

.b26-vision::after {
    bottom: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
}

.b26-vision-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.b26-vision-h3 {
    font-family: var(--b26-font-head);
    font-size: 2.3rem;
    color: var(--b26-white);
    margin: 0 0 28px 0;
    line-height: 1.3;
    font-weight: 700;
}

.b26-vision-h3 em {
    color: var(--b26-gold-l);
    font-style: italic;
}

.b26-vision-line {
    width: 55px;
    height: 2px;
    background: var(--b26-gold);
    margin: 0 auto 28px;
}

.b26-vision-body {
    font-family: var(--b26-font-body);
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   ZONE 6 – CTA
   ═══════════════════════════════════════════════════════════════════ */
.b26-cta {
    background: var(--b26-cream);
    padding: 80px;
    text-align: center;
    font-family: var(--b26-font-body);
}

.b26-cta-h2 {
    font-family: var(--b26-font-head);
    font-size: 2rem;
    color: var(--b26-navy);
    margin: 0 0 14px 0;
    font-weight: 700;
    line-height: 1.3;
}

.b26-cta-desc {
    font-family: var(--b26-font-body);
    color: var(--b26-muted);
    margin: 0 0 36px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.b26-btn {
    display: inline-block;
    background: var(--b26-gold);
    color: var(--b26-white) !important;
    padding: 16px 42px;
    border-radius: 8px;
    font-family: var(--b26-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.b26-btn:hover {
    background: #7a6235 !important;
    transform: translateY(-2px);
    color: var(--b26-white) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE – TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Hero */
    .b26-hero { grid-template-columns: 1fr; min-height: auto; }
    .b26-hero-text { padding: 60px 40px; order: 2; }
    .b26-hero-img  { min-height: 360px; order: 1; }
    .b26-hero-h1   { font-size: 2.4rem; }

    /* Vidéo */
    .b26-video-section { padding: 70px 40px; }
    .b26-video-h2      { font-size: 1.9rem; }

    /* Piliers */
    .b26-pillars        { padding: 80px 40px; }
    .b26-pillars-grid   { grid-template-columns: repeat(2, 1fr); }
    .b26-section-h2     { font-size: 2rem; }

    /* Avantages */
    .b26-advantages       { padding: 80px 40px; }
    .b26-advantages-inner { grid-template-columns: 1fr; gap: 50px; }
    .b26-adv-img          { min-height: 320px; }
    .b26-adv-h2           { font-size: 1.75rem; }

    /* Vision */
    .b26-vision    { padding: 80px 40px; }
    .b26-vision-h3 { font-size: 2rem; }

    /* CTA */
    .b26-cta    { padding: 70px 40px; }
    .b26-cta-h2 { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (≤ 767px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* Hero */
    .b26-hero-text { padding: 48px 24px; }
    .b26-hero-img  { min-height: 280px; }
    .b26-hero-h1   { font-size: 1.9rem; }
    .b26-hero-body { max-width: 100%; }

    /* Vidéo */
    .b26-video-section { padding: 60px 24px; }
    .b26-video-h2      { font-size: 1.6rem; margin-bottom: 32px; }

    /* Piliers */
    .b26-pillars      { padding: 60px 24px; }
    .b26-pillars-grid { grid-template-columns: 1fr; }
    .b26-section-h2   { font-size: 1.7rem; }
    .b26-section-center { margin-bottom: 40px; }

    /* Avantages */
    .b26-advantages       { padding: 60px 24px; }
    .b26-advantages-inner { gap: 36px; }
    .b26-adv-img          { min-height: 260px; }
    .b26-adv-h2           { font-size: 1.55rem; margin-bottom: 28px; }

    /* Vision */
    .b26-vision    { padding: 60px 24px; }
    .b26-vision-h3 { font-size: 1.7rem; }
    .b26-vision-body { font-size: 0.95rem; }

    /* CTA */
    .b26-cta    { padding: 60px 24px; }
    .b26-cta-h2 { font-size: 1.55rem; }
    .b26-btn    { padding: 14px 32px; font-size: 0.9rem; width: 100%; text-align: center; display: block; }
}

/* ─── Correctifs dans l'éditeur Elementor ───────────────────────── */
.elementor-editor-active .b26-hero-text,
.elementor-editor-active .b26-hero-img {
    animation: none;
}
