
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f4f4f4;
        }

        /* Skip to main content link for screen readers */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: #1e3a8a;
            color: white;
            padding: 8px;
            text-decoration: none;
            z-index: 100;
        }

        .skip-link:focus {
            top: 0;
        }

        header {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: inline-block;
            position: relative;
            font-family: 'Arial', sans-serif;
            font-weight: bold;
            text-decoration: none;
        }

        .logo-text {
            font-size: 2.5em;
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            letter-spacing: -2px;
        }

        .logo-domain {
            font-size: 1.8em;
            color: #3498db;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .logo-underline {
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #3498db 0%, #ffffff 100%);
            margin-top: 5px;
            border-radius: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        nav {
            display: flex;
            gap: 1rem;
			flex-direction: column;
        }

        nav a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            transition: opacity 0.3s;
            border-radius: 4px;
        }

        nav a:hover,
        nav a:focus {
            opacity: 0.8;
            background: rgba(255,255,255,0.1);
            outline: 2px solid white;
            outline-offset: 2px;
        }

        .hero {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            padding: 4rem 20px;
            text-align: center;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.95;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 20px;
        }

        .content-section {
            background: white;
            padding: 2.5rem;
            margin-bottom: 2rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }

        /* H2 et H3 de base, on les garde on ne sait jamais
		h2 {
            color: #1e3a8a;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            border-bottom: 3px solid #3b82f6;
            padding-bottom: 0.5rem;
        } 

        h3 {
            color: #1e3a8a;
            font-size: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
		*/
		
		h1 {
  font-size: 2rem;       /* ≈ 32px */
  line-height: 1.3;
  font-weight: 700;
  margin: 1rem 0;
  color: #1e3a8a;        /* ton bleu foncé */
}

h2 {
  font-size: 1.6rem;     /* ≈ 26px */
  line-height: 1.4;
  font-weight: 600;
  margin: 1rem 0;
  color: #1e40af;
}

h3 {
  font-size: 1.3rem;     /* ≈ 21px */
  line-height: 1.4;
  font-weight: 600;
  margin: .75rem 0;
}


@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }  /* ≈ 26px */
  h2 { font-size: 1.3rem; }
}

        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }

        /* Listes stylisées */
        ul {
            margin: 1.5rem 0;
            padding-left: 0;
            list-style: none;
        }

        ul li {
            padding: 0.8rem 0 0.8rem 2.5rem;
            position: relative;
            margin-bottom: 0.5rem;
            background: #f8fafc;
            border-left: 4px solid #3b82f6;
            border-radius: 4px;
        }

        ul li:before {
            content: "✓";
            position: absolute;
            left: 0.8rem;
			top:8px;
            color: #3b82f6;
            font-weight: bold;
            font-size: 1.2rem;
        }
		
		.related-articles ul li:before {
            content: "✓";
            position: absolute;
            top:8px;
            color: #3b82f6;
            font-weight: bold;
            font-size: 1.2rem;
			padding-left:2px
        }

        /* Blockquote */
        blockquote {
            background: #eff6ff;
            border-left: 5px solid #3b82f6;
            margin: 2rem 0;
            padding: 1.5rem 2rem;
            font-style: italic;
            color: #1e3a8a;
            border-radius: 5px;
            position: relative;
        }

        blockquote:before {
            content: '"';
            font-size: 4rem;
            color: #3b82f6;
            opacity: 0.3;
            position: absolute;
            top: -10px;
            left: 10px;
        }

        /* Cards */
        .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .card {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            padding: 1.5rem;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .card:hover,
        .card:focus-within {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
            border-color: #3b82f6;
        }

        .card h4 {
            color: #1e3a8a;
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .card-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        /* Encart/Info box */
        .info-box {
            background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
            border: 2px solid #3b82f6;
            border-radius: 10px;
            padding: 1.5rem;
            margin: 2rem 0;
        }

        .info-box h4 {
            color: #1e3a8a;
            margin-bottom: 1rem;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
        }

        .info-box h4:before {
            content: "ℹ️";
            margin-right: 0.5rem;
            font-size: 1.5rem;
        }

        /* Section Commentaires */
        .comments-section {
            background: white;
            padding: 2.5rem;
            margin-top: 3rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }

        .comment {
            background: #f8fafc;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid #3b82f6;
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
            align-items: center;
        }

        .comment-author {
            font-weight: bold;
            color: #1e3a8a;
        }

        .comment-date {
            color: #6b7280;
            font-size: 0.9rem;
        }

        .comment-text {
            color: #374151;
            line-height: 1.6;
        }

        footer {
            background: #1e3a8a;
            color: white;
            text-align: center;
            padding: 2rem 20px;
            margin-top: 3rem;
        }

        /* Focus visible for accessibility */
        *:focus-visible {
            outline: 3px solid #3b82f6;
            outline-offset: 2px;
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }

            nav {
                flex-direction: column;
                width: 100%;
                text-align: center;
            }

            nav a {
                margin-left: 0;
            }

            .logo-text {
                font-size: 2em;
            }

            .logo-domain {
                font-size: 1.5em;
            }
			
			.article-toc ol li{padding-left:12px;position:relative;text-align:left}
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
        }



/* --- Enhancements (SEO/UX) --- */
.logo.noncliquable {
    cursor: default;
    /* No link here on this page; HTML has no href. Kept for consistency across templates */
}

/* Make sure decorative components don't steal horizontal space on small screens */
@media (max-width: 768px) {
    blockquote {
        margin: 1rem 0;
        padding: 1rem 1.25rem;
        border-left-width: 4px;
    }
    blockquote:before {
        font-size: 3rem;
        left: 6px;
        top: -6px;
    }
    .cards-container {
        gap: 1rem;
        margin: 1.25rem 0;
        grid-template-columns: 1fr; /* force one column for maximal width */
    }
    .card {
        padding: 1rem;
        border-width: 1px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    ul li { 
        padding: 0.75rem 0 0.75rem 2.35rem;
        border-left-width: 3px;
		
		

    }
	
	
			ul li::before {
    content: "✓";
    position: absolute;
    left: 0.8rem;
    top: 20px;
    color: rgb(59, 130, 246);
    font-weight: bold;
    font-size: 1.2rem;
}
}

/* Ensure content never overflows the viewport on very small devices */
.content-section, .comments-section, .info-box {
    overflow-wrap: anywhere;
}



/* --- Mobile header & nav stacking (explicit) --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    header nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }
    header nav a {
        display: block;
        padding: 0.65rem 0.9rem;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
    }

    .container {
        padding: 2rem 16px;
    }
    .content-section {
        padding: 1.25rem;
    }
    .hero {
        padding: 2rem 0 1.25rem;
    }
    .hero h1 {
        line-height: 1.2;
    }
}



/* === Hamburger menu (pure CSS) === */
.hamburger { display: none; }
.nav-toggle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; border: 0; clip: rect(0 0 0 0); } /* visually hidden but accessible */

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border-radius: 8px;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.2);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .hamburger .bar {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 4px 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Collapse the nav by default on mobile */
    header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
        margin-top: 0.5rem;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 10px;
        padding: 0.35rem;
    }
    header nav a {
        display: block;
        width: 100%;
        padding: 0.75rem 0.9rem;
        border-radius: 8px;
        background: transparent;
    }
    header nav a:active { opacity: 0.9; }

    /* Toggle open */
    #nav-toggle:checked ~ nav {
        display: flex;
    }

    /* Animate hamburger into an "X" */
    #nav-toggle:checked + .hamburger .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    #nav-toggle:checked + .hamburger .bar:nth-child(2) { opacity: 0; }
    #nav-toggle:checked + .hamburger .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}



/* === Ajouts CSS pour le hub du cocon sémantique === */

/* Sommaire (Table of Contents) */
.toc {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.toc strong {
    display: block;
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3b82f6;
}

.toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
    margin: 0;
}

.toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 0.8rem;
    padding: 0.6rem 0 0.6rem 2.5rem;
    position: relative;
    background: white;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    transition: all 0.3s;
}

.toc ol li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.toc ol li::before {
    content: counter(toc-counter);
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: #3b82f6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.toc a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.toc a:hover,
.toc a:focus {
    color: #3b82f6;
    text-decoration: underline;
}

/* Clusters (sections thématiques) */
.cluster {
    background: white;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    scroll-margin-top: 100px; /* Pour le smooth scroll avec header fixe */
}

.cluster h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 0.5rem;
}

.cluster h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

/* Cards avec liens */
.cards-container a.card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cards-container a.card:hover h3,
.cards-container a.card:focus h3 {
    color: #3b82f6;
}

/* Mini-list (liste de liens) */
.mini-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.mini-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    margin-bottom: 0.6rem;
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    transition: all 0.3s;
}

.mini-list li:hover {
    background: #eff6ff;
    transform: translateX(5px);
}

.mini-list li::before {
    content: "→";
    position: absolute;
    left: 0.6rem;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
}

.mini-list a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.mini-list a:hover,
.mini-list a:focus {
    color: #3b82f6;
    text-decoration: underline;
}

/* Checklist (liste avec checkmarks) */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.checklist li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    margin-bottom: 0.8rem;
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    border-radius: 6px;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #22c55e;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA (Call to Action) */
.cta {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border: 2px solid #3b82f6;
  border-radius: 10px;
  padding: 1.8rem;
  margin: 2rem 0;

  display: flex;              /* Active flex */
  justify-content: center;    /* Centre horizontalement */
  align-items: center;        /* Aligne verticalement */
  gap: .5rem;                 /* Espace entre les boutons */
  flex-wrap: wrap;            /* En mobile, ça passe à la ligne */
}


.cta strong {
    color: #1e3a8a;
}

.btn {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 0.9rem 1.8rem;
    margin: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn:hover,
.btn:focus {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #3b82f6;
    color: white;
}

/* Text-link (lien texte simple mais visible) */
.text-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.text-link:hover,
.text-link:focus {
    color: #1e3a8a;
    border-bottom-color: #3b82f6;
}

/* Details/Summary (FAQ accordion) */
details {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

details:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

details[open] {
    background: #eff6ff;
    border-color: #3b82f6;
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: #1e3a8a;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "▶";
    color: #3b82f6;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

details[open] summary::before {
    transform: rotate(90deg);
}

summary:hover {
    color: #3b82f6;
}

details p {
    margin-top: 1rem;
    padding-left: 1.7rem;
    color: #374151;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toc {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .toc strong {
        font-size: 1.3rem;
    }

    .toc ol li {
        padding-left: 2rem;
        font-size: 0.95rem;
    }

    .cluster {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .cluster h2 {
        font-size: 1.6rem;
    }

    .cta {
        padding: 1.3rem;
    }

    .btn {
        display: block;
        margin: 0.5rem 0;
        padding: 0.8rem 1.2rem;
    }

    .checklist li {
        padding: 0.8rem 0 0.8rem 2.5rem;
        font-size: 0.95rem;
    }

    .mini-list li {
        padding: 0.7rem 0 0.7rem 1.8rem;
        font-size: 0.95rem;
    }
}






			/* video-layout */
			
			
			
	.video-layout{
  display:grid;
  grid-template-columns: 57% 42%;  /* vidéo ≈ 45% / texte ≈ 55% */
  grid-template-areas:
    "media text"
    "full  full";
  gap: 24px;
  align-items: stretch;
}


/* Vidéo (définit la hauteur de la ligne via ratio) */
.yt-lite{
  grid-area: media;
  position: relative; display:block; width:100%;
  aspect-ratio: 16/9;
  background:#000; border:0; padding:0; cursor:pointer;
  border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.yt-lite img{ width:100%; height:100%; object-fit:cover; border-radius:12px; display:block; }
.yt-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  padding:10px 14px; border-radius:10px; background:rgba(0,0,0,.6); color:#fff; font-weight:700; }

/* Colonne droite : même hauteur que la vidéo */
.video-side{
  grid-area: text;
  display:flex; flex-direction:column; min-height:0;
  border:1px solid #e6eaf2; border-radius:12px; padding:16px 16px 8px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

/* Extrait : limite visuelle + fondu élégant (pas de scrollbar moche) */
.video-side__excerpt{
  position:relative; min-height:0; /* pour grid */
  /* ligne max approximative pour garder joli */
  --line: 1.35em; max-height: calc(var(--line) * 16);
  overflow:hidden;
}
.video-side__excerpt::after{
  content:""; position:absolute; inset:auto 0 0 0; height:56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 60%);
  pointer-events:none;
}

.video-readmore{
  margin-top:auto; display:inline-block; align-self:flex-start;
  padding:8px 12px; border:1px solid #d7dcec; border-radius:10px; text-decoration:none;
}

/* Bloc transcription complet : pleine largeur */
.video-transcript-full{
  grid-area: full;
  border:1px solid #e6eaf2; border-radius:12px; padding:16px;
  background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.04);
}

/* Responsive */
@media (max-width: 900px){
  .video-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "text"
      "full";
  }
  .video-side__excerpt{ max-height:none; }
  .video-side__excerpt::after{ display:none; }
}

/* Fallback si pas d'aspect-ratio */
@supports not (aspect-ratio: 16/9){
  .yt-lite{ height:0; padding-bottom:56.25%; }
  .yt-lite img, .yt-lite iframe{ position:absolute; inset:0; }
}






/* Styles spécifiques aux articles  */
    .breadcrumb{background:#f8fafc;padding:1rem 0;margin-bottom:2rem;border-bottom:1px solid #e5e7eb}
    .breadcrumb-container{max-width:1200px;margin:0 auto;padding:0 20px}
    .breadcrumb nav{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
    .breadcrumb a{color:#3b82f6;text-decoration:none;transition:color .3s}
    .breadcrumb a:hover,.breadcrumb a:focus{color:#1e3a8a;text-decoration:underline}
    .breadcrumb-separator{color:#6b7280;margin:0 .3rem}
    .breadcrumb-current{color:#374151;font-weight:500}
    .article-meta{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:.95rem;margin-top: 12px;}
    .article-meta-item{display:flex;align-items:center;gap:.5rem}
    .article-meta-icon{font-size:1.2rem}
    .article-toc{background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%);border:2px solid #22c55e;border-radius:10px;padding:1.5rem;margin:2rem 0}
    .article-toc h3{color:#166534;font-size:1.2rem;margin:0 0 1rem}
    .article-toc ol{list-style:none;counter-reset:toc; padding:0;margin:0}
    .article-toc ol li{counter-increment:toc;margin-bottom:.6rem;padding-left:1.8rem;position:relative}
    .article-toc ol li::before{content:counter(toc) ".";position:absolute;left:0;color:#22c55e;font-weight:700}
    .article-toc a{color:#166534;text-decoration:none}
    .article-toc a:hover,.article-toc a:focus{color:#22c55e;text-decoration:underline}
    .alert-warning{background:#fef3c7;border-left:5px solid #f59e0b;padding:1.5rem;margin:2rem 0;border-radius:5px}
    .alert-warning h4{color:#92400e;margin:.0 0 .8rem;display:flex;align-items:center;gap:.5rem}
    .alert-warning h4::before{content:"⚠️";font-size:1.3rem}
    .alert-info{background:#dbeafe;border-left:5px solid #3b82f6;padding:1.5rem;margin:2rem 0;border-radius:5px}
    .alert-info h4{color:#1e3a8a;margin:.0 0 .8rem;display:flex;align-items:center;gap:.5rem}
    .alert-info h4::before{content:"💡";font-size:1.3rem}
    .step-guide{counter-reset:step; margin:2rem 0}
    .step{counter-increment:step;background:#f8fafc;border-left:4px solid #3b82f6;padding:1.5rem;margin-bottom:1.5rem;border-radius:8px;position:relative}
    .step::before{content:"Étape " counter(step);display:block;color:#3b82f6;font-weight:700;font-size:.9rem;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.5px}
    .step h4{color:#1e3a8a;margin:.0 0 .8rem}
    .related-articles{background:#f8fafc;padding:2rem;margin-top:3rem;border-radius:10px;border:2px solid #e5e7eb}
    .related-articles h3{color:#1e3a8a;margin:0 0 1.5rem}
    .related-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;list-style:none;padding:0;margin:0}
    .related-list li{background:#fff;border:1px solid #e5e7eb;border-radius:8px;transition:all .3s}
    .related-list li:hover{border-color:#3b82f6;box-shadow:0 2px 8px rgba(59,130,246,.15)}
    .related-list a{display:block;padding:1.2rem;color:#1e3a8a;text-decoration:none;font-weight:500}
    .related-list a::before{content:"→ ";color:#3b82f6;font-weight:700}
    .article-nav{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:3rem 0}
    .article-nav-link{background:#fff;border:2px solid #e5e7eb;border-radius:10px;padding:1.5rem;text-decoration:none;color:inherit;transition:all .3s;display:flex;flex-direction:column}
    .article-nav-link:hover,.article-nav-link:focus{border-color:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.15);transform:translateY(-2px)}
    .article-nav-label{color:#6b7280;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}
    .article-nav-title{color:#1e3a8a;font-weight:600;font-size:1.1rem}
    .article-nav-link.prev .article-nav-label::before{content:"← "}
    .article-nav-link.next{text-align:right}
    .article-nav-link.next .article-nav-label::after{content:" →"}
    @media (max-width:768px){
      .article-nav{grid-template-columns:1fr}
      .article-nav-link.next{text-align:left}
      .article-meta{gap:1rem;font-size:.9rem}
      .related-list{grid-template-columns:1fr}
    }





/* Formulaire global */
.contact-form {
  width: 100%;
  margin: 2rem auto;
  padding: 1.5rem;
  border: 1px solid #e5e7eb; /* gris clair */
  border-radius: 10px;
  background: #f9fafb;       /* gris très clair */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Groupes de champs */
.contact-form .form-group {
  margin-bottom: 1.2rem;
}

/* Champs texte / textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #cbd5e1; /* gris bleu clair */
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6; /* bleu clair */
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* Bouton CTA */
.contact-form .cta-button {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8); /* bleu pro */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .cta-button:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

/* Texte rassurant */
.contact-form p {
  font-size: 0.9rem;
  text-align: center;
  color: #444;
  margin-top: 1rem;
  line-height: 1.4;
}

/* Accessibilité (labels invisibles mais présents pour lecteurs d’écran) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


#devis header {
  background:inherit;color:inherit;padding:inherit;box-shadow:inherit;
}






@media (max-width: 768px) {
    .breadcrumb {
        display: none !important; /* Force le masquage */
    }
}



@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between; /* Ajoute ça */
        align-items: center;
        gap: 0.5rem;
        padding: 0 15px; /* Ajoute du padding */
    }
    
    .logo-text {
        font-size: 1.8em; /* Réduis la taille du logo */
    }

    .logo-domain {
        font-size: 1.3em;
    }
    
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        margin-left: 0; /* Enlève le margin-left: auto */
        flex-shrink: 0; /* Empêche le bouton de rétrécir */
        border-radius: 8px;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.2);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Menu déroulant */
    header nav {
        position: absolute; /* Ajoute ça */
        top: 100%; /* Place sous le header */
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
        margin-top: 0;
        background: rgba(30, 58, 138, 0.98); /* Fond plus opaque */
        border: none;
        border-radius: 0;
        padding: 0.5rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
}






/* === HEADER CORRIGÉ === */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation DESKTOP */
nav {
    display: flex;
    gap: 1.5rem;
    flex-direction: column; 
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s;
    border-radius: 4px;
}

nav a:hover,
nav a:focus {
    opacity: 0.8;
    background: rgba(255,255,255,0.1);
    outline: 2px solid white;
    outline-offset: 2px;
}

/* === FIL D'ARIANE CORRIGÉ === */
.breadcrumb {
    background: #f3f4f6;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb nav {
    display: flex;
    flex-direction: row; /* ✅ Correction */
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color .3s;
    font-size: 0.9rem;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    color: #3b82f6;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #9ca3af;
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
    /* Masquer le fil d'Ariane sur mobile */
    .breadcrumb {
        display: none;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.8em;
    }

    .logo-domain {
        font-size: 1.3em;
    }
    
    /* Hamburger visible */
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 8px;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.2);
        cursor: pointer;
    }
    
    .hamburger .bar {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 4px 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Menu caché par défaut */
    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
        margin: 0;
        background: rgba(30, 58, 138, 0.98);
        padding: 0.5rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    header nav a {
        display: block;
        width: 100%;
        padding: 0.75rem 0.9rem;
        border-radius: 8px;
        background: transparent;
    }

    /* Toggle open */
    #nav-toggle:checked ~ nav {
        display: flex;
    }

    /* Animation hamburger → X */
    #nav-toggle:checked + .hamburger .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    #nav-toggle:checked + .hamburger .bar:nth-child(2) {
        opacity: 0;
    }
    #nav-toggle:checked + .hamburger .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}











/* Navigation HEADER - reste en row */
header nav {
    display: flex;
    gap: 1.5rem;
    flex-direction: row;
}

/* Breadcrumb navigation - en row */
.breadcrumb nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}






/* === Hamburger menu === */
.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    header {
        position: relative; /* ✅ Important pour le menu absolu */
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        position: relative; /* ✅ Ajout */
    }
    
    .logo-text {
        font-size: 1.8em;
    }

    .logo-domain {
        font-size: 1.3em;
    }
    
    /* Hamburger visible */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 8px;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.2);
        cursor: pointer;
        z-index: 1001; /* ✅ Au-dessus du menu */
    }
    
    .hamburger .bar {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 3px 0; /* ✅ Réduit de 4px à 3px */
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Menu mobile caché par défaut */
    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: #1e3a8a;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        z-index: 1000;
    }
    
    header nav a {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        margin-bottom: 0.25rem;
        border-radius: 6px;
        background: rgba(255,255,255,0.05);
        text-align: left;
    }
    
    header nav a:hover {
        background: rgba(255,255,255,0.15);
    }

    /* ✅ Toggle ouverture du menu */
    #nav-toggle:checked ~ nav {
        display: flex !important;
    }

    /* ✅ Animation hamburger → X */
    #nav-toggle:checked + .hamburger .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    #nav-toggle:checked + .hamburger .bar:nth-child(2) {
        opacity: 0;
    }
    
    #nav-toggle:checked + .hamburger .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}





