@import url('https://fonts.googleapis.com/css?family=Montserrat');

:root{
--brand-900:#0b2e5b;
  --brand-700:#0d47a1;
  --brand-600:#1565c0;
  --brand-100:#e7f0ff;

  --font-title: 'Montserrat';
  --font-body: Arial, sans-serif;
}

html, body{ font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6, .section-title, .hero-title{ font-family: var(--font-title); }
.section-title { color: #0d47a1 !important}
.nav-item { font-size: 20px; }
.dropdown-item{ font-size: 18px; }
.bg-primary{ background-color: var(--brand-700) !important; }

.navbar .nav-link{ opacity:.95; }
.navbar .nav-link:hover{ opacity:1; }

.hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 20% 10%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(700px circle at 80% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(135deg, #06142c, #0a2f6b 60%, #09224d);
  color:#fff;
  
}
.hero > .container{ position: relative; z-index: 1; }


.hero-card{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.main-content{ background: #fff; }

/* Wider layout on large screens */
@media (min-width: 992px) {
  .hero > .container,
  .main-content > .container {
    max-width: 1200px;
  }
}
@media (min-width: 1400px) {
  .hero > .container,
  .main-content > .container {
    max-width: 1320px;
  }
}

/* Mobile: hero card full width, tighter padding */
@media (max-width: 991.98px) {
  .hero > .container { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .hero-card { margin-top: 0; }
  .main-content > .container { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
}

.content p{ line-height:1.75; margin-bottom:1rem; }

.content .signature{ margin-bottom:.35rem; font-weight:600; }

.content-list{ padding-left: 1.2rem; }

.section-title{
  font-weight: 800;
  letter-spacing: .2px;
  margin: 1.75rem 0 .75rem;
}

.card-soft{
  border-radius: 18px;
  border: 1px solid rgba(13,71,161,.15);
}

.badge-soft{
  background: var(--brand-100);
  color: var(--brand-700);
  border: 1px solid rgba(13,71,161,.15);
}

.footer{ background: #fbfcff; }

.brand-logo{ filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }

/* Header layout */
.site-header .brand-logo{ width:40px; height:40px; }
.brand-logo-lang{ height: 70px; width: auto; display: block; filter: drop-shadow(0 1px 4px rgba(0,0,0,.15)); }
@media (max-width: 575.98px) {
  .brand-logo-lang{ height: 28px; max-width: 200px; }
}
.site-header .navbar-nav .nav-link{ font-weight: 600; }
.lang-switch .btn{ padding: .2rem .55rem; border-radius: 999px; }

/* Hero outline title */
.outline-title{
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.95);
  text-shadow: 0 0 24px rgba(255,255,255,.12);
}
@supports not (-webkit-text-stroke: 2px rgba(255,255,255,.95)){
  .outline-title{
    color:#fff;
    text-shadow:
      -1px -1px 0 rgba(255,255,255,.9),
       1px -1px 0 rgba(255,255,255,.9),
      -1px  1px 0 rgba(255,255,255,.9),
       1px  1px 0 rgba(255,255,255,.9),
       0  0 24px rgba(255,255,255,.10);
  }
}

/* News strip */
.news-strip{ background: #fbfcff; }
.news-track{
  display:flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.news-track::-webkit-scrollbar{ height: 10px; }
.news-track::-webkit-scrollbar-thumb{ background: rgba(13,71,161,.25); border-radius: 999px; }
.news-card{
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(13,71,161,.15);
  scroll-snap-align: start;
}
.news-title-link{
  color: inherit;
  text-decoration: none !important;
  font-family: var(--font-title); 
    font-size: 25px;
    font-weight: 700 !important;
    color: #0d47a1 !important
}
.news-title-link:hover{
  color: var(--brand-700) !important;
}
.news-arrow{ font-size: 1.25rem; line-height: 1; }

/* Footer links */
.footer a:hover{ text-decoration: underline !important; }

/* ── Habillage texte (style Word) — vidéo & photo flottées à droite ── */
.media-float-right{
  float: right;
  width: 30%;
  max-width: 480px;
  margin: .25rem 0 1.75rem 2rem;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,71,161,.12);
}
/* ratio-16x9 Bootstrap à l'intérieur de la vidéo flottée */
.media-float-right .ratio iframe{
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
/* clearfix sur l'article pour que le conteneur englobe les flottants */
.content.clearfix::after{
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 767.98px) {
  .media-float-right{
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
}
/* Ombre légère sur la card vidéo de la homepage */
.ratio iframe{
  box-shadow: 0 4px 24px rgba(13,71,161,.10);
  border-radius: .75rem;
}

/* Carte loges */
.fw-semibold{
  font-family: var(--font-title);
}

.fr-fic{
  float:left;
    margin-right: 10px;
    margin-bottom: 5px;
}

.dropdown-menu { 
box-shadow: 10px 10px 12px -13px rgba(0,0,0,0.5); background-color: #DDE4EC
}
.form-control {
    background-color: #DDE4EC
}