/* ================================================================
   02-layout.css — Layout global
   ----------------------------------------------------------------
   - Container (.ctn)
   - Navigation fixe (nav)
   - Logo (.logo, .lm)
   - Barre d'alerte sous la nav (.ab)
   - Padding par défaut des <section>
   - Titres de section (h2)
   ================================================================ */


/* ─── Container ─── */
.ctn {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ─── Navigation fixe en haut ─── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(250,250,249,.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--b);
    transition: background .3s;
}
nav .ctn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ─── Logo (.logo + pastille .lm) ─── */
.logo {
    font-family: var(--fb);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -.04em;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--t);
}
.lm {
    width: 28px; height: 28px;
    background: var(--a);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 800;
    color: #fff;
    position: relative;
}
.lm::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 9px;
    border: 1px solid var(--a);
    opacity: .2;
    animation: pu 2.5s ease-in-out infinite;
}


/* ─── Liens de nav (.nl) ─── */
.nl {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nl a {
    color: var(--tm);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 500;
    transition: color .2s;
}
.nl a:hover { color: var(--t); }


/* ─── Barre d'alerte sous la nav ─── */
.ab {
    margin-top: 57px;
    background: linear-gradient(90deg, var(--ad), var(--od));
    border-bottom: 1px solid rgba(220,38,38,.08);
    padding: 9px 0;
    text-align: center;
    font-size: .8rem;
    font-weight: 500;
    color: var(--t2);
}
.ab b { color: var(--r); }


/* ─── Titres de sections ─── */
section {
    padding: 100px 0;
}
section h2 {
    font-family: var(--fd);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -.03em;
}


/* ─── "Tag" de section (pastille + label mini) ─── */
.stg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tm);
    margin-bottom: 18px;
}
.stg .dt {
    width: 6px; height: 6px;
    border-radius: 50%;
}


/* ─── Footer ─── */
footer {
    padding: 36px 0;
    border-top: 1px solid var(--b);
    background: var(--bg2);
}
footer .ctn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.fcp { font-size: .76rem; color: var(--tm); }
.flk { display: flex; gap: 20px; }
.flk a {
    font-size: .76rem;
    color: var(--tm);
    text-decoration: none;
    transition: color .2s;
}
.flk a:hover { color: var(--t); }
