/* =============================================
   EasyClick Solution – style.css
   ============================================= */

:root {
  --navy:   #0d2a4a;
  --blue:   #1565c0;
  --teal:   #00b89c;
  --teal2:  #3dd6be;
  --light:  #f5f8fc;
  --white:  #ffffff;
  --border: #dce6f0;
  --text:   #1a2a3a;
  --muted:  #5a7a96;
  --shadow: 0 4px 24px rgba(13,42,74,.10);
  --radius: 18px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { transition: color .2s; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* ── TOP BAR ── */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .78rem; padding: .5rem 5%; }
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: .4rem; }
.topbar-item .ti { color: var(--teal2); }
.topbar a { color: rgba(255,255,255,.82); text-decoration: none; }
.topbar a:hover { color: var(--teal2); }
@media(max-width:640px){ .topbar-inner{justify-content:center; gap:1rem;} .topbar{font-size:.72rem;} }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(13,42,74,.07);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: .8rem; padding: .75rem 0; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-brand { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.3rem; color: var(--navy); letter-spacing: -.5px; line-height: 1; }
.nav-brand span { color: var(--teal); }
.nav-brand small { display: block; font-size: .6rem; font-weight: 600; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

nav ul { list-style: none; display: flex; gap: .2rem; align-items: center; }
nav ul li a {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .8rem;
  color: var(--navy); text-decoration: none; padding: .55rem .9rem; border-radius: 8px;
  transition: background .2s, color .2s; text-transform: uppercase; letter-spacing: .5px;
}
nav ul li a:hover { background: var(--light); color: var(--blue); }
.nav-cta { background: var(--teal) !important; color: #fff !important; box-shadow: 0 3px 12px rgba(0,184,156,.28); }
.nav-cta:hover { background: #009e85 !important; }

/* Hamburger */
.hamburger { display: none; background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: .45rem .55rem; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

@media(max-width:768px) {
  .hamburger { display: block; }
  nav ul {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--border);
    padding: 1rem 5%; gap: .3rem; box-shadow: 0 8px 24px rgba(13,42,74,.12);
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: .7rem 1rem; border-radius: 8px; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--teal); color: #fff;
  padding: .85rem 1.8rem; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .88rem;
  text-decoration: none; box-shadow: 0 6px 20px rgba(0,184,156,.38);
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #009e85; transform: translateY(-2px); color: #fff; }
.btn-outline {
  display: inline-block; background: transparent; color: #fff;
  padding: .85rem 1.8rem; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .88rem;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.35);
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); color: #fff; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a80 55%, #1a6e6a 100%);
  position: relative; overflow: hidden; padding: 5.5rem 5% 6rem;
  display: flex; align-items: center; min-height: 90vh;
}
.hero-geo { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-geo::before { content: ''; position: absolute; top: -120px; right: -80px; width: 580px; height: 580px; border-radius: 50%; background: rgba(0,184,156,.11); }
.hero-geo::after  { content: ''; position: absolute; bottom: -100px; left: -60px; width: 380px; height: 380px; border-radius: 50%; background: rgba(21,101,192,.16); }
.hero-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 75px; background: var(--white); clip-path: polygon(0 100%,100% 0,100% 100%); z-index: 1; }

.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(61,214,190,.14); border: 1px solid rgba(61,214,190,.38);
  color: var(--teal2); font-size: .74rem; font-weight: 700;
  padding: .38rem .95rem; border-radius: 50px; margin-bottom: 1.6rem;
  letter-spacing: .8px; text-transform: uppercase;
  animation: fadeUp .7s ease both;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--teal2); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2rem,4.5vw,3.3rem);
  font-weight: 900; line-height: 1.1; color: #fff; letter-spacing: -1px; margin-bottom: 1.2rem;
  animation: fadeUp .8s ease .1s both;
}
.hero h1 em { font-style: normal; color: var(--teal2); }
.hero p { font-size: .98rem; color: rgba(255,255,255,.72); margin-bottom: 2rem; max-width: 460px; animation: fadeUp .8s ease .2s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .8s ease .3s both; }

.hero-visual { animation: fadeUp .9s ease .4s both; }
.hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.hc { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); border-radius: 16px; padding: 1.3rem; transition: transform .3s; }
.hc:hover { transform: translateY(-4px); }
.hc-icon { font-size: 1.7rem; margin-bottom: .55rem; }
.hc-name { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; font-size: .88rem; }
.hc-desc { font-size: .73rem; color: rgba(255,255,255,.52); margin-top: .18rem; }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

@media(max-width:900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero { min-height: auto; padding: 5rem 5% 5rem; }
}
@media(max-width:500px) { .hero-card-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } .hc { padding: 1rem; } }

/* ── STATS ── */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--border); }
.stat-box { padding: 1.8rem 1rem; border-right: 1px solid var(--border); text-align: center; }
.stat-num { font-family: 'Montserrat', sans-serif; font-size: 1.9rem; font-weight: 900; color: var(--navy); }
.stat-num span { color: var(--teal); font-size: 1.2rem; }
.stat-label { color: var(--muted); font-size: .76rem; margin-top: .25rem; font-weight: 500; }
@media(max-width:640px){ .stats-inner{grid-template-columns:repeat(2,1fr);} }

/* ── SECTIONS ── */
section { padding: 5rem 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }

.section-header { margin-bottom: 3rem; }
.section-tag { display: inline-block; background: rgba(0,184,156,.1); color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: .28rem .85rem; border-radius: 50px; margin-bottom: .9rem; }
.section-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.7rem,3.2vw,2.4rem); font-weight: 900; color: var(--navy); letter-spacing: -.7px; margin-bottom: .8rem; line-height: 1.2; }
.section-sub { color: var(--muted); font-size: .93rem; max-width: 520px; }

/* ── PRODUCTS ── */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media(max-width:900px){ .prod-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:580px){ .prod-grid{grid-template-columns:1fr;} }

.prod-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem;
  position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.prod-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--bar, linear-gradient(90deg,#1565c0,#00b89c)); border-radius: var(--radius) var(--radius) 0 0; }
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 14px 38px rgba(13,42,74,.11); }

.prod-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 1.2rem; background: var(--ic, #e3ecfa); }
.prod-img-box { width: 100%; height: 155px; border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; background: var(--light); border: 1px solid var(--border); }
.prod-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.prod-card:hover .prod-img { transform: scale(1.05); }
.prod-name { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.prod-desc { color: var(--muted); font-size: .86rem; line-height: 1.65; margin-bottom: 1.2rem; }
.prod-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ptag { font-size: .7rem; padding: .2rem .6rem; border-radius: 50px; font-weight: 600; background: var(--tag-bg, #e3ecfa); color: var(--tag-c, #1565c0); }

/* Featured (EasyResto) */
.prod-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 2.2rem; }
.prod-card.featured .prod-card-main { }
.resto-modules { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.rm { background: var(--light); border: 1px solid var(--border); border-radius: 11px; padding: .85rem 1rem; display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; color: var(--navy); transition: border-color .2s, background .2s; }
.rm:hover { border-color: var(--teal); background: #e0f7f4; }
.rm-icon { font-size: 1.05rem; }
@media(max-width:700px){ .prod-card.featured{grid-template-columns:1fr;} }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.5rem; }
@media(max-width:900px){ .why-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:580px){ .why-grid{grid-template-columns:1fr;} }

.why-card { padding: 1.8rem; border: 1px solid var(--border); border-radius: 16px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.why-card:hover { border-color: var(--teal); box-shadow: 0 8px 28px rgba(0,184,156,.09); }
.why-icon { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg,var(--teal),var(--teal2)); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.why-title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: .4rem; font-size: .93rem; }
.why-card p { color: var(--muted); font-size: .84rem; line-height: 1.65; }

/* ── CONTACT ── */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media(max-width:800px){ .contact-wrapper{grid-template-columns:1fr;} }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.ci-box { background: var(--white); border: 1px solid var(--border); border-radius: 13px; padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: .9rem; transition: border-color .2s, box-shadow .2s; }
.ci-box:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(0,184,156,.09); }
.ci-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: linear-gradient(135deg,var(--navy),var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #fff; }
.ci-label { font-size: .7rem; font-weight: 700; color: var(--teal); letter-spacing: 1px; text-transform: uppercase; }
.ci-value { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: .9rem; margin-top: .12rem; }
.ci-value a { color: var(--navy); text-decoration: none; }
.ci-value a:hover { color: var(--teal); }

.contact-form-box { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 2.3rem; box-shadow: var(--shadow); }
.cf-title { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); font-size: 1.2rem; margin-bottom: 1.4rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:480px){ .cf-row{grid-template-columns:1fr;} }
.cf-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.cf-group label { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cf-group input, .cf-group select, .cf-group textarea {
  border: 1.5px solid var(--border); border-radius: 9px; padding: .72rem .95rem;
  font-family: 'Open Sans', sans-serif; font-size: .87rem; color: var(--text);
  background: var(--white); outline: none; transition: border-color .2s; width: 100%;
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus { border-color: var(--teal); }
.cf-group textarea { resize: vertical; min-height: 95px; }
.cf-btn {
  width: 100%; background: linear-gradient(135deg,var(--navy),var(--blue)); color: #fff; border: none; cursor: pointer;
  padding: .9rem; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .88rem;
  letter-spacing: .3px; transition: opacity .2s, transform .2s; margin-top: .4rem;
}
.cf-btn:hover { opacity: .88; transform: translateY(-1px); }

.form-alert { padding: .85rem 1.1rem; border-radius: 9px; margin-bottom: 1.2rem; font-size: .87rem; font-weight: 500; }
.form-success { background: #e0f7f4; color: #00695c; border: 1px solid #b2dfdb; }
.form-error   { background: #fdecea; color: #b71c1c; border: 1px solid #ffcdd2; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg,var(--navy) 0%,#1a4a80 60%,#1a6e6a 100%); padding: 5rem 5%; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; border-radius: 50%; background: rgba(61,214,190,.09); pointer-events: none; }
.cta-band h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.7rem,3.5vw,2.6rem); font-weight: 900; color: #fff; letter-spacing: -.7px; margin-bottom: .7rem; position: relative; }
.cta-band p { color: rgba(255,255,255,.68); margin-bottom: 2rem; font-size: .97rem; position: relative; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.5); padding: 3rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.2rem; color: #fff; }
.footer-logo span { color: var(--teal2); }
.footer-logo small { display: block; font-size: .6rem; color: rgba(255,255,255,.3); letter-spacing: 2px; margin-top: 2px; }
.footer-sub { font-size: .78rem; color: rgba(255,255,255,.38); margin-top: .4rem; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.42); text-decoration: none; font-size: .8rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal2); }
.footer-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .75rem; margin-top: 1.5rem; }
.footer-copy span:first-child { color: var(--teal2); }
.footer-copy-right { color: rgba(255,255,255,.28); }
@media(max-width:640px){ .footer-inner{flex-direction:column;text-align:center;} .footer-links{justify-content:center;} .footer-copy{flex-direction:column;align-items:center;text-align:center;} }



/* ══════════════════════════════════════════════════
   CATALOGUE BENTO PREMIUM
══════════════════════════════════════════════════ */

.section-navy-light { background: #f0f4f9; padding: 5rem 0; }

.cat-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
}

/* ── TABS (onglets cards) ── */
.cat-tabs {
  display: flex; gap: .9rem; flex-wrap: wrap;
  margin-bottom: 2.8rem;
}
.cat-tab {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.4rem .9rem 1rem;
  border: 2px solid var(--border);
  border-radius: 14px; background: var(--white);
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  transition: all .22s; position: relative; overflow: hidden;
  min-width: 160px; text-align: left;
}
.cat-tab:hover { border-color: var(--acc,var(--teal)); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.cat-tab.active {
  border-color: var(--acc,var(--teal));
  background: var(--white);
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
}
.cat-tab-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--bar); border-radius: 0 0 14px 14px;
  transform: scaleX(0); transition: transform .25s;
}
.cat-tab.active .cat-tab-bar { transform: scaleX(1); }
.cat-tab-img {
  width: 42px; height: 42px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
  background: var(--ic,#e3ecfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; border: 1px solid var(--border);
}
.cat-tab-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tab-name { font-weight: 700; font-size: .85rem; color: var(--navy); }
.cat-tab-count { font-size: .7rem; color: var(--muted); margin-top: .1rem; }

@media(max-width:700px){
  .cat-tabs { gap: .5rem; }
  .cat-tab { min-width: 0; padding: .7rem .9rem; }
  .cat-tab-img { width: 34px; height: 34px; font-size: 1rem; }
  .cat-tab-name { font-size: .78rem; }
  .cat-tab-count { display: none; }
}

/* ── PANEL ── */
.cat-panel { display: none; }
.cat-panel.active { display: block; animation: fadeUp .3s ease; }

/* ── INFO ROW ── */
.cat-info-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem;
  padding: 1.3rem 1.8rem; margin-bottom: 2rem;
  background: var(--white); border-radius: 18px;
  border-left: 4px solid var(--acc, var(--teal));
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.cat-info-icon { font-size: 2rem; flex-shrink: 0; }
.cat-info-text { flex: 1; min-width: 180px; }
.cat-info-name {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  color: var(--navy); font-size: 1.05rem; margin-bottom: .2rem;
}
.cat-info-desc { color: var(--muted); font-size: .83rem; line-height: 1.55; }
.cat-info-tags { display: flex; flex-wrap: wrap; gap: .3rem; flex-shrink: 0; }
.cat-ftag {
  font-size: .68rem; font-weight: 600; padding: .22rem .7rem; border-radius: 50px;
  background: var(--ic,#e3ecfa); color: var(--acc,var(--navy)); border: 1px solid rgba(0,0,0,.06);
}
.cat-cta-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--acc,var(--teal)); color: #fff;
  padding: .6rem 1.4rem; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .78rem;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: opacity .2s, transform .18s;
}
.cat-cta-btn:hover { opacity: .88; transform: translateY(-2px); color: #fff; }

@media(max-width:640px){
  .cat-info-row { padding: 1rem 1.2rem; }
  .cat-info-tags, .cat-cta-btn { width: 100%; }
  .cat-cta-btn { justify-content: center; }
}

/* ══════════════════════════════════
   BENTO GRID
══════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: .75rem;
  margin-bottom: 1rem;
}

/* — Positions Bento — */
.bento-a { grid-column: 1/6;  grid-row: 1/4; }   /* hero gauche 5col×3 */
.bento-b { grid-column: 6/9;  grid-row: 1/3; }   /* milieu haut 3col×2 */
.bento-c { grid-column: 6/9;  grid-row: 3/4; }   /* milieu bas 3col×1 */
.bento-d { grid-column: 9/13; grid-row: 1/2; }   /* droite haut 4col×1 */
.bento-e { grid-column: 9/13; grid-row: 2/4; }   /* droite bas 4col×2 */
.bento-f { grid-column: 1/5;  grid-row: 4/6; }   /* rangée 2 gauche 4col×2 */
.bento-g { grid-column: 5/9;  grid-row: 4/5; }   /* rangée 2 centre 4col×1 */
.bento-h { grid-column: 5/9;  grid-row: 5/6; }
.bento-i { grid-column: 9/13; grid-row: 4/6; }   /* rangée 2 droite 4col×2 */
.bento-sm{ grid-column: span 3; grid-row: span 1; }
.bento-hidden { display: none; }

.bento-cell {
  position: relative; overflow: hidden; border-radius: 14px;
  cursor: pointer; background: var(--light);
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), box-shadow .26s;
}
.bento-cell::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0,0,0,.0) 60%, rgba(0,0,0,.18));
  transition: opacity .25s;
}
.bento-cell:hover { transform: scale(1.025); box-shadow: 0 16px 40px rgba(13,42,74,.18); z-index: 2; }
.bento-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.bento-cell:hover img { transform: scale(1.07); }

.bento-over {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(13,42,74,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .22s;
}
.bento-cell:hover .bento-over { opacity: 1; }
.bento-zoom-ico { font-size: 2rem; color: #fff; }
.bento-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 3;
  background: var(--acc,var(--teal)); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .63rem;
  padding: .22rem .7rem; border-radius: 50px; letter-spacing: .5px; text-transform: uppercase;
}
.bento-plus {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(13,42,74,.78);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 1.6rem; letter-spacing: -1px;
}

/* Responsive Bento */
@media(max-width:900px){
  .bento-grid { grid-template-columns: repeat(6,1fr); grid-auto-rows: 110px; }
  .bento-a { grid-column:1/4; grid-row:1/3; }
  .bento-b { grid-column:4/7; grid-row:1/2; }
  .bento-c { grid-column:4/7; grid-row:2/3; }
  .bento-d { grid-column:1/4; grid-row:3/4; }
  .bento-e { grid-column:4/7; grid-row:3/4; }
  .bento-f { grid-column:1/3; grid-row:4/5; }
  .bento-g { grid-column:3/5; grid-row:4/5; }
  .bento-h { grid-column:5/7; grid-row:4/5; }
  .bento-i { grid-column:1/4; grid-row:5/6; }
  .bento-sm{ grid-column:span 2; grid-row:span 1; }
}
@media(max-width:580px){
  .bento-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 130px; gap: .5rem; }
  .bento-a,.bento-b,.bento-c,.bento-d,.bento-e,
  .bento-f,.bento-g,.bento-h,.bento-i,.bento-sm {
    grid-column: span 1; grid-row: span 1;
  }
  .bento-a { grid-column: span 2; }
}

/* ── Expand btn ── */
.cat-expand-row { text-align: center; padding: .4rem 0 .6rem; }
.cat-expand-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 2px solid var(--border);
  border-radius: 50px; padding: .65rem 2rem;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .8rem; color: var(--muted);
  cursor: pointer; transition: all .22s;
}
.cat-expand-btn:hover { border-color: var(--teal); color: var(--teal); }
.cat-expand-btn svg { transition: transform .22s; }
.cat-expand-btn[data-open="1"] svg { transform: rotate(180deg); }

/* ══════════════════════════════════
   LIGHTBOX PREMIUM (GLB)
══════════════════════════════════ */
.glb {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: stretch;
}
.glb.open { display: flex; flex-direction: column; }

.glb-backdrop {
  position: absolute; inset: 0;
  background: rgba(4,8,18,.96);
  backdrop-filter: blur(4px);
}

.glb-ui {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  height: 100%; width: 100%;
}

/* Header */
.glb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.glb-title-wrap { display: flex; align-items: center; gap: .7rem; }
.glb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.glb-name { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; font-size: .95rem; }
.glb-actions { display: flex; align-items: center; gap: 1rem; }
.glb-ctr { font-size: .78rem; color: rgba(255,255,255,.45); font-family: 'Montserrat', sans-serif; }
.glb-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.glb-close:hover { background: rgba(255,255,255,.2); }

/* Stage */
.glb-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; min-height: 0; padding: 1.5rem 4.5rem;
}
.glb-img-box {
  position: relative; max-height: 100%; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.glb-img {
  max-width: 100%; max-height: 65vh;
  border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.7);
  transition: opacity .18s; display: block; object-fit: contain;
}

/* Loader spinner */
.glb-loader {
  display: none; position: absolute;
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Nav arrows */
.glb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.14);
  color: #fff; font-size: 2.2rem; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s; line-height: 1;
}
.glb-nav:hover { background: rgba(255,255,255,.18); }
.glb-nav:active { transform: translateY(-50%) scale(.93); }
.glb-prev { left: .8rem; }
.glb-next { right: .8rem; }

/* Strip miniatures */
.glb-strip-wrap {
  flex-shrink: 0; padding: .6rem 1rem;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
.glb-strip {
  display: flex; gap: .4rem; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
.glb-strip::-webkit-scrollbar { height: 3px; }
.glb-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius:2px; }
.glb-thumb {
  width: 60px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
  border: 2px solid transparent; cursor: pointer; opacity: .45;
  transition: opacity .18s, border-color .18s, transform .18s;
}
.glb-thumb:hover { opacity: .8; transform: scale(1.05); }
.glb-thumb.act { border-color: var(--teal,#00b89c); opacity: 1; }

@media(max-width:600px){
  .glb-stage { padding: 1rem 3rem; }
  .glb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .glb-prev { left: .3rem; } .glb-next { right: .3rem; }
  .glb-img { max-height: 55vh; }
  .glb-thumb { width: 44px; height: 32px; }
}
