/*
Theme Name: Easy Brasil
Theme URI: https://www.easybrasil.com/
Description: Thème enfant de Hello Elementor pour easybrasil.com (refonte du 14/11/2026, kit de sauvonslaterre). Gabarits en PHP (accueil, rubrique, article, page), même charpente qu'easycourchevel.com et easybordeaux.com, préfixe ebr-.
Author: Low Cost Web Agency
Template: hello-elementor
Version: 1.0.0
Text Domain: ebr-child
*/

/* ------------------------------------------------------------------ jetons */
:root {
	--ebr-ink: #16213a;
	--ebr-muted: #56627a;
	--ebr-line: #e2e7ee;
	--ebr-snow: #f6f4ec;
	--ebr-white: #ffffff;
	--ebr-accent: #0b6b45;
	--ebr-accent-d: #08553a;
	--ebr-night: #12305c;
	--ebr-night-2: #1d437a;
	--ebr-gold: #85620a;          /* or foncé : lisible sur blanc */
	--ebr-glow: #f5c518;
	--ebr-tint: #eef6f1;
	--ebr-display: "Fraunces", Georgia, "Times New Roman", serif;
	--ebr-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
	--ebr-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--ebr-radius: 14px;
	--ebr-wrap: 1180px;
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	background: var(--ebr-white);
	color: var(--ebr-ink);
	font-family: var(--ebr-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--ebr-accent); text-underline-offset: 2px; }
a:hover { color: var(--ebr-accent-d); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ebr-accent); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ebr-night); font-family: var(--ebr-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); }
.ebr-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ebr-night); color: #fff; padding: 8px 14px; border-radius: 8px; }
.ebr-skip:focus { left: 12px; color: #fff; }

.ebr-wrap { max-width: var(--ebr-wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ebr-alt { font-family: var(--ebr-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ebr-ey { font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--ebr-accent); margin: 0 0 .4rem; }
.ebr-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; }
.ebr-btn--primary { background: var(--ebr-accent); color: #fff; }
.ebr-btn--primary:hover { background: var(--ebr-accent-d); color: #fff; }
.ebr-btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.ebr-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.ebr-btn--line { border-color: var(--ebr-accent); color: var(--ebr-accent); background: #fff; }
.ebr-btn--line:hover { background: var(--ebr-tint); }

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

/* ------------------------------------------------------------------ héros (accueil) */
.ebr-hero { position: relative; color: #fff; overflow: hidden; background: var(--ebr-night); isolation: isolate; }
.ebr-hero__img { position: absolute; inset: 0; z-index: -2; }
.ebr-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.ebr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,48,92,.82) 0%, rgba(18,48,92,.62) 45%, rgba(18,48,92,.12) 80%), linear-gradient(180deg, rgba(18,48,92,.35) 0%, rgba(18,48,92,0) 40%, rgba(18,48,92,.45) 100%); }
@media (max-width: 720px) { .ebr-hero::before { background: linear-gradient(180deg, rgba(18,48,92,.85) 0%, rgba(18,48,92,.7) 60%, rgba(18,48,92,.55) 100%); } }
.ebr-hero .ebr-wrap { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(88px, 11vw, 140px); }
.ebr-hero__alt { font: 500 .8rem/1.2 var(--ebr-mono); letter-spacing: .08em; color: var(--ebr-glow); margin: 0 0 .8rem; }
.ebr-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; }
.ebr-hero h1 em { font-style: italic; color: var(--ebr-glow); }
.ebr-hero__lead { max-width: 54ch; color: #f3f6fb; font-size: 1.1rem; margin: 0 0 1.5rem; }
.ebr-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.5rem; }
.ebr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ebr-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; }
.ebr-chips a:hover { background: rgba(255,255,255,.24); color: #fff; }
.ebr-chips b { font: 500 .78rem var(--ebr-mono); opacity: .85; }
.ebr-hero__credit, .ebr-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; }
.ebr-hero__credit a, .ebr-cathead__credit a { color: inherit; }
.ebr-trace { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; display: block; z-index: 0; }

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

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

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

/* villages */
.ebr-villages { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.ebr-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(--ebr-night); isolation: isolate; }
.ebr-village::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,48,92,.15), rgba(18,48,92,.78)); }
.ebr-village:nth-child(7n+1) { background: linear-gradient(160deg, #11291b, #5a5878 55%, #cfe6b8); }
.ebr-village:nth-child(7n+2) { background: linear-gradient(160deg, #1f3a33, #3f6b5c 55%, #cfe0d8); }
.ebr-village:nth-child(7n+3) { background: linear-gradient(160deg, #4a3326, #8a5d3e 50%, #e2b98a); }
.ebr-village:nth-child(7n+4) { background: linear-gradient(160deg, #1f3f2c, #6f8fb6 45%, #f6d8a8); }
.ebr-village:nth-child(7n+5) { background: linear-gradient(160deg, #30546b, #6f9cb0 55%, #b9d2dc); }
.ebr-village:nth-child(7n+6) { background: linear-gradient(160deg, #253246, #4b6a8c 55%, #a9c2db); }
.ebr-village:nth-child(7n+7) { background: linear-gradient(160deg, #0d1424, #2c2550 55%, #165c2f); }
.ebr-village:hover { color: #fff; filter: brightness(1.06); }
.ebr-village b { font: 500 1.45rem/1 var(--ebr-mono); letter-spacing: -0.02em; }
.ebr-village small { display: block; font-weight: 500; opacity: .9; font-size: .74rem; margin-top: 2px; }

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

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

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

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

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

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

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

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

/* ------------------------------------------------------------------ easybrasil : ajouts */
.ebr-hero__img img { object-position: center 55%; }
.ebr-tiles--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .ebr-tiles--4 { grid-template-columns: repeat(2, 1fr); } }
.ebr-hero__alt { overflow-wrap: anywhere; }
.ebr-tablewrap { overflow-x: auto; }
.ebr-hero h1 em { color: var(--ebr-glow); }
.ebr-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ebr-fact { background: #fff; border: 1px solid var(--ebr-line); border-radius: var(--ebr-radius); padding: 18px; }
.ebr-fact b { display: block; font: 600 1.6rem/1.1 var(--ebr-display); color: var(--ebr-night); margin-bottom: 4px; }
.ebr-fact p { margin: 0; color: var(--ebr-muted); font-size: .9rem; }
.ebr-content .ebr-sources { font-size: .84rem; color: var(--ebr-muted); border-top: 1px solid var(--ebr-line); padding-top: 12px; }
.ebr-content .ebr-sources ul { padding-left: 1.1rem; }
.ebr-content .ebr-keypoints { background: var(--ebr-tint); border: 1px solid #cde5d6; border-radius: 12px; padding: 14px 18px 14px 32px; }
.ebr-updated { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ebr-accent); font-weight: 800; }
@media (max-width: 720px) { .ebr-facts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ easybrasil : tuiles x5, villes */
.ebr-tiles--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .ebr-tiles--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .ebr-tiles--5 { grid-template-columns: 1fr 1fr; } }
.ebr-hero__alt { color: var(--ebr-glow); }
.ebr-hero h1 em { color: var(--ebr-glow); font-style: italic; }
.ebr-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ebr-city { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ebr-night); color: #fff; text-decoration: none; isolation: isolate; }
.ebr-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s; }
.ebr-city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,48,92,0) 35%, rgba(18,48,92,.85) 100%); }
.ebr-city span { position: absolute; left: 12px; bottom: 10px; right: 12px; font-weight: 800; font-size: .98rem; line-height: 1.2; }
@media (max-width: 560px) { .ebr-cities { grid-template-columns: 1fr 1fr; gap: 10px; } .ebr-city span { font-size: .9rem; left: 10px; bottom: 8px; } }
.ebr-city:hover { color: #fff; }
.ebr-city:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .ebr-city img { transition: none; } }
