/* Windruil — habillage « mer du Nord » par-dessus la feuille commune : photos, bleu nuit, jaune bouée, angles à peine arrondis. */

/* polices hébergées sur le site (RGPD : rien chargé depuis Google), sous-ensembles latin et latin-ext */
/* Archivo latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(polices/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(polices/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(polices/plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(polices/plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ink: #10202B;
	--ink-2: #4A5D66;
	--ligne: #D5DCDD;
	--doux: #EEF2F2;
	--lac: #10202B;
	--lac-clair: #DDE6E8;
	--acc: #F5C400;
	--acc-fonce: #E0B300;
	--mer: #0F6F7C;
	--ok: #1F6B43;
	--alerte: #A3271F;
	--rayon: 6px;
	--ombre: 0 10px 30px rgba(16, 32, 43, .14);
	--cadre: 1320px;
	--police: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	--sable: #F6F5F0;
	--brume: #C9D3CF;
}
body.mo { background: var(--sable); }
.mo h1, .mo h2 { font-stretch: 112%; letter-spacing: -.025em; }
.mo a { color: var(--ink); }
.mo a:hover { color: var(--mer); }

/* boutons : jaune bouée et bleu nuit */
.mo-btn { background: var(--acc); color: var(--ink) !important; border: 0; border-radius: var(--rayon); font-weight: 700; }
.mo-btn:hover { background: var(--acc-fonce); }
.mo-btn-2 { background: var(--ink); color: #fff !important; }
.mo-btn-2:hover { background: #24394A; }
.mo-btn-3, .mo-btn-clair { background: #fff; color: var(--ink) !important; border: 1px solid var(--ink); }
.mo-btn-danger { background: var(--alerte); color: #fff !important; border-color: var(--alerte); }

/* en-tête et pied */
.mo-entete { background: rgba(246, 245, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.mo-logo-svg { height: 30px; }
.mo-pied { background: var(--ink); color: var(--brume); margin-top: 0; }
.mo-pied a, .mo-pied .mo-langues a { color: var(--brume) !important; }
.mo-pied a:hover { color: #fff !important; }
.mo-pied .mo-langues a.actif { background: var(--acc); color: var(--ink) !important; border-color: var(--acc); }
.mo-pied-bas { border-top: 1px solid var(--ink-2); font-family: var(--mono); font-size: 13px; }

/* champs, cartes, encarts */
.mo-champ input, .mo-champ select, .mo-champ textarea, .mo-recherche input, .mo-recherche select { border: 1px solid #AEB9BC; background: #fff; }
.mo-carte { border: 1px solid var(--ligne); background: #fff; }
.mo-carte:hover { box-shadow: var(--ombre); }
.mo-encart { background: #fff; border: 1px solid var(--ligne); }
.mo-pastille-eco { background: var(--acc); color: var(--ink); }
.mo-hero { background: var(--ink); }

/* ------------------------------------------------ accueil Windruil */
.wr-cadre { max-width: var(--cadre); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wr-cadre { padding: 0 32px; } }
.wr-sur { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }

/* hero : photo pleine largeur, texte sur un fondu bleu nuit à gauche */
.wr-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.wr-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.wr-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16, 32, 43, .88) 0%, rgba(16, 32, 43, .62) 42%, rgba(16, 32, 43, .05) 75%); }
.wr-hero .wr-cadre { position: relative; z-index: 2; min-height: min(78vh, 640px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.wr-hero-texte { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.wr-hero .wr-sur { color: var(--acc); }
.mo .wr-hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: .98; margin: 0; font-weight: 800; color: #fff; }
.wr-chapo { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.45; color: #E4ECEE; }
.wr-recherche { display: flex; flex-wrap: wrap; max-width: 660px; background: #fff; border-radius: var(--rayon); overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.wr-recherche input { flex: 1 1 240px; min-width: 0; border: 0; padding: 17px 18px; font: 18px var(--police); color: var(--ink); background: transparent; }
.wr-recherche select { flex: 0 1 200px; border: 0; border-left: 1px solid var(--ligne); padding: 17px 12px; font: 16px var(--police); background: #fff; color: var(--ink); }
.wr-recherche button { border: 0; padding: 17px 26px; font: 700 18px var(--police); background: var(--acc); color: var(--ink); cursor: pointer; }
.wr-recherche button:hover { background: var(--acc-fonce); }
.wr-spots-rapides { margin: 0; font-size: 15px; color: #C9D6DA; }
.mo .wr-spots-rapides a { color: #fff; }
@media (max-width: 640px) {
	.wr-hero::before { background: linear-gradient(180deg, rgba(16, 32, 43, .05) 0%, rgba(16, 32, 43, .35) 25%, rgba(16, 32, 43, .9) 55%, rgba(16, 32, 43, .97) 100%); }
	.wr-hero-photo img { object-position: 50% 20%; }
	.wr-hero .wr-cadre { min-height: 0; padding-top: 200px; padding-bottom: 36px; }
	.wr-recherche select, .wr-recherche button { flex: 1 1 50%; border-top: 1px solid var(--ligne); }
	.wr-recherche select { border-left: 0; }
}

.wr-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.mo .wr-tete h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.wr-section { padding: 56px 0; }
.wr-section-claire { background: #fff; }

/* catégories : grandes vignettes photo, puis le reste en étiquettes */
.wr-cats-photo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .wr-cats-photo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wr-cats-photo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .wr-cats-photo a { aspect-ratio: 1; } .wr-cats-photo a:last-child { grid-column: span 2; aspect-ratio: 2 / 1; } .wr-cats-photo span { font-size: 15px; left: 12px; right: 6px; bottom: 10px; } }
@media (min-width: 561px) and (max-width: 1000px) { .wr-cats-photo a:nth-child(n+4) { aspect-ratio: 3 / 2; } .wr-cats-photo a:nth-child(4) { grid-column: span 2; aspect-ratio: auto; } }
.wr-cats-photo a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; text-decoration: none; background: var(--ink); }
.wr-cats-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.wr-cats-photo a:hover img { transform: scale(1.05); }
.wr-cats-photo a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 32, 43, 0) 50%, rgba(16, 32, 43, .85) 100%); }
.wr-cats-photo span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-size: 21px; hyphens: auto; font-weight: 800; font-stretch: 108%; line-height: 1.1; }
.wr-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.wr-cats a, .wr-spots a { text-decoration: none; padding: 10px 16px; border: 1px solid #AEB9BC; border-radius: 999px; font-weight: 600; background: #fff; color: var(--ink) !important; }
.wr-cats a:hover, .wr-spots a:hover { background: var(--acc); border-color: var(--acc); }

/* comment ça marche */
.wr-sombre { background: var(--ink); color: #fff; }
.mo .wr-sombre h2, .mo .wr-sombre h3 { color: #fff; }
.wr-etapes { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.wr-etapes li { background: rgba(255, 255, 255, .06); border-top: 4px solid var(--acc); border-radius: var(--rayon); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.wr-etapes .wr-num { font-family: var(--mono); color: var(--acc); }
.mo .wr-etapes h3 { margin: 0; font-size: 21px; }
.wr-etapes p { margin: 0; color: var(--brume); line-height: 1.5; }
.mo .wr-sombre a { color: #fff; }

.wr-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
@media (max-width: 560px) { .wr-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.wr-spots { display: flex; flex-wrap: wrap; gap: 10px; }
.wr-deux { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.wr-deux > div:first-child { flex: 1 1 320px; }
.wr-deux > div:last-child { flex: 2 1 480px; }

/* appel à vendre : jaune + photo */
.wr-jaune { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--acc); border-radius: var(--rayon); overflow: hidden; }
.wr-jaune-texte { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; }
.mo .wr-jaune h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1; }
.wr-jaune p { margin: 0; font-size: 19px; }
.wr-jaune .mo-btn { background: var(--ink); color: #fff !important; min-height: 54px; padding: 0 26px; font-size: 18px; display: inline-flex; align-items: center; }
.wr-jaune img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
@media (max-width: 760px) { .wr-jaune { grid-template-columns: 1fr; } .wr-jaune img { min-height: 0; aspect-ratio: 3 / 2; } }
