/* =========================================================
   Odtec Event Solutions - habillage v2 (chargé après style.css)
   Palette épurée, cadres arrondis 6px, fond sans image
   ========================================================= */
:root {
  --r: 6px;
  --ink: #0f172a;
  --text: #475467;
  --muted: #8a94a6;
  --line: #e6e9f0;
  --bg: #f3f5f9;
  --card: #ffffff;
  --navy: #000a1c;          /* même fond que le logo */
  --accent: #2f6df6;
  --accent-dark: #1f4fc4;
  --accent-soft: #e9f0ff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .07);
}

/* ---------- Fond : plus d'image, lumières de scène très douces ---------- */
html { background: var(--bg); }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 6% -8%, rgba(47, 109, 246, .16), transparent 62%),
    radial-gradient(760px 520px at 100% 2%, rgba(139, 92, 246, .11), transparent 62%),
    radial-gradient(900px 520px at 55% 112%, rgba(47, 109, 246, .09), transparent 62%),
    radial-gradient(rgba(15, 23, 42, .05) 1px, transparent 1.2px);
  background-size: auto, auto, auto, 22px 22px;
  background-attachment: fixed;
  background-position: center;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* ---------- Cadres : radius 6px, ombres légères ---------- */
#sidebar .sidebar-section,
header,
.box-section,
footer .footer-line,
footer .up-footer {
  border-radius: var(--r);
  box-shadow: var(--shadow);
  -webkit-box-shadow: var(--shadow);
  -moz-box-shadow: var(--shadow);
}
header { overflow: hidden; }
#sidebar .sidebar-section { box-shadow: var(--shadow); }
.box-section { border: 1px solid rgba(15, 23, 42, .04); }
#content img,
.box-section img,
.banner img,
.float-box img,
.blog-post img,
.post-gal img,
.tablebordcoul2 { border-radius: var(--r); }
.banner { border-radius: var(--r); overflow: hidden; }

/* ---------- Titres ---------- */
.box-section h1,
.box-section h2,
#sidebar .sidebar-section.white-box h2 {
  font-family: 'Poppins', 'Roboto', sans-serif;
  color: var(--ink);
  letter-spacing: -.01em;
}
.box-section h1 { font-size: 22px; font-weight: 600; text-transform: none; }
.box-section h2 { font-size: 17px; font-weight: 600; text-transform: none; }

/* ---------- Menu ---------- */
header .header-logo { background-color: var(--navy); }
header .header-logo img { border-radius: 0; }
header .main-menu > li a {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 0;
  border-left: 3px solid transparent;
}
header .main-menu > li:first-child a { border-top-color: rgba(255, 255, 255, .1); }
header .main-menu > li a i {
  width: 22px;
  margin-right: 10px;
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
}
header .main-menu > li > a:hover {
  background: rgba(255, 255, 255, .07);
  background-color: #0a1730;
  color: #fff;
  border-left-color: rgba(47, 109, 246, .6);
}
header .main-menu > li > a.active {
  background-color: #0d1d3c;
  color: #fff;
  border-left-color: var(--accent);
}
header .main-menu > li > a:hover i,
header .main-menu > li > a.active i { color: #7aa2ff; }
header .main-menu > li > a.active:after,
header .main-menu > li > a:hover:after { display: none; }

/* Bouton MENU mobile */
a.elemadded.responsive-link {
  background: var(--navy) !important;
  font-size: 16px !important;
  letter-spacing: .12em;
  border-radius: 0;
}

/* ---------- Réseaux + WhatsApp (bas du menu) ---------- */
.menu-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 18px;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.menu-social .ms-label {
  flex: 1;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  font-family: 'Poppins', sans-serif;
}
.menu-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: var(--r);
  background: transparent !important;
  color: rgba(255, 255, 255, .7) !important;
  transition: all .2s ease;
}
.menu-social a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-social a:hover { color: #fff !important; transform: translateY(-2px); }
.menu-social a.ms-fb:hover { border-color: #5b8cff !important; background: rgba(91, 140, 255, .15) !important; }
.menu-social a.ms-ig:hover { border-color: #e66aa8 !important; background: rgba(230, 106, 168, .15) !important; }
.menu-social a.ms-wa:hover { border-color: #3fcf8e !important; background: rgba(63, 207, 142, .15) !important; }

/* Bouton WhatsApp flottant, discret */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  height: 46px;
  padding: 0 13px;
  color: #fff;
  background: #1faa6b;
  border-radius: 23px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
  text-decoration: none;
  overflow: hidden;
  transition: all .25s ease;
}
.wa-fab svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wa-fab span {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font: 500 13px 'Poppins', sans-serif;
  transition: all .25s ease;
}
.wa-fab:hover { color: #fff; background: #17935c; }
.wa-fab:hover span { max-width: 120px; opacity: 1; margin-left: 9px; }

/* ---------- Diaporama v2 (hero) ---------- */
.hero {
  position: relative;
  height: 430px;
  margin-bottom: 20px;
  border-radius: var(--r);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 2; }
.hero-slide .hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-slide.is-on .hero-img { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero-slide:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 12, 28, .88) 0%, rgba(6, 12, 28, .35) 42%, rgba(6, 12, 28, 0) 70%),
    linear-gradient(100deg, rgba(6, 12, 28, .55) 0%, rgba(6, 12, 28, 0) 55%);
}
.hero-text {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 74px;
  z-index: 3;
  max-width: 640px;
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font: 500 11px 'Poppins', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfe0ff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--r);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, .06);
}
.hero-title {
  margin: 0 0 18px;
  font: 600 30px/1.2 'Poppins', 'Roboto', sans-serif;
  letter-spacing: -.015em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero-slide .hero-kicker,
.hero-slide .hero-title,
.hero-slide .hero-cta { opacity: 0; transform: translateY(14px); }
.hero-slide.is-on .hero-kicker { animation: heroUp .8s .35s ease forwards; }
.hero-slide.is-on .hero-title { animation: heroUp .8s .5s ease forwards; }
.hero-slide.is-on .hero-cta { animation: heroUp .8s .68s ease forwards; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font: 500 13px 'Poppins', sans-serif;
  color: var(--ink) !important;
  background: #fff;
  border-radius: var(--r);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.hero-cta:hover { background: var(--accent-soft); transform: translateX(3px); }

.hero-nav {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-count {
  font: 500 12px 'Poppins', sans-serif;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .75);
  min-width: 48px;
}
.hero-bars { display: flex; flex: 1; gap: 6px; }
.hero-bar {
  flex: 1;
  height: 18px;
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.hero-bar:before,
.hero-bar:after {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  height: 2px;
  border-radius: 2px;
}
.hero-bar:before { right: 0; background: rgba(255, 255, 255, .28); }
.hero-bar:after { width: 0; background: #fff; }
.hero-bar.is-on:after { width: 100%; transition: width var(--hero-delay, 6500ms) linear; }
.hero-bar.is-done:after { width: 100%; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 34px;
  height: 34px;
  line-height: 32px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r);
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .22); }
.hero.is-paused .hero-bar.is-on:after { transition: none; }

/* ---------- Boutons d'accès rapide (accueil) ---------- */
.quick-links {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.quick-links a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font: 500 15px 'Poppins', sans-serif;
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: all .2s ease;
}
.quick-links a i { color: var(--accent); transition: transform .2s; }
.quick-links a:hover { color: var(--accent-dark); border-color: #c9d8fb; transform: translateY(-2px); }
.quick-links a:hover i { transform: translateX(4px); }
.quick-links a.ql-main { color: #fff; background: var(--accent); border-color: var(--accent); }
.quick-links a.ql-main i { color: #fff; }
.quick-links a.ql-main:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- Formulaires & boutons ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], textarea, select, .float-input input, .comment-area textarea {
  border-radius: var(--r) !important;
  border: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, .14);
}
.float-input span { border-radius: var(--r) 0 0 var(--r); }
button,
input[type="submit"],
.submit-area button,
.unik-line-section a,
.btn {
  border-radius: var(--r) !important;
}
.submit-area button,
.unik-line-section a {
  background-color: var(--accent);
  color: #fff;
  border: 0;
  transition: background .2s;
}
.submit-area button:hover,
.unik-line-section a:hover { background-color: var(--accent-dark); }

/* ---------- Pied de page ---------- */
footer .footer-line { background: var(--card); }
footer .footer-line a { background: var(--navy); border-radius: var(--r); }
footer .footer-line p { color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  .hero { height: 360px; }
  .hero-title { font-size: 24px; }
  .menu-social { justify-content: center; }
  .menu-social .ms-label { display: none; }
  .menu-social a { width: 42px; height: 42px; }
}
@media (max-width: 767px) {
  .hero { height: 300px; }
  .hero-text { left: 20px; right: 20px; bottom: 68px; }
  .hero-nav { left: 20px; right: 20px; bottom: 20px; }
  .hero-title { font-size: 20px; margin-bottom: 14px; }
  .hero-count, .hero-arrows { display: none; }
  .quick-links { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide .hero-img { animation: none !important; }
  .hero-slide .hero-kicker, .hero-slide .hero-title, .hero-slide .hero-cta { opacity: 1; transform: none; animation: none !important; }
  .hero-slide { transition-duration: .01s; }
}

/* ---------- Bloc connexion catalogue : même famille que le menu ---------- */
.unik-line-section { background: linear-gradient(135deg, #000a1c 0%, #0d1d3c 100%); border-color: transparent; }
.unik-line-section .float-input input { background: #fff; }
.unik-line-section .float-input span { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.unik-line-section a { background-color: var(--accent); }

/* --- Téléphone sous le logo --- */
.header-tel{display:block;text-align:center;padding:10px 12px;background:var(--navy);color:#fff !important;font-weight:600;letter-spacing:.02em;font-size:15px;border-top:1px solid rgba(255,255,255,.1)}
.header-tel i{color:var(--accent);margin-right:6px}
.header-tel:hover{color:#fff !important;background:#06163a}
/* --- Contact : coordonnées + SEO --- */
.contact-info-section .ci-grid{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px}
.contact-info-section .ci-item{flex:1 1 220px;display:flex;gap:14px;align-items:flex-start;padding:16px;border:1px solid #e6e9f0;border-radius:var(--r);background:#fafbfd;line-height:1.5}
.contact-info-section .ci-item>i{font-size:22px;color:var(--accent);width:26px;text-align:center;margin-top:2px}
.contact-info-section .ci-item a{color:var(--accent)}
.seo-section h2{font-size:20px;line-height:1.3}
.seo-section h3{font-size:16px;margin:18px 0 6px;color:var(--navy)}
.seo-section p{font-size:14px;line-height:1.7;color:#555}
.seo-section .seo-cta{margin-top:16px;padding-top:14px;border-top:1px solid #e6e9f0}
.seo-section .seo-cta a{color:var(--accent);font-weight:600}

/* --- Portfolio : cartes arrondies (le cadre blanc suit le rayon de l'image) --- */
.blog-post, .blog-post .post-box, .blog-post .post-gal, .blog-post .post-gal img,
.project-post, .project-post img, .hover-post, .hover-box,
.float-image-section .float-box img { border-radius: var(--r) !important; }
.blog-post, .blog-post .post-box { overflow: hidden; }
.blog-post .post-gal { overflow: hidden; }
.blog-post .post-box { border-radius: var(--r) !important; }
.blog-post .post-gal img { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }

/* --- Formulaire contact : bouton Envoyer à droite --- */
@media (min-width: 768px) {
  #contact-form { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 14px; overflow: visible; }
  #contact-form .text-fields { float: none; flex: 0 0 240px; width: auto; padding: 0; }
  #contact-form .comment-area { float: none; flex: 1 1 auto; width: auto; min-width: 0; padding: 0; }
  #contact-form .comment-area textarea { width: 100%; box-sizing: border-box; }
  #contact-form .submit-area { float: none; flex: 0 0 150px; width: 150px; display: flex; }
  #contact-form .submit-area button { width: 100%; height: auto; min-height: 100px; align-self: stretch; margin: 0; }
}

/* --- Mobile : le menu déroulant ne doit pas être coupé par le cadre arrondi --- */
@media (max-width: 991px) {
  header.sidebar-section { overflow: visible; }
  header .header-logo { border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
  header .header-logo img { border-radius: var(--r) var(--r) 0 0; }
  a.elemadded.responsive-link { border-radius: 0 0 var(--r) var(--r); }
  .navbar-vertical { z-index: 60; background: var(--navy); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 12px 28px rgba(0, 10, 28, .35); }
  header .navbar-vertical.active { overflow-y: auto; }
}

/* --- Catalogue : un seul encadré (rubriques + recherche + sélection) --- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.cat-filter { padding: 18px 20px !important; }
.cat-filter ul.cat-chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter ul.cat-chips li { margin: 0; padding: 0; float: none; }
.cat-filter ul.cat-chips a {
  display: inline-block; float: none; width: auto; height: auto; line-height: 1.2;
  padding: 8px 14px; border: 1px solid #dfe4ee; border-radius: var(--r);
  background: #f7f9fc; color: var(--navy) !important; font-size: 13px; transition: all .18s;
}
.cat-filter ul.cat-chips a:hover { border-color: var(--accent); color: var(--accent) !important; background: #fff; }
.cat-filter ul.cat-chips a.on { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.cat-filter ul.cat-chips-sub { padding-top: 10px; border-top: 1px dashed #e2e6ef; }
.cat-filter ul.cat-chips-sub a { font-size: 12px; background: #fff; }
.cat-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px solid #e9edf4; }
.cat-selection { display: inline-block; float: none; padding: 10px 16px; background: var(--navy); color: #fff !important; border-radius: var(--r); font-size: 13px; width: auto; height: auto; }
.cat-selection:hover { background: var(--accent); }
.cat-empty { margin: 14px 0 0; color: #b03a3a; font-weight: 600; }

/* --- Catalogue : encadré de recherche en bleu foncé --- */
.cat-filter { background: var(--navy) !important; color: #fff; }
.cat-filter ul.cat-chips a { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #dfe6f5 !important; }
.cat-filter ul.cat-chips a:hover { background: rgba(255,255,255,.16); border-color: #7aa2ff; color: #fff !important; }
.cat-filter ul.cat-chips a.on { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.cat-filter ul.cat-chips-sub { border-top-color: rgba(255,255,255,.18); }
.cat-filter ul.cat-chips-sub a { background: rgba(255,255,255,.04); }
.cat-tools { border-top-color: rgba(255,255,255,.14); }
.cat-selection { background: var(--accent); }
.cat-selection:hover { background: #fff; color: var(--navy) !important; }
.cat-empty { color: #ffb4b4; }

/* Bouton « Votre sélection » : rouge, comme le mini panier */
.cat-selection, .cat-filter .cat-selection { background: #CC0000 !important; color: #fff !important; }
.cat-selection:hover, .cat-filter .cat-selection:hover { background: #a30000 !important; color: #fff !important; }

/* --- Catalogue : pastilles plus petites + loupe intégrée au champ --- */
.cat-filter ul.cat-chips { gap: 6px; }
.cat-filter ul.cat-chips li a { font-size: 11px !important; padding: 6px 10px !important; letter-spacing: .02em; }
.cat-filter ul.cat-chips-sub li a { font-size: 10.5px !important; padding: 5px 9px !important; }

/* Recherche mots clés : placeholder, focus et survol de la loupe */

/* Recherche mots clés (le style principal est en ligne dans le HTML) */
.cat-filter form.cat-search input[name="keyword"]::placeholder { color: rgba(255,255,255,.55); }
.cat-filter form.cat-search:focus-within { border-color: #7aa2ff !important; background: rgba(255,255,255,.12) !important; }
.cat-filter form.cat-search button:hover { color: #fff !important; background: rgba(255,255,255,.12) !important; }
