* {
    margin: 0;
    padding: 0;
}

body {
  margin:0;
  padding:0;
  background:#c0e8f0;
  color:#333;
  font-family:Arial, sans-serif;
}

/* BANNIÈRE – HEADER */
.site-header {
  aspect-ratio: 728 / 67;
  width:100%;
  height: auto;
  background:url('images/h1.jpg') center/cover no-repeat;
  margin:0 auto 20px;
}


.site-header a {
  display:block;
  width:100%;
  height:100%;
  text-decoration:none;
}

img.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto;
}



a img {
    border: 1px solid #ccc;
}

a {
    color: grey;
    text-decoration: none;
}
/* ALIGNEMENT DES DRAPEAUX À DROITE */
.flags {
    text-align: right;
    padding: 0 50px;
    margin-bottom: 10px;
}

/* LISTES */
.features-list {
  max-width:680px;
  margin:0 auto;
  text-align:left;
}

.features-list li {
  margin-bottom:8px;
}
 @media (max-width:600px){
  .flags { padding: 0 10px; }
}

/* MENU PRINCIPAL – STYLE HISTORIQUE */
.topmenu {
    display: flex;
    justify-content: flex-end; /* menu aligné à droite */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 35px 27px 0 0; /* espace à droite comme avant */
}





.topmenu li {
    margin: 0;
    padding: 0;
}

.topmenu li a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 105px;   /* largeur historique */
    height: 27px;   /* hauteur historique */

    background: url("https://www.brithouse-sabotiere.com/images/roll.png") no-repeat 0 0;

    color: #002b5c;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.topmenu li a:hover {
    background-position: 0 -27px; /* effet rollover historique */
}

/* MENU MOBILE */
@media (max-width: 600px) {

    .topmenu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 10px 0;
        margin: 0;
        flex-wrap: wrap;
    }

    .topmenu li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .topmenu li a {
        background: none !important;
        color: #001a33;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
        padding: 4px 6px;
        display: inline-block;
        text-align: center;
    }

    .topmenu li a:hover {
        text-decoration: underline;
    }
}

.bluebox {
    border: 1px solid #ccc;
    clear: both;
    padding: 7px 17px 9px 8px;
    width: 90%;
    position: relative;
    margin-bottom: 18px;
   margin: 0 auto 18px;
}

/* TITRES */
h1 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #272757;
    margin: 20px 0 10px;
    text-align: center;
}

h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #272757;
    margin: 15px 0 10px;
    text-align: center;
}
/* SIGNATURE */
.signature {
  font-size:0.85em;
  color:#555;
  text-align:center;
  margin-top:30px;
  opacity:0.85;
}
/* GALERIE DE MINIATURES BASSES */
.photo-grid {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  margin:20px 0;
}

.photo-grid a {
  text-align:center;
  color:#272757;
  font-size:11px;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  height:160px; /* alignement parfait */
}
.fishing-images img {
  display:inline-block;
  margin:10px;
  max-width:none;
}
.photo-grid a img {
  width:102px;
  height:119px;
  border:1px solid #ccc;
}

.photo-grid span {
  display:block;
  padding-top:5px;
}

/* Centrer les images dans <picture> */
picture img {
    display: block;
    margin: 0 auto;
}
.image-centree {
    text-align: center;
}

.image-centree picture img {
    display: inline-block;
}

/* FOOTER */
footer, .footer1 {
    background: #c0e8f0;
    color: #272757;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
}

footer a, .footer1 a {
    color: #272757;
    text-decoration: none;
}

footer a:hover, .footer1 a:hover {
    text-decoration: underline;
}
.page {
  max-width:800px;
  margin:0 auto;
  background:white;
  padding:20px;
}
.block {
  background:#f8f8f8;
  padding:20px;
  margin:20px auto;
  max-width:728px;
  border:1px solid #ddd;
  text-align:center;
}


.caption {
  font-size: 14px;
  font-style: italic;
  color: #444;
  text-align: center;
  margin-top: 8px;
}

.tagline {
  font-size: 15px;
  font-weight: bold;
  color: #272757;
  margin: 5px 0 15px;
  text-align: center;
}


/* 4 PETITES IMAGES – grille */


.faire-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: center;
}

.faire-images img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* ALIGNEMENT DES IMAGES EN LIGNE */

.images-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.images-row a {
    display: block;
}

.images-row picture {
    display: block;
}

.images-row img {
    display: block;
    border: 1px solid #ccc;
}


