/* ===============================================
   CSS MASTER - Version Finale: Structure Corrigée
   ============================================ */
td { 
    color: black; 
    font-style: normal; 
    font-weight: normal; 
    font-size: 14px; 
    line-height: normal; 
    font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; 
    text-decoration: none 
}
p { 
    color: black; 
    font-style: normal; 
    font-weight: normal; 
    font-size: 14px; 
    line-height: normal; 
    font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; 
    text-decoration: none 
}
a  { color: red; font-style: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }
a:hover { text-decoration: underline }
a:active  { color: red; font-size: 13px; font-family: Arial, Helvetica, Geneva }
a:vlink  { color: #f60; font-size: 13px; line-height: normal; font-family: Helvetica, Arial, Geneva }

        .BLKtitre      { color: black; font-weight: bold; font-size: 18px; }
        .BLKintertitre { color: black; font-weight: bold; font-size: 15px; }
        .BLKsoustitre  { color: black; font-weight: bold; font-size: 14px; }
        .BLKtext       { color: black; font-size: 14px; }
        .BLKmini       { color: black; font-size: 13px; }
        .BLKbold       { color: black; font-weight: bold; font-size: 12px; }

        .WHTtitre      { color: white; font-weight: bold; font-size: 18px; }
        .WHTintertitre { color: white; font-weight: bold; font-size: 15px; }
        .WHTsoustitre  { color: white; font-weight: bold; font-size: 14px; }
        .WHTtext       { color: white; font-size: 14px; }
        .WHTmini       { color: white; font-size: 13px; }
        .WHTbold       { color: white; font-weight: bold; font-size: 12px; }

        .BLUtitre      { color: #00008b; font-weight: bold; font-size: 18px; }
        .BLUintertitre { color: #00008b; font-weight: bold; font-size: 15px; }
        .BLUsoustitre  { color: #00008b; font-weight: bold; font-size: 14px; }
        
        .REDtitre      { color: #c00; font-weight: bold; font-size: 18px; }
        .REDintertitre { color: #c00; font-weight: bold; font-size: 15px; }
        .REDsoustitre  { color: #c00; font-weight: bold; font-size: 14px; }

        .GRYtitre      { color: #6e6e6e; font-weight: bold; font-size: 18px; }
        .GRYintertitre { color: #6e6e6e; font-weight: bold; font-size: 15px; }
        .GRYsoustitre  { color: #6e6e6e; font-weight: bold; font-size: 14px; }
        .GRYtext       { color: #6e6e6e; font-size: 14px; }
        .GRYmini       { color: #6e6e6e; font-size: 13px; }
        .GRYbold       { color: #6e6e6e; font-weight: bold; font-size: 12px; }
        
        .LTGREYtitre      { color: #b9b9b9; font-weight: bold; font-size: 18px; }
        .LTGREYintertitre { color: #b9b9b9; font-weight: bold; font-size: 15px; }
        .LTGREYsoustitre  { color: #b9b9b9; font-weight: bold; font-size: 14px; }
        .LTGREYtext       { color: #b9b9b9; font-size: 14px; }
        .LTGREYmini    { color: #b9b9b9; font-size: 13px; }
        .LTGREYbold    { color: #b9b9b9; font-weight: bold; font-size: 12px; }

        .ORGtitre      { color: #c06f19; font-weight: bold; font-size: 18px; }
        .ORGintertitre { color: #c06f19; font-weight: bold; font-size: 15px; }
        .ORGsoustitre  { color: #c06f19; font-weight: bold; font-size: 14px; }
        .ORGtext       { color: #c06f19; font-size: 14px; }
        .Orgmini       { color: #c06f19; font-size: 13px; }
        .Orgbold       { color: #c06f19; font-weight: bold; font-size: 12px; }

        .STEELtitre      { color: #4A7BA7; font-weight: bold; font-size: 18px; }
        .STEELintertitre { color: #4A7BA7; font-weight: bold; font-size: 15px; }
        .STEELsoustitre  { color: #4A7BA7; font-weight: bold; font-size: 14px; }
        .STEELtext       { color: #4A7BA7; font-size: 14px; }
        .STEELmini       { color: #4A7BA7; font-size: 13px; }
        .STEELbold       { color: #4A7BA7; font-weight: bold; font-size: 12px; }
/* ===========================
   2. STRUCTURE GLOBALE & BODY
   ======================== */
html { height: 100%; }
body {
    overflow-y: scroll;
    min-height: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('../interface/back.jpg');
    background-repeat: repeat;
    font-family: Arial, sans-serif;
}
p img, td img, div img {
    max-width: 100%;
    height: auto;
}
.california-nav img, .nav-bar img, td[align="center"] a img {
    max-width: none !important; 
    width: auto !important;
    height: auto !important;
}
a {
    padding: 5px 2px;
    display: inline-block;
}
.main-container, .california-container {
    width: 100%;
    max-width: 804px;
    margin: 0 auto;
    background: transparent; 
    padding: 10px;
    box-sizing: border-box;
}
.nav-bar, .california-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}
/* ======================================
   3. FICHE BLANCHE & GALERIE (UNIVERSEL)
   =================================== */
.fiche-blanche {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 15px;
}
.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s, opacity 0.2s;
    display: block;
}
.gallery-grid img:hover {
    transform: scale(1.02);
    opacity: 0.9;
    cursor: pointer;
}
.recit-block {
    margin-bottom: 10px;
    line-height: 1.5;
}
.gps-block {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
    font-style: italic;
    text-align: center;
}
a.gps-link {
    color: #red;
    font-weight: bold;
    text-decoration: none;
}
a.gps-link:hover {
    text-decoration: underline;
}
/* ============================================
   4. RESPONSIVE MOBILE (Adaptations uniquement)
   ========================================== */
@media screen and (max-width: 768px) {

    body { font-size: 16px; }
        .fiche-blanche {
        padding: 12px !important;
    }
    td a {
        display: block !important;
        text-align: center;
        margin-bottom: 8px;
        padding: 0 !important;
    }
    td a img {
        width: auto !important; 
        max-width: 180px !important;
        height: auto !important;
        display: inline-block !important;
        margin: 0 auto;
    }
    td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 2px 0 !important;
        margin: 0 !important;
    }
    tr {
        display: block !important;
        width: 100% !important;
    }
    table {
        width: 100% !important;
        max-width: 100% !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-spacing: 0 !important;
        border-collapse: collapse !important;
    }
    blockquote {
        margin: 0 !important;
        padding: 0 10px !important;
    }
    br {
        display: inline-block;
        height: 5px;
        margin: 0 !important;
        padding: 0 !important;
    }
    br + br { height: 12px; }
    p, span, div {
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }
    img[style*="height"] {
        height: auto !important;
        max-height: 300px;
    }
/* ===============================
   5. SECTION MANUELS UTILISATEURS
   ============================ */
.manual-nav {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}
.manual-nav a {
    padding: 8px 16px;
    margin: 0 5px;
    background-color: rgba(74, 123, 167, 0.15);
    border-radius: 4px;
    text-decoration: none;
    color: #4A7BA7;
    font-weight: bold;
    font-size: 13px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}
.manual-nav a:hover {
    background-color: rgba(74, 123, 167, 0.35);
    text-decoration: none;
}
.manual-nav a.active {
    background-color: rgba(74, 123, 167, 0.85);
    color: white;
    cursor: default;
}
.gallery-grid.manual-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    gap: 10px;
}
.gallery-grid.manual-grid img {
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.2s, opacity 0.2s;
}
.gallery-grid.manual-grid img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}
.page-number {
    text-align: center;
    font-size: 11px;
    color: #6e6e6e;
    margin-top: 4px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
}
}
/* Fin du fichier */