@charset "utf-8";
/* ==========================================================================
   Hironbec — feuille de style unique
   Palette héritée du site historique : marine, vert, crème, rouge.
   ========================================================================== */

:root {
  --marine:      #000080;
  --marine-clair:#2b3a8f;
  --vert:        #006b1f;
  --vert-vif:    #008000;
  --creme:       #fffbe6;
  --creme-fort:  #ffffcc;
  --rouge:       #cc0000;
  --encre:       #1a1a1a;
  --gris:        #5a5f6a;
  --trait:       #d8dce6;
  --fond:        #ffffff;
  --fond-doux:   #f6f7fa;

  --serif: Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --large: 1140px;
  --texte: 46rem;
  --r:     6px;
  --ombre: 0 1px 2px rgba(16,24,64,.06), 0 6px 18px rgba(16,24,64,.07);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: var(--vert); }
a:hover, a:focus-visible { color: var(--marine); }

:focus-visible {
  outline: 3px solid var(--marine);
  outline-offset: 2px;
  border-radius: 2px;
}

.saut {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--marine); color: #fff; padding: .7em 1.2em;
  font-family: var(--sans); text-decoration: none;
}
.saut:focus { left: 0; }

.conteneur { width: min(100% - 2.5rem, var(--large)); margin-inline: auto; }

/* ==========================================================  En-tête  ====== */

.site-tete {
  position: sticky; top: 0; z-index: 40;
  background: var(--fond);
  border-bottom: 3px solid var(--marine);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.tete-grille {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .85rem 0;
}

.marque {
  display: flex; align-items: center; gap: .95rem;
  text-decoration: none; color: inherit; min-width: 0;
}
.marque img { width: 130px; height: auto; flex: none; }
.marque-txt {
  font-family: var(--sans); font-size: .8125rem; line-height: 1.45; color: var(--gris);
}
.marque-txt b { display: block; color: var(--marine); font-size: .9375rem; letter-spacing: .01em; }

.tete-actions { display: flex; align-items: center; gap: .9rem; flex: none; }
.tete-tel, .tete-lang {
  font-family: var(--sans); font-size: .875rem; font-weight: 600;
  text-decoration: none; color: var(--marine); white-space: nowrap;
}
.tete-tel::before { content: "\260E\FE0E"; margin-right: .35em; color: var(--vert); }
.tete-lang {
  border: 1px solid var(--trait); border-radius: var(--r); padding: .35em .7em; color: var(--gris);
}
.tete-lang:hover { border-color: var(--marine); color: var(--marine); }

.bascule {
  display: none; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--marine);
  background: none; border: 1px solid var(--trait); border-radius: var(--r);
  padding: .5em .8em; cursor: pointer;
}
.bascule-barres, .bascule-barres::before, .bascule-barres::after {
  display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s;
}
.bascule-barres { position: relative; }
.bascule-barres::before, .bascule-barres::after { content: ""; position: absolute; left: 0; }
.bascule-barres::before { top: -6px; }
.bascule-barres::after  { top: 6px; }
.bascule[aria-expanded="true"] .bascule-barres { background: transparent; }
.bascule[aria-expanded="true"] .bascule-barres::before { transform: translateY(6px) rotate(45deg); }
.bascule[aria-expanded="true"] .bascule-barres::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================  Menu  ========= */

.menu { background: var(--marine); }
.menu-liste {
  display: flex; flex-wrap: wrap; align-items: stretch;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--sans); font-size: .875rem;
}
.menu-liste > li { position: relative; }
.menu-liste > li > a {
  display: block; padding: .8em 1em;
  color: #e9ecff; text-decoration: none; font-weight: 500; white-space: nowrap;
}
.menu-liste > li > a:hover,
.menu-liste > li:focus-within > a { background: rgba(255,255,255,.14); color: #fff; }
.menu-liste > li.actif > a { background: var(--creme-fort); color: var(--marine); font-weight: 700; }

.sous-menu {
  position: absolute; left: 0; top: 100%; z-index: 30;
  min-width: 15rem; margin: 0; padding: .4rem 0; list-style: none;
  background: #fff; border: 1px solid var(--trait); border-top: 3px solid var(--vert-vif);
  border-radius: 0 0 var(--r) var(--r); box-shadow: var(--ombre);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.menu-liste > li:hover > .sous-menu,
.menu-liste > li:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a {
  display: block; padding: .5em 1.1em; color: var(--encre); text-decoration: none; font-size: .875rem;
}
.sous-menu a:hover, .sous-menu a:focus-visible { background: var(--creme-fort); color: var(--marine); }

@media (max-width: 60rem) {
  .bascule { display: inline-flex; }
  .marque-txt { display: none; }
  .tete-tel  { display: none; }
  .menu { display: none; }
  .menu.ouvert { display: block; }
  .menu-liste { display: block; padding: .5rem 0 1rem; }
  .menu-liste > li > a { padding: .75em 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .menu-liste > li.actif > a { background: none; color: var(--creme-fort); }
  .sous-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: .2rem 0 .6rem 1rem;
  }
  .sous-menu a { color: #c9cfff; padding: .35em 0; }
  .sous-menu a:hover { background: none; color: #fff; }
}

/* ==========================================================  Structure  ==== */

main { padding: 2rem 0 3.5rem; }

.fil {
  font-family: var(--sans); font-size: .8125rem; color: var(--gris);
  margin: 0 0 1.5rem;
}
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--marine); text-decoration: underline; }
.fil .sep { color: var(--trait); margin: 0 .1em; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--marine); line-height: 1.25; }
h1 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.3rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); margin: 2.4rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }

.suptitre {
  display: block; font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--vert);
  margin-bottom: .6rem;
}
.chapeau {
  font-size: 1.15rem; color: #3a4050; font-style: italic;
  max-width: var(--texte); margin: 0 0 2rem;
}

.prose { max-width: var(--texte); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--r); margin: 1.2rem 0; }
.prose h2 { border-bottom: 1px solid var(--trait); padding-bottom: .35rem; }
.prose blockquote {
  margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem;
  border-left: 4px solid var(--vert-vif); color: #3a4050; font-style: italic;
}

/* ==========================================================  Encadrés  ===== */

.avis {
  background: var(--creme-fort); border: 2px solid var(--marine); border-radius: var(--r);
  padding: 1.4rem 1.6rem; margin: 0 0 2.5rem;
}
.avis h2 { margin: 0 0 .7rem; color: var(--rouge); font-size: 1.25rem; }
.avis p { margin: 0 0 .8rem; }
.avis p:last-child { margin-bottom: 0; }
.avis-sig { font-family: var(--sans); font-size: .875rem; color: var(--marine); font-weight: 600; }
.avis-sig span { font-weight: 400; color: var(--gris); }

.note {
  background: var(--fond-doux); border-left: 4px solid var(--vert-vif);
  padding: 1rem 1.2rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.5rem 0;
}
.note-rouge { border-left-color: var(--rouge); background: #fff6f5; }

/* ==========================================================  Grilles  ====== */

.grille-produits {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(clamp(9rem, 22vw, 12.5rem), 1fr));
  margin: 1.5rem 0 0; padding: 0; list-style: none;
}

.vignette {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--r);
  overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.vignette:hover, .vignette:focus-visible {
  border-color: var(--vert-vif); box-shadow: var(--ombre); transform: translateY(-2px);
}
.v-img {
  display: flex; align-items: center; justify-content: center;
  background: var(--fond-doux); padding: 1rem; min-height: 11rem;
}
.v-img img { max-height: 13rem; width: auto; object-fit: contain; }
.v-txt { padding: .8rem 1rem 1rem; text-align: center; }
.v-no {
  display: block; font-family: var(--sans); font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; color: var(--gris);
}
.v-nom { display: block; color: var(--vert); font-weight: 700; }
.vignette:hover .v-nom { color: var(--marine); }

/* Grille de rubriques (accueil, index de documentation) */
.grille-cartes {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0 0; padding: 0; list-style: none;
}
.carte {
  display: block; height: 100%; padding: 1.3rem 1.4rem;
  background: #fff; border: 1px solid var(--trait); border-left: 5px solid var(--vert-vif);
  border-radius: var(--r); text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.carte:hover, .carte:focus-visible { box-shadow: var(--ombre); transform: translateY(-2px); }
.carte h2, .carte h3 { margin: 0 0 .4rem; font-size: 1.1rem; color: var(--marine); }
.carte p { margin: 0; font-size: .95rem; color: var(--gris); }

/* ==========================================================  Fiche produit  */

.fiche { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 52rem) { .fiche { grid-template-columns: 1fr; gap: 1.8rem; } }

.galerie-principale {
  background: var(--fond-doux); border: 1px solid var(--trait); border-radius: var(--r);
  padding: 1.2rem; text-align: center;
}
.galerie-principale img { max-height: 30rem; width: auto; }
.galerie-vignettes {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 0; padding: 0; list-style: none;
}
.galerie-vignettes img {
  width: 5rem; height: 5rem; object-fit: contain;
  background: var(--fond-doux); border: 1px solid var(--trait); border-radius: var(--r); padding: .3rem;
}

.fiche-no {
  display: inline-block; font-family: var(--sans); font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--marine); color: #fff; padding: .3em .8em; border-radius: 999px;
  margin-bottom: .7rem;
}
.fiche-mention {
  font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--rouge);
  margin: 0 0 1.2rem;
}

.specs { margin: 1.4rem 0; border-top: 1px solid var(--trait); }
.specs div {
  display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: .4rem 1rem;
  padding: .55rem 0; border-bottom: 1px solid var(--trait);
}
@media (max-width: 34rem) { .specs div { grid-template-columns: 1fr; gap: .1rem; } }
.specs dt { font-family: var(--sans); font-size: .8125rem; font-weight: 700; color: var(--vert); text-transform: uppercase; letter-spacing: .04em; }
.specs dd { margin: 0; }

.caracteristiques { margin: 1.2rem 0; padding: 0; list-style: none; }
.caracteristiques li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.caracteristiques li::before {
  content: "\2713"; position: absolute; left: 0; top: .3rem;
  color: var(--vert-vif); font-weight: 700;
}
.caracteristiques .en { display: block; color: var(--gris); font-size: .9375rem; }

/* ==========================================================  Tableaux  ===== */

.tableau-cadre { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
table.donnees {
  width: 100%; min-width: 34rem; border-collapse: collapse;
  font-family: var(--sans); font-size: .9375rem; background: #fff;
}
table.donnees caption {
  caption-side: top; text-align: left; font-size: .8125rem; color: var(--gris); padding-bottom: .5rem;
}
table.donnees th, table.donnees td {
  border: 1px solid var(--trait); padding: .6rem .8rem; text-align: left; vertical-align: top;
}
table.donnees thead th { background: var(--marine); color: #fff; font-weight: 600; }
table.donnees tbody tr:nth-child(even) { background: var(--creme); }
table.donnees .ref { font-weight: 700; color: var(--marine); white-space: nowrap; }
table.donnees .prix { white-space: nowrap; color: var(--vert); font-weight: 600; }

/* ==========================================================  Actions  ====== */

.cta {
  margin: 2.5rem 0 0; padding: 1.4rem 1.6rem;
  background: var(--creme-fort); border: 2px solid var(--marine); border-radius: var(--r);
}
.cta-note { margin: 0 0 1rem; font-size: .95rem; }
.cta-liens { margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.cta-tel { margin: 0; font-family: var(--sans); font-size: .95rem; font-weight: 600; }

.bouton {
  display: inline-block; font-family: var(--sans); font-size: .9375rem; font-weight: 600;
  padding: .65em 1.3em; border-radius: var(--r); text-decoration: none;
  background: var(--marine); color: #fff; border: 2px solid var(--marine);
  transition: background .15s, color .15s;
}
.bouton:hover, .bouton:focus-visible { background: var(--marine-clair); color: #fff; }
.bouton-clair { background: #fff; color: var(--marine); }
.bouton-clair:hover, .bouton-clair:focus-visible { background: var(--marine); color: #fff; }

/* ==========================================================  Accueil  ====== */

.heros {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  margin-bottom: 2.5rem;
}
@media (max-width: 52rem) { .heros { grid-template-columns: 1fr; } }
.heros-img { border-radius: var(--r); overflow: hidden; background: var(--fond-doux); }

.bande-rd {
  background: var(--marine); color: #eef1ff; border-radius: var(--r);
  padding: 1.6rem 1.8rem; margin: 2.5rem 0;
}
.bande-rd h2 { color: #fff; margin: 0 0 .5rem; }
.bande-rd p { margin: 0 0 1rem; color: #c9cfff; }
.bande-rd .bouton { background: var(--creme-fort); color: var(--marine); border-color: var(--creme-fort); }
.bande-rd .bouton:hover { background: #fff; border-color: #fff; }

/* ==========================================================  Pagination  === */

.pagination {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin: 2.5rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--trait);
  font-family: var(--sans); font-size: .875rem;
}
.pagination a, .pagination span {
  display: inline-block; padding: .4em .75em; border: 1px solid var(--trait);
  border-radius: var(--r); text-decoration: none; color: var(--marine); min-width: 2.4em; text-align: center;
}
.pagination a:hover { background: var(--creme-fort); border-color: var(--marine); }
.pagination .courant { background: var(--marine); border-color: var(--marine); color: #fff; font-weight: 700; }
.pagination .suivant, .pagination .precedent { font-weight: 600; }

/* ==========================================================  Pied  ========= */

.site-pied {
  margin-top: 4rem; padding: 2.5rem 0 1.5rem;
  background: var(--marine); color: #d7dcff;
  font-family: var(--sans); font-size: .9375rem;
}
.pied-grille { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.site-pied h2 { color: #fff; font-family: var(--sans); font-size: 1rem; margin: 0 0 .8rem; letter-spacing: .02em; }
.site-pied a { color: #d7dcff; text-decoration: none; }
.site-pied a:hover, .site-pied a:focus-visible { color: #fff; text-decoration: underline; }
.site-pied ul { list-style: none; margin: 0; padding: 0; }
.site-pied li { margin-bottom: .45rem; }
.site-pied address { font-style: normal; line-height: 1.8; }
.pied-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .8125rem; color: #aab2ee;
}
.pied-bas p { margin: 0; }

/* ==========================================================  Impression  === */

@media print {
  .site-tete, .site-pied, .cta, .fil, .saut, .pagination { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
  .conteneur { width: 100%; }
}

/* ==========================================================  Complements  == */

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.fiche-visuel { min-width: 0; }
.fiche-detail { min-width: 0; }
.fiche-detail h1 { margin-bottom: .3rem; }
.fiche-detail h2 { margin-top: 1.8rem; font-size: 1.15rem; }
.fiche-detail .chapeau { font-size: 1rem; margin-bottom: 1.2rem; }

.galerie-vignettes button {
  padding: 0; border: 0; background: none; cursor: pointer; line-height: 0;
  border-radius: var(--r);
}
.galerie-vignettes button[aria-current="true"] img { border-color: var(--vert-vif); border-width: 2px; }
.galerie-vignettes button:hover img { border-color: var(--marine); }

.en { font-weight: 400; color: var(--gris); font-size: .9em; }

.tarifs { margin-top: 3rem; }
.tarifs h2 { border-bottom: 1px solid var(--trait); padding-bottom: .35rem; }

/* Titre de section « suptitre » au-dessus d'un h1 */
h1 .suptitre { margin-bottom: .4rem; }
