/*
Theme Name: Houle
Theme URI: https://www.aquagliss.fr/
Description: Thème d'Aquagliss : marine profond et turquoise du logo, cadres en forme de planche, vagues en séparateurs.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: houle
License: GNU General Public License v2 or later
*/

@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("polices/lexend.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("polices/nunito-sans.woff2") format("woff2"); }

:root {
	--hou-marine: #07265C;
	--hou-marine-2: #0C3577;
	--hou-aqua: #0FB5BA;
	--hou-aqua-clair: #6EDDE0;
	--hou-aqua-texte: #00727A;
	--hou-blanc: #FFFFFF;
	--hou-pale: #EEF6F9;
	--hou-pale-2: #E1EFF4;
	--hou-encre: #0E1E36;
	--hou-texte: #26374D;
	--hou-gris: #5A6B7F;
	--hou-trait: #D5E3EA;
	--hou-titre: "Lexend", "Trebuchet MS", Arial, sans-serif;
	--hou-lecture: "Nunito Sans", "Segoe UI", Tahoma, sans-serif;
	--hou-haut: 72px;
	--hou-rayon: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hou-site { margin: 0; background: var(--hou-blanc); color: var(--hou-texte); font-family: var(--hou-lecture); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hou-aqua-texte); }
h1, h2, h3, h4 { font-family: var(--hou-titre); color: var(--hou-encre); line-height: 1.15; margin: 0; font-weight: 650; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--hou-aqua); outline-offset: 3px; border-radius: 6px; }
.hou-invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hou-evitement { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--hou-aqua); color: var(--hou-marine); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.hou-evitement:focus { top: 8px; }
.hou-cadre { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.hou-cadre--moyen { max-width: 1120px; }
.hou-cadre--etroit { max-width: 880px; }
.hou-principal { display: block; min-height: 60vh; }

/* ---- en-tête collant ---- */
.hou-haut { position: sticky; top: 0; z-index: 100; background: var(--hou-marine); color: #fff; box-shadow: 0 2px 14px rgba(7, 38, 92, .25); }
.hou-haut__barre { display: flex; align-items: center; gap: 32px; height: var(--hou-haut); }
.hou-logo { display: block; flex: none; }
.hou-logo img { height: 38px; width: auto; }
.hou-menu { flex: 1; }
.hou-menu ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hou-menu a { display: block; padding: 8px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--hou-titre); font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s; }
.hou-menu a:hover { background: rgba(255, 255, 255, .12); }
.hou-menu a[aria-current="page"] { background: var(--hou-aqua); color: var(--hou-marine); font-weight: 650; }
.hou-loupe, .hou-tiroir { position: relative; }
.hou-loupe summary, .hou-tiroir summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.hou-loupe summary::-webkit-details-marker, .hou-tiroir summary::-webkit-details-marker { display: none; }
.hou-loupe summary:hover, .hou-tiroir summary:hover { background: rgba(255, 255, 255, .12); }
.hou-loupe__tiroir { position: absolute; right: 0; top: calc(100% + 14px); width: min(420px, 92vw); background: #fff; padding: 14px; border-radius: 18px; box-shadow: 0 18px 40px rgba(7, 38, 92, .28); }
.hou-tiroir { display: none; }
.hou-tiroir__trait { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; margin: 2.5px 0; }
.hou-tiroir__menu { position: fixed; left: 0; right: 0; top: var(--hou-haut); background: var(--hou-marine-2); padding: 18px 20px 26px; max-height: calc(100vh - var(--hou-haut)); overflow: auto; }
.hou-tiroir__menu ul { list-style: none; margin: 0 0 18px; padding: 0; }
.hou-tiroir__menu a { display: block; padding: 14px 6px; color: #fff; text-decoration: none; font-family: var(--hou-titre); font-weight: 500; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hou-tiroir__menu a[aria-current="page"] { color: var(--hou-aqua-clair); }

.hou-recherche { display: flex; align-items: center; background: var(--hou-pale); border: 1px solid var(--hou-trait); border-radius: 999px; padding: 4px 4px 4px 18px; max-width: 520px; }
.hou-recherche input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--hou-encre); padding: 10px 0; outline: none; }
.hou-recherche button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--hou-aqua); color: var(--hou-marine); cursor: pointer; display: grid; place-items: center; }
.hou-recherche:focus-within { border-color: var(--hou-aqua); box-shadow: 0 0 0 3px rgba(15, 181, 186, .25); }

/* ---- éléments communs ---- */
.hou-etiquette { display: inline-block; align-self: flex-start; background: #E3EBF0; color: #3A4B5C; font-family: var(--hou-lecture); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; line-height: 1.4; text-decoration: none; }
.hou-etiquette--grande { font-size: 13px; padding: 6px 14px; }
a.hou-etiquette--lien:hover { background: #D3DEE6; }
.hou-bloc { position: relative; padding-block: 76px; }
.hou-bloc--blanc { background: var(--hou-blanc); }
.hou-bloc--pale { background: var(--hou-pale); }
.hou-bloc--marine { background: var(--hou-marine); color: #fff; padding-block: 100px; }
.hou-bloc--marine::before, .hou-bloc--marine::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; background: var(--hou-marine); -webkit-mask: var(--hou-vague) repeat-x center / 720px 36px; mask: var(--hou-vague) repeat-x center / 720px 36px; }
.hou-bloc--marine::before { bottom: calc(100% - 1px); }
.hou-bloc--marine::after { top: calc(100% - 1px); transform: scaleY(-1); }
.hou-site { --hou-vague: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C60 4 120 4 180 18s120 14 180 0 120-14 180 0 120 14 180 0V36z'/%3E%3C/svg%3E"); }

.hou-titre { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.hou-titre h2 { font-size: clamp(26px, 3vw, 36px); }
.hou-titre__sur { margin: 0 0 8px; font-family: var(--hou-titre); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hou-gris); }
.hou-trait { display: block; width: 74px; height: 12px; margin-top: 14px; background: var(--hou-aqua); -webkit-mask: var(--hou-trait-vague) no-repeat center / contain; mask: var(--hou-trait-vague) no-repeat center / contain; }
.hou-site { --hou-trait-vague: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 12'%3E%3Cpath d='M1 7c6-8 12-8 18 0s12 8 18 0 12-8 18 0 12 8 18 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hou-bloc--marine .hou-titre h2 { color: #fff; }
.hou-bloc--marine .hou-titre__sur { color: var(--hou-aqua-clair); }
.hou-titre__lien { font-family: var(--hou-titre); font-weight: 600; font-size: 15px; color: var(--hou-aqua-texte); text-decoration: none; white-space: nowrap; }
.hou-titre__lien:hover { text-decoration: underline; }
.hou-bloc--marine .hou-titre__lien { color: var(--hou-aqua-clair); }

.hou-bouton { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 15px 28px; border-radius: 999px; font-family: var(--hou-titre); font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s, background .2s; }
.hou-bouton--plein { background: var(--hou-aqua); color: var(--hou-marine); }
.hou-bouton--plein:hover { background: #12C9CF; transform: translateY(-2px); }
.hou-bouton--contour { border: 2px solid var(--hou-marine); color: var(--hou-marine); }
.hou-bouton--contour:hover { background: var(--hou-marine); color: #fff; }
.hou-boutons { display: flex; flex-wrap: nowrap; gap: 14px; }

/* ---- cartes ---- */
.hou-grille { display: grid; gap: 28px; }
.hou-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hou-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hou-carte { margin: 0; }
.hou-carte__lien { display: flex; flex-direction: column; gap: 14px; height: 100%; text-decoration: none; color: inherit; }
.hou-carte__cadre { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--hou-rayon); background: var(--hou-pale-2); }
.hou-carte__photo, .hou-vide { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hou-carte__lien:hover .hou-carte__photo { transform: scale(1.05); }
.hou-carte__corps { display: flex; flex-direction: column; gap: 8px; }
.hou-carte__titre { font-family: var(--hou-titre); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--hou-encre); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hou-carte__lien:hover .hou-carte__titre { color: var(--hou-aqua-texte); }
.hou-carte__date { font-size: 13px; color: var(--hou-gris); }
.hou-carte--grande .hou-carte__titre { font-size: 26px; -webkit-line-clamp: 4; }
.hou-carte--ligne .hou-carte__lien { flex-direction: row; align-items: center; gap: 18px; }
.hou-carte--ligne .hou-carte__cadre { flex: 0 0 40%; aspect-ratio: 4 / 3; }
.hou-carte--ligne .hou-carte__titre { font-size: 17px; }
.hou-carte--sombre .hou-carte__titre { color: #fff; }
.hou-carte--sombre .hou-carte__lien:hover .hou-carte__titre { color: var(--hou-aqua-clair); }
.hou-carte--sombre .hou-carte__date { color: #A9BEDA; }
.hou-carte--sombre .hou-etiquette { background: rgba(255, 255, 255, .14); color: #E8F1FB; }

/* ---- accueil : ouverture ---- */
.hou-ouverture { position: relative; background: var(--hou-pale); height: calc(100svh - var(--hou-haut) - 92px); min-height: 500px; max-height: 760px; overflow: hidden; }
.hou-ouverture::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 36px; background: #fff; -webkit-mask: var(--hou-vague) repeat-x center / 720px 36px; mask: var(--hou-vague) repeat-x center / 720px 36px; }
.hou-ouverture__grille { height: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 36px 52px; }
.hou-ouverture__texte { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hou-ouverture h1 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.02em; }
.hou-ouverture__chapeau { font-size: 19px; margin: 0; max-width: 560px; color: var(--hou-texte); }
.hou-ouverture__planches { height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; gap: 18px; }
/* cadrage franc : rectangles à angles droits, jamais d'arche (règle de Jordan) */
.hou-planche { overflow: hidden; background: var(--hou-pale-2); border-radius: 0; }
.hou-planche--haute { flex: 0 1 56%; height: 100%; }
.hou-planche--courte { flex: 0 1 40%; height: 70%; }
.hou-planche__photo { width: 100%; height: 100%; object-fit: cover; }

/* ---- accueil : blocs ---- */
.hou-rubriques__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hou-rub { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.hou-rub__cadre { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; background: var(--hou-pale-2); margin-bottom: 8px; }
.hou-rub__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hou-rub:hover .hou-rub__photo { transform: scale(1.05); }
.hou-rub__nom { font-family: var(--hou-titre); font-weight: 650; font-size: 22px; color: var(--hou-encre); }
.hou-rub:hover .hou-rub__nom { color: var(--hou-aqua-texte); }
.hou-rub__texte { font-size: 15px; color: var(--hou-gris); line-height: 1.5; }
.hou-rub__nombre { font-family: var(--hou-titre); font-size: 13px; font-weight: 600; color: var(--hou-aqua-texte); }
.hou-alaune__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hou-alaune__liste { display: flex; flex-direction: column; gap: 22px; }
.hou-mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hou-mosaique .hou-carte--grande { grid-column: span 2; grid-row: span 2; }
.hou-mosaique .hou-carte--grande .hou-carte__cadre { flex: 1; aspect-ratio: auto; min-height: 260px; }
.hou-chiffres { padding-block: 44px; }
.hou-chiffres__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hou-chiffres__liste li { background: #fff; border-radius: var(--hou-rayon); padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; }
.hou-chiffres__liste strong { font-family: var(--hou-titre); font-size: 38px; font-weight: 700; color: var(--hou-marine); line-height: 1.1; }
.hou-chiffres__liste span { font-size: 14px; color: var(--hou-gris); }
.hou-redaction__boite { display: flex; align-items: center; gap: 28px; max-width: 880px; }
.hou-redaction__boite h2 { font-size: 28px; margin-bottom: 8px; }
.hou-redaction__boite p { margin: 0 0 8px; }
.hou-redaction__pastille { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--hou-marine); color: var(--hou-aqua-clair); display: grid; place-items: center; font-family: var(--hou-titre); font-size: 32px; font-weight: 700; }
.hou-presentation__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hou-panneau { background: #fff; border-radius: 28px; padding: 40px; border: 1px solid var(--hou-trait); }
.hou-panneau h2, .hou-questions h2 { font-size: 28px; }
.hou-panneau p { margin: 16px 0 0; }
.hou-questions { padding: 12px 0; }
.hou-questions details { background: #fff; border: 1px solid var(--hou-trait); border-radius: 16px; margin-top: 12px; }
.hou-questions summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-family: var(--hou-titre); font-weight: 550; font-size: 16px; color: var(--hou-encre); position: relative; }
.hou-questions summary::-webkit-details-marker { display: none; }
.hou-questions summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--hou-aqua-texte); }
.hou-questions details[open] summary::after { content: "–"; }
.hou-questions details p { margin: 0; padding: 0 20px 18px; color: var(--hou-texte); }
.hou-questions h2 + .hou-trait { margin-bottom: 8px; }

/* ---- têtes de page ---- */
.hou-tete { background: var(--hou-pale); padding-block: 40px 52px; }
.hou-tete h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; margin-top: 8px; }
.hou-tete__chapeau { font-size: 19px; max-width: 720px; margin: 16px 0 0; }
.hou-tete__nombre { margin: 18px 0 0; font-family: var(--hou-titre); font-weight: 600; font-size: 14px; color: var(--hou-gris); }
.hou-pastilles { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hou-pastilles a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--hou-trait); color: var(--hou-encre); text-decoration: none; font-family: var(--hou-titre); font-weight: 500; font-size: 14px; }
.hou-pastilles a:hover { border-color: var(--hou-aqua); }
.hou-pastilles a[aria-current="page"] { background: var(--hou-marine); color: #fff; border-color: var(--hou-marine); }
.hou-tete .hou-recherche { margin-top: 24px; background: #fff; }
.hou-fil ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--hou-gris); }
.hou-fil li + li::before { content: "/"; margin-right: 6px; color: #9AAABA; }
.hou-fil a { color: var(--hou-gris); text-decoration: none; }
.hou-fil a:hover { color: var(--hou-aqua-texte); text-decoration: underline; }
.hou-liste { padding-block: 56px 84px; }
.hou-vide-texte { text-align: center; color: var(--hou-gris); }
.hou-pages ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 48px 0 0; }
.hou-pages a, .hou-pages span { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 10px; border-radius: 999px; border: 1px solid var(--hou-trait); text-decoration: none; font-family: var(--hou-titre); font-weight: 600; color: var(--hou-encre); }
.hou-pages span { background: var(--hou-marine); color: #fff; border-color: var(--hou-marine); }
.hou-pages a:hover { border-color: var(--hou-aqua); }

/* ---- article ---- */
.hou-tete--article { padding-block: 36px 44px; }
.hou-tete--article h1 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 18px; }
.hou-tete--article .hou-etiquette { margin-top: 4px; }
.hou-reperes { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 20px 0 0; font-size: 14px; color: var(--hou-gris); }
.hou-reperes a { color: var(--hou-gris); }
.hou-article__photo { margin: -22px 0 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8.5; background: var(--hou-pale-2); box-shadow: 0 18px 44px rgba(7, 38, 92, .16); }
.hou-article__photo img { width: 100%; height: 100%; object-fit: cover; }
.hou-article__grille { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; max-width: 1120px; padding-block: 56px 36px; align-items: start; }
.hou-colonne { position: sticky; top: calc(var(--hou-haut) + 24px); align-self: start; display: flex; flex-direction: column; gap: 20px; max-height: calc(100vh - var(--hou-haut) - 48px); overflow: auto; }
.hou-sommaire { background: var(--hou-pale); border-radius: var(--hou-rayon); padding: 22px 22px 18px; }
.hou-sommaire__titre { margin: 0 0 12px; font-family: var(--hou-titre); font-weight: 650; font-size: 15px; color: var(--hou-encre); }
.hou-sommaire ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hou-sommaire li { counter-increment: s; padding: 7px 0 7px 26px; position: relative; font-size: 14px; line-height: 1.4; border-top: 1px solid var(--hou-trait); }
.hou-sommaire li:first-child { border-top: 0; }
.hou-sommaire li::before { content: counter(s); position: absolute; left: 0; top: 7px; font-family: var(--hou-titre); font-weight: 650; font-size: 12px; color: var(--hou-aqua-texte); }
.hou-sommaire a { color: var(--hou-texte); text-decoration: none; }
.hou-sommaire a:hover { color: var(--hou-aqua-texte); }
.hou-colonne__rub { display: flex; flex-direction: column; gap: 2px; background: var(--hou-marine); color: #fff; padding: 18px 22px; border-radius: var(--hou-rayon); text-decoration: none; }
.hou-colonne__rub span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--hou-aqua-clair); }
.hou-colonne__rub strong { font-family: var(--hou-titre); font-weight: 600; font-size: 18px; }
.hou-colonne__rub:hover strong { text-decoration: underline; }
.hou-corps { font-size: 18px; line-height: 1.78; max-width: 760px; min-width: 0; overflow-wrap: break-word; }
.hou-corps--page { margin-inline: auto; }
.hou-corps > *:first-child { margin-top: 0; }
.hou-corps h2 { font-size: clamp(24px, 2.6vw, 31px); margin: 2.1em 0 .6em; scroll-margin-top: calc(var(--hou-haut) + 24px); }
.hou-corps h3 { font-size: 22px; margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--hou-haut) + 24px); }
.hou-corps p, .hou-corps ul, .hou-corps ol { margin: 0 0 1.2em; }
.hou-corps ul, .hou-corps ol { padding-left: 1.3em; }
.hou-corps li { margin-bottom: .4em; }
.hou-corps a { text-underline-offset: 3px; }
.hou-corps img { border-radius: 16px; margin-block: 1.2em; }
.hou-corps blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--hou-aqua); font-size: 20px; color: var(--hou-encre); }
.hou-corps table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; margin-bottom: 1.4em; }
.hou-corps th, .hou-corps td { padding: 10px 14px; border: 1px solid var(--hou-trait); text-align: left; }
.hou-corps th { background: var(--hou-pale); font-family: var(--hou-titre); font-weight: 600; }
/* encadré d'ouverture des articles (style en ligne d'origine) repris aux couleurs du site */
.hou-corps > div[style*="border-left"] { background: var(--hou-pale) !important; border-left: 5px solid var(--hou-aqua) !important; border-radius: 0 var(--hou-rayon) var(--hou-rayon) 0 !important; padding: 22px 26px !important; margin: 0 0 32px !important; }
.hou-corps > div[style*="border-left"] p { font-size: 16px !important; line-height: 1.7 !important; }
/* encadré « A lire » d'Intelly Related Posts (gris et noir d'origine) repris aux couleurs du site ; lien et texte inchangés */
.hou-corps a:has(> div > .ctaText) { background: var(--hou-pale) !important; border: 0 !important; border-left: 4px solid var(--hou-aqua) !important; border-radius: 0 12px 12px 0 !important; }
.hou-corps a:has(> div > .ctaText) .ctaText { color: var(--hou-gris) !important; }
.hou-corps a:has(> div > .ctaText) .postTitle { color: var(--hou-aqua-texte) !important; }
.hou-signature { display: flex; align-items: center; gap: 18px; padding: 24px 0 64px; border-top: 1px solid var(--hou-trait); margin-top: 24px; }
.hou-signature .hou-redaction__pastille { width: 52px; height: 52px; font-size: 22px; }
.hou-signature p { margin: 0; }
/* modules d'extensions masqués : le thème a son propre sommaire et sa propre signature */
#ez-toc-container, .ez-toc-v2_0_80, .saboxplugin-wrap, .rp4wp-related-posts, .intelly-related-posts { display: none !important; }

/* ---- pied ---- */
.hou-pied { position: relative; background: var(--hou-marine); color: #D5E2F3; margin-top: 0; padding-top: 72px; }
.hou-pied__vague { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 36px; background: var(--hou-marine); -webkit-mask: var(--hou-vague) repeat-x center / 720px 36px; mask: var(--hou-vague) repeat-x center / 720px 36px; }
.hou-pied__haut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 56px; padding-bottom: 48px; }
.hou-pied__marque { display: flex; flex-direction: column; gap: 18px; }
.hou-pied__marque .hou-logo img { height: 40px; }
.hou-pied__marque p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 340px; }
.hou-pied .hou-recherche { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.hou-pied .hou-recherche input { color: #fff; }
.hou-pied .hou-recherche input::placeholder { color: #A9BEDA; }
.hou-pied__colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hou-pied__col h2 { font-size: 16px; margin-bottom: 14px; }
.hou-pied__col h2 a { color: #fff; text-decoration: none; }
.hou-pied__col h2 a:hover { color: var(--hou-aqua-clair); }
.hou-pied__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hou-pied__col li a { color: #B9CCE4; text-decoration: none; font-size: 14px; line-height: 1.4; }
.hou-pied__col li a:hover { color: #fff; text-decoration: underline; }
.hou-pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.hou-pied__bas p { margin: 0; }
.hou-pied__bas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hou-pied__bas a { color: #D5E2F3; text-decoration: none; }
.hou-pied__bas a:hover { text-decoration: underline; color: #fff; }

/* ---- adaptation ---- */
@media (max-width: 1120px) {
	.hou-haut__barre { gap: 16px; }
	.hou-menu a { padding: 8px 10px; font-size: 14px; }
	.hou-rubriques__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hou-chiffres__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	:root { --hou-haut: 64px; }
	.hou-menu { display: none; }
	.hou-haut__barre { justify-content: space-between; }
	.hou-loupe { display: none; }
	.hou-tiroir { display: block; }
	.hou-logo img { height: 34px; }
	.hou-ouverture { height: auto; max-height: none; }
	.hou-ouverture__grille { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 56px; }
	.hou-ouverture__planches { height: 300px; justify-content: flex-start; }
	.hou-alaune__grille, .hou-presentation__grille { grid-template-columns: minmax(0, 1fr); }
	.hou-grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hou-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hou-mosaique .hou-carte--grande { grid-column: span 2; grid-row: auto; }
	.hou-mosaique .hou-carte--grande .hou-carte__cadre { aspect-ratio: 16 / 9; flex: none; }
	.hou-article__grille { grid-template-columns: 1fr; gap: 28px; }
	.hou-colonne { position: static; max-height: none; overflow: visible; }
	.hou-pied__haut { grid-template-columns: 1fr; gap: 36px; }
	.hou-pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body.hou-site { font-size: 16px; }
	.hou-cadre { padding-inline: 18px; }
	.hou-bloc { padding-block: 52px; }
	.hou-bloc--marine { padding-block: 80px; }
	.hou-grille--3, .hou-grille--2, .hou-rubriques__grille, .hou-mosaique { grid-template-columns: minmax(0, 1fr); }
	.hou-mosaique .hou-carte--grande { grid-column: auto; }
	.hou-webcams .hou-carte:nth-child(n+5) { display: none; }
	.hou-carte--ligne .hou-carte__cadre { flex-basis: 38%; }
	.hou-boutons { gap: 10px; }
	.hou-bouton { padding: 13px 18px; font-size: 15px; }
	.hou-ouverture__planches { height: 240px; }
	.hou-chiffres__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hou-chiffres__liste li:first-child { grid-column: span 2; }
	.hou-redaction__boite { flex-direction: column; align-items: flex-start; }
	.hou-panneau { padding: 28px 22px; }
	.hou-corps { font-size: 17px; }
	.hou-article__photo { aspect-ratio: 4 / 3; border-radius: 20px; }
	.hou-pied__colonnes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Hero mobile (règle de Jordan, tous les sites) : surtitre, H1, chapô, image, puis boutons. */
@media (max-width: 960px) {
	.hou-ouverture__grille { gap: 18px; }
	.hou-ouverture__texte { display: contents; }
	.hou-ouverture .hou-etiquette { order: 1; justify-self: start; }
	.hou-ouverture h1 { order: 2; margin: 0; }
	.hou-ouverture__chapeau { order: 3; margin: 0; }
	.hou-ouverture__planches { order: 4; margin-block: 6px; }
	.hou-ouverture .hou-boutons { order: 5; }
}
