/* tunisie.com — feuille de style (structure inspirée des grands portails touristiques nationaux)
   Blanc, photos en vedette, coins quasi droits, police Saira (Reem Kufi en arabe). */
:root {
  --ink: #12202f;
  --ink-2: #4b5966;
  --ink-3: #7d8a96;
  --red: #e5203f;
  --red-dark: #c4122f;
  --blue: #0b5cad;
  --teal: #0fa3a0;
  --sand: #f5ecdb;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --line: #e2e5ea;
  --night: #0c1825;
  --r: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 47, .06), 0 4px 14px -6px rgba(18, 32, 47, .12);
  --shadow: 0 2px 4px rgba(18, 32, 47, .04), 0 18px 40px -18px rgba(18, 32, 47, .28);
  --wrap: 1380px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --font-head: "Reem Kufi", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 1.1rem; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.025em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { inset-inline-start: 8px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.upper { text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .upper { text-transform: none; letter-spacing: 0; }

/* Visuel : photo ou dégradé de secours */
.ph { position: relative; overflow: hidden; background-color: var(--city, #2a5d8f);
  background-image: radial-gradient(at 20% 20%, color-mix(in oklab, var(--city, #2a5d8f) 55%, #fff) 0, transparent 55%), radial-gradient(at 80% 85%, color-mix(in oklab, var(--city, #2a5d8f) 60%, #0c1825) 0, transparent 55%); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; inset-inline-end: 8px; bottom: 6px; font-size: .68rem; color: rgba(255,255,255,.8); text-shadow: 0 1px 2px rgba(0,0,0,.6); z-index: 2; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit a { color: inherit; }

/* ---------- En-tête et méga-menu ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); direction: ltr; flex: none; }
.brand:hover { color: var(--ink); }
.brand__word { font: 800 1.45rem/1 "Plus Jakarta Sans", "Segoe UI", sans-serif; letter-spacing: -0.035em; }
.brand__word span { font-weight: 600; color: var(--red); }
.main-nav { margin-inline-start: auto; align-self: stretch; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.main-nav > ul > li { position: static; display: flex; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 16px; margin-block: auto; border: 0; border-radius: 999px; background: none; font: 600 .98rem var(--font); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--red); background: color-mix(in oklab, var(--red) 9%, #fff); }
.nav-link svg { transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 0 0 24px 24px; display: none; }
.mega.open { display: block; }
.mega .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding-block: 36px 40px; min-height: 0; align-items: start; }
.mega__intro h2 { font-size: 1.6rem; margin-bottom: 10px; }
.mega__intro p { color: var(--ink-2); font-size: .98rem; }
.mega__intro a { font-weight: 700; }
.mega__links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 32px; }
.mega__links a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--r); transition: background .15s; }
.mega__links a:hover { color: var(--ink); background: var(--bg-2); }
.mega__links .ico { color: var(--red); flex: none; }
.mega__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lang-switch { display: flex; gap: 2px; font-weight: 700; flex: none; }
.lang-switch a { padding: 6px 9px; text-decoration: none; color: var(--ink-3); font-size: .82rem; border-radius: 999px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: #fff; background: var(--ink); }
.burger, .drawer__head, .drawer__search, .drawer__foot, .nav-link__ico, .nav-backdrop { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.nav-list > li { display: flex; }
.mega__all { display: inline-block; margin: 0 14px 6px 0; font-weight: 700; }

/* ---------- Menu mobile : burger + panneau coulissant ---------- */
@media (max-width: 1080px) {
  .site-header .lang-switch { display: none; }
  .burger { display: grid; place-content: center; gap: 5px; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
  .burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .2s, width .3s; }
  .burger span:nth-child(2) { width: 14px; justify-self: end; }
  html[dir="rtl"] .burger span:nth-child(2) { justify-self: start; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100vw); margin: 0; background: #fff; z-index: 320; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s; visibility: hidden; box-shadow: -24px 0 60px -20px rgba(12, 24, 37, .35); }
  html[dir="rtl"] .main-nav { transform: translateX(-100%); }
  .main-nav.open { transform: none !important; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(12, 24, 37, .45); backdrop-filter: blur(2px); z-index: 310; opacity: 0; transition: opacity .3s; }
  .nav-backdrop.show { opacity: 1; }
  .nav-backdrop[hidden] { display: none; }
  body.nav-open { overflow: hidden; }

  .drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
  .drawer__close { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
  .drawer__search { display: block; padding: 16px 18px 6px; }
  .drawer__search .search { max-width: none; }
  .drawer__search .search__field { box-shadow: none; background: var(--bg-2); border: 0; }
  .drawer__search .search__btn span { display: none; }
  .drawer__search .search__btn { padding: 11px; }

  .main-nav > .nav-list { flex-direction: column; height: auto; padding: 8px 10px; }
  .main-nav > .nav-list > li { display: block; }
  .nav-link { width: 100%; justify-content: flex-start; gap: 14px; padding: 12px 10px; border-radius: 16px; font-size: 1.05rem; font-weight: 700; margin: 0; }
  .nav-link__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--bg-2); flex: none; }
  .nav-link__txt { flex: 1; text-align: start; }
  .nav-link[aria-expanded="true"] { background: var(--bg-2); }
  .nav-link[aria-expanded="true"] .nav-link__ico { background: #fff; }
  .nav-link[aria-current="page"] .nav-link__ico .ico { color: var(--red); }

  .mega { position: static; display: block; box-shadow: none; border: 0; border-radius: 0; background: transparent; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .mega.open { max-height: 1400px; }
  .mega .wrap { display: block; padding: 4px 0 12px; min-height: 0; }
  .mega__intro { display: block; padding: 4px 10px 6px 66px; }
  html[dir="rtl"] .mega__intro { padding: 4px 66px 6px 10px; }
  .mega__intro h2, .mega__intro p { display: none; }
  .mega__all { font-size: .92rem; }
  .mega__links { grid-template-columns: 1fr 1fr; gap: 2px 6px; padding-inline: 4px; }
  .mega__links a { padding: 8px; gap: 10px; font-size: .95rem; }
  .mega__links .tile { width: 34px; height: 34px; border-radius: 10px; }
  .mega__links .tile .ico { width: 20px; height: 20px; }
  .mega__cards { display: none; }

  .drawer__foot { display: block; margin-top: auto; padding: 18px; border-top: 1px solid var(--line); background: var(--bg-2); }
  .drawer__foot > span { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 10px; }
  .drawer__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .drawer__langs a { padding: 10px 12px; border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; text-align: center; border: 1px solid var(--line); }
  .drawer__langs a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; padding: 15px 26px; border-radius: 999px; font: 700 .98rem var(--font); border: 0; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--red) 70%, transparent); }
.btn:hover { transform: translateY(-1px); }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 14px 24px; box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sand); color: var(--ink); }
html[dir="rtl"] .btn svg, html[dir="rtl"] .more svg { transform: scaleX(-1); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--red); }
.more:hover { color: var(--red-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px; font: 600 .92rem var(--font); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Titres de section (étiquette + titre + ornement) ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--grey { background: var(--bg-2); }
.section--night { background: var(--night); color: #fff; }
.shead { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.shead__label { display: inline-block; color: var(--red); background: color-mix(in oklab, var(--red) 10%, #fff); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
html[lang="ar"] .shead__label { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.shead h2, .shead h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 14px; }
.shead p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.section--night .shead p { color: #b8c4cf; }
.ornament { display: none; }
.ornament i { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.ornament i:nth-child(2) { background: var(--teal); }
.shead--left { text-align: start; margin-inline: 0; }
.shead--left .ornament { justify-content: flex-start; }
.section-foot { text-align: center; margin-top: 40px; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: min(80vh, 760px); display: flex; align-items: flex-end; color: #fff; }
/* Pas de contexte d'empilement sur .hero : la liste de suggestions (.wrap, z 5) passe au-dessus des activités (.theme-bar, z 3) */
.hero > .ph { position: absolute; inset: 0; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 24, 37, .55) 0%, rgba(12, 24, 37, .2) 50%, rgba(12, 24, 37, 0) 75%), linear-gradient(180deg, rgba(12, 24, 37, .25) 0%, rgba(12, 24, 37, 0) 35%, rgba(12, 24, 37, .78) 100%); }
html[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(12, 24, 37, .55) 0%, rgba(12, 24, 37, .2) 50%, rgba(12, 24, 37, 0) 75%), linear-gradient(180deg, rgba(12, 24, 37, .25) 0%, rgba(12, 24, 37, 0) 35%, rgba(12, 24, 37, .78) 100%); }
.hero .wrap { width: 100%; padding-block: 56px 110px; position: relative; z-index: 5; pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.hero__kicker { display: inline-block; font-weight: 700; font-size: .9rem; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[lang="ar"] .hero__kicker { text-transform: none; letter-spacing: 0; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -0.035em; max-width: 17ch; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__lead { font-size: 1.25rem; max-width: 52ch; margin-bottom: 28px; color: rgba(255,255,255,.92); }

/* Recherche */
.search { position: relative; max-width: 620px; }
.search__field { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 7px; padding-inline-start: 22px; box-shadow: var(--shadow); }
.search__field svg { color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 500 1.05rem var(--font); color: var(--ink); padding: 12px 0; }
.search input:focus { outline: none; }
.search__field:focus-within { box-shadow: 0 0 0 3px var(--red); }
.search__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 13px 22px; font: 700 .98rem var(--font); cursor: pointer; }
.search__btn:hover { background: var(--red-dark); }
html[dir="rtl"] .search__btn svg { transform: scaleX(-1); }
.search-results { position: absolute; inset-inline: 0; top: calc(100% + 8px); background: #fff; border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); list-style: none; margin: 0; padding: 6px; z-index: 30; display: none; color: var(--ink); }
.search-results.open { display: block; }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 700; }
.search-results a:hover, .search-results a.active { background: var(--bg-2); color: var(--red); }
.search-results span { color: var(--ink-3); font-weight: 500; font-size: .9rem; }
.search-results .empty { padding: 11px 14px; color: var(--ink-2); }
.search--bordered .search__field { border: 1px solid var(--line); }
@media (max-width: 480px) { .search__btn span { display: none; } .search__btn { padding: 13px; } }

/* Raccourcis thèmes sous le héros */
.theme-bar { position: relative; z-index: 3; margin-top: -56px; }
.theme-bar > ul { max-width: var(--wrap); margin-inline: auto !important; padding-inline: var(--gutter) !important; }
.theme-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.theme-bar a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 18px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; text-align: center; height: 100%; background: #fff; border-radius: 18px; box-shadow: var(--shadow); transition: transform .2s; }
.theme-bar a:hover { color: var(--ink); transform: translateY(-4px); }

/* ---------- Cartes destination (photo, nom en majuscules) ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dest { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; padding: 22px; }
.dest[hidden] { display: none; }
.dest > .ph { position: absolute; inset: 0; z-index: -2; }
.dest > .ph img { transition: transform .6s ease; }
.dest:hover > .ph img { transform: scale(1.05); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(8, 16, 26, .85)); }
.dest:hover { color: #fff; }
.dest h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 6px; }
html[lang="ar"] .dest h3 { text-transform: none; letter-spacing: 0; }
.dest p { margin: 0; font-size: .95rem; line-height: 1.45; color: rgba(255,255,255,.88); }
.dest__temp { position: absolute; top: 16px; inset-inline-end: 16px; display: none; gap: 6px; align-items: center; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .85rem; }
.dest__temp.ready { display: inline-flex; }
.dest__temp .min { color: var(--ink-3); font-weight: 600; }
.dest__region { position: absolute; top: 16px; inset-inline-start: 16px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px 12px; border-radius: 999px; }
html[lang="ar"] .dest__region { text-transform: none; letter-spacing: 0; }
.dest .credit { display: none; }

/* Cartes éditoriales (que faire, inspiration) */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); margin-bottom: 16px; }
.card .ph img { transition: transform .6s; }
.card:hover .ph img { transform: scale(1.04); }
.card__cat { font-size: .82rem; font-weight: 700; color: var(--red); margin-bottom: 6px; }
html[lang="ar"] .card__cat { text-transform: none; letter-spacing: 0; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card:hover h3 { color: var(--red); }
.card p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; margin-bottom: 12px; }
.card .more { margin-top: auto; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail .dest { aspect-ratio: 3 / 4; }

/* Inspiration : 1 grande + 3 petites */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
.feature__big { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; color: #fff; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; padding: 36px; }
.feature__big > .ph { position: absolute; inset: 0; z-index: -2; }
.feature__big::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 16, 26, .88)); }
.feature__big:hover { color: #fff; }
.feature__big h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 22ch; }
.feature__big p { color: rgba(255,255,255,.9); max-width: 52ch; }
.feature__big .card__cat { color: #fff; background: var(--red); display: inline-block; padding: 5px 12px; border-radius: 999px; align-self: flex-start; }
.feature__list { display: grid; gap: 24px; align-content: start; }
.feature__list .card { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
.feature__list .card .ph { aspect-ratio: 1; margin: 0; border-radius: 18px; }
.feature__list .card h3 { font-size: 1.15rem; }

/* Carte « Où aller » */
.where { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.where .map { height: 560px; }
.where__regions { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.where__region { padding: 18px 0; border-bottom: 1px solid var(--line); }
.where__region h3 { font-size: 1.15rem; margin-bottom: 8px; }
.where__region ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.where__region a { font-weight: 600; text-decoration: none; color: var(--ink-2); }
.where__region a:hover { color: var(--red); }

/* Agenda */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
a.event:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.event__date { background: color-mix(in oklab, var(--red) 10%, #fff); color: var(--red); text-align: center; border-radius: 16px; padding: 16px 4px; align-self: start; }
.event__date strong { display: block; font-size: 1.05rem; line-height: 1.1; text-transform: uppercase; }
.event__date span { font-size: .75rem; opacity: .9; }
.event h3 { font-size: 1.12rem; margin-bottom: 4px; }
.event__meta { color: var(--ink-3); font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.event p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.event__cat { display: inline-block; font-size: .78rem; font-weight: 700; color: #0b8a80; background: color-mix(in oklab, var(--teal) 12%, #fff); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
html[lang="ar"] .event__cat { text-transform: none; letter-spacing: 0; }

/* Programmez votre voyage : météo + raccourcis */
.planbox { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.weather { background: linear-gradient(150deg, #1d4f8f, #0c1825 70%); color: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.weather__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.weather__head h3 { margin: 0; font-size: 1.3rem; }
.weather select { font: 600 .95rem var(--font); padding: 9px 14px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); }
.weather__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; flex: 1; }
.weather__day { background: rgba(255,255,255,.09); border-radius: 16px; padding: 14px 6px; text-align: center; }
.weather__day b { display: block; font-size: .85rem; text-transform: capitalize; margin-bottom: 6px; }
.weather__day .wi { color: #fff; margin: 4px auto 8px; display: block; }
.weather__day .t { font-weight: 700; }
.weather__day .t span { color: #8fa1b3; font-weight: 500; }
.weather__msg { color: #8fa1b3; font-size: .95rem; }
.shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shortcut { display: flex; gap: 16px; align-items: center; padding: 22px; background: #fff; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.shortcut:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.shortcut .tile { width: 64px; height: 64px; border-radius: 18px; background: var(--bg-2); display: grid; place-items: center; flex: none; }
.shortcut small { display: block; font-weight: 500; color: var(--ink-2); font-size: .9rem; margin-top: 2px; }

/* ---------- Bandeau de page (pages intérieures) ---------- */
.banner { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.banner > .ph { position: absolute; inset: 0; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,24,37,.2), rgba(12,24,37,.8)); }
.banner .wrap { width: 100%; padding-block: 40px 48px; }
.banner h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 22ch; margin-bottom: 12px; }
.banner p { font-size: 1.2rem; max-width: 60ch; margin: 0; color: rgba(255,255,255,.92); }
.banner--plain { background: radial-gradient(circle at 85% 0%, rgba(25,184,168,.35), transparent 45%), radial-gradient(circle at 10% 100%, rgba(229,32,63,.25), transparent 45%), linear-gradient(150deg, #1d4f8f, #0c1825 75%); min-height: 320px; }
.banner--plain::after { display: none; }
.breadcrumb { font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-inline-end: 8px; opacity: .7; }
html[dir="rtl"] .breadcrumb li + li::before { content: "‹"; }
.breadcrumb a { color: inherit; }
.page-light .breadcrumb { color: var(--ink-2); }

/* ---------- Fiche ville ---------- */
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.facts div { padding: 8px 16px; border-radius: var(--r); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.facts dt { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.8); }
.facts dd { margin: 0; font-weight: 700; }
.city-hero { min-height: min(76vh, 720px); }
.city-hero h1 { font-size: clamp(3rem, 9vw, 7rem); text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
html[lang="ar"] .city-hero h1 { text-transform: none; line-height: 1.3; }
.city-hero .tagline { font-size: 1.3rem; font-weight: 500; }

.secnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.secnav ol { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.secnav ol::-webkit-scrollbar { display: none; }
.secnav ol { padding-block: 10px !important; gap: 4px; }
.secnav a { display: block; white-space: nowrap; padding: 8px 16px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .93rem; border-radius: 999px; }
.secnav a:hover { color: var(--ink); }
.secnav a.active { color: #fff; background: var(--ink); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 56px 80px; align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 20px; }
.box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.box h2 { font-size: 1.1rem; margin-bottom: 14px; }
.box dl { margin: 0; display: grid; gap: 10px; }
.box dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.box dl div:last-child { border: 0; padding: 0; }
.box dt { color: var(--ink-2); font-size: .93rem; }
.box dd { margin: 0; font-weight: 700; text-align: end; }
.box .map { height: 240px; }
.box--sand { background: var(--sand); border-color: transparent; }
.box--sand p { margin: 0; }

.block { padding-block: 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block > h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.block > h2::after { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--red); margin-top: 14px; }
.block p { color: var(--ink-2); }
.block .lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.prose { max-width: 74ch; }

.spots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.spots h3 { font-size: 1.12rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.spots h3 .ico { position: relative; top: 4px; flex: none; }
.spots p { margin: 0; font-size: .98rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.ticks .ico { margin-top: 2px; }
.ticks strong { display: block; color: var(--ink); }
.ticks span { color: var(--ink-2); }
.menu { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu li { background: var(--bg-2); border-radius: 16px; padding: 18px 20px; }
.menu strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.menu span { color: var(--ink-2); font-size: .97rem; }
.areas, .nearby { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area, .nearby article { background: var(--bg-2); padding: 22px; border-radius: 16px; }
.area h3, .nearby h3 { font-size: 1.05rem; margin-bottom: 6px; }
.area p, .nearby p { margin: 0; font-size: .96rem; }
.routes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.routes li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.routes .tile { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-2); display: grid; place-items: center; }
.routes h3 { font-size: 1rem; margin-bottom: 2px; }
.routes p { margin: 0; font-size: .95rem; }
.subhead { font-size: 1.15rem; margin: 28px 0 8px; }
.tips-box { background: linear-gradient(150deg, #1d4f8f, #0c1825 70%); color: #d6dee6; padding: 32px; border-radius: 24px; }
.tips-box h2 { color: #fff; }
.tips-box ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; }
.tips-box li::marker { color: var(--red); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--red); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--ink-2); max-width: 74ch; }

/* Pages thème / planifier / article */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pick { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pick h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pick p { color: var(--ink-2); font-size: .97rem; margin-bottom: 8px; }
.pick a { font-weight: 700; font-size: .92rem; text-decoration: none; }
.sections-list { display: grid; gap: 32px; }
.sections-list h3 { font-size: 1.35rem; margin-bottom: 8px; }
.months { width: 100%; border-collapse: collapse; font-size: .97rem; }
.months th, .months td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.months thead th { background: var(--night); color: #fff; font-weight: 700; }
.months tbody th { font-weight: 700; white-space: nowrap; }
.months tbody tr:nth-child(even) { background: var(--bg-2); }
.table-wrap { overflow-x: auto; }

/* Infos pratiques */
.essentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.essential { scroll-margin-top: calc(var(--header-h) + 20px); }
.essential { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.essential .tile { width: 68px; height: 68px; border-radius: 20px; background: var(--bg-2); display: grid; place-items: center; margin-bottom: 18px; }
.essential h2 { font-size: 1.25rem; margin-bottom: 8px; }
.essential p { color: var(--ink-2); font-size: .98rem; margin: 0; }

/* Crédits */
.credits { width: 100%; border-collapse: collapse; font-size: .92rem; }
.credits th, .credits td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.credits thead th { background: var(--bg-2); }

/* Carte */
.map { width: 100%; height: 380px; border-radius: 24px; background: #dde4ea; z-index: 1; }
.map-pin { background: var(--red); width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.map-label { background: none; border: 0; box-shadow: none; font: 700 .82rem var(--font); color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff; padding: 0; }
.map-label::before { display: none; }
.leaflet-container { font-family: var(--font); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: #9fb0bf; padding-block: 64px 28px; font-size: .95rem; }
.site-footer a { color: #e6ecf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: 1rem; color: #fff; letter-spacing: -0.01em; margin-bottom: 14px; }
html[lang="ar"] .footer-grid h2 { text-transform: none; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .dest-grid, .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 48px) / 3); }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 900px) {
  .dest-grid, .card-grid, .events, .picks, .essentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-auto-columns: 46%; }
  .feature, .where, .planbox, .layout { grid-template-columns: 1fr; }
  .feature__big { min-height: 420px; }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .where .map { height: 420px; }
}
@media (max-width: 600px) {
  :root { --header-h: 62px; }
  .dest-grid, .card-grid, .events, .picks, .essentials, .spots, .menu, .areas, .nearby, .routes, .shortcuts, .aside, .footer-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dest { padding: 14px; }
  .dest h3 { font-size: 1.1rem; }
  .dest p { display: none; }
  .rail { grid-auto-columns: 72%; }
  .feature__list .card { grid-template-columns: 110px 1fr; }
  .hero { min-height: 78vh; }
  .weather__days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .weather__day { padding: 10px 2px; font-size: .85rem; }
  .brand__word { font-size: 1.25rem; }
}
@media print { .site-header, .site-footer, .secnav, .map { display: none; } }

/* Pictos flat */
.ico--flat { flex: none; color: var(--ink); }
.theme-bar a:hover .ico--flat, .shortcut:hover .ico--flat, .mega__links a:hover .ico--flat { color: var(--red); }
.spots .ico--flat, .ticks .ico--flat { color: var(--ink); }
.ico--flat { transition: color .15s; }
.mega__links .tile { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; flex: none; }
.mega__links a:hover .tile { background: #fff; }
.theme-bar .tile { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--bg-2); }
.dest, .card .ph, .feature__big { box-shadow: var(--shadow-sm); }
.dest { transition: transform .25s, box-shadow .25s; }
.dest:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 1200px) { .theme-bar ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .theme-bar { margin-top: -36px; } .theme-bar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .theme-bar .tile { width: 52px; height: 52px; } }

/* Pictos style B : trait fin */
.ico { color: var(--ink); transition: color .15s; flex: none; }
.theme-bar a:hover .ico, .shortcut:hover .ico, .mega__links a:hover .ico { color: var(--red); }
.spots h3 .ico { color: var(--red); }
.ticks .ico { color: var(--teal); }
.btn .ico { color: currentColor; }
.weather__day .wi { color: #fff; }

/* Logo : symbole « t » soleil + logotype point-soleil */
.brand { gap: 10px; color: var(--ink); }
.brand__wm { height: 34px; width: auto; display: block; }
.brand__mark { display: block; }
.site-footer .brand { color: #fff; }
@media (max-width: 600px) { .brand__wm { height: 28px; } .brand__mark { width: 34px; height: 34px; } }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.side-links a:hover { background: var(--bg-2); }
.side-links a[aria-current="page"] { background: var(--bg-2); color: var(--red); }
.side-links a[aria-current="page"] .ico { color: var(--red); }

/* Loueurs partenaires (pages location de voiture) */
.renters { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.renter { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.renter:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--red); }
.renter__logo { display: flex; align-items: center; height: 52px; margin-bottom: 6px; }
.renter__logo img { height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.renter__name { font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; }
.renter__desc { color: var(--ink-2); font-size: .95rem; line-height: 1.45; flex: 1; }
.renter__url { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: .9rem; margin-top: 4px; }
html[dir="rtl"] .renter__url svg { transform: scaleX(-1); }
@media (max-width: 640px) { .renters { grid-template-columns: 1fr; } }
