/* BOMOY EL ARTS — design élégant (palette logo : bleu marine + orange) */
:root {
  --bg: #ffffff;      /* fond blanc — palette chic d'origine */
  --bg-soft: #f6f7fc;
  --card: #ffffff;
  --gold: #f26f21;
  --gold-soft: #d85a10;
  --navy: #16224a;
  --navy-2: #1e2d5c;
  --text: #232f56;
  --muted: #5f6a8a;
  --line: #e6e9f4;
  --radius: 18px;
  --shadow: 0 6px 30px rgba(22,34,74,.08);
  --shadow-hover: 0 18px 44px rgba(22,34,74,.14);
  --serif: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; max-width: 1100px; margin: 0 auto;
}
.brand img { height: 60px; width: auto; }
nav ul { display: flex; gap: 22px; list-style: none; }
nav ul li { position: relative; }
.sub {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  flex-direction: column; gap: 0; min-width: 150px; padding: 10px 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-hover);
}
li.has-sub:hover .sub, li.has-sub:focus-within .sub { display: flex; }
li.has-sub > a::after { content: " ▾"; font-size: .7em; }
.sub li { padding: 7px 20px; }
.sub a { border-bottom: none; letter-spacing: 1px; }
nav ul a {
  color: var(--navy); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; white-space: nowrap;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav ul a:hover, nav ul a.active { color: var(--gold-soft); border-color: var(--gold); }
#nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 0 0 84px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(242,111,33,.09), transparent 50%),
    radial-gradient(ellipse at 85% 100%, rgba(30,45,92,.07), transparent 55%);
  text-align: center;
  overflow: hidden;
}
.hero-media {
  width: 100vw; margin: 0 0 12px calc(50% - 50vw); /* pleine largeur de la page */
  background: #ffffff; /* fond uniforme sur toute la largeur derrière le logo animé */
}
.hero-media video, .hero-media img { width: 100%; height: auto; display: block; max-height: 22vh; object-fit: contain; }
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.16;
  margin-bottom: 20px; font-weight: 800; letter-spacing: -.5px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { max-width: 620px; margin: 0 auto 36px; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  color: var(--gold-soft); text-transform: uppercase; letter-spacing: 4px;
  font-size: 1.05rem; font-weight: 800; display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .6; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 40px;
  font-weight: 700; font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-gold {
  background: linear-gradient(135deg, #ff8b45, var(--gold)); color: #fff;
  box-shadow: 0 8px 24px rgba(242,111,33,.28);
}
.btn-line { border: 1.5px solid var(--navy); color: var(--navy); margin-left: 14px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(242,111,33,.32); }
.btn-line:hover { background: var(--navy); color: #fff; box-shadow: 0 14px 30px rgba(22,34,74,.25); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); }
h2.section-title { font-size: clamp(1.45rem, 3.2vw, 2rem); margin-bottom: 12px; font-weight: 800; letter-spacing: -.3px; }
h2.section-title em { color: var(--gold); font-style: normal; }
.section-sub { color: var(--muted); margin-bottom: 44px; max-width: 640px; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), #ffb27d);
  border-radius: var(--radius) var(--radius) 0 0; transition: width .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card:hover::before { width: 100%; }
.card .icon { font-size: 2rem; margin-bottom: 16px; }
.card .icon img { height: 42px; width: auto; max-width: 100%; border-radius: 8px; object-fit: cover; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; font-weight: 700; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Catalogue location ---------- */
.item-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.item-photo {
  height: 150px; position: relative;
  background: linear-gradient(135deg, #eef1fa 0%, #fdf0e6 100%);
  display: grid; place-items: center; font-size: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.item-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.item-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.item-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.item-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.price {
  margin-top: 16px; font-weight: 800; color: var(--gold-soft); font-size: 1rem;
  border-top: 1px solid var(--line); padding-top: 13px; font-family: var(--sans);
}

/* ---------- Catalogue complet ---------- */
.cat-tools { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-tools input, .cat-tools select { max-width: 330px; }
.cat-count { color: var(--muted); font-size: .85rem; margin-bottom: 14px; letter-spacing: .3px; }
.cat-wrap {
  overflow-x: auto; max-height: 560px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff;
}
table.cat { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cat th {
  text-align: left; background: var(--navy); color: #fff; padding: 13px 16px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700;
  position: sticky; top: 0; z-index: 1;
}
.cat td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.cat tr:last-child td { border-bottom: none; }
.cat tbody tr { transition: background .15s; }
.cat tbody tr:hover { background: #fdf4ec; }
.cat td.p { white-space: nowrap; font-weight: 800; color: var(--gold-soft); }
.cat td.q { text-align: center; color: var(--muted); }
.badge {
  font-size: .72rem; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 3px 12px; border-radius: 12px; color: var(--muted); white-space: nowrap;
  font-weight: 600;
}

/* ---------- Formulaire ---------- */
form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-size: .88rem; font-weight: 700; display: block; margin-bottom: 7px; color: var(--navy); }
label .req { color: var(--gold); }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #d5dbeb; background: #fff; color: var(--text);
  font-family: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,111,33,.13);
}
fieldset { border: 1.5px solid #d5dbeb; border-radius: 12px; padding: 18px 20px; background: #fff; }
legend { padding: 0 10px; font-weight: 700; font-size: .88rem; color: var(--navy); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem; margin: 0; cursor: pointer; color: var(--text); }
.checks input { width: auto; accent-color: var(--gold); transform: scale(1.15); }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; accent-color: var(--gold); }
.notice {
  background: var(--bg-soft); border-left: 3px solid var(--gold);
  padding: 16px 22px; border-radius: 0 12px 12px 0; color: var(--muted); font-size: .9rem;
}

/* ---------- Bandeau CTA ---------- */
.cta-band {
  text-align: center;
  background: linear-gradient(120deg, var(--navy) 0%, #263769 60%, #33427a 100%);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(242,111,33,.35), transparent 70%); border-radius: 50%;
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; color: #fff; }
.cta-band p { color: #c3cce6; margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .container { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
footer { background: var(--navy); padding: 54px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 34px; }
footer h4 {
  color: var(--gold); font-size: .78rem; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 2px; font-family: var(--sans);
}
footer p, footer li, footer a { color: #aeb8d6; font-size: .9rem; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a:hover { color: #ffb27d; }
.foot-bottom { border-top: 1px solid #2b3a6e; padding-top: 22px; font-size: .8rem; color: #7f8ab0; text-align: center; letter-spacing: .4px; }
.foot-bottom a { color: #7f8ab0; text-decoration: underline; }

/* ---------- Page interne ---------- */
.page-head {
  padding: 74px 0 46px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(242,111,33,.09), transparent 60%);
}
.page-head h1 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 800; letter-spacing: -.4px; }
.page-head h1 em { color: var(--gold); font-style: normal; }
.page-head p { color: var(--muted); max-width: 720px; margin: 16px auto 0; }

.legal-note { font-size: .82rem; color: #7f89a8; margin-top: 36px; border-top: 1px dashed var(--line); padding-top: 18px; }

/* ---------- Fonds animés des rubriques ---------- */
.page-head, .hero { position: relative; overflow: hidden; }
.page-head > .container, .hero > .container { position: relative; z-index: 2; }
.page-head::before, .hero::before {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  width: 55vw; height: 55vw; max-width: 640px; max-height: 640px;
  top: -35%; left: -12%;
  background: radial-gradient(circle, rgba(242,111,33,.18), transparent 62%);
  animation: drift-a 16s ease-in-out infinite alternate;
}
.page-head::after, .hero::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  width: 48vw; height: 48vw; max-width: 560px; max-height: 560px;
  bottom: -40%; right: -10%;
  background: radial-gradient(circle, rgba(30,45,92,.16), transparent 62%);
  animation: drift-b 20s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(10vw, 6vh) scale(1.2); } }
@keyframes drift-b { to { transform: translate(-9vw, -7vh) scale(1.15); } }
.eq-bg {
  position: absolute; left: 0; right: 0; bottom: 0; height: 76px;
  display: flex; align-items: flex-end; gap: 5px; padding: 0 3vw;
  z-index: 1; opacity: .30; pointer-events: none;
}
.eq-bg span {
  flex: 1; height: 18%; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--navy) 130%);
  animation: eq-bar 1.6s ease-in-out infinite alternate;
}
@keyframes eq-bar { from { height: 10%; } to { height: 96%; } }
@media (prefers-reduced-motion: reduce) {
  .page-head::before, .page-head::after, .hero::before, .hero::after, .eq-bg span { animation: none; }
}
@media (max-width: 640px) { .eq-bg { height: 48px; gap: 3px; } }

/* ---------- Sélecteur d'articles (formulaire) ---------- */
.pick-list {
  max-height: 340px; overflow-y: auto; margin-top: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.pick-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: .88rem;
}
.pick-row:last-child { border-bottom: none; }
.pick-row.sel { background: #fdf4ec; }
.pick-name { flex: 1; color: var(--text); }
.pick-price { flex-shrink: 0; font-weight: 700; color: var(--gold-soft); font-size: .86rem; white-space: nowrap; }
.pick-img {
  width: 46px; height: 36px; object-fit: cover; border-radius: 6px;
  flex-shrink: 0; border: 1px solid var(--line); cursor: zoom-in;
  transition: transform .15s;
}
.pick-img:hover { transform: scale(1.15); box-shadow: 0 6px 16px rgba(22,34,74,.22); }

/* ---------- Visionneuse photo (clic pour agrandir) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,15,35,.86); backdrop-filter: blur(4px);
  display: none; place-items: center; padding: 4vw; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(92vw, 940px); max-height: 86vh;
  border-radius: 14px; background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: lb-in .22s ease;
}
@keyframes lb-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.lb-close {
  position: absolute; top: 18px; right: 28px;
  color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  font-family: var(--sans);
}
.pick-cat { flex-shrink: 0; }
.pick-row input[type="number"] {
  width: 74px; padding: 7px 10px; text-align: center; flex-shrink: 0;
}
.pick-sum {
  margin-top: 14px; font-size: .88rem; color: var(--navy);
  background: #fdf4ec; border: 1px solid #f6d9c2; border-radius: 12px; padding: 12px 16px;
}
.pick-sum strong { color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .form-row, .checks, .foot-grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .brand img { height: 48px; }
  nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 10px 0;
    box-shadow: 0 16px 30px rgba(22,34,74,.10);
  }
  nav ul li { padding: 13px 26px; }
  #nav-toggle:checked ~ ul { display: flex; }
  .btn-line { margin-left: 0; margin-top: 12px; }
  .hero { padding: 0 0 56px; }
  .eyebrow { font-size: .82rem; letter-spacing: 2.5px; }
  
}


/* ---------- Galerie « Ils nous ont fait confiance » ---------- */
.media-tabs { display: flex; gap: 14px; margin-bottom: 36px; }
.media-tab {
  padding: 11px 30px; border-radius: 30px; border: 1.5px solid var(--navy);
  color: var(--navy); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: 1.2px; transition: all .2s;
}
.media-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.media-tab.active { background: var(--navy); color: #fff; }
.media-card { padding: 20px; }
.media-card video, .media-card iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px;
  background: #0d1330; display: block; margin-bottom: 16px;
}
.media-card audio { width: 100%; display: block; margin-bottom: 16px; }
.media-photo {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; margin-bottom: 16px; cursor: zoom-in; display: block;
}
.media-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.media-card p { font-size: .9rem; }


/* ---------- Photo de galerie ---------- */
.media-card .media-photo {
  width: 100%; max-height: 300px; object-fit: cover;
  border-radius: 12px; margin-bottom: 16px; cursor: zoom-in; display: block;
}

/* ---------- Suivez-nous + newsletter (pied de page) ---------- */
.social { display: flex; gap: 12px; margin-bottom: 18px; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: #26356b; transition: background .2s, transform .2s;
}
.social a:hover { background: var(--gold); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.news-label { font-size: .85rem; margin-bottom: 10px; }
.news-form { display: flex; gap: 8px; }
.news-form input[type="email"] {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: 10px;
  border: 1px solid #3a4a86; background: #101a3a; color: #fff; font-size: .88rem;
}
.news-form input[type="email"]::placeholder { color: #7f8ab0; }
.news-form input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: none; }
.news-btn {
  padding: 10px 18px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #ff8b45, var(--gold)); color: #fff;
  font-weight: 700; font-size: .8rem; letter-spacing: .5px; font-family: var(--sans);
  transition: transform .15s;
}
.news-btn:hover { transform: translateY(-2px); }
