/* Socle commun : remise à zéro + composants fonctionnels (tiroir, recherche,
   commande, textes légaux, formulaires). Aucune direction artistique ici : tout
   passe par les variables ci-dessous, que chaque boutique redéfinit dans styles.css. */
:root {
  --fond: #ffffff; --fond-2: #f5f5f3; --texte: #1a1a1a; --texte-doux: #666666;
  --accent: #222222; --accent-texte: #ffffff; --bord: #e4e4e0; --rayon: 4px;
  --police-titre: Georgia, serif; --police-texte: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sans-defilement { overflow: hidden; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police-texte); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--police-titre); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--fond); padding: 10px 14px; }
.evitement:focus { left: 8px; top: 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.a-completer { background: #fff3a3; color: #5c4a00; padding: 0 4px; font-style: normal; border-radius: 2px; }
.anim [data-apparait] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.anim [data-apparait].vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }

/* Tiroir panier */
.voile { position: fixed; inset: 0; background: rgba(20, 20, 20, .4); opacity: 0; transition: opacity .25s; z-index: 60; }
.voile.ouvert { opacity: 1; }
.tiroir { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--fond); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s ease; }
.tiroir.ouvert { transform: none; }
.tiroir-entete { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bord); }
.tiroir-entete h2 { margin: 0; font-size: 1.15rem; }
.tiroir-fermer { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.tiroir-liste { flex: 1; overflow-y: auto; padding: 8px 20px; }
.tiroir-pied { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bord); }
.tiroir-ligne { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 6px; }
.tiroir-note { font-size: .85rem; color: var(--texte-doux); margin-bottom: 12px; }
.tiroir-commander, .bouton, .achat-bouton, .formulaire button[type="submit"], .formulaire [data-confirmer], [data-payer], .barre-achat button {
  display: block; width: 100%; text-align: center; text-decoration: none; background: var(--accent); color: var(--accent-texte);
  border: 0; border-radius: var(--rayon); padding: 15px 18px; font-weight: 600; min-height: 48px;
}
.bouton { display: inline-block; width: auto; }
.tiroir-voir { display: block; text-align: center; padding: 10px; font-size: .9rem; }
.ligne-panier { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.ligne-panier img { width: 72px; height: 96px; object-fit: cover; border-radius: var(--rayon); }
.ligne-corps { flex: 1; min-width: 0; }
.ligne-nom { display: block; text-decoration: none; font-weight: 600; }
.ligne-option { display: block; font-size: .85rem; color: var(--texte-doux); }
.ligne-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--bord); border-radius: var(--rayon); }
.quantite button { background: none; border: 0; width: 36px; height: 36px; font-size: 1.1rem; }
.quantite span { min-width: 24px; text-align: center; }
.ligne-retirer { background: none; border: 0; padding: 6px 0 0; font-size: .8rem; color: var(--texte-doux); text-decoration: underline; }
.panier-vide { text-align: center; padding: 40px 10px; }
div.page-panier, .ck, .merci { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.panier-total { max-width: 420px; margin: 20px 0 0 auto; }
.merci { max-width: 640px; text-align: center; padding-top: 64px; }

/* Barre d'achat collée */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--bord); transform: translateY(110%); transition: transform .2s; }
.barre-achat.visible { transform: none; }
.barre-achat-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .85rem; }
.barre-achat-texte span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat button { width: auto; padding: 12px 22px; min-height: 44px; }
@media (max-width: 899px) { .barre-achat { display: flex; } .page-produit { padding-bottom: 84px; } }

/* Bloc d'achat */
.achat-option { border: 0; padding: 0; margin: 0 0 14px; }
.achat-option legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.achat-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.achat-choix input { position: absolute; opacity: 0; width: 0; height: 0; }
.achat-choix span { display: block; min-width: 48px; min-height: 44px; padding: 10px 12px; text-align: center; border: 1px solid var(--bord); border-radius: var(--rayon); cursor: pointer; }
.achat-choix input:checked + span { background: var(--accent); color: var(--accent-texte); border-color: var(--accent); }
.achat-choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.achat-erreur { color: #a4262c; font-size: .9rem; margin: 0 0 10px; }
.fiche-infos { margin: 0; }
.fiche-infos > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--bord); }
.fiche-infos dt { color: var(--texte-doux); }
.fiche-infos dd { margin: 0; text-align: right; }
.bloc-conformite { font-size: .85rem; color: var(--texte-doux); }
.bloc-conformite p { margin-bottom: .5em; }
.avertissements { border: 1px solid #c98a00; background: #fff8e6; color: #5a4300; padding: 10px 12px; border-radius: var(--rayon); font-size: .9rem; margin: 12px 0; }
.avertissements p { margin: 0; font-weight: 600; }
.avertissements p + p { margin-top: 6px; }

/* Bas de pied de page */
.pied-legal { font-size: .82rem; }
.pied-legal p { margin: 0 0 8px; }
.grille-vide { padding: 28px 0; }
.logos-paiement { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.logos-paiement svg { width: 42px; height: 26px; }
.lien-retractation { font-weight: 600; text-decoration: underline; }

/* Recherche */
.recherche { position: fixed; inset: 0; z-index: 80; background: var(--fond); padding: 16px; overflow-y: auto; }
.recherche-barre { display: flex; gap: 8px; max-width: 720px; margin: 0 auto 16px; align-items: center; }
.recherche-barre input { flex: 1; min-width: 0; padding: 12px 14px; font-size: 1.05rem; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--fond); }
.recherche-barre button { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.recherche-resultats { max-width: 720px; margin: 0 auto; }
.recherche-resultat { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bord); text-decoration: none; }
.recherche-resultat img { width: 60px; height: 80px; object-fit: cover; border-radius: var(--rayon); }
.recherche-resultat span { flex: 1; min-width: 0; }

/* Textes légaux */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 16px 72px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal a { text-decoration: underline; }
.legal-intro { font-size: 1.1rem; color: var(--texte-doux); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--bord); }
.legal .tableau { overflow-x: auto; }
.legal-mise-a-jour { font-size: .85rem; color: var(--texte-doux); margin-top: 2.5em; }
.encadre { border: 1px solid var(--bord); background: var(--fond-2); padding: 16px 18px; border-radius: var(--rayon); margin: 1em 0; font-size: .95rem; }
.faq details { border-bottom: 1px solid var(--bord); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details div { padding-top: 10px; }

/* Formulaires */
.formulaire label, .ck-form label { display: block; margin-bottom: 14px; font-size: .92rem; font-weight: 600; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select,
.ck-form input:not([type="checkbox"]), .ck-form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font-weight: 400; font-size: 16px; background: var(--fond); border: 1px solid var(--bord); border-radius: var(--rayon);
}
.bouton-secondaire { width: auto !important; margin-top: 8px; background: none !important; color: var(--texte) !important; border: 1px solid var(--bord) !important; }
.form-message { font-size: .92rem; margin: 10px 0 0; min-height: 1.2em; }
.form-message.ok { color: #1c6b3c; }
.form-message.erreur { color: #a4262c; }
.contact-grille { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grille { grid-template-columns: 1fr 1.3fr; } }
.newsletter-note { font-size: .78rem; margin: 8px 0 0; color: var(--texte-doux); }

/* Commande */
.ck h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ck h2 { font-size: 1.1rem; }
.ck-grille { display: grid; gap: 28px; grid-template-columns: 1fr; }
.ck-resume { order: -1; background: var(--fond-2); padding: 16px; border-radius: var(--rayon); align-self: start; }
@media (min-width: 900px) { .ck-grille { grid-template-columns: 1.3fr 1fr; } .ck-resume { order: 0; position: sticky; top: 20px; } }
.ck-form section { margin-bottom: 26px; }
.ck-duo { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.ck-ligne { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.ck-ligne img { width: 56px; height: 74px; object-fit: cover; border-radius: var(--rayon); }
.ck-ligne div { flex: 1; min-width: 0; }
.ck-ligne span, .ck-ligne small { display: block; }
.ck-ligne small { color: var(--texte-doux); }
.ck-totaux { border-top: 1px solid var(--bord); margin-top: 8px; padding-top: 10px; }
.ck-totaux > div { display: flex; justify-content: space-between; padding: 3px 0; }
.ck-total { font-size: 1.15rem; font-weight: 600; margin-top: 6px; }
.ck-securite, .ck-note { font-size: .85rem; color: var(--texte-doux); margin: 10px 0; }
.ck-indisponible { padding: 14px; background: var(--fond-2); border-radius: var(--rayon); }
.ck-form .ck-cgv { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ck-cgv input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
[data-payer]:disabled { opacity: .72; cursor: not-allowed; }

/* Consentement */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 480px; margin: 0 auto; background: var(--fond); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 14px 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); font-size: .9rem; }
.consent p { margin-bottom: 10px; }
.consent div { display: flex; gap: 8px; }
.consent button { flex: 1; padding: 10px; border: 1px solid var(--texte); background: var(--fond); border-radius: var(--rayon); }

@font-face{font-family:"Josefin Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/josefin-sans-600.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-serif-4-400.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/source-serif-4-400i.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-serif-4-600.woff2) format("woff2")}

/* ==========================================================================
   Brisamer : le bulletin météo marine.
   Blanc, écume, marine, une touche de rouge pavillon. Angles droits partout :
   un pavillon n'a pas de coins arrondis. Mobile d'abord (390 px).
   ========================================================================== */
:root {
  --fond: #fdfdfb; --fond-2: #eaf1f4; --texte: #12355b; --texte-doux: #46607c;
  --accent: #12355b; --accent-texte: #fdfdfb; --bord: #c5d4de; --rayon: 0px;
  --police-titre: "Josefin Sans", "Trebuchet MS", sans-serif;
  --police-texte: "Source Serif 4", Georgia, serif;
  --marine: #12355b; --ecume: #eaf1f4; --rouge: #c8322b;
  --marge: 16px; --trait: 1.5px solid var(--marine);
  /* la bande rayée marinière, reprise sur tout ce qui s'ouvre */
  --ruban: repeating-linear-gradient(to bottom, var(--marine) 0 2px, var(--fond) 2px 4px);
}

body { font-size: 17px; line-height: 1.55; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: .02em; text-wrap: balance; }
h2, h3 { text-transform: uppercase; letter-spacing: .08em; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }
a { text-underline-offset: 3px; }
strong, b { font-weight: 600; }
ol { margin: 0; padding: 0; list-style: none; }

.surtitre {
  font-family: var(--police-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; color: var(--rouge); margin: 0 0 .7em;
}

/* Boutons : marine, souligné d'un trait rouge comme un liston */
.bouton, .achat-bouton, .tiroir-commander, .formulaire button[type="submit"], .formulaire [data-confirmer], [data-payer], .barre-achat button {
  font-family: var(--police-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .86rem;
  border-radius: 0; border-bottom: 4px solid var(--rouge); padding: 17px 20px 12px; min-height: 52px; transition: background-color .2s;
}
.bouton:hover, .achat-bouton:hover, .tiroir-commander:hover, .formulaire button[type="submit"]:hover, .barre-achat button:hover { background: #0c2743; }
.bouton-clair { background: none; color: var(--marine); border: var(--trait); border-bottom: 4px solid var(--rouge); }
.bouton-clair:hover { background: var(--ecume); }
.bouton-secondaire { border-radius: 0; }

/* ------------------------------------------------------------------ entête */
.quai {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; min-height: 68px;
  padding: 10px 6px 0 var(--marge); background: var(--fond); border-bottom: 1px solid var(--bord);
}
.quai::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ruban); }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.logo span, .pied-logo span {
  font-family: var(--police-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .3em; font-size: 1rem; padding-top: .28em;
}
.voile-logo { width: 28px; height: 28px; color: var(--marine); flex: none; }
.quai-nav { display: none; }
.quai-outils { margin-left: auto; display: flex; align-items: center; }
.quai-bouton { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; }
.quai-bouton svg { width: 24px; height: 24px; }
.quai-panier-mot { display: none; }
.pastille {
  position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; padding: 3px 4px 0; text-align: center;
  background: var(--rouge); color: #fff; font: 600 .7rem/15px var(--police-titre);
}
.quai-leger { justify-content: space-between; padding-right: var(--marge); position: relative; }
.quai-retour { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; padding-top: 4px; }

/* Menu : il arrive par la droite, en pavillons */
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(360px, 88vw); display: flex; flex-direction: column;
  background: var(--fond); overflow-y: auto; transform: translateX(100%); transition: transform .26s ease; padding: 10px 0 24px;
}
.menu.ouvert { transform: none; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ruban); }
.menu-tete { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px var(--marge); }
.menu-fermer { width: 44px; height: 44px; background: none; border: 0; font-size: 2rem; line-height: 1; padding: 0; }
.menu-tout, .menu-pavillons a { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.menu-tout { display: block; padding: 17px var(--marge) 13px; background: var(--marine); color: var(--fond); font-size: .92rem; border-bottom: 4px solid var(--rouge); }
.menu-pavillons { position: relative; margin: 8px 0 0; }
.menu-pavillons::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: var(--marine); }
.menu-pavillons a { position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 var(--marge) 0 23px; font-size: .9rem; }
.menu-pavillons .pavillon { width: 54px; height: 36px; flex: none; }
.menu-pavillons span { padding-top: .25em; }
.menu-secondaire { margin-top: 14px; padding: 8px var(--marge) 0; border-top: 1px solid var(--bord); }
.menu-secondaire a { display: block; padding: 10px 0; text-decoration: none; }
.menu-note { margin: auto var(--marge) 0; padding-top: 16px; font-size: .86rem; color: var(--texte-doux); }
.voile { background: rgba(18, 53, 91, .45); }

/* ------------------------------------------- premier écran, sur les rayures */
.une { position: relative; overflow: hidden; }
.une-rayures, .mariniere-rayures { position: absolute; inset: 0; overflow: hidden; }
.une-rayures::before {
  content: ""; position: absolute; left: 0; right: 0; top: -36px; bottom: -36px;
  background: repeating-linear-gradient(to bottom, var(--marine) 0 6px, var(--fond) 6px 18px);
  animation: glisse-une 11s linear infinite; will-change: transform;
}
@keyframes glisse-une { to { transform: translateY(18px); } }
.une-photo { position: relative; margin: 18px 0 0 36px; }
.une-photo img { width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; object-position: 50% 55%; }
.une-photo figcaption { position: absolute; left: 0; top: 0; }
.une-photo figcaption a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 2px 12px; background: var(--fond); text-decoration: none; font-size: .86rem;
}
.une-texte { position: relative; margin: -42px 36px 0 0; padding: 18px 16px 20px var(--marge); background: var(--fond); }
.une-texte h1 { font-size: clamp(1.65rem, 8.6vw, 2.6rem); line-height: 1.1; margin-bottom: .45em; }
.une-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.une-lien { font-size: .95rem; min-height: 44px; display: inline-flex; align-items: center; }
.une-promesses { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 10px; font-size: .88rem; color: var(--texte-doux); }
.une-promesses li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 14px; background: var(--rouge); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ------------------------------------------------------ le bulletin du jour */
.bulletin { max-width: 1200px; margin: 0 auto; padding: 44px var(--marge) 48px; scroll-margin-top: 72px; }
.bulletin-entete h2 { font-size: 1.6rem; margin-bottom: .35em; }
.bulletin-entete p { color: var(--texte-doux); margin-bottom: 18px; }
.bulletin-onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--trait); }
.bulletin-onglets button {
  min-height: 56px; padding: 8px 4px 4px; background: none; border: 0; font-family: var(--police-titre); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .78rem; line-height: 1.2; transition: background-color .2s, color .2s;
}
.bulletin-onglets button + button { border-left: var(--trait); }
.bulletin-onglets [aria-selected="true"] { background: var(--marine); color: var(--fond); box-shadow: inset 0 -4px 0 var(--rouge); }
.bulletin-panneau { border: var(--trait); border-top: 0; padding: 8px 14px 16px; }
.releve { margin: 0 0 18px; }
.releve > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0 8px; border-bottom: 1px dotted var(--marine); }
.releve dt, .bulletin-releve h3 { font-family: var(--police-titre); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.releve dt { flex: none; }
.releve dd { margin: 0; text-align: right; font-size: 1rem; line-height: 1.3; text-wrap: balance; }
.releve-force { align-items: center !important; }
.echelle {
  position: relative; display: block; width: 168px; height: 14px; border: 1px solid var(--marine);
  background: linear-gradient(90deg, var(--marine) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%;
}
.echelle i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--force) / 12 * 100%); background: var(--rouge); }
.bulletin-releve h3 { margin: 20px 0 6px; }
.tenue-pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tenue-pieces a { display: block; text-decoration: none; }
.tenue-pieces img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 8px; }
.tenue-pieces span { display: block; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; line-height: 1.25; min-height: 2.5em; }
.tenue-pieces strong { font-weight: 400; font-size: .95rem; }
.tenue-conseil { margin: 0 0 14px; font-style: italic; font-size: 1.06rem; line-height: 1.4; }

/* ---------------------------------------------------------------- pavillons */
.mat { background: var(--ecume); padding: 44px var(--marge) 40px; }
.mat h2 { max-width: 1200px; margin: 0 auto 20px; font-size: 1.6rem; }
.mat-rangee { position: relative; max-width: 1200px; margin: 0 auto; }
.mat-rangee::before { content: ""; position: absolute; left: 0; top: -8px; bottom: -8px; width: 3px; background: var(--marine); }
.mat-rangee a {
  display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 10px 0 10px 3px; text-decoration: none; min-height: 72px;
}
.mat-rangee .pavillon { grid-row: span 2; width: 78px; height: 52px; transform-origin: left center; transition: transform .35s ease; }
.mat-rangee a:hover .pavillon { transform: skewY(-3deg); }
.mat-nom { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .94rem; line-height: 1.2; }
.mat-code { font-size: .9rem; line-height: 1.3; color: var(--texte-doux); }
.mat-code b { color: var(--marine); }
.mat-rangee li:nth-child(2) { transition-delay: .06s; }
.mat-rangee li:nth-child(3) { transition-delay: .12s; }
.mat-rangee li:nth-child(4) { transition-delay: .18s; }
.mat-rangee li:nth-child(5) { transition-delay: .24s; }

/* ---------------------------------------------------------------- marinière */
.mariniere { position: relative; overflow: hidden; padding: 36px 0 28px; }
.mariniere-rayures::before {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; bottom: -60px;
  background: repeating-linear-gradient(to bottom, var(--marine) 0 10px, var(--fond) 10px 30px);
  animation: glisse-mariniere 14s linear infinite; will-change: transform;
}
@keyframes glisse-mariniere { to { transform: translateY(30px); } }
.mariniere-corps { position: relative; max-width: 1200px; margin: 0 auto; }
.mariniere-entete { background: var(--fond); padding: 20px var(--marge) 16px; margin-right: 36px; }
.mariniere-entete h2 { font-size: 1.6rem; margin-bottom: .35em; }
.mariniere-entete p { margin: 0; }
.mariniere-liste { display: flex; gap: 12px; margin-top: 16px; padding: 0 var(--marge) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mariniere-liste::-webkit-scrollbar { display: none; }
.mariniere-liste li { flex: 0 0 76%; scroll-snap-align: center; background: var(--fond); padding: 10px 10px 14px; }
.mariniere-liste a { display: block; text-decoration: none; }
.mariniere-liste img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mariniere-liste h3 { font-size: .9rem; margin: .8em 0 .15em; }
.comme-porter { margin: 10px 0 0; padding-top: 10px; border-top: 1px dotted var(--marine); font-size: .96rem; line-height: 1.4; }
.comme-porter span { display: block; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; margin-bottom: 4px; }

/* -------------------------------------------------------- journal de bord */
.journal { max-width: 900px; margin: 0 auto; padding: 44px var(--marge) 56px; }
.journal h2 { font-size: 1.6rem; margin-bottom: 16px; }
.journal-lignes { border-top: var(--trait); background: linear-gradient(90deg, transparent 124px, var(--rouge) 124px 125px, transparent 125px); }
.journal-lignes li { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: baseline; border-bottom: 1px solid var(--bord); padding: 12px 0 9px; }
.journal-lignes span { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding-right: 8px; }
.journal-lignes p { margin: 0; padding-left: 14px; line-height: 1.35; }

/* ---------------------------------------------------------- cartes produit */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
.carte-lien { display: block; text-decoration: none; }
.carte-photo { position: relative; overflow: hidden; background: var(--ecume); }
.carte-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.carte-pavillon { position: absolute; left: 8px; top: 8px; width: 30px; height: 20px; }
.carte-rayure {
  height: 9px; background: linear-gradient(90deg, var(--marine) 50%, transparent 50%) 0 0 / 14px 100%; transition: background-position .8s ease;
}
.carte-lien:hover .carte-rayure, .carte-lien:focus-visible .carte-rayure { background-position: 21px 0; }
.carte h3 { font-size: .84rem; line-height: 1.25; margin: .85em 0 .2em; }
.carte-prix { font-size: 1.02rem; margin: 0; }

/* -------------------------------------------------- boutique et collections */
.rayon { max-width: 1240px; margin: 0 auto; padding: 20px var(--marge) 56px; }
.rayon h1 { font-size: clamp(1.9rem, 8vw, 3.2rem); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3em; }
.rayon-entete { margin-bottom: 18px; }
.rayon-pavillon { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.rayon-grand { width: 96px; height: 64px; flex: none; }
.rayon-titres { flex: 1 1 240px; min-width: 0; }
.rayon-accroche { font-size: 1.1rem; margin-bottom: .4em; }
.rayon-signal { font-style: italic; color: var(--texte-doux); font-size: .95rem; margin: 0; }
.drisse { display: flex; gap: 2px; margin: 12px calc(var(--marge) * -1) 0; padding: 0 var(--marge) 6px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--marine), var(--marine)) 0 0 / 100% 1.5px no-repeat; }
.drisse::-webkit-scrollbar { display: none; }
.drisse li { flex: 0 0 auto; }
.drisse a { display: block; width: 84px; padding: 8px 8px 0 0; text-decoration: none; }
.drisse .pavillon { width: 42px; height: 28px; }
.drisse span { display: block; margin-top: 7px; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; line-height: 1.2; }
.drisse [aria-current="page"] span { color: var(--rouge); }
.reglages { margin: 0 0 20px; }
.reglages-filtres { display: flex; gap: 12px; margin: 0 calc(var(--marge) * -1) 10px; padding: 0 var(--marge) 2px; overflow-x: auto; scrollbar-width: none; }
.reglages-filtres::-webkit-scrollbar { display: none; }
.filtres { display: flex; flex: none; gap: 6px; }
.filtre {
  flex: none; white-space: nowrap; min-height: 44px; padding: 6px 10px 2px; background: var(--fond); border: 1px solid var(--marine); font-family: var(--police-titre); text-transform: uppercase;
  letter-spacing: .08em; font-size: .72rem; transition: background-color .15s, color .15s;
}
.filtre.actif { background: var(--marine); color: var(--fond); box-shadow: inset 0 -3px 0 var(--rouge); }
.reglages-tri { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compte { margin: 0; font-size: .95rem; color: var(--texte-doux); }
.tri select { min-height: 44px; padding: 8px 30px 8px 10px; font-size: 16px; color: var(--marine); background: var(--fond); border: 1px solid var(--marine); border-radius: 0; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--marine) 50%), linear-gradient(135deg, var(--marine) 50%, transparent 50%); background-size: 6px 6px; background-position: right 15px center, right 9px center; background-repeat: no-repeat; }
.grille-vide { border: var(--trait); padding: 22px 16px; margin-top: 8px; }
.grille-vide p { max-width: 46ch; }
.rayon-autres { margin-top: 40px; }
.grille-encart { order: 1; grid-column: span 2; position: relative; display: flex; align-items: flex-end; min-height: 280px; padding: 18px 36px 18px 0;
  background: repeating-linear-gradient(to bottom, var(--marine) 0 8px, var(--fond) 8px 24px); }
.grille-encart-corps { background: var(--fond); padding: 18px 20px 20px 0; }
.grille-encart-corps p { max-width: 34ch; margin-bottom: .6em; }
.encart-titre { font-family: var(--police-titre); font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.grille:not(:has(.carte:not([hidden]))) .grille-encart { display: none; }

/* ------------------------------------------------------------ fiche produit */
.fiche { max-width: 1240px; margin: 0 auto; padding-top: 14px; }
.fiche-galerie { display: flex; gap: 8px; padding: 0 var(--marge); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fiche-galerie::-webkit-scrollbar { display: none; }
.fiche-galerie figure { margin: 0; flex: 0 0 82%; scroll-snap-align: center; }
.fiche-galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.fiche-repere { margin: 6px var(--marge) 0; font-size: .86rem; color: var(--texte-doux); background: linear-gradient(90deg, var(--marine) 50%, transparent 50%) 0 100% / 14px 5px repeat-x; padding-bottom: 12px; }
.fiche-infos-col { padding: 14px var(--marge) 0; }
.fiche-pavillon { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.fiche-pavillon .pavillon { width: 36px; height: 24px; }
.fiche-pavillon span { padding-top: .25em; }
.fiche-infos-col h1 { font-size: clamp(1.6rem, 7vw, 2.5rem); text-transform: uppercase; letter-spacing: .05em; margin: .1em 0 .2em; }
.fiche-prix { font-size: 1.45rem; margin-bottom: .3em; }
.fiche-prix small { font-size: .85rem; color: var(--texte-doux); }
.fiche-resume { font-style: italic; font-size: 1.06rem; }
.achat-option legend { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.achat-choix { gap: 6px; }
.achat-choix span { min-width: 54px; padding: 13px 10px 8px; border-color: var(--marine); font-family: var(--police-titre); font-size: .92rem; line-height: 1.2; transition: background-color .15s; }
.achat-choix input:checked + span { box-shadow: inset 0 -3px 0 var(--rouge); }
.achat-erreur { color: var(--rouge); }
.achat-guide { margin: -10px 0 6px; font-size: .92rem; }
.achat-guide a { display: inline-flex; align-items: center; min-height: 44px; }
.fiche-promesses { margin: 16px 0 18px; }
.fiche-promesses li { position: relative; padding: 4px 0 4px 18px; font-size: .96rem; }
.fiche-promesses li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 9px; background: var(--rouge); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fiche-resume { margin-top: 4px; }
.fiche-texte { max-width: 60ch; }
.fiche-bord { margin: 10px 0 16px; border: var(--trait); }
.fiche-bord h2 { margin: 0; padding: 13px 14px 8px; background: var(--marine); color: var(--fond); font-size: .84rem; letter-spacing: .14em; box-shadow: inset 0 -3px 0 var(--rouge); }
.bord-tableau { margin: 0; }
.bord-tableau > div { display: flex; align-items: baseline; gap: 12px; padding: 9px 14px 7px; }
.bord-tableau > div + div { border-top: 1px solid var(--bord); }
.bord-tableau dt, .fiche-plus dt { flex: 0 0 38%; color: var(--marine); font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.bord-tableau dd { flex: 1; margin: 0; line-height: 1.32; }
.fiche-plus { margin: 18px 0 8px; }
.fiche-plus .fiche-infos { border-top: 1px dotted var(--marine); }
.fiche-plus .fiche-infos > div { align-items: baseline; border-bottom-style: dotted; border-bottom-color: var(--marine); }
.fiche-plus dd { flex: 1; text-align: left; }
/* La matière figure déjà dans la fiche de bord : pas deux fois. Référence et couleur sont toujours présentes, la matière est donc la 3e ligne. */
.fiche-plus .fiche-infos > div:nth-child(3) { display: none; }
.fiche-details { margin-bottom: 14px; }
.fiche-details li { position: relative; padding: 2px 0 2px 18px; }
.fiche-details li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 2px; background: var(--marine); }
.fiche-conformite summary, .faq summary { cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.fiche-conformite summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.fiche-conformite summary::after, .faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font: 600 1.3rem/1 var(--police-titre); }
.fiche-conformite[open] summary::after, .faq details[open] summary::after { content: "\2212"; }
.fiche-conformite { border-bottom: 1px solid var(--bord); margin-bottom: 8px; }
.fiche-conformite summary { min-height: 44px; display: flex; align-items: center; font-size: .92rem; }
.bloc-conformite { padding-bottom: 8px; }
.a-bord { max-width: 1240px; margin: 0 auto; padding: 36px var(--marge) 28px; }
.a-bord-tete { padding-top: 16px; margin-bottom: 14px; background: var(--ruban) 0 0 / 100% 6px no-repeat; }
.a-bord h2 { font-size: 1.3rem; margin-bottom: .3em; }
.a-bord-tete p { margin: 0; color: var(--texte-doux); }
.grille-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
.grille-trois .carte h3 { font-size: .72rem; letter-spacing: .05em; }
.grille-trois .carte-pavillon { width: 24px; height: 16px; left: 5px; top: 5px; }
.barre-achat { border-top: 0; padding-top: 16px; }
.barre-achat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ruban); }
.barre-achat-texte span { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; }
.barre-achat-texte strong { font-weight: 400; font-size: 1.02rem; }
.barre-achat button { padding: 15px 20px 10px; min-height: 48px; }

/* ------------------------------------------------------------- pied de page */
.pied { margin-top: 24px; background: linear-gradient(to bottom, transparent 34px, var(--ecume) 34px); }
.page-produit .pied { margin-top: 0; }
@media (max-width: 899px) { .page-produit { padding-bottom: 0; } .page-produit .pied-fond { padding-bottom: 100px; } }
.horizon { display: block; }
.pied-fond { background: var(--ecume); padding: 12px var(--marge) calc(22px + env(safe-area-inset-bottom)); }
.pied-haut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; max-width: 1200px; margin: 0 auto; }
.pied-marque { grid-column: 1 / -1; }
.pied-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pied-phrase { margin-bottom: 18px; }
.pied-titre-lettre, .pied-colonne h2 { font-size: .74rem; letter-spacing: .14em; margin-bottom: 8px; }
.pied-colonne li a { display: flex; align-items: center; min-height: 44px; line-height: 1.25; text-decoration: none; font-size: .96rem; }
.pied-colonne li a:hover { text-decoration: underline; }
.pied-colonne:last-child { grid-column: 1 / -1; }
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 440px; }
.newsletter input[type="email"] { min-width: 0; min-height: 50px; padding: 10px 12px; font-size: 16px; background: var(--fond); border: var(--trait); border-right: 0; border-radius: 0; }
.newsletter button { padding: 6px 16px 2px; background: var(--marine); color: var(--fond); border: 0; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.newsletter .form-message, .newsletter-note { grid-column: 1 / -1; }
.newsletter .form-message:empty { display: none; }
.newsletter-note { color: var(--texte-doux); }
.pavois { max-width: 1200px; margin: 26px auto 0; }
.pavois-pavillons { display: flex; gap: 5px; padding-top: 6px; background: linear-gradient(var(--marine), var(--marine)) 0 0 / 100% 1.5px no-repeat; }
.pavois .pavillon { width: 36px; height: 24px; flex: 0 1 36px; min-width: 0; }
.pavois figcaption { margin-top: 7px; font-size: .84rem; font-style: italic; color: var(--texte-doux); }
.pied-legal { max-width: 1200px; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid var(--marine); }
.pied-legal-coord { line-height: 1.5; }
.pied-legal-copy { margin-bottom: 0; }
.lien-retractation { display: inline-flex; align-items: center; min-height: 44px; }
.pied-leger { margin-top: 0; }
.pied-liens-legers { display: flex; flex-wrap: wrap; gap: 0 18px; max-width: 1200px; margin: 0 auto; font-size: .92rem; }
.pied-liens-legers a { display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------------- tiroir, panier, recherche : à bord */
.tiroir { padding-top: 10px; }
.tiroir::before, .recherche::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ruban); }
.tiroir-entete { padding: 8px 8px 8px 20px; border-bottom: var(--trait); }
.tiroir-entete h2 { font-size: .98rem; letter-spacing: .12em; padding-top: .25em; }
.tiroir-fermer { width: 44px; height: 44px; padding: 0; }
.ligne-nom { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .05em; font-size: .84rem; line-height: 1.25; }
.ligne-option { margin-top: 2px; }
.ligne-panier { border-bottom: 1px dotted var(--marine); }
.quantite { border-color: var(--marine); }
.quantite button { width: 44px; height: 44px; }
.ligne-bas strong { font-weight: 400; font-size: 1.04rem; }
.ligne-retirer { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.tiroir-liste { padding-bottom: 56px; background: no-repeat left bottom 9px / 100% 1.5px linear-gradient(var(--marine), var(--marine)), repeat-x left bottom / 56px 10px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='10'%3E%3Cpath d='M0 8q14-10 28 0t28 0' fill='none' stroke='%2312355b' stroke-width='1.4'/%3E%3C/svg%3E"); }
.tiroir-pied { background: var(--ecume); border-top: 0; }
.tiroir-ligne span { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.tiroir-ligne strong { font-weight: 600; font-size: 1.2rem; }
.tiroir-note { color: var(--texte-doux); }
.tiroir-voir { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.panier-vide { padding: 48px 10px; }
.panier-vide::before {
  content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 12px; background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2312355b' d='M9 3v21h18C24 15.5 17.5 8 9 3z'/%3E%3Cpath fill='%23c8322b' d='M4 26.5h24V29H4z'/%3E%3C/svg%3E");
}
.panier-vide a { display: inline-block; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .12em; font-size: .84rem; color: var(--fond); background: var(--marine); padding: 16px 20px 11px; border-bottom: 4px solid var(--rouge); text-decoration: none; }
div.page-panier { padding-top: 28px; max-width: 900px; }
.page-panier h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); text-transform: uppercase; letter-spacing: .05em; padding-top: 18px; background: var(--ruban) 0 0 / 100% 10px no-repeat; }
.panier-total { background: var(--ecume); padding: 16px; border-top: var(--trait); }
.recherche { padding-top: 26px; }
.recherche-barre input { border: var(--trait); border-radius: 0; font-size: 16px; min-height: 50px; }
.recherche-barre button { width: 44px; height: 44px; padding: 0; }
.recherche-resultat { border-bottom: 1px dotted var(--marine); min-height: 44px; }
.recherche-resultat span { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .05em; font-size: .86rem; }
.recherche-resultat strong { font-weight: 400; }

/* ---------------------------------------------------------------- commande */
.ck { counter-reset: etape; padding-top: 26px; }
.ck h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); text-transform: uppercase; letter-spacing: .05em; }
.ck h2 { font-size: .88rem; letter-spacing: .12em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ck-form section { padding: 14px 14px 4px; border: var(--trait); }
.ck-form section.ck-valider { padding: 0; border: 0; }
.ck-form section > h2::before {
  counter-increment: etape; content: counter(etape); flex: none; display: block; width: 36px; height: 28px; padding: 8px 0 0 7px; background: var(--marine); color: var(--fond); font-size: .88rem; line-height: 1; letter-spacing: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ck-resume { position: relative; background: var(--ecume); padding: 24px 16px 16px; }
.ck-resume::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ruban); }
.ck-ligne span { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; line-height: 1.25; }
.ck-totaux { border-top: 1px dotted var(--marine); }
.ck-total strong { font-weight: 600; }
.ck-indisponible { background: var(--ecume); border-left: 4px solid var(--marine); }
[data-payer] { font-size: .8rem; letter-spacing: .08em; line-height: 1.3; }
.formulaire label, .ck-form label { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.ck-form .ck-cgv { font-family: var(--police-texte); text-transform: none; letter-spacing: 0; font-size: .95rem; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select, .ck-form input:not([type="checkbox"]), .ck-form select {
  font-family: var(--police-texte); text-transform: none; letter-spacing: 0; border-color: var(--marine); min-height: 48px;
}
.bouton-secondaire { padding: 14px 18px 10px; }
.merci { padding-top: 48px; }
.merci h1 { font-size: clamp(1.9rem, 8vw, 3rem); text-transform: uppercase; letter-spacing: .05em; }
.merci h1::before {
  content: ""; display: block; width: 84px; height: 56px; margin: 0 auto 16px; background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%2312355b' d='M0 0h60v40H0z'/%3E%3Cpath fill='%23fdfdfb' d='M0 8h60v24H0z'/%3E%3Cpath fill='%23c8322b' d='M0 16h60v8H0z'/%3E%3C/svg%3E");
}
.merci-note { color: var(--texte-doux); }

/* --------------------------------------- pages légales : avis aux navigateurs */
.legal { padding-top: 28px; }
.legal-entete { padding-top: 22px; margin-bottom: 8px; background: var(--ruban) 0 0 / 100% 10px no-repeat; }
.legal h1 { font-size: clamp(1.7rem, 7vw, 2.7rem); text-transform: uppercase; letter-spacing: .04em; line-height: 1.12; overflow-wrap: normal; hyphens: manual; }
.legal h2 { font-size: .96rem; letter-spacing: .1em; line-height: 1.3; margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--bord); }
.legal h2::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 9px; background: var(--rouge); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.legal h3 { font-size: .84rem; letter-spacing: .08em; }
.legal ul { list-style: none; padding-left: 0; }
.legal li { position: relative; padding-left: 18px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: var(--marine); }
.legal th { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; background: var(--marine); color: var(--fond); padding: 11px 10px 7px; }
.legal td { border-bottom: 1px solid var(--bord); }
.legal-intro { color: var(--texte); font-style: italic; }
.legal-mise-a-jour { border-top: 1px solid var(--bord); padding-top: 1em; }
.encadre { background: var(--ecume); border: 0; border-left: 4px solid var(--marine); }
.faq details { padding: 0; border-bottom: 1px dotted var(--marine); }
.faq summary { padding: 15px 30px 13px 0; line-height: 1.35; }
.faq details div { padding: 0 0 8px; }
.contact-infos h2, .formulaire h2 { font-size: .96rem; }
.contact-infos h2::before, .formulaire h2::before { display: none; }
.contact-infos h2, .formulaire h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-infos p strong { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }

/* ---------------------------------------------------------------- notre histoire */
.recit { max-width: 1100px; margin: 0 auto; padding: 28px var(--marge) 40px; }
.recit-entete { max-width: 720px; }
.recit-entete h1 { font-size: clamp(2.1rem, 9vw, 4rem); text-transform: uppercase; letter-spacing: .05em; }
.recit-chapo { font-size: 1.28rem; line-height: 1.35; font-style: italic; }
.recit-photo { margin: 22px calc(var(--marge) * -1) 28px; }
.recit-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.recit-corps section { padding: 14px 0; border-top: 1px dotted var(--marine); }
.recit-corps h2 { font-size: .8rem; letter-spacing: .14em; margin-bottom: .5em; }
.recit-corps p { margin: 0; }
.recit-fin { margin-top: 20px; border-top: var(--trait); padding-top: 4px; }
.recit-fin .drisse { background: none; margin-bottom: 18px; }

/* ------------------------------------------------------------- page perdue */
.perdu { max-width: 620px; margin: 0 auto; padding: 56px var(--marge) 56px; }
.perdu h1 { font-size: clamp(1.9rem, 8vw, 3rem); text-transform: uppercase; letter-spacing: .04em; }
.perdu-voile { width: 60px; height: 60px; margin-bottom: 18px; transform: rotate(-14deg); }

/* ------------------------------------------------------------- consentement */
.consent { border: var(--trait); box-shadow: none; }
.consent button { border-color: var(--marine); }

/* ======================================================================== 760 */
@media (min-width: 760px) {
  :root { --marge: 28px; }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 18px; }
  .carte h3 { font-size: .9rem; }
  .grille-trois .carte h3 { font-size: .84rem; }
  .grille-trois { gap: 20px 18px; }
  .grille-trois .carte-pavillon { width: 30px; height: 20px; left: 8px; top: 8px; }
  .reglages { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
  .reglages-filtres { flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .reglages-tri { flex: none; gap: 18px; }
  .drisse a { width: 128px; padding-right: 16px; }
  .drisse .pavillon { width: 60px; height: 40px; }
  .drisse span { font-size: .74rem; }
  .bulletin-onglets button { font-size: .9rem; }
  .bulletin-panneau { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; padding: 18px 24px 24px; }
  .bulletin-panneau[hidden] { display: none; }
  .releve { margin: 0; }
  .tenue-pieces { gap: 12px; }
  .tenue-pieces span { font-size: .78rem; min-height: 0; margin-bottom: 2px; }
  .mariniere-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .mariniere-entete { margin-left: var(--marge); }
  .pied-haut { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
  .pied-marque, .pied-colonne:last-child { grid-column: auto; }
  .pavois .pavillon { width: 48px; height: 32px; flex-basis: 48px; }
  .pavois-pavillons { gap: 8px; }
  .recit-corps section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .recit-corps p { max-width: 62ch; font-size: 1.08rem; }
  .recit-photo { margin-left: 0; margin-right: 0; }
  .journal-lignes { background: linear-gradient(90deg, transparent 180px, var(--rouge) 180px 181px, transparent 181px); }
  .journal-lignes li { grid-template-columns: 180px minmax(0, 1fr); }
  .journal-lignes span { font-size: .8rem; }
  .journal-lignes p { padding-left: 20px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .une-photo img { aspect-ratio: 4 / 3; object-position: 50% 20%; }
  .une-texte { margin-right: 120px; }
  .une-texte h1 { font-size: 3rem; }
}

/* ======================================================================== 900 */
@media (min-width: 900px) {
  .quai { padding-right: var(--marge); gap: 28px; min-height: 76px; }
  .logo span { font-size: 1.14rem; }
  .quai-nav { display: flex; gap: 8px; margin-left: auto; }
  .quai-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px 0; text-decoration: none; font-family: var(--police-titre); text-transform: uppercase;
    letter-spacing: .14em; font-size: .84rem; background: linear-gradient(90deg, var(--marine) 50%, transparent 50%) 0 100% / 10px 4px repeat-x;
    background-size: 10px 0; transition: background-size .2s;
  }
  .quai-nav a:hover { background-size: 10px 4px; }
  .quai-outils { margin-left: 0; gap: 4px; }
  .quai-menu { display: none; }
  .quai-panier { display: inline-flex; width: auto; gap: 8px; padding: 0 8px; }
  .quai-panier-mot { display: inline; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .84rem; padding-top: .3em; }
  .pastille { position: static; }

  .une { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; min-height: min(700px, calc(100vh - 86px)); padding: 44px 0; }
  .une-photo { grid-column: 2; grid-row: 1; width: min(540px, 100%); margin: 0 max(var(--marge), calc(50vw - 600px)) 0 auto; }
  .une-photo img { aspect-ratio: 1 / 1.14; object-position: 50% 30%; }
  .une-photo figcaption { left: auto; right: 0; top: auto; bottom: 0; }
  /* le bloc mord sur la photo : à -56 px, une fente de 4 px laissait passer les rayures en pointillé */
  .une-texte { grid-column: 1 / 2; grid-row: 1; z-index: 2; margin: 0 -84px 40px max(var(--marge), calc(50vw - 600px)); padding: 34px 40px 28px; }
  .une-texte h1 { font-size: clamp(2.9rem, 4.9vw, 4.05rem); }
  .une-actions { gap: 8px 24px; }

  .bulletin { padding-top: 64px; padding-bottom: 72px; }
  .bulletin-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
  .bulletin-entete h2, .mat h2, .journal h2, .mariniere-entete h2 { font-size: 2rem; }

  .mat { padding-top: 60px; padding-bottom: 60px; }
  .mat-rangee { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 16px; }
  .mat-rangee::before { left: -12px; right: -12px; top: 0; bottom: auto; width: auto; height: 3px; }
  .mat-rangee a { display: block; padding: 0; }
  .mat-rangee .pavillon { width: 132px; height: 88px; transform-origin: top center; margin-bottom: 14px; }
  .mat-nom, .mat-code { display: block; }
  .mat-nom { margin-bottom: 6px; }

  .mariniere { padding: 56px 0 48px; }
  .mariniere-entete { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: baseline; max-width: none; margin-right: var(--marge); padding: 26px 28px 20px; }
  .mariniere-liste { gap: 18px; padding: 0 var(--marge) 8px; }

  .fiche { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding: 28px var(--marge) 0; align-items: start; }
  .fiche-galerie { display: grid; gap: 12px; padding: 0; overflow: visible; }
  .fiche-repere { display: none; }
  .fiche-infos-col { position: sticky; top: 92px; padding: 0 0 24px; }
  .ck { padding-top: 34px; }
  .ck-form section { padding: 18px 20px 8px; }
  .ck-resume { position: sticky; top: 96px; padding: 28px 20px 20px; }
  .ck-form section.ck-valider { padding: 0; }
}

/* ======================================================================= 1100 */
@media (min-width: 1100px) {
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
  .grille-par-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .a-bord { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 22px; padding-top: 48px; }
  .a-bord-tete { margin: 0; }
  .a-bord h2 { font-size: 1.5rem; }
  .grille-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .rayon-grand { width: 132px; height: 88px; }
  .rayon-pavillon { gap: 24px; }
}

@media (hover: hover) {
  .carte-photo img { transition: transform .7s ease; }
  .carte-lien:hover .carte-photo img { transform: scale(1.03); }
  /* le survol ne touche jamais l'état choisi : sinon le texte clair disparaît sur l'écume */
  .achat-choix label:hover input:not(:checked) + span { background: var(--ecume); }
  .filtre:not(.actif):hover { background: var(--ecume); }
  .bulletin-onglets [aria-selected="false"]:hover { background: var(--ecume); }
}
