@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ---- VARIABLES (fidèles au site original) ---- */
:root {
  /* Couleurs principales */
  --bg:           hsl(210, 20%, 98%);   /* #f7f9fb — fond global très clair */
  --bg-card:      #ffffff;
  --bg-muted:     hsl(210, 15%, 93%);   /* #eaecf0 */
  --fg:           hsl(213, 32%, 12%);   /* #131f35 — texte foncé */
  --fg-muted:     hsl(213, 15%, 45%);   /* #5d6b84 — texte secondaire */
  --border:       hsl(210, 15%, 88%);   /* #dde0e6 */

  /* Palette primaire : bleu marine */
  --primary:      hsl(213, 55%, 24%);   /* #1a3a6c */
  --primary-light:hsl(213, 55%, 32%);   /* #1e4a8a */
  --primary-pale: hsl(213, 55%, 95%);   /* #edf2fb */

  /* Accent : orange (secondary dans le site) */
  --accent:       hsl(24, 80%, 53%);    /* #e8721a */
  --accent-light: hsl(24, 80%, 60%);    /* #ef8c3b */
  --accent-pale:  hsl(24, 80%, 95%);    /* #fdf0e8 */

  /* Hero/sidebar sombre */
  --hero-bg:      hsl(213, 55%, 14%);   /* #0d2040 */
  --hero-bg2:     hsl(213, 55%, 8%);    /* #071220 */

  --font-sans:    'Inter', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --container:    1200px;
  --radius:       10px;
  --shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 32px rgba(0,0,0,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---- TOPBAR (Espace Participant + drapeaux, à droite) ---- */
:root { --topbar-h: 38px; }
#site-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: var(--topbar-h);
  background: var(--hero-bg2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: var(--container); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 24px;
}
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-link {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.75);
  text-decoration: none; transition: color .2s;
}
.topbar-link:hover { color: #fff; }
.topbar-link-icon { font-size: .95rem; line-height: 1; }
.topbar-sep { width: 1px; height: 15px; background: rgba(255,255,255,.2); }
.topbar-flags { display: flex; align-items: center; gap: 4px; }
.topbar-flags a {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: background .2s, color .2s;
}
.topbar-flags a:hover { color: #fff; }
.topbar-flags a.active { color: #fff; background: rgba(255,255,255,.14); }
.topbar-flags img { border-radius: 2px; display: block; box-shadow: 0 0 1px rgba(0,0,0,.4); }

/* Header sous la topbar + contenu décalé */
#site-header { top: var(--topbar-h); }
body { padding-top: var(--topbar-h); }
.hero { min-height: calc(100vh - var(--topbar-h)); }

/* ---- Barre d'admin WordPress (se cumule avec la topbar) ---- */
.admin-bar #site-topbar { top: 32px; }
.admin-bar #site-header { top: calc(32px + var(--topbar-h)); }
@media screen and (max-width: 782px) {
  .admin-bar #site-topbar { top: 46px; }
  .admin-bar #site-header { top: calc(46px + var(--topbar-h)); }
}

.ap-hero{
  padding-top: 130px;
}

/* ---- Sections Elementor bilingues : n'afficher que la langue active ---- */
body.lang-en .pafos-lang-fr { display: none !important; }
body.lang-fr .pafos-lang-en { display: none !important; }

/* ---- IMAGES : coins bien arrondis partout (comme la maquette de référence).
   !important requis : Elementor injecte « .elementor img { border-radius: 0 } »
   plus spécifique que nos classes seules. ---- */
:root { --img-radius: 24px; }
.about-img,
.about-img-badge,
.hotel-img,
.speaker-img,
.ap-president-photo,
.ap-venue-img,
.ap-org-logo-wrap,
.preconges-img-wrap,
.preconges-no-img,
.circuit-img-wrap,
.quote-author-img,
.ip-hero-img,
.footer-logo,
.prog-intro-icon,
.ap-map-wrap,
.hotel-card,
.speaker-card,
.preconges-card,
.circuit-card {
  border-radius: var(--img-radius) !important;
}
.quote-author-img { border-radius: 50% !important; }
/* Cartes avec image en tête : arrondir uniquement le haut de l'image interne */
.preconges-img-wrap, .circuit-img-wrap,
.preconges-no-img,
.speaker-img { border-radius: var(--img-radius) var(--img-radius) 0 0 !important; }
.hotel-img { border-radius: 0 !important; } /* dans .hotel-card qui a déjà overflow:hidden */
.ap-org-logo-wrap { border-radius: 12px !important; }
.prog-intro-icon { border-radius: 10px !important; }
.footer-logo { border-radius: 8px !important; }

/* ---- Neutraliser le reset image d'Elementor (« .elementor img { height:auto } »)
   qui écrase les hauteurs fixes du thème dans les pages converties ---- */
.card-img          { height: 210px !important; object-fit: cover; }
.about-img         { height: 440px !important; object-fit: cover; }
.quote-author-img  { width: 50px !important; height: 50px !important; object-fit: cover; }
.speaker-img       { height: 240px !important; object-fit: cover; object-position: top; }
.hotel-img         { height: 440px !important; object-fit: cover; }
.footer-logo       { height: 38px !important; }
.ap-president-photo{ width: 280px !important; height: 340px !important; object-fit: cover; object-position: top; }
.ap-venue-img      { height: 360px !important; object-fit: cover; }
.ap-org-logo       { width: 100% !important; height: 100% !important; object-fit: contain; }
.preconges-img     { height: 100% !important; object-fit: cover; }
.circuit-img       { height: 100% !important; object-fit: cover; }
@media (max-width: 900px) {
  .ap-president-photo { width: 100% !important; height: 280px !important; }
}
@media (max-width: 768px) {
  .hotel-img { height: 260px !important; }
}

/* ---- HEADER / NAV ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: all .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: var(--container); margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 44px; width: auto; object-fit: contain; }
.site-logo-divider { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
.site-logo-text { line-height: 1.2; }
.site-logo-text .title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--primary); }
.site-logo-text .year { font-size: .72rem; color: var(--accent); font-weight: 600; }

#main-nav { display: flex; align-items: center; gap: 2px; }
#main-nav a {
  color: var(--fg-muted); font-size: .84rem; font-weight: 500;
  padding: 7px 11px; border-radius: var(--radius);
  transition: all .2s; white-space: nowrap;
}
#main-nav a:hover, #main-nav a.current {
  color: var(--primary); background: var(--primary-pale);
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius) !important;
  margin-left: 4px;
}
.nav-cta:hover { background: var(--accent-light) !important; color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: all .3s; }

/* ---- HERO (sombre — identique au site original) ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(13,32,64,.9) 0%, rgba(13,32,64,.7) 60%, rgba(7,18,32,.85) 100%),
              url('/wp-content/uploads/pafos/4dfa793f5_basilique_notre_dame_de_la_paix-JxCoU.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: .78rem; font-weight: 600;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 24px; letter-spacing: .06em;
}
.hero-badge::before { content: '●'; font-size: .45rem; color: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700; color: #fff; line-height: 1.08; margin-bottom: 14px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle { font-family: var(--font-serif); font-size: 1.3rem; color: rgba(255,255,255,.75); margin-bottom: 28px; font-style: italic; }
.hero-date {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 10px 22px; border-radius: var(--radius); margin-bottom: 36px;
  color: rgba(255,255,255,.9); font-size: .875rem;
}
.hero-date .separator { color: var(--accent); }
.hero-date { margin-bottom: 10px; }
.hero-venue {
  font-size: .875rem; color: rgba(255,255,255,.65);
  margin-bottom: 36px; letter-spacing: .01em;
}

/* Countdown */
.countdown { display: flex; gap: 20px; justify-content: center; margin-bottom: 44px; }
.countdown-item { text-align: center; }
.countdown-num {
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--accent);
  display: block; line-height: 1;
}
.countdown-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-top: 4px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius); font-weight: 600;
  font-size: .9rem; cursor: pointer; transition: all .2s;
  border: none; text-decoration: none; font-family: var(--font-sans);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,114,26,.3); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-light); color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--primary-pale); border-color: var(--primary); color: var(--primary); }
.btn-outline-cta {
  color: #fff !important;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-cta:hover { background: rgba(255,255,255,.12); border-color: #fff; color: var(--accent); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---- SECTIONS ---- */
section { padding: 72px 0; }
.section-white  { background: #fff; }
.section-light  { background: var(--bg); }
.section-muted  { background: var(--bg-muted); }
.section-primary{ background: var(--primary); color: #fff; }
.section-hero   { background: var(--hero-bg); color: #fff; }

.section-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 10px; display: block;
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--fg); line-height: 1.2; margin-bottom: 14px;
}
.section-title.white { color: #fff; }
.section-subtitle { font-size: .975rem; color: var(--fg-muted); max-width: 600px; line-height: 1.75; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* Grilles */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .25s;
}
.card:hover { border-color: hsl(213,55%,70%); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px; }
.card-tag {
  display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; padding: 2px 9px; border-radius: 50px;
  background: var(--primary-pale); color: var(--primary); margin-bottom: 10px;
}
.card-title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 7px; color: var(--fg); }
.card-text { font-size: .875rem; color: var(--fg-muted); line-height: 1.65; }

/* Carte générique blanche */
.section-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--primary);
  padding: 44px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---- DOMAINES ---- */
.domaine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.domaine-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px; display: flex; align-items: flex-start; gap: 14px;
  box-shadow: var(--shadow); transition: all .25s;
}
.domaine-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.domaine-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(14,165,233,.12); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  color: #0ea5e9; /* bleu SIORL — applique la couleur aux SVG via currentColor */
}
.domaine-icon svg { width: 24px; height: 24px; display: block; }
.domaine-name { font-weight: 600; font-size: .9rem; color: var(--fg); }
.domaine-desc { font-size: .78rem; color: var(--fg-muted); margin-top: 3px; }

/* ---- ABOUT SPLIT ---- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 440px; box-shadow: var(--shadow-lg); }
.about-img-wrap { position: relative; }
.about-img-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--accent); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.about-img-badge .label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ---- QUOTE ---- */
.quote-card {
  background: var(--primary); color: #fff;
  border-radius: var(--radius); padding: 36px;
  position: relative; box-shadow: var(--shadow-lg);
}
.quote-card::before {
  content: '"'; font-family: var(--font-serif); font-size: 5rem; color: var(--accent);
  opacity: .4; position: absolute; top: -8px; left: 20px; line-height: 1;
}
.quote-text { font-family: var(--font-serif); font-size: 1rem; color: rgba(255,255,255,.92); line-height: 1.75; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.quote-author-name { font-weight: 700; font-size: .875rem; color: #fff; }
.quote-author-title { font-size: .775rem; color: var(--accent); }

/* ---- PROGRAMME ---- */
.prog-tabs { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.prog-tab {
  padding: 8px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--bg-card);
  color: var(--fg-muted); font-size: .84rem; cursor: pointer;
  transition: all .2s; font-family: var(--font-sans);
}
.prog-tab.active, .prog-tab:hover {
  background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600;
}
.session-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 10px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow); transition: all .2s;
}
.session-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.session-time { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; color: var(--primary); white-space: nowrap; min-width: 72px; }
.session-info { flex: 1; }
.session-title { font-weight: 600; font-size: .9rem; color: var(--fg); margin-bottom: 4px; }
.session-meta { font-size: .775rem; color: var(--fg-muted); }
.session-type { display: inline-block; padding: 1px 8px; border-radius: 50px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-right: 8px; }
.type-plenary { background: var(--primary-pale); color: var(--primary); }
.type-workshop { background: #eff6ff; color: #1d4ed8; }
.type-oral     { background: #f0fdf4; color: #15803d; }

/* ---- TARIFS ---- */
.tarif-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 44px; }
.tarif-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 32px 26px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  transition: all .3s;
}
.tarif-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.tarif-card.featured { border-color: var(--accent); box-shadow: 0 8px 32px rgba(232,114,26,.15); }
.tarif-card.featured::before {
  content:'RECOMMANDÉ'; position:absolute; top:14px; right:-22px;
  background:var(--accent); color:#fff; font-size:.6rem; font-weight:700;
  padding:3px 40px; transform:rotate(45deg); letter-spacing:.08em;
}
.tarif-label { font-size: .8rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.tarif-price { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.tarif-currency { font-size: .9rem; color: var(--fg-muted); margin-bottom: 4px; }
.tarif-alt { font-size: .82rem; color: var(--fg-muted); margin-bottom: 22px; }
.tarif-features { text-align: left; margin-bottom: 24px; list-style: none; }
.tarif-features li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .84rem; color: var(--fg); display: flex; align-items: center; gap: 8px; }
.tarif-features li::before { content: '✓'; color: var(--accent); font-weight: 800; font-size: .8rem; }

/* ---- FORMULAIRE ---- */
.form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px; box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--fg); font-family: var(--font-sans); font-size: .9rem;
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: #fff;
}
.form-group select option { background: #fff; color: var(--fg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- PAGE CONTACT ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px; box-shadow: var(--shadow-md);
}
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-info-title {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700;
  color: var(--fg); margin-bottom: 20px;
}
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: .82rem; color: var(--color-gray); font-weight: 600; margin-bottom: 2px; }
.contact-info-item a, .contact-info-item span { font-size: .9rem; color: var(--fg); }
.contact-info-item a:hover { color: var(--accent); }
.form-notice {
  padding: 12px 16px; border-radius: var(--radius); font-size: .88rem; font-weight: 500;
}
.form-notice-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-notice-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---- INTERVENANTS ---- */
.speaker-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; text-align: center;
  box-shadow: var(--shadow); transition: all .25s;
}
.speaker-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: hsl(213,55%,70%); }
.speaker-img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.speaker-body { padding: 18px; }
.speaker-name { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--fg); }
.speaker-title { font-size: .75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.speaker-country { font-size: .775rem; color: var(--fg-muted); }

/* ---- PARTENAIRES ---- */
.partner-level { margin-bottom: 44px; }
.partner-level-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--fg);
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.partner-badge { padding: 3px 12px; border-radius: 50px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.badge-diamond  { background:#eff6ff; color:#1d4ed8; }
.badge-platinum { background:#f8fafc; color:#475569; }
.badge-gold     { background:var(--accent-pale); color:var(--accent); }
.badge-silver   { background:#f1f5f9; color:#64748b; }
.badge-bronze   { background:#fff7ed; color:#c2410c; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-logo-item {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 22px 32px;
  display: flex; align-items: center; justify-content: center;
  min-width: 160px; min-height: 90px; transition: all .25s;
  box-shadow: var(--shadow);
}
.partner-logo-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.partner-logo-item img { max-width: 130px; max-height: 55px; object-fit: contain; }
.partner-placeholder { color: var(--fg-muted); font-size: .85rem; font-style: italic; }

/* ---- INFOS PRATIQUES ---- */
.info-tabs {
  display: flex; gap: 2px; border-bottom: 2px solid var(--border);
  margin-bottom: 36px; overflow-x: auto;
}
.info-tab {
  padding: 11px 18px; border-bottom: 2px solid transparent; margin-bottom: -2px;
  color: var(--fg-muted); font-size: .84rem; cursor: pointer;
  transition: all .2s; background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-sans); white-space: nowrap;
}
.info-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.info-panel { display: none; }
.info-panel.active { display: block; }

/* ---- HOTEL ---- */
.hotel-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md);
}
.hotel-img { height: 440px; width: 100%; }
.hotel-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.hotel-stars { color: var(--accent); font-size: 1rem; margin-bottom: 10px; letter-spacing: .1em; }
.hotel-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--fg); margin-bottom: 10px; }
.hotel-desc { color: var(--fg-muted); font-size: .875rem; line-height: 1.75; margin-bottom: 18px; }
.hotel-features { display: flex; flex-wrap: wrap; gap: 8px; }
.hotel-feature {
  background: var(--bg-muted); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 50px; font-size: .775rem; color: var(--fg-muted);
}

/* ---- DASHBOARD PARTICIPANT ---- */
.dashboard-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.dashboard-nav { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dashboard-nav-item {
  padding: 13px 18px; display: flex; align-items: center; gap: 10px;
  font-size: .84rem; color: var(--fg-muted); cursor: pointer; transition: all .2s;
  border-bottom: 1px solid var(--border);
}
.dashboard-nav-item:hover, .dashboard-nav-item.active {
  background: var(--primary-pale); color: var(--primary); font-weight: 600;
}
.dashboard-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* ---- FOOTER (sombre comme l'original) ---- */
#site-footer {
  background: var(--hero-bg);
  color: rgba(255,255,255,.85);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .tagline { font-family: var(--font-serif); font-size: 1rem; color: var(--accent); font-style: italic; margin: 14px 0 10px; }
.footer-brand p { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-col h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 9px; }
.footer-contact-item .icon { color: var(--accent); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: .775rem; color: rgba(255,255,255,.35); }
.footer-logo { height: 38px; filter: brightness(1.2); }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55); transition: background .18s, color .18s, transform .18s;
  text-decoration: none; flex-shrink: 0;
}
.footer-social-btn:hover {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: translateY(-2px);
}

/* ---- NOTICES ---- */
.pafos-notice {
  background: hsl(24,80%,97%); border: 1px solid hsl(24,80%,85%);
  border-radius: var(--radius); padding: 14px 18px; font-size: .875rem; color: var(--fg);
}
.pafos-notice.success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.pafos-notice.error   { background: #fef2f2; border-color: #fecaca; color: #dc2626; }
.pafos-notice a { color: var(--accent); font-weight: 600; }

/* ---- PRELOADER ---- */
.preloader { position: fixed; inset:0; background: #fff; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .4s; }
.preloader.hidden { opacity:0; pointer-events: none; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 130px 0 60px;
  background: linear-gradient(180deg, var(--hero-bg) 0%, var(--primary) 100%);
  color: #fff; text-align: center;
}
.page-hero .section-title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .section-label { color: var(--accent); }
.page-hero .section-subtitle { color: rgba(255,255,255,.7); margin: 0 auto; }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 0 0 12px; font-size: .775rem; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---- DIVIDER ---- */
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--primary);
  padding: 64px 0; text-align: center; color: #fff;
}

/* ---- ALIAS RÉTROCOMPAT (anciennes variables des templates) ---- */
:root {
  --color-primary:   var(--primary);
  --color-gold:      var(--accent);
  --color-gray:      var(--fg-muted);
  --color-secondary: var(--bg-muted);
}
/* Dans le site original les sections alternent blanc / très-clair */
.section-dark   { background: #fff; }
.section-darker { background: var(--bg); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .tarif-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto 44px; }
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-img { height: 260px; }
}
@media (max-width: 768px) {
  /* Topbar compacte sur mobile */
  .topbar-inner { padding: 0 14px; }
  .topbar-right { gap: 10px; }
  .topbar-link { font-size: .72rem; }
  .topbar-flags a { padding: 3px 6px; font-size: .68rem; }

  /* Nav mobile : toujours positionné fixed, caché via visibility+opacity */
  #main-nav {
    display: flex !important;
    position: fixed !important; top: var(--header-h, 95px); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: flex-start;
    padding: 20px; gap: 4px; overflow-y: auto;
    background: #fff; border-top: 2px solid var(--accent);
    z-index: 9000;
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }
  #main-nav.open {
    visibility: visible; opacity: 1; pointer-events: auto; height: fit-content;
  }
  #main-nav a { font-size: 1rem; padding: 13px 16px; width: 100%; color: var(--fg); border-radius: 10px; }
  #main-nav a:hover, #main-nav a.current-menu-item { background: var(--primary-pale); color: var(--primary); }
  .nav-cta { margin: 12px 0 0 !important; width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .countdown { gap: 12px; }
  .countdown-num { font-size: 1.8rem; }
  .info-tabs { gap: 0; }
}
