/* cmsms stylesheet: ORL Genard modified: Wednesday, October 14, 2026 2:04:32 PM */
/* ORL Genard — thème principal (Bootstrap 5.3 + Lato) */
:root {
  --brand: #005E8A;
  --brand-dark: #004866;
  --page-bg: #F8F8F8;

  --bs-body-color: var(--brand);
  --bs-body-bg: var(--page-bg);
  --bs-body-font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-emphasis-color: var(--brand);
  --bs-heading-color: var(--brand);
  --bs-link-color-rgb: 0, 94, 138;
  --bs-link-hover-color-rgb: 0, 72, 102;
  --bs-border-color: rgba(0, 94, 138, .18);
}

body { font-weight: 400; }

h1, h2, h3, h4, h5, h6 { font-weight: 900; letter-spacing: -.01em; }

/* Ancres sous la navbar collante */
section[id], div[id="contact"] { scroll-margin-top: 5.5rem; }

/* ---------- En-tête / navigation ---------- */
.navbar { background-color: var(--page-bg); }
.navbar .nav-link { color: var(--brand); font-weight: 700; }
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--brand-dark); }
.navbar .nav-link.active { color: var(--brand-dark); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 2px; }
.navbar-brand img { max-height: 56px; width: auto; height: auto; }
.navbar .dropdown-menu { --bs-dropdown-link-color: var(--brand); --bs-dropdown-link-active-bg: var(--brand); }

/* ---------- Boutons ---------- */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 0, 94, 138;
  font-weight: 700;
}
.btn-brand-outline {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-focus-shadow-rgb: 0, 94, 138;
  font-weight: 700;
}

/* ---------- Accueil ---------- */
.hero-title { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; }
.hero-title p { margin: 0; }
.hero-portrait img,
img.hero-portrait { width: 100%; max-height: 24rem; object-fit: cover; object-position: center 25%; }

.block-img img { max-width: 100%; height: auto; border-radius: var(--bs-border-radius); box-shadow: var(--bs-box-shadow-sm); }

/* Listes à icônes dans les blocs éditables :
   <ul><li class="bi-telephone">…</li></ul> — la classe Bootstrap Icons sur le <li> affiche l'icône
   (aucune balise vide, donc compatible avec l'éditeur MicroTiny). */
.content-block ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.content-block ul > li { position: relative; padding: .5rem 0 .5rem 2.35rem; }
.content-block ul > li[class*="bi-"]::before {
  position: absolute; left: 0; top: .5rem; width: 1.5rem;
  font-size: 1.15rem; line-height: 1.5; vertical-align: 0; text-align: center;
}
.content-block ul > li:not([class*="bi-"])::before {
  content: ""; position: absolute; left: .6rem; top: 1.15rem; width: .35rem; height: .35rem; border-radius: 50%; background: currentColor;
}
.content-block ul a { color: inherit; text-decoration: none; }
.content-block ul a:hover { text-decoration: underline; }

.lead-icon { font-size: 2.5rem; line-height: 1; }

.band { background-color: #fff; }

.ratio-map { aspect-ratio: 16 / 9; }
.ratio-map iframe { width: 100%; height: 100%; border: 0; display: block; }

hr.divider { border-top: 2px solid var(--brand); opacity: .25; max-width: 6rem; margin: 2rem auto; }

/* ---------- Pages intérieures ---------- */
.page-header { background-color: #fff; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); }
.breadcrumb { --bs-breadcrumb-divider-color: var(--brand); font-size: .9rem; margin-bottom: 0; }
.page-content img { max-width: 100%; height: auto; }

/* ---------- Actualités (module News) ---------- */
.news-card { background: #fff; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); transition: box-shadow .2s ease; }
.news-card:hover { box-shadow: 0 .5rem 1.5rem rgba(0, 94, 138, .12); }
.news-card h3 a { color: var(--brand); text-decoration: none; }
.news-card h3 a:hover { color: var(--brand-dark); text-decoration: underline; }
.news-date { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.news-thumb { min-height: 12rem; background: var(--bs-border-color); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767.98px) { .news-thumb img { aspect-ratio: 16 / 9; height: auto; } }
.news-hero { margin: 0; }
.news-hero img { width: 100%; max-height: 32rem; object-fit: cover; border-radius: var(--bs-border-radius-lg); box-shadow: var(--bs-box-shadow-sm); }
.news-body img { max-width: 100%; height: auto; border-radius: var(--bs-border-radius); }
.pagination { --bs-pagination-color: var(--brand); --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); }

/* ---------- Pied de page ---------- */
.site-footer { font-size: .9rem; background-color: var(--page-bg); }
