/* =========================================================
   VAAD LOUBAVITCH DE FRANCE — Design navy / or
   ========================================================= */
/* Google Fonts chargées via <link> dans _header.php pour de meilleures performances */

/* ===== VARIABLES ===== */
:root {
  --navy:        #1B2F4E;
  --navy-dark:   #0f1e32;
  --navy-deep:   #0e1e32;
  --gold:        #C8A000;
  --gold-bright: #E8BB00;
  --gold-pale:   #F5E9A0;
  --gold-bg:     #FBF5DC;
  --white:       #ffffff;
  --off-white:   #F8F6F0;
  --light:       #f3f4f6;
  --muted:       #374151;
  --border:      #E5E7EB;
  --text:        #1f2937;
  --text-light:  #1f2937;
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.18);
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   22px;
  --blue-mid:    #2563EB;
  --blue:        #1B2F4E;
  --transition:  .22s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--navy-deep); }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-page {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '✡';
  position: absolute;
  font-size: 38vw;
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.login-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(200,160,0,.25);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  position: relative;
  z-index: 1;
}
.login-emblem {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--gold);
  display: block;
}
.login-org {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.login-title {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.login-error {
  background: rgba(239,68,68,.2);
  border: 1px solid rgba(239,68,68,.4);
  color: #fca5a5;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .88rem;
  margin-bottom: 20px;
}
.login-input {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-size: .97rem;
  font-family: inherit;
  outline: none;
  margin-bottom: 14px;
  transition: border-color var(--transition);
}
.login-input::placeholder { color: rgba(255,255,255,.4); }
.login-input:focus { border-color: var(--gold); }
.login-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: var(--radius);
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: background var(--transition), transform var(--transition);
}
.login-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11,25,45,.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,160,0,.2);
  transform: translateZ(0);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 86px;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo__img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-logo__emblem {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-deep);
  font-weight: 700;
}
.header-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header-logo__name {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-logo__sub {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-item {
  position: relative;
}
/* Pont invisible qui couvre le gap 6px entre nav-link et dropdown.
   Tant que la souris est sur ce pseudo-élément, .nav-item reste en hover. */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--gold-bright); background: rgba(200,160,0,.1); }
.nav-link .nav-arrow {
  font-size: .6rem;
  opacity: .6;
  transition: transform var(--transition);
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--navy-dark);
  border: 1px solid rgba(200,160,0,.2);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  z-index: 999;
  /* fermeture avec délai : le dropdown reste 180ms après que la souris quitte,
     le temps de traverser le gap de 6px */
  transition: opacity .15s, visibility 0s .18s;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .15s, visibility 0s 0s;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover { background: rgba(200,160,0,.12); color: var(--gold-bright); }
.nav-dropdown .dd-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 6px 0;
}

.header-hebdate {
  flex-shrink: 0;
  text-align: right;
  background: rgba(200,160,0,.1);
  border: 1px solid rgba(200,160,0,.25);
  border-radius: 8px;
  padding: 6px 14px;
  line-height: 1.5;
}
.header-hebdate__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .73rem;
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
}
.header-hebdate__bh {
  margin-left: auto;
  opacity: .8;
}
.header-hebdate__paracha {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}
.header-hebdate__paracha [dir="rtl"] {
  color: var(--gold);
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a3a5c 100%);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '✡';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22rem;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  user-select: none;
}
.page-hero__breadcrumb {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero__breadcrumb a { color: var(--gold); }
.page-hero__breadcrumb a:hover { color: var(--gold-bright); }
.page-hero__title {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero__sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: none;
}
/* Pages sans <div class="container"> dans le hero : centrage automatique */
.page-hero > .page-hero__breadcrumb,
.page-hero > .page-hero__title,
.page-hero > .page-hero__sub {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* Badge = inline-flex : margin:auto n'a aucun effet sur les éléments inline.
   On le passe en block + fit-content et on aligne sur le bord du container. */
.page-hero > .page-hero__badge {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: max(24px, calc((100% - 1160px) / 2 + 24px));
  margin-right: 0;
  padding-left: 14px;
  padding-right: 14px;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,160,0,.15);
  border: 1px solid rgba(200,160,0,.35);
  color: var(--gold-bright);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* =========================================================
   HERO HOME
   ========================================================= */
.hero-home {
  background: url('/img/img2.jpg') center center / cover no-repeat;
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 30, 49, 0.85);
  pointer-events: none;
}
.hero-home .container { position: relative; z-index: 1; width: 100%; }
.hero-home__emblem {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(200,160,0,.4);
  overflow: hidden;
  padding: 8px;
}
.hero-home__emblem-img {
  max-width: 60px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hero-home__title {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero-home__sub {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-home__sub--hebrew {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.6rem;
  letter-spacing: 0;
  text-transform: none;
  direction: rtl;
}
.hero-home__desc {
  color: #ffffff;
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.hero-home__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(200,160,0,.25);
  border-radius: var(--radius-lg);
  padding: 16px 32px;
  backdrop-filter: blur(8px);
}
.hero-home__date-heb { color: var(--gold-bright); font-size: 1.15rem; font-weight: 600; }
.hero-home__date-fr  { color: rgba(255,255,255,.8); font-size: .88rem; }
.hero-home__date-parasha { color: rgba(255,255,255,.5); font-size: .78rem; font-style: italic; }

/* ===== INFO BAND ===== */
.info-band {
  background: linear-gradient(90deg, #071426 0%, #102238 50%, #071426 100%);
  border-bottom: 2px solid #d8aa00;
  padding: 0;
}
.info-band__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 50px;
}
.info-band__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s, background .2s;
  cursor: default;
}
a.info-band__item { cursor: pointer; }
a.info-band__item:hover { color: #f0c400; background: rgba(216,170,0,.06); }
.info-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(216,170,0,.18);
  border: 1px solid rgba(240,196,0,.45);
  color: #f0c400;
  flex-shrink: 0;
}
a.info-band__item:hover .info-band__icon {
  background: rgba(216,170,0,.25);
  border-color: rgba(216,170,0,.6);
}
.info-band__text { white-space: nowrap; }
.info-band__sep {
  width: 1px;
  background: rgba(216,170,0,.25);
  margin: 8px 0;
  flex-shrink: 0;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 72px 0; }
.section--light { background: var(--off-white); }
.section--dark  { background: var(--navy-dark); }
.section--navy  { background: var(--navy); }
.section--gold  { background: var(--navy-deep); }

.section__title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section--dark .section__title,
.section--navy .section__title,
.section--gold .section__title { color: var(--white); }

.section__title--center { text-align: center; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 28px;
}
.divider--center { margin-left: auto; margin-right: auto; }

.section__intro {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 32px;
}
.section__intro--center { text-align: center; margin-left: auto; margin-right: auto; }
.section--dark .section__intro,
.section--gold .section__intro { color: rgba(255,255,255,.65); }

/* =========================================================
   CARDS
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }
.card--service { display: flex; flex-direction: column; align-items: center; text-align: center; }

.card__icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.card--service .card__icon { margin-bottom: 12px; margin-top: 0; }
.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card__text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.card__link:hover { color: var(--gold); }

/* =========================================================
   ACCORDION
   ========================================================= */
.accordion { max-width: 800px; }
.accordion--full { max-width: none; }
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion__item.open,
.accordion__item:hover { border-color: var(--gold); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  transition: background var(--transition);
}
.accordion__btn:hover { background: var(--off-white); }
.accordion__item.open .accordion__btn { background: var(--off-white); }
.accordion__btn .icon { font-size: 1.1rem; }
.accordion__chevron {
  margin-left: auto;
  font-size: .7rem;
  transition: transform .25s ease;
  color: var(--gold);
}
.accordion__item.open .accordion__chevron { transform: rotate(180deg); }
.accordion__body { display: none; }
.accordion__item.open .accordion__body { display: block; }
.accordion__content {
  padding: 18px 22px 20px;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.accordion__content p + p { margin-top: 12px; }
.accordion__content a { color: var(--blue-mid); font-weight: 500; }

/* Dark section accordion */
.section--gold .accordion__item { border-color: rgba(255,255,255,.1); }
.section--gold .accordion__btn { background: rgba(255,255,255,.05); color: var(--white); }
.section--gold .accordion__btn:hover,
.section--gold .accordion__item.open .accordion__btn { background: rgba(255,255,255,.1); }
.section--gold .accordion__content { background: rgba(255,255,255,.03); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.1); }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 13px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(200,160,0,.2) 100%);
}
.timeline__step {
  position: relative;
  margin-bottom: 32px;
}
.timeline__dot {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline__text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   GLOSSARY
   ========================================================= */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.glossary-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
}
.glossary-item__term {
  font-size: .88rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.glossary-item__def {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================================
   TABLE
   ========================================================= */
.vaad-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.vaad-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.vaad-table th {
  background: var(--navy);
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vaad-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.vaad-table tr:hover td { background: var(--off-white); }

/* =========================================================
   LOGO GRID
   ========================================================= */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.logo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.logo-item:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.logo-item__img { height: 56px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.logo-item__name { font-size: .76rem; font-weight: 600; color: var(--navy); }
.logo-item__country { font-size: .7rem; color: var(--muted); margin-top: 2px; }

/* =========================================================
   SIDEBAR LAYOUT
   ========================================================= */
.sidebar-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.sidebar-nav {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 0;
  overflow: hidden;
}
.sidebar-nav__title {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px 10px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: .84rem;
  color: var(--text-light);
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover { background: var(--off-white); color: var(--navy); }
.sidebar-nav a.active {
  background: var(--gold-bg);
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--gold);
}

/* =========================================================
   FORM
   ========================================================= */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: .93rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,47,78,.1);
}
.form-submit {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: .97rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: .02em;
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,47,78,.3); }
.form-success {
  background: #e6f4ea;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #166534;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 16px;
}

/* =========================================================
   BADGE
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-bg);
  border: 1px solid rgba(200,160,0,.35);
  color: #7c5a00;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--navy {
  background: rgba(27,47,78,.08);
  border-color: rgba(27,47,78,.2);
  color: var(--navy);
}
.badge--green { background: #e6f4ea; border-color: #86efac; color: #166534; }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band { background: var(--navy); padding: 40px 0; }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-band__num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-band__label {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  padding: 48px 0;
  text-align: center;
}
.cta-band__title { font-size: 1.5rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 10px; }
.cta-band__sub { color: rgba(7,15,30,.65); font-size: .95rem; margin-bottom: 24px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); box-shadow: 0 6px 20px rgba(27,47,78,.3); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy-deep); }
.btn--white:hover { background: var(--gold-bg); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-info__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-info__value { font-size: .93rem; color: var(--text); line-height: 1.6; }

/* =========================================================
   PLACEHOLDER BLOCK
   ========================================================= */
.placeholder-block {
  background: var(--gold-bg);
  border: 1.5px dashed rgba(200,160,0,.5);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #7c5a00;
  font-size: .88rem;
  text-align: center;
  line-height: 1.65;
}
.placeholder-block strong { display: block; margin-bottom: 6px; font-size: .92rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); padding: 56px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand__logo { height: 56px; width: auto; display: block; object-fit: contain; margin-bottom: 14px; }
.footer-brand__name { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.footer-brand__sub { color: var(--gold); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-brand__desc { color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.7; }
.footer-col__title {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: .83rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom__copy { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-bottom__links { display: flex; gap: 16px; }
.footer-bottom__links a { color: rgba(255,255,255,.3); font-size: .78rem; transition: color var(--transition); }
.footer-bottom__links a:hover { color: var(--gold); }

/* =========================================================
   UTILITIES
   ========================================================= */
.text-gold  { color: var(--gold) !important; }
.text-navy  { color: var(--navy) !important; }
.text-muted { color: var(--muted) !important; }
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 860px) {
  .site-header { position: relative; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-hebdate { display: none; }
  .header-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 86px;
    left: 0; right: 0;
    background: var(--navy-dark);
    border-top: 1px solid rgba(200,160,0,.15);
    padding: 12px;
    gap: 4px;
    z-index: 800;
  }
  .header-nav.mobile-open .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    }
  .header-nav.mobile-open .nav-item.dd-open .nav-dropdown {
    display: flex;
    flex-direction: column;
    padding: 4px 0 4px 16px;
    gap: 2px;
  }
  .header-nav.mobile-open .nav-item { width: 100%; }
  .header-nav.mobile-open .nav-link { justify-content: space-between; width: 100%; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid--4 { grid-template-columns: 1fr 1fr; }
  .glossary-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .sidebar-nav__title { width: 100%; padding: 0 0 8px; }
  .sidebar-nav a { padding: 6px 12px; border-radius: var(--radius); border-left: none; border: 1px solid var(--border); font-size: .8rem; }
  .page-hero__title { font-size: 1.9rem; }
  .page-grid-2 { grid-template-columns: 1fr; }
  .contact-col-form { order: -1; }
  .contact-col-info { order: 0; }
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .cards-grid--4 { grid-template-columns: 1fr 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .hero-home { padding: 56px 0 44px; }
  .section { padding: 48px 0; }
  .login-card { padding: 36px 24px; }
  .page-hero { padding: 44px 0 34px; }
  .page-hero__title { font-size: 1.5rem !important; }
  .page-hero__sub { font-size: .92rem; }
  .section__title { font-size: 1.35rem; }
  .info-band__inner { flex-direction: column; align-items: center; gap: 0; }
  .info-band__sep { display: none; }
  .info-band__item {
    padding: 12px 24px;
    justify-content: flex-start;
    width: 100%;
    border-bottom: 1px solid rgba(216,170,0,.15);
  }
  .info-band__item:last-child { border-bottom: none; }
  .info-band__text { white-space: normal; text-align: left; }
  .info-band__icon { width: 26px; height: 26px; flex-shrink: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Logos & Certifications ──────────────────── */
.logos-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.logos-tab {
  padding: 10px 22px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 50px;
  transition: all .2s;
}
.logos-tab:not(.logos-tab--active):hover { border-color: var(--gold); color: var(--gold-bright); }
.logos-tab--active { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); cursor: default; }

.logos-panel { display: none; }
.logos-chapnav { display:flex; justify-content:center; align-items:center; gap:1.25rem; margin-top:2.5rem; padding-top:1.5rem; margin-bottom:2rem; border-top:1px solid var(--border); }
.logos-panel--active { display: block; }

.logos-disclaimer {
  background: #fff8e7;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.6;
}
.logos-disclaimer__strong { color: #c0392b; }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

/* Card verticale : image centree en haut, texte dessous */
.logo-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 14px 18px;
  transition: box-shadow .2s, transform .2s;
  gap: 0;
}
.logo-entry:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-3px); }

.logo-entry--country {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  transform: none !important;
  box-shadow: none !important;
}
.logo-entry--country h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }

.logo-entry__imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 4px;
  width: 100%;
  min-height: 110px;
  overflow: hidden;
}
.logo-img {
  max-width: 110px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-img--placeholder {
  width: 80px; height: 80px;
  background: var(--light);
  border: 1px dashed var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.5rem;
}

.logo-entry__info { width: 100%; }
.logo-entry__info h3 { font-size: .86rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; line-height: 1.45; }
.logo-entry__info p { font-size: .76rem; color: var(--muted); margin-bottom: 3px; line-height: 1.4; }
.logo-entry__info a { color: var(--gold); text-decoration: underline; }
.logo-entry__hebrew { font-family: 'Frank Ruhl Libre', serif; font-size: .84rem; color: var(--navy-dark); direction: rtl; margin-top: 4px; }

.logos-intro-text p { margin-bottom: 14px; line-height: 1.75; color: var(--text); font-size: .97rem; }
.logos-intro__h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.logos-intro__list { list-style: disc; padding-left: 1.5rem; margin-bottom: 14px; }
.logos-intro__list li { margin-bottom: 10px; line-height: 1.65; font-size: .95rem; color: var(--text); }

.logos-coming { text-align: center; padding: 48px 0; color: var(--muted); font-style: italic; }

@media (max-width: 860px) {
  .logos-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
}
@media (max-width: 640px) {
  .logos-tabs { gap: 5px; }
  .logos-tab { padding: 8px 14px; font-size: .8rem; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-entry { padding: 14px 8px 12px; }
  .logo-entry__imgs { min-height: 80px; }
  .logo-img { max-width: 70px; max-height: 70px; }
}

/* ── YouTube ─────────────────────────────────── */
.btn--yt {
  background: #ff0000;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn--yt:hover { background: #cc0000; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,0,0,.35); }

.yt-channel-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.yt-channel-bar__logo { font-size: 2.2rem; flex-shrink: 0; line-height: 1; }
.yt-channel-bar__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.yt-channel-bar__info strong { color: var(--white); font-size: 1.05rem; }
.yt-channel-bar__info span   { color: rgba(255,255,255,.45); font-size: .82rem; }

/* Featured video (homepage) */
.yt-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,160,0,.18);
  transition: box-shadow .25s, transform .25s;
}
.yt-featured:hover { box-shadow: 0 10px 36px rgba(0,0,0,.45); transform: translateY(-2px); }
.yt-featured__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.yt-featured__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.yt-featured:hover .yt-featured__thumb img { transform: scale(1.04); }
.yt-featured__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25);
  font-size: 2.8rem; color: #fff;
  transition: background .2s;
}
.yt-featured:hover .yt-featured__play { background: rgba(200,0,0,.6); }
.yt-featured__info { padding: 28px 28px 28px 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.yt-featured__label {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
}
.yt-featured__title { font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.45; }
.yt-featured__date  { font-size: .78rem; color: rgba(255,255,255,.4); }
.yt-featured__cta   { font-size: .83rem; font-weight: 600; color: var(--gold-bright); margin-top: 4px; }

/* Video grid */
.yt-grid       { display: grid; gap: 18px; }
.yt-grid--3    { grid-template-columns: repeat(3, 1fr); }

/* Video card */
.yt-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .2s, box-shadow .2s;
}
.yt-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.yt-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.yt-card__img   { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.yt-card:hover .yt-card__img { transform: scale(1.05); }
.yt-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff;
  background: rgba(0,0,0,.15);
  opacity: 0; transition: opacity .2s, background .2s;
}
.yt-card:hover .yt-card__play { opacity: 1; background: rgba(200,0,0,.55); }
.yt-card__body  { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.yt-card__title {
  font-size: .84rem; font-weight: 700; color: var(--white); line-height: 1.42;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yt-card__date  { font-size: .71rem; color: rgba(255,255,255,.38); margin-top: auto; }

/* Video slider */
.yt-slider { }
.yt-slider__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yt-slider__wrap { flex: 1; overflow: hidden; }
.yt-slider__track {
  display: flex;
  gap: 18px;
  transition: transform .35s ease;
}
.yt-slider__track .yt-card { flex-shrink: 0; cursor: pointer; }

.yt-slider__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200,160,0,.4);
  background: rgba(255,255,255,.07);
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.yt-slider__btn:hover { background: rgba(200,160,0,.2); }
.yt-slider__btn:disabled { opacity: .3; cursor: default; }

.yt-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.yt-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.yt-slider__dot.active { background: var(--gold); transform: scale(1.25); }

/* Clickable */
.yt-playable { cursor: pointer; }
.yt-featured.yt-playable:hover .yt-featured__play { background: rgba(200,0,0,.6); }

/* Modal vidéo */
.yt-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.yt-modal.is-open {
  display: flex;
}
.yt-modal__overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.88);
  cursor: pointer;
  z-index: 0;
}
.yt-modal__box {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
}
.yt-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  width: 36px; height: 36px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  opacity: .9;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s, background .2s;
}
.yt-modal__close:hover { opacity: 1; background: rgba(200,0,0,.7); }
.yt-modal__player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 fallback */
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.yt-modal__player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 860px) {
  .yt-featured { grid-template-columns: 1fr; }
  .yt-featured__info { padding: 18px; }
  .yt-channel-bar { flex-wrap: wrap; }
  .yt-slider { padding: 0 32px; }
}
@media (max-width: 560px) {
  .yt-featured__play { font-size: 2rem; }
  .yt-slider { padding: 0 28px; }
  .yt-channel-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .yt-channel-bar__info { width: 100%; }
  .btn--yt { width: 100%; text-align: center; justify-content: center; box-sizing: border-box; }
  .yt-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Twemoji emoji size */
.emoji { height: 1.2em; width: 1.2em; vertical-align: -0.2em; display: inline; }

/* =========================================================
   PHOTO SLIDESHOW
   ========================================================= */
.photo-slideshow { position:relative; background:#111; border-radius:12px; overflow:hidden; margin:2rem 0; user-select:none; }
.photo-slideshow__main { aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; background:#111; }
.photo-slideshow__main img { width:100%; height:100%; object-fit:contain; display:block; }
.photo-slideshow__arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(0,0,0,.5); color:#fff; border:none;
  width:48px; height:48px; border-radius:50%; font-size:1.7rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s; z-index:5;
}
.photo-slideshow__arrow:hover { background:rgba(0,0,0,.85); }
.photo-slideshow__prev { left:14px; }
.photo-slideshow__next { right:14px; }
.photo-slideshow__footer {
  display:flex; align-items:center; justify-content:center;
  padding:10px 16px; background:#0d1e32; color:#aaa; font-size:.82rem;
}
@media (max-width:560px) {
  .photo-slideshow__arrow { width:36px; height:36px; font-size:1.2rem; }
  .photo-slideshow__prev { left:6px; }
  .photo-slideshow__next { right:6px; }
}

/* Slideshow side-by-side layout */
.slideshow-layout { display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:start; }
.slideshow-layout .photo-slideshow { margin:0; }
@media (max-width:760px) {
  .slideshow-layout { grid-template-columns:1fr; }
}

/* Nav nested sub-menu — flyout to the right on desktop */
.dd-parent { position: relative; }
.dd-parent__link { display: flex !important; justify-content: space-between; align-items: center; gap: 8px; }
.dd-parent__arrow { font-size: .55rem; opacity: .5; flex-shrink: 0; transition: transform .2s, opacity .15s; }
.dd-sub {
  display: none;
  position: absolute;
  /* calc(100% + 9px) : 100% = bord droit du dd-parent, +8px padding nav-dropdown, +1px border */
  left: calc(100% + 9px);
  top: -8px;
  min-width: 210px;
  background: var(--navy-dark);
  border: 1px solid rgba(200,160,0,.2);
  border-radius: 6px;
  padding: 4px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 1001;
}
/* Pont invisible pour que la souris ne perde pas le hover en traversant le gap de 9px */
.dd-parent:hover::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 0;
  width: 9px;
  height: 100%;
}
.nav-dropdown .dd-sub a { padding: 8px 14px; font-size: .85rem; color: rgba(255,255,255,.85); display: block; }
.nav-dropdown .dd-sub a:hover { color: var(--gold); background: rgba(200,160,0,.12); }
.dd-parent:hover > .dd-sub { display: block; }
.dd-parent:hover .dd-parent__arrow { transform: rotate(0deg); opacity: 1; }
/* mobile : submenu inline */
#vaad-nav.mobile-open .dd-sub {
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  border-left: 2px solid var(--gold);
  padding: 4px 0 6px 12px;
  margin: 2px 8px 4px 10px;
  min-width: 0;
  background: transparent;
}
#vaad-nav.mobile-open .dd-parent.sub-open > .dd-sub { display: block; }
#vaad-nav.mobile-open .dd-parent.sub-open .dd-parent__arrow { transform: rotate(90deg); opacity: 1; }

/* =========================================================
   Bedikot des aliments — ca-verification.php
   ========================================================= */
.bedika-badge { display:inline-flex; align-items:center; padding:3px 10px; border-radius:4px; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; white-space:nowrap; }
.bedika-badge--tres     { background:#7f1d1d; color:#fca5a5; border:1px solid #991b1b; }
.bedika-badge--parfois  { background:#7c2d12; color:#fdba74; border:1px solid #9a3412; }
.bedika-badge--rarement { background:#713f12; color:#fde68a; border:1px solid #92400e; }
.bedika-badge--non      { background:#14532d; color:#86efac; border:1px solid #166534; }
.bedika-badge--variable { background:#3b1d6e; color:#c4b5fd; border:1px solid #5b21b6; }

.bedika-legend { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:1.5rem 0 2rem; }
@media(max-width:680px) { .bedika-legend { grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px) {
  .bedika-legend { grid-template-columns:1fr; }
  .bedika-legend__item { flex-direction:row; text-align:left; justify-content:flex-start; }
  .bedika-legend__item .bedika-badge { white-space:normal; word-break:break-word; }
}
.bedika-legend__item { background:var(--white); border:1px solid var(--border); border-radius:8px; padding:16px 14px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; border-bottom:4px solid; }
.bedika-legend__item:nth-child(1) { border-bottom-color:#991b1b; }
.bedika-legend__item:nth-child(2) { border-bottom-color:#9a3412; }
.bedika-legend__item:nth-child(3) { border-bottom-color:#92400e; }
.bedika-legend__item:nth-child(4) { border-bottom-color:#166534; }
.bedika-legend__item .bedika-badge { font-size:.75rem; }
.bedika-legend__heb { font-size:.82rem; color:#1B2F4E; direction:rtl; unicode-bidi:bidi-override; line-height:1.5; }

.bedika-disclaimer { display:flex; gap:12px; align-items:flex-start; background:rgba(200,160,0,.08); border:1px solid rgba(200,160,0,.3); border-left:4px solid var(--gold); border-radius:0 6px 6px 0; padding:14px 18px; color:#1B2F4E; font-size:.88rem; font-weight:500; line-height:1.65; margin:2rem 0; }

.bedika-alpha { display:flex; flex-wrap:wrap; gap:5px; margin:1rem 0 2.5rem; }
.bedika-alpha__link { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border:1px solid rgba(200,160,0,.3); border-radius:5px; color:var(--gold); font-weight:700; font-size:.88rem; text-decoration:none; transition:background .15s; }
.bedika-alpha__link:hover { background:rgba(200,160,0,.15); color:var(--gold-bright); text-decoration:none; }
.bedika-alpha__link--empty { color:rgba(255,255,255,.18); border-color:rgba(255,255,255,.1); pointer-events:none; }

.bedika-letter-sep { font-size:1.5rem; font-weight:800; color:var(--gold); padding:2rem 0 .6rem; border-bottom:2px solid rgba(200,160,0,.2); margin-bottom:.75rem; letter-spacing:.08em; }

.bedika-entry { border-bottom:1px solid rgba(255,255,255,.06); }
.bedika-entry__btn { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:11px 0; display:flex; align-items:center; gap:10px; color:inherit; font-family:inherit; }
.bedika-entry__btn:hover .bedika-entry__name { color:var(--gold); }
.bedika-entry__names { flex:1; min-width:0; }
.bedika-entry__name { display:block; font-weight:700; font-size:.9rem; color:var(--text); transition:color .15s; line-height:1.3; }
.bedika-entry__heb { display:block; font-size:.75rem; color:var(--muted); direction:rtl; unicode-bidi:bidi-override; margin-top:1px; }
.bedika-entry__chevron { font-size:.55rem; color:var(--gold); transition:transform .2s; flex-shrink:0; }
.bedika-entry.open .bedika-entry__chevron { transform:rotate(180deg); }
.bedika-entry__body { display:none; padding:2px 0 18px; }
.bedika-entry.open .bedika-entry__body { display:block; }

.bedika-entry__inner { display:grid; grid-template-columns:110px 1fr; gap:16px; align-items:start; }
@media(max-width:560px) { .bedika-entry__inner { grid-template-columns:1fr; } }

.bedika-entry__img-slot { width:110px; min-height:80px; background:rgba(255,255,255,.04); border:2px dashed rgba(200,160,0,.2); border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; color:rgba(200,160,0,.4); font-size:.62rem; text-align:center; flex-shrink:0; line-height:1.4; }
.bedika-entry__img-slot img { width:100%; height:auto; object-fit:contain; border-radius:6px; display:block; }

.bedika-risk-line { display:flex; flex-direction:column; gap:3px; margin-bottom:10px; }
.bedika-risk-line__heb { font-size:.75rem; color:var(--muted); direction:rtl; unicode-bidi:bidi-override; }
.bedika-procedure-title { display:block; font-size:.77rem; font-weight:700; color:var(--gold); letter-spacing:.07em; text-transform:uppercase; margin:10px 0 6px; }
.bedika-procedure { list-style:disc; padding-left:1.2rem; color:var(--muted); line-height:2; font-size:.86rem; margin-bottom:8px; }
.bedika-entry__text > p, .bedika-entry__text .bedika-sub > p { color:var(--muted); font-size:.86rem; line-height:1.8; margin-bottom:6px; }
.bedika-note { background:rgba(255,255,255,.04); border-left:3px solid rgba(200,160,0,.3); padding:10px 14px; border-radius:0 4px 4px 0; margin-top:12px; }
.bedika-note strong { display:block; color:var(--text); font-size:.82rem; margin-bottom:5px; }
.bedika-note p, .bedika-note ul { font-size:.84rem; color:var(--muted); line-height:1.85; }
.bedika-note ul { list-style:disc; padding-left:1.1rem; }

/* Glossaire du Kacher */
.glossaire-list { display:flex; flex-direction:column; }
.glossaire-entry { padding:20px 0; border-bottom:1px solid var(--border); }
.glossaire-entry:last-child { border-bottom:none; }
.glossaire-entry--sub { margin:12px 0 4px 0; padding:14px 18px; background:rgba(200,160,0,.04); border:none !important; border-left:3px solid rgba(200,160,0,.35) !important; border-radius:0 6px 6px 0; }
.glossaire-entry--sub:last-child { border-bottom:none !important; }
.glossaire-entry__term { font-size:1.05rem; font-weight:800; color:#1B2F4E; margin-bottom:8px; }
.glossaire-entry__term--sub { font-size:.95rem; }
.glossaire-entry__alt { font-size:.82rem; font-weight:500; color:#6B7280; }
.glossaire-entry__def { color:#374151; line-height:1.85; font-size:.92rem; margin-bottom:6px; }
.glossaire-entry__def:last-child { margin-bottom:0; }

/* Mission cards – image icons */
.card__icon--img-vaad { width: 130px; height: 130px; margin: 0 0 16px; display: flex; align-items: center; justify-content: center; }
.card__icon--img-vaad img { width: 130px; height: 130px; object-fit: contain; display: block; border-radius: 8px; }

/* Service cards – image icons */
.card__icon--img-service { width: 80px; height: 80px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.card__icon--img-service img { width: 80px; height: 80px; object-fit: contain; display: block; border-radius: 8px; }

/* Contact info cards — icon left, label+value stacked right */
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
a.contact-card-item { text-decoration: none; color: inherit; }
.contact-card-item {
  display: flex; flex-direction: row; align-items: center; gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.contact-card-item:hover { box-shadow: var(--shadow-md); }
.contact-card-item__icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  box-shadow: 0 4px 14px rgba(27,47,78,.2);
}
.contact-card-item__body { display: flex; flex-direction: column; gap: 4px; }
.contact-card-item__label {
  font-size: 1rem; font-weight: 800; color: var(--navy-deep);
}
.contact-card-item__value {
  font-size: .92rem; color: var(--muted); line-height: 1.65;
}
/* Contact cards responsive */
@media (max-width: 560px) {
  a.contact-card-item { text-decoration: none; color: inherit; }
.contact-card-item { flex-direction: column; text-align: center; padding: 20px 16px; }
  .contact-card-item__icon { width: 64px; height: 64px; }
  .contact-card-item__body { align-items: center; }
  .card__icon--img-vaad, .card__icon--img-vaad img { width: 72px; height: 72px; }
  .card__icon--img-service, .card__icon--img-service img { width: 60px; height: 60px; }
}
/* Mission cards: 1 per row on mobile */
@media (max-width: 860px) {
  .cards-grid--mission { grid-template-columns: 1fr; }
}

/* ── PDF group titles (multiple brochures) ───── */
.pdf-group__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 72px 0 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(216,170,0,.3);
}
.pdf-group__title:first-of-type { margin-top: 28px; }

/* ── PDF Cards (guides à télécharger) ────────── */
.pdf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.pdf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pdf-card__cover-link { display: block; overflow: hidden; }
.pdf-card__cover {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #f5f2ec;
  display: block;
  transition: transform .35s;
  padding: 10px;
  box-sizing: border-box;
}
.pdf-card__cover-link:hover .pdf-card__cover { transform: scale(1.03); }
.pdf-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pdf-card__lang {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.pdf-card__title { font-size: 1.05rem; font-weight: 700; color: var(--navy-deep); line-height: 1.4; }
.pdf-card__desc { font-size: .88rem; color: var(--muted); line-height: 1.65; flex: 1; }
.pdf-credits {
  text-align: center;
  margin-top: 28px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.7;
}
.tichri-quote {
  border-left: 5px solid var(--gold);
  padding: 22px 28px;
  margin: 32px 0 0;
  background: #fff8e6;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--navy-deep);
  line-height: 1.85;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(216,170,0,.15);
}
.tichri-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: .84rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: .01em;
}
@media (max-width: 700px) {
  .pdf-cards { grid-template-columns: 1fr; }
  .pdf-card__cover { height: 240px; }
}

/* =========================================================
   MIKVÉ — SOUS-NAVIGATION & TABLE DES MATIÈRES
   ========================================================= */
.mv-subnav { background: var(--white); border-bottom: 2px solid var(--off-white); padding: .8rem 0; }
.mv-subnav .container { display: flex; gap: .5rem; flex-wrap: wrap; }
.mv-subnav__link {
  padding: .38rem .95rem;
  border-radius: 20px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  background: var(--off-white);
  transition: background .2s, color .2s;
}
.mv-subnav__link:hover { background: var(--gold); color: #fff; }
.mv-subnav__link--active { background: var(--navy); color: #fff; }

.mv-toc { background: var(--off-white); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.mv-toc__title { font-weight: 700; color: var(--navy); margin-bottom: .5rem; font-size: .93rem; text-transform: uppercase; letter-spacing: .04em; }
.mv-toc ol { padding-left: 1.4rem; margin: 0; }
.mv-toc li { line-height: 2; }
.mv-toc a { color: var(--blue-mid); text-decoration: none; font-size: .92rem; }
.mv-toc a:hover { text-decoration: underline; }

.mv-fig { display: inline-block; margin: 1.1rem 0; cursor: zoom-in; }
.mv-thumb { max-height: 110px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; display: block; }
.mv-thumb:hover { transform: scale(1.06); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.mv-fig__caption { font-size: .75rem; color: var(--muted); margin-top: .3rem; text-align: center; }

.mv-lbx { padding: 0; border: none; background: transparent; border-radius: 8px; max-width: 95vw; }
.mv-lbx::backdrop { background: rgba(0,0,0,.82); }
.mv-lbx img { max-width: 90vw; max-height: 85vh; display: block; border-radius: 8px; }
.mv-lbx__close { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 1.1rem; line-height: 32px; text-align: center; }

.mv-h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 1.6rem 0 .6rem; }

@media (max-width: 640px) {
  .mv-subnav .container { gap: .35rem; }
  .mv-subnav__link { font-size: .8rem; padding: .32rem .7rem; }
}

.cdd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 640px) { .cdd-grid { grid-template-columns: 1fr; } }