/* 2026-10-30 08:33 — PATCH 71 — Fenêtre indépendante déplacée hors de modales/. */
/* 2026-10-30 07:45 — PATCH 70 — Styles de about extraits du HTML. */

        /* Présentation identique à la fiche Contact. */
        * { box-sizing: border-box; }
        body {
    margin: 0;
    background: linear-gradient(135deg, #edf1f5, #d6dce3);
    font-family: Inter, Arial, sans-serif;
    color: #172339;
}
        .wrap {
    max-width: 1350px;
    margin: 24px auto;
    padding: 0 18px;
}
        .intro {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px;
}
        .icone {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 15px;
    background: #1261f4;
    color: white;
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 4px 12px #1261f42b;
}
        .intro h1 {
    font: 700 42px Georgia, serif;
    color: #253448;
    margin: 0 0 5px;
}
        .intro p {
    margin: 0;
    color: #718096;
}
        .panel {
    background: white;
    border: 1px solid #d8e2ef;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 18px 60px #1b293c26;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    gap: 36px;
    align-items: stretch;
}
        .texte {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
        .texte p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 22px;
}
        .accueil {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0866c2;
    background: white;
    border: 2px solid #0866c2;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}
        .accueil:hover { background: #eef6ff; }
        /* Même cadre marron et même remplissage que l'image de Contact. */
        .visual {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border: 6px solid #a16d3d;
    border-radius: 16px;
    background: #eaf2fc;
}
        .visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
        @media (max-width: 850px) {
            .panel { grid-template-columns: 1fr; }
            .visual {
    min-height: 270px;
    height: 340px;
}
            .intro h1 { font-size: 32px; }
        }
        /* Dans la fenêtre modale : mêmes dimensions que Contact. */
        body.modal-mode { background: #f4f7fb; }
        body.modal-mode .wrap {
    max-width: 100%;
    margin: 0;
    padding: 15px 15px 18px;
}
        body.modal-mode .intro {
    margin: 0 0 8px;
    gap: 10px;
}
        body.modal-mode .intro h1 {
    font: 700 25px/1.15 Georgia, serif;
    margin: 0 0 2px;
}
        body.modal-mode .intro p {
    font-size: 13px;
    line-height: 1.3;
}
        body.modal-mode .icone {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 10px;
    font-size: 24px;
}
        body.modal-mode .panel {
    padding: 14px 18px;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .85fr);
    border-radius: 16px;
}
        body.modal-mode .texte p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
}
        body.modal-mode .visual {
    min-height: 0;
    height: 440px;
    border-width: 4px;
}
        @media (max-width: 650px) {
            body.modal-mode .panel { grid-template-columns: 1fr; }
            body.modal-mode .visual {
    height: 180px;
    min-height: 180px;
}
        }
    
 .texte .pcm-drapeau-gif {
    display:block;
    width:108px;
    height:78px;
    object-fit:contain;
    margin:0 0 8px;
} 

/* Correctif 523 : thème sombre des pages embarquées, PC seulement. */
html.aw-pc-dark,html.aw-pc-dark body,html.aw-pc-dark body.modal-mode{background:#202831!important;color:#e8edf4!important}
html.aw-pc-dark :is(.top,.panel,.card,.box,.section,.content,.form-card,.status,.fine,.accueil,.contact-actions) {
    background-color:#2b3541!important;
    color:#e8edf4!important;
    border-color:#526171!important;
}
html.aw-pc-dark :is(h1,h2,h3,h4,h5,p,label,small,strong,span,legend){color:inherit!important}
html.aw-pc-dark :is(.intro h1,.intro h2,.top h1){color:#f1f5fa!important}
html.aw-pc-dark :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {
    background:#202a35!important;
    color:#f1f5fa!important;
    border-color:#657489!important;
}
html.aw-pc-dark :is(input,textarea)::placeholder{color:#b8c4d2!important}
html.aw-pc-dark :is(button,.accueil) {
    background:#34475c!important;
    color:#f1f5fa!important;
    border-color:#72859a!important;
}
html.aw-pc-dark a{color:#9cc9ff!important}
html.aw-pc-dark .visual{background:#263443!important}
