/* ==========================================================
   rachelwood — Coppermine theme (evanrachelwood.eu)
   Base : GNGbase / HQDiesel-Paris — palette d'origine conservée
   ========================================================== */

:root {
    --rw-accent-light: #7B8FD4;
    --rw-accent:       #4B5DAA;
    --rw-dark:         #2A306A;
    --rw-border-light: #c8cce8;
    --rw-fond-sombre:  #1c2050;
    --rw-fond:         #ECEEF8;
    --rw-texte:        #2d2d2d;
    --rw-gold:         #ffe79a;

    --rw-font-display: 'Poppins', sans-serif;
    --rw-font-ui: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

table { border-collapse: collapse; }
table, tr, td, th { border: none; }

body {
    line-height: 1.5;
    background: var(--rw-fond);
    font-family: var(--rw-font-ui);
    font-size: 13px;
    color: var(--rw-texte);
    margin: 0;
}

a { color: var(--rw-accent); text-decoration: none; }
a:hover { color: var(--rw-dark); }

strong, b {
    color: var(--rw-accent);
    border-bottom: none;
}

h1 { line-height: 120%; color: var(--rw-dark); margin: 0; font-family: var(--rw-font-ui); font-weight: 700; }
h2 { padding-left: 0; font-size: 13px; margin: 0; font-family: var(--rw-font-ui); }
h3 { font-weight: normal; font-size: 11px; margin: 0; }

p { font-family: var(--rw-font-ui); font-size: 12px; margin: 2px 0; }

ul { list-style-type: none; margin-left: 5px; padding: 0; }
li { margin: 4px 0 4px 10px; padding: 0; list-style-type: none; }


/* ------- HERO BANNER -------
   Ratio calé sur la dimension réelle du header (2000x600 = 10:3),
   pour ne plus rogner l'image comme le faisait la hauteur fixe 520px. */
.hero-banner {
    width: 100%;
    aspect-ratio: 10 / 3;
    position: relative;
    z-index: 100;
    background: var(--rw-dark) url("imgs/header.png") top center no-repeat;
    background-size: cover;
}

/* ------- TITRE SUR LE HEADER ------- */
.hero-title {
    position: absolute;
    left: 0; right: 0;
    bottom: 9%;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

.hero-name {
    margin: 0;
    font-family: 'Anton', 'Impact', sans-serif;
    font-weight: 400;
    font-size: clamp(22px, 4.6vw, 68px);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-name em {
    font-style: italic;
    color: #ffffff;
}

.hero-tagline {
    display: inline-block;
    margin: 10px 0 0;
    padding: 6px 22px;
    background: #000000;
    color: #ffffff;
    font-family: var(--rw-font-ui);
    font-weight: 600;
    font-size: clamp(8px, 0.8vw, 11px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}


.hero-fade {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--rw-dark) 0%, var(--rw-accent) 50%, var(--rw-accent-light) 100%);
}


/* --- principal ------- */
#conteudo {
    position: relative;
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
}

#main {
    margin-bottom: 0;
    float: left;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 25px 10px;
    position: relative;
    background: #ffffff;
    box-sizing: border-box;
}

#sidebar { display: none; }


/* ------- VAGUE avant la colonne blanche (comme le thème wood) -------
   Le remplissage doit être BLANC (couleur de #main) : les découpes du
   clip-path laissent alors transparaître le fond lavande ambiant
   au-dessus, ce qui crée le contraste visible de la vague. Un remplissage
   de la même couleur que le fond de page (comme avant) rendait la vague
   invisible car tout se fondait dans la même teinte. */
.clipwave-divider {
    height: 24px;
    width: 100%;
    background: #ffffff;
    clip-path: polygon(0 0, 10% 30%, 20% 10%, 30% 30%, 40% 10%, 50% 30%, 60% 10%, 70% 30%, 80% 10%, 90% 30%, 100% 0, 100% 100%, 0 100%);
}


/* ------- MENU : barre noire au-dessus du header ------- */
.menutopo {
    font-size: 0;            /* masque le séparateur "::" entre les deux menus */
    width: 100%;
    background: #000000;
    text-align: center;
    padding: 12px 20px;
    position: relative;
    z-index: 1000;
}

.menutopo a {
    font-family: var(--rw-font-ui);
    font-weight: 600;
    display: inline-block;
    background: none;
    border: none;
    font-size: 11px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    transition: color 0.3s ease-in-out;
}

.menutopo a:hover {
    color: var(--rw-accent-light);
    background: none;
}


/* ------- WELCOME BLOCK (une photo à gauche + texte) ------- */
.welcome-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: -45px 0 30px;   /* chevauche le bas du header */
    position: relative;
    z-index: 200;
    padding: 25px 30px;
    background: #000000;
    border-radius: 6px;
}

.welcome-photo-frame {
    flex-shrink: 0;
    width: 260px;
    border-radius: 4px;
    overflow: hidden;
}

.welcome-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.welcome-text { flex: 1; }

.welcome-text p {
    margin: 0;
    font-family: var(--rw-font-ui);
    font-size: 13px;
    line-height: 1.8;
    color: #ffffff;
    text-align: justify;
}

.welcome-text p + p { margin-top: 12px; }

.welcome-text em {
    font-style: italic;
    color: var(--rw-accent-light);
}

.welcome-highlight {
    background-color: var(--rw-dark);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
}

@media screen and (max-width: 900px) {
    .welcome-block { flex-direction: column; padding: 20px; margin-top: -25px; }
    .welcome-photo-frame { width: 100%; max-width: 320px; }
}


/* ------- corpo galeria ---- */
.maintable {
    background: transparent;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    text-align: justify;
}

.anunchasds {
    background: var(--rw-fond);
    border: 1px solid var(--rw-accent);
    display: block;
    margin-bottom: 20px;
    padding: 10px;
    height: 90px;
    text-align: center;
}


/* ------- LINK ALBUM DENTRO ---- */
.alblink a {
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    font-size: 11px;
    font-family: var(--rw-font-ui);
    font-weight: 700;
}
.alblink a:hover { color: var(--rw-accent-light); }


.sdsmdsmds {
    letter-spacing: 0.5px;
    font-family: var(--rw-font-ui);
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--rw-accent);
    background: var(--rw-fond);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--rw-dark);
    padding: 20px;
}


/* ------- BARRE AVANT LES PHOTOS ---- */
.tableh1 {
    letter-spacing: 1px;
    font-family: var(--rw-font-ui);
    font-weight: 700;
    font-style: normal;
    border: none;
    border-bottom: none;
    background: url("imgs/section-bg.jpg") center / cover no-repeat;
    text-transform: uppercase;
    font-size: 16px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    padding: 18px 20px;
    position: relative;
    z-index: 0;
}

.tableh1::before,
.tableh1::after {
    content: '';
    position: absolute;
    bottom: 12px;
    height: 15px;
    z-index: -1;
    mix-blend-mode: multiply;
}
.tableh1::before {
    left: 20px;
    width: 170px;
    background: var(--rw-accent);
    opacity: 0.55;
}
.tableh1::after {
    left: 85px;
    width: 170px;
    background: var(--rw-accent-light);
    opacity: 0.6;
}

.tableb {
    background: transparent;
    color: var(--rw-texte);
    line-height: 22px;
}

.tableh1 img { display: none; }

.tableh1_compact {
    font-family: var(--rw-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--rw-accent);
    letter-spacing: 1px;
    padding: 10px;
}

.pic_title { padding: 10px; font-size: 10px; }
.pic_caption {
    padding: 20px;
    display: block;
    margin: 0;
    border: 1px solid var(--rw-accent);
    font-weight: 400;
    font-size: 13px;
    font-family: var(--rw-font-ui);
    font-style: normal;
    color: var(--rw-dark);
}


/* ------- ops 2 ---- */
.tableh2 {
    font-weight: 600;
    border: none;
    border-bottom: none;
    background: url("imgs/section-bg.jpg") center / cover no-repeat;
    font-family: var(--rw-font-ui);
    text-transform: uppercase;
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    letter-spacing: 1px;
    padding: 20px;
    position: relative;
    z-index: 0;
    transition: all 0.3s ease-in-out;
}

.tableh2::before,
.tableh2::after {
    content: '';
    position: absolute;
    bottom: 15px;
    height: 12px;
    z-index: -1;
    mix-blend-mode: multiply;
}
.tableh2::before {
    left: 20px;
    width: 140px;
    background: var(--rw-accent);
    opacity: 0.55;
}
.tableh2::after {
    left: 70px;
    width: 140px;
    background: var(--rw-accent-light);
    opacity: 0.6;
}


/* ------- IMAGE DE SECTION : plus de surligneur derrière les titres ------- */
.tableh1::before, .tableh1::after,
.tableh2::before, .tableh2::after { display: none; }


/* ------- ops 3 ---- */
.tableb { padding: 0 10px; }
.tableb_compact { padding: 0; border: 1px solid var(--rw-accent); overflow: hidden; }
.tableb_alternate { overflow: hidden; margin-bottom: 10px; padding: 0; }
.tablef { padding: 0 10px; overflow: hidden; }
.tableb_alternate .tableb_alternate { border: none; }


/* ------- CATEGORIES ---- */
.catrow_noalb,
.catrow {
    overflow: hidden;
    color: var(--rw-dark);
    border: none;
    border-bottom: 1px solid var(--rw-accent);
    line-height: 22px;
    margin-bottom: 0;
    font-family: var(--rw-font-ui);
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    padding: 10px 0;
    transition: all ease-out 0.3s;
}

.catrow_noalb img,
.catrow img {
    border-radius: 4px;
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 20px;
    object-fit: cover;
}

.catlink {
    margin-bottom: 0;
    font-style: normal;
    padding: 0;
    margin: 0 0 0 10px;
    display: block;
}

.catlink a {
    position: relative;
    z-index: 0;                 /* garde les surlignages derrière le texte */
    display: inline-block;
    padding: 3px 12px;
    font-family: var(--rw-font-ui);
    font-weight: 800;
    font-style: italic;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

/* deux surlignages bleus (assez foncés pour du texte blanc), décalés et légèrement inclinés */
.catlink a::before,
.catlink a::after {
    content: '';
    position: absolute;
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
}
.catlink a::before {
    left: -6px;
    top: -2px;
    width: 72%;
    height: 85%;
    background: var(--rw-accent);
    opacity: 0.8;
    transform: rotate(-1.5deg);
}
.catlink a::after {
    left: 14%;
    right: -6px;
    top: 28%;
    height: 80%;
    background: var(--rw-dark);
    opacity: 0.85;
    transform: rotate(1deg);
}

.catrow_noalb:hover .catlink a,
.catrow:hover .catlink a { color: #ffffff; }

.catrow_noalb:hover .catlink a::before,
.catrow:hover .catlink a::before { opacity: 1; }
.catrow_noalb:hover .catlink a::after,
.catrow:hover .catlink a::after { opacity: 1; }

.buttonlist a { color: var(--rw-accent); display: inline-block; }


/* ------- outros ---- */
.album_stat {
    padding: 6px;
    color: var(--rw-texte);
    line-height: 22px;
    display: block;
    letter-spacing: 0.5px;
    font-family: var(--rw-font-ui);
    font-style: italic;
    font-size: 12px;
    margin: 30px 20px -5px;
}

.thumb_filename { font-size: 10px; display: block; }


/* ------- TITRE ALBUM (overlay sur vignette) ---- */
.thumb_title_title {
    position: relative;
    z-index: 100;
    display: block;
    width: auto;
    margin: 0;
    padding: 10px 4px 0;
    font-family: var(--rw-font-ui);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    background: transparent;
    color: var(--rw-dark);
    transition: all ease-out 0.3s;
}

.thumbnails:hover .thumb_title_title {
    background: transparent;
    color: var(--rw-dark);
}


.thumb_title_views {
    position: relative;
    display: block;
    width: fit-content;
    height: auto;
    overflow: visible;
    margin: 12px auto 0;
    padding: 6px 16px;
    text-align: center;
    font-family: var(--rw-font-ui);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--rw-texte);
    background: var(--rw-fond);
    border-radius: 2px;
}

/* petit repère au-dessus de l'encadré, pointant vers le titre */
.thumb_title_views::after {
    content: '';
    position: absolute;
    top: -5px; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top: 0;
    border-bottom-color: var(--rw-fond);
}

.thumb_title_views::before,
.thumbnails .thumb_caption_ctime::before,
.thumbnails .thumb_caption_mtime::before {
    content: '';
    display: inline-block;
    width: 13px; height: 13px;
    margin-right: 7px;
    vertical-align: -2px;
    background-repeat: no-repeat;
    background-size: contain;
}
.thumb_title_views::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5DAA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.thumbnails .thumb_caption_ctime::before,
.thumbnails .thumb_caption_mtime::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5DAA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E"); }

.thumb_resolution {
    position: static;
    display: block;
    width: auto;
    margin: 8px 0 0;
    padding: 0;
    background: none;
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--rw-texte);
}

.thumb_caption { display: none; }

/* date : encadré gris avec icône (réaffiche ce qui était masqué) */
.thumbnails .thumb_caption_ctime,
.thumbnails .thumb_caption_mtime {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    padding: 6px 16px;
    text-align: center;
    font-family: var(--rw-font-ui);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--rw-texte);
    background: var(--rw-fond);
    border-radius: 2px;
}


.thumbnails .image {
    display: block;
    margin: 10px auto -3px;
    height: auto;
    opacity: 1;
    filter: grayscale(0%);
    transition: all ease-out 0.35s, filter ease-out 0.35s;
}

.thumbnails:hover .image {
    opacity: 0.9;
    filter: grayscale(100%);
}

/* ------- Cadre qui se resserre vers le centre au survol ------- */
.thumbnails a {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.thumbnails a::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid var(--rw-accent-light);
    opacity: 0;
    transition: all ease-out 0.35s;
    pointer-events: none;
}

.thumbnails a:hover::after {
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    opacity: 1;
}

/* ------- Bordure dégradé bleu autour de la vignette (photo seule) -------
   Portée par le lien <a> et non par l'image : au survol, l'image passe en
   noir et blanc mais la bordure garde ses couleurs. */
.thumbnails a:has(> img.image) {
    padding: 4px;                 /* épaisseur de la bordure */
    margin: 10px 0 0;
    line-height: 0;
    background: linear-gradient(135deg, var(--rw-dark) 0%, var(--rw-accent) 50%, var(--rw-accent-light) 100%);
}

.thumbnails a:has(> img.image) .image { margin: 0; }


.albums .image {
    margin-bottom: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    /* plus de contrainte de taille : l'image s'affiche à sa taille réelle */
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    transition: all ease-out 0.3s;
}

.tableb_alternate .image {
    margin-bottom: 0;
    float: left;
    padding: 0;
    border: none;
    background: none;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    transition: all ease-out 0.3s;
}

.imageborder { margin: 0; }

.thumb_caption_rating { display: none; }

.thumbnails {
    text-align: center;
    border: none;
    border-bottom: 1px solid var(--rw-border-light);
    position: relative;
    margin-top: 5px;
    padding: 10px;
    background: transparent;
    transition: all 0.3s ease-in-out;
}

.filmstrip_background .thumbnails {
    text-align: center;
    width: 160px;
    background: rgba(26, 26, 26, 0.15);
    position: relative;
    margin-top: 5px;
    padding-bottom: 12px;
    transition: all 0.3s ease-in-out;
}


/* ------- tamanho do midia (page image seule) ---- */
.display_media {
    background: transparent;
    border: none;
    text-align: center;
    padding: 0;
}

.display_media .image {
    display: inline-block;
    max-width: 100%;      /* la photo ne dépasse jamais du bloc */
    height: auto;
    margin: 10px auto;
    padding: 0;
    border: none;
    background: none;
    transition: opacity ease-out 0.3s;
}


/* ------- statistiques ---- */
.tableh1 .statlink {
    padding: 0;
    font-family: var(--rw-font-ui);
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0;
    color: #ffffff;
}

.tableh1 .statlink a {
    text-decoration: none;
    font-size: 10px;
    margin-bottom: 1px;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-block;
    font-family: var(--rw-font-ui);
    font-weight: 600;
}

.tableh1 .statlink a:hover { color: var(--rw-accent-light); }
.tableh1 b, .tableh1 strong,
.tableh1 .statlink b, .tableh1 .statlink strong { color: var(--rw-accent-light); }


.user_thumb_infobox { margin: 1px 0; }
.user_thumb_infobox th { font-weight: bold; font-size: 100%; margin: 1px 0; text-align: center; }
.user_thumb_infobox td { font-size: 85%; margin: 1px 0; text-align: center; }
.user_thumb_infobox a { text-decoration: none; color: var(--rw-dark); }
.user_thumb_infobox a:hover { color: var(--rw-accent); text-decoration: none; }

.sortorder_cell { display: none; }
.sortorder_options { display: none; }


/* ------- navigation d'images ---- */
.navmenu {
    background: var(--rw-fond);
    font-weight: 400;
    font-family: var(--rw-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--rw-texte);
    letter-spacing: 1px;
    padding: 10px;
}

.navmenu a {
    font-weight: 500;
    font-family: var(--rw-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--rw-accent);
    letter-spacing: 1px;
    padding: 0 5px;
}

.navmenu a:hover { color: var(--rw-dark); }
.navmenu a img,
.navmenu a img:hover { border: 0; padding: 0; filter: brightness(0); }


/* ------- commentaires ---- */
.comment_date { color: var(--rw-border-light); font-size: 90%; vertical-align: middle; }


/* ------- image table (EXIF/infos) ---- */
.img_caption_table {
    border: none;
    border-radius: 4px;
    background: var(--rw-fond-sombre);
    width: 100%;
    margin: 0;
}

.img_caption_table th {
    background: var(--rw-fond-sombre);
    border-radius: 4px;
    font-size: 100%;
    color: var(--rw-dark);
    padding: 4px 10px;
}

.img_caption_table td {
    background: var(--rw-fond-sombre);
    padding: 6px 10px;
    border-radius: 4px;
    border-top: 1px solid var(--rw-fond);
    white-space: normal;
}

.debug_text {
    background: var(--rw-fond-sombre);
    padding: 6px;
    border-radius: 4px;
    width: 100%;
    margin: 0;
}

.clickable_option { cursor: default; }

.listbox_lang {
    color: var(--rw-texte);
    background: var(--rw-fond-sombre);
    font-size: 80%;
    font-family: var(--rw-font-ui);
    vertical-align: middle;
}


/* ------- formulaires ---- */
.textinput {
    font-family: var(--rw-font-ui);
    font-size: 100%;
    margin-top: 10px;
    background: var(--rw-fond);
    border: 1px solid var(--rw-accent);
    padding: 0 5px;
}

.listbox {
    font-family: var(--rw-font-ui);
    font-size: 100%;
    border: 1px solid var(--rw-dark);
    vertical-align: middle;
}

.button {
    font-family: var(--rw-font-ui);
    font-size: 100%;
    border: 1px solid var(--rw-accent);
    background: var(--rw-accent);
    color: var(--rw-fond);
    padding: 6px 14px;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.button:hover { background: var(--rw-dark); border-color: var(--rw-dark); }

.comment_button {
    font-family: var(--rw-font-ui);
    font-size: 100%;
    border: 1px solid var(--rw-accent);
    padding: 0 3px;
}

.radio, .checkbox {
    font-family: var(--rw-font-ui);
    font-size: 100%;
    vertical-align: middle;
}


/* ------- admin menu ---- */
.admin_menu { display: inline-block; width: auto; }
.admin_menu_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    background: var(--rw-dark);
    padding: 15px 20px;
    margin-bottom: 10px;
}
.admin_menu_wrapper a {
    color: var(--rw-fond);
    background: none;
    border-radius: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--rw-font-ui);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    transition: color 0.3s ease-in-out;
}
.admin_menu_wrapper a:hover { color: var(--rw-accent); }
.admin_menu_wrapper img { display: none; }


/* ==========================================================
   FOOTER — rachelwood
   Dégradé bleu clair -> bleu foncé, 3 colonnes :
   titre + mentions | image centrale | Friends
   ========================================================== */
#footer-bandeau {
    width: 100%;
    margin-top: 20px;
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rw-accent-light) 0%, var(--rw-accent) 50%, var(--rw-dark) 100%);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr auto 1fr;
    align-items: center;
    gap: 40px;
    width: 92%;               /* même largeur que #conteudo */
    max-width: 1600px;
    margin: 0 auto;
    padding: 36px 0;
}

/* colonne gauche : titre + mentions légales */
.footer-title {
    font-family: 'Anton', 'Impact', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}
.footer-title em { font-style: italic; color: #ffffff; }

.footer-legal {
    margin: 16px 0 0;
    font-family: var(--rw-font-ui);
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.footer-legal a { color: #ffffff; text-decoration: underline; }
.footer-legal a:hover { color: var(--rw-fond); }

/* colonne centrale : image (PNG transparent) */
.footer-image img {
    display: block;
    height: 200px;
    width: auto;
}

/* colonne droite : Friends */
.footer-friends { justify-self: end; }

.footer-friends-title {
    margin: 0 0 14px;
    font-family: var(--rw-font-ui);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(3, 90px);
    gap: 12px;
}

.friend-card {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-family: var(--rw-font-ui);
    font-weight: 600;
    font-size: 28px;
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.friend-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.friend-card:hover { background: rgba(255, 255, 255, 0.25); border-color: #ffffff; color: #ffffff; }


/* ------- footer natif Coppermine ("Powered by...") ------- */
.footer {
    font-family: var(--rw-font-ui);
    font-size: 10px;
    color: var(--rw-texte);
}
.footer a { color: var(--rw-accent); }
.footer a:hover { color: var(--rw-dark); }


/* ------- responsive fallback (desktop-first, 1050px fixe comme l'original) ---- */
@media screen and (max-width: 1080px) {
    #conteudo, .maintable, #main { width: 100%; }
    .footer-inner { grid-template-columns: 1fr; justify-items: center; width: 100%; padding: 28px 20px; }
    .footer-about { text-align: center; }
    .footer-friends { justify-self: center; }
    .footer-friends-title { text-align: center; }
}
