/*
Theme Name: Easy Courchevel
Theme URI: https://www.easycourchevel.com/
Description: Thème enfant de Hello Elementor pour easycourchevel.com, direction artistique « Première trace » (26/10/2026). Gabarits en PHP (accueil, rubrique, article, page), mêmes rôles de jetons que hotelpondicherry.com et easybordeaux.com, préfixe ec-.
Author: Low Cost Web Agency
Template: hello-elementor
Version: 1.0.0
Text Domain: easycourchevel
*/

/* ------------------------------------------------------------------ jetons */
:root {
	--ec-ink: #172130;
	--ec-muted: #5a6878;
	--ec-line: #e2e8ef;
	--ec-snow: #f3f6f9;
	--ec-white: #ffffff;
	--ec-accent: #b3261e;
	--ec-accent-d: #8e1e18;
	--ec-night: #13243a;
	--ec-night-2: #2a4361;
	--ec-gold: #8a6a35;          /* mélèze foncé : notes lisibles sur blanc (4,9:1) */
	--ec-glow: #f2c9b8;
	--ec-tint: #fbefed;
	--ec-display: "Fraunces", Georgia, "Times New Roman", serif;
	--ec-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
	--ec-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--ec-radius: 14px;
	--ec-wrap: 1180px;
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	background: var(--ec-white);
	color: var(--ec-ink);
	font-family: var(--ec-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--ec-accent); text-underline-offset: 2px; }
a:hover { color: var(--ec-accent-d); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ec-accent); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ec-night); font-family: var(--ec-display); font-weight: 400; line-height: 1.12; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.3rem; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.ec-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ec-night); color: #fff; padding: 8px 14px; border-radius: 8px; }
.ec-skip:focus { left: 12px; color: #fff; }

.ec-wrap { max-width: var(--ec-wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ec-alt { font-family: var(--ec-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ec-ey { font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--ec-accent); margin: 0 0 .4rem; }
.ec-btn { display: inline-flex; align-items: center; gap: .4em; padding: .78rem 1.35rem; border-radius: 999px; font-weight: 800; font-size: .92rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; cursor: pointer; }
.ec-btn--primary { background: var(--ec-accent); color: #fff; }
.ec-btn--primary:hover { background: var(--ec-accent-d); color: #fff; }
.ec-btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.ec-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.ec-btn--line { border-color: var(--ec-accent); color: var(--ec-accent); background: #fff; }
.ec-btn--line:hover { background: var(--ec-tint); }

/* ------------------------------------------------------------------ en-tête */
.ec-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--ec-line); }
.admin-bar .ec-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ec-header { top: 0; position: relative; } }
.ec-header .ec-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.ec-logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.ec-logo svg { display: block; height: 42px; width: auto; }
.ec-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.ec-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ec-ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.ec-nav a:hover, .ec-nav .current-menu-item:not(.menu-item-type-custom) > a,.ec-nav .current-menu-ancestor > a, .ec-nav .current-category-ancestor > a { color: var(--ec-accent); }
.ec-nav .sub-menu { display: none; }
.ec-tools { display: flex; align-items: center; gap: 8px; }
.ec-search-form { position: relative; }
.ec-search-form input[type="search"] { width: 190px; border: 1px solid var(--ec-line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .86rem; background: var(--ec-snow); color: var(--ec-ink); }
.ec-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ec-ink); }
@media (max-width: 1080px) {
	.ec-search-form { display: none; }
}
@media (max-width: 900px) {
	.ec-burger { display: inline-flex; }
	.ec-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ec-line); box-shadow: 0 18px 30px rgba(19,36,58,.12); display: none; }
	.ec-nav.is-open { display: block; }
	.ec-nav ul { flex-direction: column; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
	.ec-nav a { padding: 12px 6px; font-size: 1rem; border-bottom: 1px solid var(--ec-line); border-radius: 0; }
	.ec-nav .ec-nav-search { display: block; padding: 12px 6px; }
	.ec-nav .ec-nav-search input { width: 100%; }
}
.ec-nav-search { display: none; }

/* ------------------------------------------------------------------ héros (accueil) */
.ec-hero { position: relative; color: #fff; overflow: hidden; background: var(--ec-night); isolation: isolate; }
.ec-hero__img { position: absolute; inset: 0; z-index: -2; }
.ec-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.ec-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,36,58,.82) 0%, rgba(19,36,58,.62) 45%, rgba(19,36,58,.12) 80%), linear-gradient(180deg, rgba(19,36,58,.35) 0%, rgba(19,36,58,0) 40%, rgba(19,36,58,.45) 100%); }
@media (max-width: 720px) { .ec-hero::before { background: linear-gradient(180deg, rgba(19,36,58,.85) 0%, rgba(19,36,58,.7) 60%, rgba(19,36,58,.55) 100%); } }
.ec-hero .ec-wrap { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(88px, 11vw, 140px); }
.ec-hero__alt { font: 500 .8rem/1.2 var(--ec-mono); letter-spacing: .08em; color: var(--ec-glow); margin: 0 0 .8rem; }
.ec-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.02; max-width: 15ch; margin: 0 0 1rem; letter-spacing: -0.015em; }
.ec-hero h1 em { font-style: italic; color: var(--ec-glow); }
.ec-hero__lead { max-width: 54ch; color: #eef2f7; font-size: 1.1rem; margin: 0 0 1.5rem; }
.ec-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.5rem; }
.ec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ec-chips a { display: inline-flex; gap: 6px; align-items: baseline; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.34); color: #fff; font-size: .86rem; text-decoration: none; }
.ec-chips a:hover { background: rgba(255,255,255,.24); color: #fff; }
.ec-chips b { font: 500 .78rem var(--ec-mono); opacity: .85; }
.ec-hero__credit, .ec-cathead__credit { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: .68rem; color: rgba(255,255,255,.78); max-width: 60%; text-align: right; }
.ec-hero__credit a, .ec-cathead__credit a { color: inherit; }
.ec-trace { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; display: block; z-index: 0; }

/* tuiles */
.ec-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -54px; position: relative; z-index: 2; }
.ec-tile { background: #fff; border: 1px solid var(--ec-line); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 10px 30px rgba(19,36,58,.09); display: grid; gap: 4px; text-decoration: none; color: var(--ec-ink); transition: transform .18s, box-shadow .18s; }
.ec-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(19,36,58,.13); color: var(--ec-ink); }
.ec-tile svg { color: var(--ec-accent); }
.ec-tile h3 { font: 800 1.04rem/1.25 var(--ec-body); color: var(--ec-ink); margin: 2px 0 0; }
.ec-tile p { margin: 0; color: var(--ec-muted); font-size: .88rem; line-height: 1.45; }
.ec-tile__n { font: 500 .74rem var(--ec-mono); color: var(--ec-muted); }

/* sections */
.ec-s { padding-block: 56px 8px; }
.ec-s--snow { background: var(--ec-snow); padding-block: 52px; margin-top: 48px; }
.ec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.ec-head h2 { margin: 0 0 .25rem; }
.ec-head p { margin: 0; color: var(--ec-muted); font-size: .95rem; max-width: 60ch; }
.ec-more { font-weight: 800; white-space: nowrap; font-size: .92rem; text-decoration: none; }

/* cartes */
.ec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ec-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ec-card { display: grid; gap: 8px; min-width: 0; align-content: start; position: relative; }
.ec-card__media { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #9db4ca, #d7e3ee 55%, #fff); position: relative; max-width: 100%; }
.ec-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ec-card:hover .ec-card__media img { transform: scale(1.03); }
.ec-pill { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.95); color: var(--ec-ink); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.ec-card h3 { font: 800 1.02rem/1.3 var(--ec-body); color: var(--ec-ink); margin: 0; }
.ec-card h3 a { color: inherit; text-decoration: none; }
.ec-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ec-card h3 a:hover { color: var(--ec-accent); }
.ec-card p { margin: 0; font-size: .86rem; color: var(--ec-muted); line-height: 1.5; }
.ec-rate { color: var(--ec-gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.ec-empty { color: var(--ec-muted); padding: 24px; border: 1px dashed var(--ec-line); border-radius: 12px; text-align: center; }

/* villages */
.ec-villages { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.ec-village { position: relative; border-radius: 12px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; color: #fff; font-weight: 800; font-size: .92rem; line-height: 1.2; text-decoration: none; overflow: hidden; background: var(--ec-night); isolation: isolate; }
.ec-village::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,36,58,.15), rgba(19,36,58,.78)); }
.ec-village:nth-child(7n+1) { background: linear-gradient(160deg, #13243a, #5a5878 55%, #f2c9b8); }
.ec-village:nth-child(7n+2) { background: linear-gradient(160deg, #1f3a33, #3f6b5c 55%, #cfe0d8); }
.ec-village:nth-child(7n+3) { background: linear-gradient(160deg, #4a3326, #8a5d3e 50%, #e2b98a); }
.ec-village:nth-child(7n+4) { background: linear-gradient(160deg, #2a4361, #6f8fb6 45%, #f6d8a8); }
.ec-village:nth-child(7n+5) { background: linear-gradient(160deg, #30546b, #6f9cb0 55%, #b9d2dc); }
.ec-village:nth-child(7n+6) { background: linear-gradient(160deg, #253246, #4b6a8c 55%, #a9c2db); }
.ec-village:nth-child(7n+7) { background: linear-gradient(160deg, #0d1424, #2c2550 55%, #8e1e18); }
.ec-village:hover { color: #fff; filter: brightness(1.06); }
.ec-village b { font: 500 1.45rem/1 var(--ec-mono); letter-spacing: -0.02em; }
.ec-village small { display: block; font-weight: 500; opacity: .9; font-size: .74rem; margin-top: 2px; }

/* saisons, confiance */
.ec-season { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ec-season > div { background: #fff; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 16px; display: grid; gap: 2px; align-content: start; }
.ec-season b { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ec-accent); }
.ec-season h3 { font: 800 1rem/1.3 var(--ec-body); color: var(--ec-ink); margin: 0; }
.ec-season p { margin: 0; font-size: .86rem; color: var(--ec-muted); }
.ec-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: .92rem; border-top: 1px solid var(--ec-line); padding-top: 28px; }
.ec-trust div { display: grid; gap: 4px; }
.ec-trust b { color: var(--ec-night); }

/* ------------------------------------------------------------------ rubriques */
.ec-cathead { position: relative; background: var(--ec-snow); border-bottom: 1px solid var(--ec-line); }
.ec-cathead .ec-wrap { padding-top: 36px; padding-bottom: 28px; }
.ec-cathead--photo { color: #fff; background: var(--ec-night); isolation: isolate; overflow: hidden; }
.ec-cathead--photo .ec-cathead__img { position: absolute; inset: 0; z-index: -2; }
.ec-cathead--photo .ec-cathead__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ec-cathead--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,36,58,.88), rgba(19,36,58,.55) 60%, rgba(19,36,58,.3)); }
.ec-cathead--photo .ec-wrap { padding-top: 60px; padding-bottom: 46px; }
.ec-cathead--photo h1, .ec-cathead--photo .ec-cathead__intro, .ec-cathead--photo .ec-crumb, .ec-cathead--photo .ec-crumb a { color: #fff; }
.ec-cathead--photo .ec-ey { color: var(--ec-glow); }
.ec-crumb { font-size: .82rem; color: var(--ec-muted); margin: 0 0 10px; }
.ec-crumb a { color: var(--ec-muted); text-decoration: none; }
.ec-crumb a:hover { text-decoration: underline; }
.ec-cathead h1 { margin: 0 0 .5rem; }
.ec-cathead__intro { max-width: 64ch; margin: 0 0 1rem; font-size: 1.04rem; }
.ec-catmeta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; align-items: center; }
.ec-catmeta a { font-weight: 800; }
.ec-cathead--photo .ec-catmeta a { color: var(--ec-glow); }
.ec-subchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ec-subchips a { border: 1px solid var(--ec-line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .84rem; font-weight: 700; color: var(--ec-ink); text-decoration: none; }
.ec-subchips a:hover { border-color: var(--ec-accent); color: var(--ec-accent); }
.ec-subchips a.on { background: var(--ec-night); border-color: var(--ec-night); color: #fff; }
.ec-cathead--photo .ec-subchips a { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.ec-cathead--photo .ec-subchips a.on { background: #fff; color: var(--ec-night); }
.ec-pager { margin-top: 34px; }
.ec-pager ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.ec-pager a, .ec-pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ec-line); text-decoration: none; font-weight: 800; color: var(--ec-ink); font-variant-numeric: tabular-nums; }
.ec-pager .current { background: var(--ec-accent); border-color: var(--ec-accent); color: #fff; }

/* ------------------------------------------------------------------ article */
.ec-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-block: 30px 20px; }
.ec-article__head h1 { margin: 0 0 .6rem; font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.ec-byline { font-size: .86rem; color: var(--ec-muted); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ec-byline a { color: var(--ec-muted); }
.ec-figure { margin: 0 0 26px; }
.ec-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; }
.ec-figure figcaption { font-size: .74rem; color: var(--ec-muted); margin-top: 6px; }
.ec-figure figcaption a { color: inherit; }
.ec-content { max-width: 70ch; }
.ec-content > * { margin-top: 0; margin-bottom: 1.05rem; }
.ec-content h2 { font-size: 1.6rem; margin: 2.1rem 0 .8rem; }
.ec-content h3 { font: 800 1.08rem/1.35 var(--ec-body); color: var(--ec-ink); margin: 1.5rem 0 .5rem; }
.ec-content ul, .ec-content ol { padding-left: 1.25rem; }
.ec-content li { margin-bottom: .4rem; }
.ec-content img { border-radius: 12px; }
.ec-content figure { margin: 1.6rem 0; }
.ec-content figcaption, .ec-content .wp-caption-text { font-size: .76rem; color: var(--ec-muted); margin-top: 6px; }
.ec-content table { border-collapse: collapse; width: 100%; font-size: .92rem; display: block; overflow-x: auto; }
.ec-content th, .ec-content td { padding: 10px 12px; border-bottom: 1px solid var(--ec-line); text-align: left; vertical-align: top; }
.ec-content thead th { background: var(--ec-snow); color: var(--ec-night); }
.ec-content table.ec-glance { display: table; border: 1px solid var(--ec-line); }
.ec-content .ec-glance th { background: var(--ec-snow); color: var(--ec-night); width: 34%; font-weight: 800; }
.ec-content blockquote { margin: 1.6rem 0; padding: 14px 18px; border-left: 3px solid var(--ec-accent); background: var(--ec-snow); border-radius: 0 12px 12px 0; }
.ec-content blockquote.ec-tip { background: var(--ec-tint); border: 1px solid #f0d2cd; border-radius: 12px; }
.ec-content blockquote.ec-tip strong { color: var(--ec-accent); }
.ec-content blockquote p:last-child { margin-bottom: 0; }
.ec-content .ec-review { border: 1px solid var(--ec-line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.ec-content .ec-review p { margin: 0 0 4px; }
.ec-content .ec-review-meta { font-size: .86rem; color: var(--ec-muted); }
.ec-content .ec-stars { color: var(--ec-gold); letter-spacing: 1px; }
.ec-content .ec-credit { color: var(--ec-muted); }
.ec-content .ec-map iframe { border-radius: 12px; }
.ec-aside { display: grid; gap: 16px; align-content: start; }
.ec-aside__sticky { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.ec-box { border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 16px 18px; font-size: .9rem; background: #fff; }
.ec-box h3 { font: 800 .76rem/1.2 var(--ec-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ec-muted); margin: 0 0 10px; }
.ec-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ec-box li a { color: var(--ec-ink); text-decoration: none; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.ec-box li a:hover { color: var(--ec-accent); }
.ec-box li small { display: block; font-weight: 500; color: var(--ec-muted); }
.ec-box--night { background: var(--ec-night); color: #fff; border: 0; }
.ec-box--night h3 { color: var(--ec-glow); }
.ec-box--night p { margin: 0 0 12px; color: #dfe7f0; }
.ec-minimap { height: 200px; border-radius: 10px; overflow: hidden; background: var(--ec-snow); }
.ec-related { border-top: 1px solid var(--ec-line); margin-top: 28px; padding-top: 36px; }
.ec-faqnote { font-size: .8rem; color: var(--ec-muted); }

/* page simple */
.ec-page { padding-block: 34px 40px; }
.ec-page .ec-content { max-width: 72ch; }

/* ------------------------------------------------------------------ carte globale */
.ec-map { margin: 0; }
.ec-map__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ec-map__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-map__chips button { display: inline-flex; align-items: center; gap: 7px; font: 700 .84rem var(--ec-body); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ec-line); background: #fff; color: var(--ec-ink); cursor: pointer; }
.ec-map__chips button i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.ec-map__chips button[aria-pressed="true"] { border-color: var(--ec-night); background: var(--ec-night); color: #fff; }
.ec-map__count { margin: 0; font-size: .86rem; color: var(--ec-muted); font-variant-numeric: tabular-nums; }
.ec-map__frame { position: relative; height: var(--ec-map-h, 560px); border-radius: 16px; overflow: hidden; border: 1px solid var(--ec-line); background: var(--ec-snow); }
.ec-map__canvas { position: absolute; inset: 0; }
.ec-map__status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: var(--ec-muted); }
.ec-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.ec-cluster { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ec-accent); color: #fff; font: 800 13px var(--ec-body); border: 3px solid rgba(255,255,255,.85); box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.ec-popup { width: 220px; font-family: var(--ec-body); }
.ec-popup img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 8px; }
.ec-popup b { display: block; font-size: .95rem; color: var(--ec-ink); }
.ec-popup span { display: block; font-size: .8rem; color: var(--ec-muted); margin: 2px 0 6px; }
.ec-popup a { font-weight: 800; font-size: .84rem; }
.leaflet-popup-content { margin: 12px !important; }

/* ------------------------------------------------------------------ affiliation */
.ec-aff { border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 18px; background: var(--ec-snow); margin: 1.8rem 0; }
.ec-aff h3 { margin-top: 0; }
.ec-disclosure { font-size: .76rem; color: var(--ec-muted); }

/* ------------------------------------------------------------------ pied de page */
.ec-footer { background: var(--ec-night); color: #d9e2ec; margin-top: 64px; font-size: .9rem; }
.ec-footer .ec-wrap { padding-top: 44px; padding-bottom: 30px; }
.ec-footer a { color: #fff; text-decoration: none; }
.ec-footer a:hover { color: var(--ec-glow); }
.ec-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.ec-footer h3 { font: 800 .74rem/1.2 var(--ec-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ec-glow); margin: 0 0 12px; }
.ec-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ec-footer__about p { margin: 12px 0 0; color: #b9c6d4; max-width: 38ch; }
.ec-footer__credits { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; font-size: .76rem; color: #9fb0c2; display: grid; gap: 6px; }
.ec-footer__credits a { color: #c9d5e2; text-decoration: underline; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
	.ec-villages { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
	.ec-grid { grid-template-columns: repeat(2, 1fr); }
	.ec-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.ec-season { grid-template-columns: repeat(2, 1fr); }
	.ec-article { grid-template-columns: 1fr; }
	.ec-aside__sticky { position: static; }
	.ec-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	body { font-size: 16.5px; }
	.ec-tiles { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -40px; }
	.ec-tile { padding: 14px; }
	.ec-tile p { display: none; }
	.ec-trust { grid-template-columns: 1fr; }
	.ec-head { flex-direction: column; align-items: flex-start; }
	.ec-villages { grid-template-columns: repeat(2, 1fr); }
	.ec-map__frame { height: 460px; }
	.ec-hero__credit, .ec-cathead__credit { max-width: 90%; }
}
@media (max-width: 480px) {
	.ec-grid, .ec-grid--3 { grid-template-columns: 1fr; }
	.ec-season { grid-template-columns: 1fr; }
	.ec-footer__top { grid-template-columns: 1fr; }
	.ec-logo svg { height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.ec-tile, .ec-card__media img { transition: none; }
	.ec-trace path { animation: none !important; stroke-dashoffset: 0 !important; }
}
@media (prefers-reduced-motion: no-preference) {
	.ec-trace path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: ec-trace 2.6s .3s ease-out forwards; }
	@keyframes ec-trace { to { stroke-dashoffset: 0; } }
}
