/* ============ JOPAQ — STYLE GLOBAL ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Couleurs de texte / accent */
  --navy: #1E2D5A;
  --navy-light: #2A3E78;
  --teal: #1E9E91;
  --teal-dark: #11685f;
  --gold: #D4A530;
  --gold-dark: #b88a20;
  /* Or JOPAQQ — couleur principale des boutons */
  --or: #ce9c1f;
  --or-dark: #a87c18;
  /* Survol des boutons or : plus clair, pour garder le texte marine lisible */
  --or-hover: #e0ae2f;
  /* Fonds clairs */
  --white: #F5F4F0;
  --off-white: #ECEAE3;
  --bg-panel: #F5F4F0;
  --bg-panel-alt: #ECEAE3;
  --gray: #4A5568;
  --gray-light: #DDD9CE;
  --text: #1E2D5A;
  --text-muted: #5A6A8A;
}

html { scroll-behavior: smooth; }
/* Les animations d'entrée latérales ne doivent pas créer de défilement horizontal */
section { overflow-x: clip; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* Cards and form elements keep a clean white against the beige body */
.service-card, .testi-card, .actu-card, .team-card,
.form-group input, .form-group select, .form-group textarea,
.contact-form, .stats-bar, .faq-item { background: #FFFFFF; }

img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  box-shadow: 0 2px 16px rgba(30,45,90,.08);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
  height: 62px; width: auto; display: block;
  object-fit: contain; border-radius: 6px;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 10px; display: none;
  align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif; font-weight: 900; color: white; font-size: 18px;
  letter-spacing: -1px;
}
.nav-logo-text { display: none; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { display: inline-block; padding: 14px 0; color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; letter-spacing: .5px; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); }
.nav-drop-btn { display: inline-flex; align-items: center; padding: 14px 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .5px; color: var(--text-muted); transition: color .2s; }
.nav-drop-btn:hover, .nav-drop-btn.active, .has-dropdown.is-open > .nav-drop-btn { color: var(--teal-dark); }
.nav-links a:focus-visible, .nav-drop-btn:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
.nav-cta {
  background: var(--or); color: var(--navy); text-decoration: none;
  padding: 9px 22px; border-radius: 25px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(206,156,31,.28);
}
.nav-cta:hover { background: var(--or-hover); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background:none; border:none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 99;
  background: var(--bg-panel-alt); flex-direction: column; padding: 16px 5% 24px;
  box-shadow: 0 10px 30px rgba(30,45,90,.1);
  border-top: 1px solid var(--gray-light);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--navy); text-decoration: none; padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--gray-light); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── PAGE HERO (sous-pages) ── */
.page-hero {
  margin-top: 70px; background: var(--bg-panel-alt);
  border-bottom: 1px solid var(--gray-light);
  padding: 80px 5% 70px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(30,158,145,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(212,165,48,.07) 0%, transparent 60%);
}
.page-hero .crumb { position: relative; color: var(--teal-dark); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.page-hero h1 { position: relative; font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--navy); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; }
.page-hero p { position: relative; color: var(--text-muted); font-size: 1.05rem; max-width: 620px; margin: 16px auto 0; line-height: 1.7; }

/* ── HERO (accueil) ── */
.hero {
  min-height: 90vh; background: var(--bg-panel);
  display: flex; align-items: center; justify-content: center;
  padding: 110px 5% 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(30,158,145,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(212,165,48,.06) 0%, transparent 60%);
}
.hero-inner { position: relative; display: flex; align-items: center; gap: 56px; flex-wrap: wrap; max-width: 1280px; margin: 0 auto; }
.hero-text { flex: 1.1; min-width: 300px; }
.hero-img { flex: 1; min-width: 300px; }
.hero-img img { border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-badge {
  display: inline-block; background: rgba(30,158,145,.1); border: 1px solid rgba(30,158,145,.25);
  color: var(--teal-dark); padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--navy);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; margin-bottom: 20px;
}
.hero h1 span { color: var(--teal); }
.hero-text > p { color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 540px; line-height: 1.7; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--or); color: var(--navy); text-decoration: none;
  padding: 14px 34px; border-radius: 30px; font-weight: 700; font-size: 15px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(206,156,31,.28); display: inline-block;
}
.btn-primary:hover { background: var(--or-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(206,156,31,.38); }
.btn-outline {
  border: 2px solid var(--navy); color: var(--navy); text-decoration: none;
  padding: 14px 34px; border-radius: 30px; font-weight: 600; font-size: 15px;
  transition: border-color .2s, background .2s, color .2s; display: inline-block;
}
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  padding: 13px 32px; border-radius: 30px;
  font-weight: 700; font-size: 15px;
  text-decoration: none; display: inline-block;
  transition: all .2s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--navy); color: white; text-decoration: none;
  padding: 14px 34px; border-radius: 30px; font-weight: 700; font-size: 15px;
  transition: background .2s, transform .15s; display: inline-block;
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-gold,
.btn-submit,
.btn-white,
.btn-register {
  background: var(--or); color: var(--navy); text-decoration: none;
  padding: 14px 34px; border-radius: 30px; font-weight: 700; font-size: 15px;
  transition: background .2s, transform .15s, box-shadow .2s; display: inline-block;
  box-shadow: 0 4px 20px rgba(206,156,31,.28); border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-gold:hover,
.btn-submit:hover,
.btn-white:hover,
.btn-register:hover {
  background: var(--or-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(206,156,31,.38);
}

/* ── STATS BAR ── */
.stats-bar {
  background: white; display: flex; justify-content: center; flex-wrap: wrap;
  box-shadow: 0 4px 30px rgba(0,0,0,.1); position: relative; z-index: 10;
}
.stat-item { padding: 28px 48px; text-align: center; border-right: 1px solid var(--gray-light); flex: 1; min-width: 160px; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--navy); line-height: 1; }
.stat-num span { color: var(--teal-dark); }
.stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; font-weight: 500; }

/* ── SECTIONS ── */
section { padding: 80px 5%; }
.section-label {
  display: inline-block; color: var(--teal-dark); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); line-height: 1.2; }
.section-sub { color: var(--gray); font-size: 1rem; line-height: 1.7; max-width: 580px; margin-top: 12px; }
.center { text-align: center; }
.center .section-sub { margin: 12px auto 0; }

/* ── SERVICES ── */
#services, .services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.service-card {
  background: white; border-radius: 18px; padding: 36px 28px;
  border-bottom: 4px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s; cursor: default;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,45,90,.12); }
.service-card:nth-child(1):hover, .service-card.c1:hover { border-color: var(--teal); }
.service-card:nth-child(2):hover, .service-card.c2:hover { border-color: var(--gold); }
.service-card:nth-child(3):hover, .service-card.c3:hover { border-color: #7C63D4; }
.service-card:nth-child(4):hover, .service-card.c4:hover { border-color: #E86A4E; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.ic-1 { background: rgba(30,158,145,.13); color: var(--teal-dark); }
.ic-2 { background: rgba(206,156,31,.16); color: #8a6410; }
.ic-3 { background: rgba(30,45,90,.09); color: var(--navy); }
.ic-4 { background: rgba(30,158,145,.13); color: var(--navy); }
.service-card h3 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: .92rem; color: var(--gray); line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--teal-dark); font-weight: 600; font-size: .9rem; text-decoration: none; transition: gap .2s; }
.service-link:hover { gap: 10px; }

/* ── DETAIL SERVICE BLOCKS ── */
.detail-block { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; padding: 70px 0; border-bottom: 1px solid var(--gray-light); }
.detail-block:last-of-type { border-bottom: none; }
.detail-block.reverse { flex-direction: row-reverse; }
.detail-img { flex: 1; min-width: 300px; }
.detail-img img { border-radius: 20px; box-shadow: 0 20px 50px rgba(30,45,90,.15); }
.detail-text { flex: 1.1; min-width: 300px; }
.detail-text .service-icon { margin-bottom: 18px; }
.detail-text h3 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; }
.detail-text p { color: var(--gray); line-height: 1.75; margin-bottom: 16px; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.detail-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .94rem; color: var(--gray); line-height: 1.6; }
.detail-list li::before { content: '✓'; background: var(--teal-dark); color: white; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-top: 2px; }

/* ── ABOUT ── */
#about, .about-section { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; }
.about-visual { flex: 1; min-width: 280px; border-radius: 24px; overflow: hidden; min-height: 420px; position: relative; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.about-content { flex: 1.4; min-width: 300px; }
.about-content .section-sub { max-width: 100%; }
.about-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 14px; font-size: .95rem; color: var(--gray); line-height: 1.6; }
.about-list li::before { content: '✓'; background: var(--teal-dark); color: white; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 48px; }
.team-card { background: white; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,45,90,.12); }
.team-photo { height: 220px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 20px; }
.team-body h4 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: 1rem; }
.team-body span { color: var(--teal-dark); font-size: .85rem; font-weight: 600; }
.team-body p { color: var(--gray); font-size: .85rem; margin-top: 8px; line-height: 1.6; }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 48px; }
.value-card { background: var(--off-white); border-radius: 18px; padding: 32px 26px; text-align: center; }
.value-card .v-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, var(--teal), var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 26px; color: white; }
.value-card h4 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: .88rem; line-height: 1.6; }

/* ── PROCESS ── */
#process, .process-section { background: var(--bg-panel-alt); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
#process .section-label, .process-section .section-label { color: var(--teal-dark); }
#process .section-title, .process-section .section-title { color: var(--navy); }
#process .section-sub, .process-section .section-sub { color: var(--text-muted); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 52px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, var(--teal), var(--gold)); opacity: .3; }
.step { text-align: center; padding: 0 20px; display: flex; flex-direction: column; align-items: center; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: white; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 0 0 8px rgba(43,191,176,.15); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--navy-light), var(--navy)); box-shadow: 0 0 0 8px rgba(30,45,90,.1); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, #dcaa2c, var(--or)); color: var(--navy); box-shadow: 0 0 0 8px rgba(206,156,31,.16); }
.step:nth-child(4) .step-num { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); box-shadow: 0 0 0 8px rgba(30,158,145,.14); }
.step h4 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--off-white); border-radius: 14px; padding: 22px 26px; cursor: pointer; }
.faq-item summary { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: var(--teal-dark); font-size: 1.4rem; font-weight: 700; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--gray); font-size: .92rem; line-height: 1.7; margin-top: 14px; }

/* ── TESTIMONIALS ── */
#temoignages, .testi-section { background: var(--off-white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.testi-card { background: white; border-radius: 18px; padding: 32px 28px; box-shadow: 0 2px 20px rgba(0,0,0,.06); position: relative; }
.testi-card::before { content: '"'; position: absolute; top: 20px; right: 24px; font-size: 80px; line-height: 1; color: var(--teal); opacity: .12; font-family: Georgia, serif; }
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; }
.testi-card p { font-size: .95rem; color: var(--gray); line-height: 1.7; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--teal), var(--navy)); color: white; font-weight: 700; font-size: 15px; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.testi-role { font-size: .8rem; color: var(--gray); }

/* ── ACTUALITES / BLOG ── */
.actu-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.actu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.actu-card { border-radius: 18px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.actu-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,.13); }
.actu-img { height: 190px; overflow: hidden; }
.actu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.actu-card:hover .actu-img img { transform: scale(1.06); }
.actu-body { padding: 24px; }
.actu-tag { display: inline-block; background: rgba(43,191,176,.1); color: var(--teal-dark); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 10px; margin-bottom: 10px; }
.actu-body h3 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
.actu-body p { font-size: .88rem; color: var(--gray); line-height: 1.65; }
.actu-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.actu-date { font-size: .8rem; color: #9AA5B4; }
.actu-link { color: var(--teal-dark); font-size: .85rem; font-weight: 600; text-decoration: none; }

/* ── CTA ── */
#cta, .cta-section { position: relative; overflow: hidden; background: var(--navy); text-align: center; padding: 90px 5%; }
#cta::before, .cta-section::before { content: ''; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(30,158,145,.38), transparent 70%); pointer-events: none; }
#cta > *, .cta-section > * { position: relative; }
#cta h2, .cta-section h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: #fff; text-wrap: balance; margin-bottom: 16px; }
#cta p, .cta-section p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }

/* ── CONTACT ── */
#contact, .contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; margin-top: 52px; flex-wrap: wrap; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.contact-item p { color: var(--gray); font-size: .9rem; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1.5px solid #D1D9E6; border-radius: 10px; font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--text); background: white; transition: border-color .2s, box-shadow .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,191,176,.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.map-wrap { border-radius: 18px; overflow: hidden; margin-top: 48px; box-shadow: 0 10px 40px rgba(0,0,0,.1); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ── FOOTER ── */
footer { background: var(--bg-panel-alt); border-top: 1px solid var(--gray-light); color: var(--text-muted); padding: 56px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col .footer-title { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: .95rem; margin-bottom: 18px; letter-spacing: .5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer-col ul a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col ul a i { color: var(--teal-dark); width: 16px; text-align: center; }
.footer-col ul a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-btn { width: 44px; height: 44px; border-radius: 10px; background: var(--gray-light); border: 1px solid var(--gray-light); display: flex; align-items: center; justify-content: center; color: var(--navy); text-decoration: none; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.social-btn:hover { background: var(--teal); border-color: var(--teal); color: white; }
.footer-bottom { border-top: 1px solid var(--gray-light); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); text-decoration: none; display: inline-block; padding: 12px 4px; }
.footer-bottom a:hover { color: var(--teal); }

/* ── ARTICLE (blog detail) ── */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: 18px; overflow: hidden; margin-bottom: 32px; box-shadow: 0 10px 40px rgba(0,0,0,.1); }
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; color: var(--gray); font-size: .85rem; }
.article-wrap h1 { font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--navy); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.25; margin-bottom: 20px; }
.article-body p { color: var(--gray); line-height: 1.85; margin-bottom: 20px; font-size: 1rem; }
.article-body h2 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--navy); font-size: 1.4rem; margin: 32px 0 14px; }
.article-body ul { margin: 0 0 20px 22px; color: var(--gray); line-height: 1.8; }

/* ── HERO CAROUSEL ── */
.hero-carousel { position: relative; flex: 1; min-width: 300px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 16/10; }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel-slide { min-width: 100%; height: 100%; position: relative; flex-shrink: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(30,45,90,.85)); padding: 32px 24px 20px; color: white; }
.carousel-caption .cap-tag { display: inline-block; background: var(--teal-dark); color: white; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 10px; margin-bottom: 6px; }
.carousel-caption p { font-size: .92rem; font-weight: 600; color: white; line-height: 1.4; margin: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.35); color: white; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 5; backdrop-filter: blur(4px); }
.carousel-btn:hover { background: var(--teal); border-color: var(--teal); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.carousel-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dot::before { content: ''; position: absolute; inset: -14px -7px; }
.carousel-dot:focus-visible, .carousel-btn:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.carousel-dot.active { background: white; transform: scale(1.25); }

/* ── ANIMATIONS AU SCROLL (global — utilisé sur toutes les pages) ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale {
  opacity: 0; transform: scale(.93);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-scale.visible { opacity: 1; transform: none; }

/* Délais en cascade (global) */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ── MODALES (formulaires de réservation, paiement, candidature) ── */
.jp-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,15,30,.55); align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.jp-modal-overlay.active { display: flex; }
.jp-modal { background: #fff; border-radius: 16px; padding: 36px; max-width: 460px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
.jp-modal-close { position: absolute; top: 16px; right: 18px; border: none; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #999; }
.jp-modal h3 { font-family: 'Nunito', sans-serif; font-weight: 800; margin: 4px 0 6px; }
.jp-modal-price { font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.jp-modal label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; color: #333; }
.jp-modal input, .jp-modal textarea { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #ddd; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 14px; }
.jp-form-row { display: flex; gap: 12px; }
.jp-form-row label { flex: 1; }
.jp-btn-block { width: 100%; text-align: center; border: none; cursor: pointer; margin-top: 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #about, .about-section { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .step { padding: 0 10px 32px; }
  .stat-item { padding: 20px 24px; }
  .detail-block, .detail-block.reverse { flex-direction: column; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ── Menu déroulant "Nos Services" ── */
.nav-links .has-dropdown {
  position: relative;
}
.nav-caret {
  display: inline-block;
  margin-left: 6px;
  padding: 2.5px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.nav-links .has-dropdown:hover .nav-caret,
.nav-links .has-dropdown:not(.has-toggle):focus-within .nav-caret,
.nav-links .has-dropdown.is-open .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}
.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}
/* pont invisible : évite la fermeture du menu quand la souris descend vers le sous-menu */
.nav-links .dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:not(.has-toggle):focus-within .dropdown,
.nav-links .has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-links .dropdown li {
  list-style: none;
}
.nav-links .dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy, #142850);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links .dropdown a:hover, .nav-links .dropdown a.active {
  background: rgba(206, 156, 31, 0.14);
  color: var(--navy, #142850);
}
.mobile-menu .mobile-sub {
  padding-left: 28px;
  font-size: 0.92em;
  opacity: 0.9;
}

/* ── Cartes de formules (visiteurs / exposants) : contour décoratif dans la couleur de la formule ── */
.evd-opt.pkg-card { --pkg: var(--opt-color, var(--or)); }
.offer-card.pkg-card { --pkg: var(--offer-color, var(--or)); }
div.pkg-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid transparent;
  border-color: transparent !important;
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pkg) 7%, #fff) 0%, #fff 40%) padding-box,
    linear-gradient(155deg, var(--pkg) 0%, color-mix(in srgb, var(--pkg) 22%, #fff) 45%, color-mix(in srgb, var(--pkg) 65%, #fff) 100%) border-box;
  box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--pkg) 55%, transparent), 0 2px 6px rgba(0, 0, 0, .04);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* Bandeau en haut de la carte */
div.pkg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pkg), color-mix(in srgb, var(--pkg) 45%, #fff));
}
/* Halo décoratif dans le coin, sous le contenu */
div.pkg-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pkg) 16%, transparent) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
div.pkg-card:not(.is-disabled):hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px -16px color-mix(in srgb, var(--pkg) 65%, transparent), 0 0 0 4px color-mix(in srgb, var(--pkg) 14%, transparent);
}

/* ── Accessibilité : respecter la préférence « réduire les animations » ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* ── Fenêtres de demande / paiement (classe .jp-modal-lg) : larges, champs confortables ── */
.jp-modal-lg { max-width: 680px; padding: 44px 44px 40px; border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(30,45,90,.55); }
.jp-modal-lg .section-label { display: block; margin-bottom: 6px; color: var(--teal-dark); }
.jp-modal-lg h3 { font-weight: 900; font-size: 1.7rem; line-height: 1.2; color: var(--navy); margin: 0 0 8px; padding-right: 40px; text-wrap: balance; }
.jp-modal-lg .jp-modal-price { display: inline-block; margin: 0 0 26px; padding: 6px 16px; border-radius: 20px; background: rgba(206,156,31,.16); color: var(--navy); font-size: 1rem; }
.jp-modal-lg .jp-modal-price:empty { display: none; }
.jp-modal-lg .jp-modal-close { top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--off-white); color: var(--navy); font-size: 24px; transition: background .2s, transform .2s; }
.jp-modal-lg .jp-modal-close:hover { background: var(--gray-light); transform: rotate(90deg); }
.jp-modal-lg form { display: grid; gap: 20px; }
.jp-modal-lg .jp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jp-modal-lg label { margin: 0; font-size: .92rem; font-weight: 700; color: var(--navy); }
.jp-modal-lg input, .jp-modal-lg textarea, .jp-modal-lg select { display: block; width: 100%; margin-top: 8px; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--gray-light); border-radius: 12px; background: #fff; color: var(--navy); font: 500 1rem 'Inter', sans-serif; transition: border-color .2s, box-shadow .2s; }
.jp-modal-lg textarea { min-height: 150px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.jp-modal-lg input::placeholder, .jp-modal-lg textarea::placeholder { color: #8a93a8; font-weight: 400; }
.jp-modal-lg input:hover, .jp-modal-lg textarea:hover { border-color: #b9c1d4; }
.jp-modal-lg input:focus, .jp-modal-lg textarea:focus { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(30,158,145,.18); }
.jp-modal-lg .jp-btn-block { min-height: 54px; margin-top: 4px; border-radius: 30px; font: 800 1.05rem 'Nunito', sans-serif; }
.jp-modal-lg .jp-btn-block:focus-visible, .jp-modal-lg .jp-modal-close:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
@media (max-width: 640px) {
  .jp-modal-overlay { padding: 12px; }
  .jp-modal-lg { padding: 32px 22px 26px; border-radius: 20px; }
  .jp-modal-lg h3 { font-size: 1.4rem; }
  .jp-modal-lg .jp-form-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .jp-modal-lg .jp-modal-close, .jp-modal-lg input, .jp-modal-lg textarea { transition: none; } }
.jp-modal-lg input[type="file"] { min-height: 0; padding: 12px 14px; cursor: pointer; }
.jp-modal-lg .jp-modal-hint { margin: -10px 0 0; font-size: .82rem; color: var(--text-muted); }
.jp-modal-lg h3 + form { margin-top: 22px; }
.jp-modal-lg input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 18px; border: 0; border-radius: 20px; background: var(--navy); color: #fff; font: 700 .88rem 'Nunito', sans-serif; cursor: pointer; transition: background .2s; }
.jp-modal-lg input[type="file"]::file-selector-button:hover { background: var(--teal-dark); }

/* ── Carte « prochain événement » (accueil + page Événements) ── */
.home-evt {
  display:grid; grid-template-columns:1.25fr 1fr; margin-top:20px;
  background:#fff; border:1px solid var(--gray-light); border-radius:28px; overflow:hidden;
  box-shadow:0 2px 6px rgba(30,45,90,.06), 0 28px 60px -28px rgba(30,45,90,.35);
  text-decoration:none; color:inherit; cursor:pointer;
  transition:transform .3s ease, box-shadow .3s ease;
  animation:homeEvtIn .6s cubic-bezier(.2,.7,.2,1) both;
}
.home-evt[hidden] { display:none; }
.home-evt:hover { transform:translateY(-4px); box-shadow:0 2px 6px rgba(30,45,90,.06), 0 36px 70px -26px rgba(30,45,90,.45); }
.home-evt:focus-visible { outline:3px solid var(--or); outline-offset:4px; }
@keyframes homeEvtIn { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

.home-evt-img { position:relative; min-height:400px; background:var(--navy); overflow:hidden; }
.home-evt-img::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(30,45,90,.25) 0%, rgba(30,45,90,0) 30%, rgba(30,45,90,0) 60%, rgba(30,45,90,.6) 100%);
}
.home-evt-img img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.7,.2,1);
}
.home-evt:hover .home-evt-img img { transform:scale(1.05); }

.home-evt-badge {
  position:absolute; top:20px; left:20px; z-index:1; display:inline-flex; align-items:center; gap:9px;
  background:rgba(255,255,255,.96); color:var(--navy); padding:8px 16px 8px 14px; border-radius:20px;
  font-size:13px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.home-evt-dot { width:8px; height:8px; border-radius:50%; background:var(--or); animation:homeEvtPulse 2s ease-out infinite; }
@keyframes homeEvtPulse {
  0% { box-shadow:0 0 0 0 rgba(206,156,31,.6); }
  70%, 100% { box-shadow:0 0 0 9px rgba(206,156,31,0); }
}
.home-evt-type {
  position:absolute; left:20px; bottom:20px; z-index:1; background:var(--navy); color:#fff;
  padding:8px 18px; border-radius:20px; font-size:13px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase;
}

.home-evt-body { display:flex; flex-direction:column; justify-content:center; gap:22px; padding:44px 46px; }
.home-evt-top { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.home-evt-kicker { color:var(--teal-dark); font-weight:800; font-size:.92rem; letter-spacing:2px; text-transform:uppercase; }
.home-evt-count {
  display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:20px;
  background:rgba(206,156,31,.15); color:#7a5a0c; font-size:.92rem; font-weight:800;
}
.home-evt-count[hidden] { display:none; }
.home-evt-count svg { width:16px; height:16px; flex-shrink:0; }
.home-evt-title {
  font-family:'Nunito',sans-serif; font-weight:900; color:var(--navy);
  font-size:clamp(1.8rem, 2.9vw, 2.55rem); line-height:1.18; text-wrap:balance;
}

.home-evt-meta { list-style:none; display:grid; gap:14px; padding:20px 0; border-top:1px dashed var(--gray-light); border-bottom:1px dashed var(--gray-light); }
.home-evt-meta li { display:flex; align-items:center; gap:14px; }
.home-evt-meta li[hidden] { display:none; }
.home-evt-tile {
  flex:0 0 68px; height:68px; border-radius:18px; background:var(--navy); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1;
}
.home-evt-tile span { font-size:.76rem; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:#f0c060; margin-bottom:3px; }
.home-evt-tile b { font-family:'Nunito',sans-serif; font-weight:900; font-size:1.8rem; }
.home-evt-ico {
  flex:0 0 52px; height:52px; margin:0 8px; border-radius:14px; background:rgba(30,158,145,.12); color:var(--teal-dark);
  display:flex; align-items:center; justify-content:center;
}
.home-evt-ico svg { width:23px; height:23px; }
.home-evt-meta-text { display:flex; flex-direction:column; gap:2px; min-width:0; }
.home-evt-meta-text strong { color:var(--navy); font-size:1.2rem; font-weight:700; line-height:1.35; }
.home-evt-meta-text small { color:var(--text-muted); font-size:.95rem; }

.home-evt-cta {
  align-self:flex-start; display:inline-flex; align-items:center; gap:10px;
  background:var(--or); color: var(--navy); font-weight:800; font-size:17px; padding:16px 34px; border-radius:30px;
  box-shadow:0 6px 22px rgba(206,156,31,.32); transition:background .2s, box-shadow .2s;
}
.home-evt-cta svg { width:20px; height:20px; transition:transform .25s ease; }
.home-evt:hover .home-evt-cta { background: var(--or-hover); box-shadow:0 10px 28px rgba(206,156,31,.42); }
.home-evt:hover .home-evt-cta svg { transform:translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .home-evt, .home-evt-dot { animation:none; }
  .home-evt, .home-evt-img img, .home-evt-cta svg { transition:none; }
}
@media (max-width:900px) {
  .home-evt { grid-template-columns:1fr; border-radius:22px; }
  .home-evt-img { min-height:0; aspect-ratio:16/10; }
  .home-evt-body { padding:26px 22px 28px; gap:18px; }
  .home-evt-cta { align-self:stretch; justify-content:center; }
}
