/* ===== VARIABLES ===== */
:root {
  --blue: #1a2e6c;
  --blue-dark: #0f1f4e;
  --blue-light: #2a4a9f;
  --orange: #f47c20;
  --orange-dark: #d4660f;
  --white: #ffffff;
  --light: #f4f7ff;
  --gray: #6b7280;
  --dark: #111827;
  --shadow: 0 4px 20px rgba(10, 61, 143, 0.12);
  --radius: 12px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo {
  width: 42px; height: 42px; background: var(--orange);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; color: var(--white);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: 1px; }
.brand-sub { font-size: 0.58rem; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  color: rgba(255,255,255,0.88); padding: 0.4rem 0.6rem;
  border-radius: 6px; font-size: 0.8rem; font-weight: 500;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-links .btn-nav {
  background: var(--orange); color: var(--white) !important;
  padding: 0.45rem 1.1rem; border-radius: 6px; font-weight: 600;
}
.nav-links .btn-nav:hover { background: var(--orange-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--blue); color: var(--white); }
.btn-secondary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  color: var(--white); padding: 6rem 2rem 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(244,124,32,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.hero-content { position: relative; max-width: 750px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(244,124,32,0.2); color: var(--orange);
  border: 1px solid rgba(244,124,32,0.4); border-radius: 50px;
  padding: 0.3rem 1rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.2rem; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--light); }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block; background: rgba(244,124,32,0.1); color: var(--orange);
  border-radius: 50px; padding: 0.25rem 1rem; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--blue-dark); margin-bottom: 0.6rem; }
.section-header p { color: var(--gray); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* ===== CARDS GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }

.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(10,61,143,0.18); }

/* ===== PRODUCT CARD ===== */
.product-card .card-img {
  height: 200px; background: var(--light);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.product-card .card-img .icon-placeholder {
  font-size: 4rem; opacity: 0.4;
}
.product-card .card-img .badge-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: var(--white);
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 50px;
}
.product-card .card-body { padding: 1.4rem; }
.product-card .card-body h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.4rem; }
.product-card .card-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 1rem; line-height: 1.5; }
.product-card .card-body .specs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.product-card .card-body .spec-tag {
  background: var(--light); color: var(--blue); font-size: 0.72rem;
  padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600;
}

/* ===== SERVICE CARD ===== */
.service-card { padding: 2rem; }
.service-card .icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ===== APP PORTAL CARD ===== */
.app-card { padding: 2rem; text-align: center; }
.app-card .app-icon {
  width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.app-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.5rem; }
.app-card p { font-size: 0.86rem; color: var(--gray); margin-bottom: 1.2rem; line-height: 1.5; }
.app-card .app-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--blue); color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.app-card .app-link:hover { background: var(--blue-dark); transform: translateY(-2px); }
.app-card .app-link-soon {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--light); color: var(--gray);
  padding: 0.6rem 1.4rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
}

/* ===== STATS BAND ===== */
.stats-band { background: var(--blue); color: var(--white); padding: 3rem 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; text-align: center; }
.stat-item .stat-num { font-size: 2.5rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-item .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white); padding: 4rem 2rem; text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.8rem; }
.cta-band p { font-size: 1rem; opacity: 0.9; margin-bottom: 1.8rem; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.contact-item .ci-icon {
  width: 44px; height: 44px; background: var(--blue); color: var(--white);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item .ci-text { font-size: 0.88rem; }
.contact-item .ci-text strong { display: block; color: var(--blue-dark); font-weight: 600; margin-bottom: 0.1rem; }
.contact-item .ci-text span { color: var(--gray); }

.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 1rem; border: 1.5px solid #e0e7ef;
  border-radius: 8px; font-size: 0.9rem; color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,61,143,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 0.85rem; background: var(--blue); color: var(--white);
  border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.form-success { display: none; text-align: center; padding: 1.5rem; color: #16a34a; font-weight: 600; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white); padding: 4rem 2rem 3rem; text-align: center;
}
.page-hero .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 0.8rem; }
.page-hero .breadcrumb a { color: var(--orange); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.8); margin-top: 0.6rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.8); padding: 3.5rem 2rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .brand-logo { margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; opacity: 0.8; }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; opacity: 0.6; }
.footer-bottom .footer-badge { background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 4px; }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  /* Le menu s'intègre dans le flux — pousse le contenu vers le bas */
  .navbar {
    position: sticky;
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 0;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--blue-dark);
    padding: .5rem .8rem 1rem;
    gap: .2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    /* PAS de position: absolute → le menu pousse le contenu */
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .8rem 1rem;
    border-radius: 8px;
    font-size: .95rem;
    display: block;
  }
  .nav-links .btn-nav { text-align: center; margin-top: .3rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.2rem 3.5rem; }
  .section { padding: 3.5rem 1.2rem; }
}

/* ===== SCROLL — compense la navbar collante (70px) ===== */
html {
  scroll-padding-top: 80px;
}

/* Overlay semi-transparent derrière le menu mobile ouvert */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 999;
}
.nav-overlay.visible { display: block; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.divider { height: 3px; width: 50px; background: var(--orange); border-radius: 2px; margin: 0.8rem auto 0; }

/* ===========================
   ANIMATIONS & SCROLL REVEAL
   =========================== */

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.25,.8,.25,1), transform 0.7s cubic-bezier(.25,.8,.25,1);
}
.reveal.from-left  { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.from-bottom{ transform: translateY(60px); }
.reveal.scale-in   { transform: scale(0.88); }

.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Hero Floating Shapes --- */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: floatShape 8s ease-in-out infinite;
}
.shape-1 { width: 300px; height: 300px; top: -80px; right: -60px; animation-duration: 9s; }
.shape-2 { width: 180px; height: 180px; bottom: -40px; left: 10%; animation-duration: 7s; animation-delay: -3s; background: rgba(244,124,32,0.12); }
.shape-3 { width: 120px; height: 120px; top: 30%; left: 5%; animation-duration: 11s; animation-delay: -5s; }
.shape-4 { width: 80px;  height: 80px;  top: 15%; right: 20%; animation-duration: 6s;  animation-delay: -2s; background: rgba(244,124,32,0.15); }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-20px) rotate(5deg); }
  66%       { transform: translateY(10px) rotate(-3deg); }
}

/* --- Hero gradient animation --- */
.hero { animation: heroBg 12s ease infinite alternate; }
@keyframes heroBg {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* --- Pulse CTA --- */
.btn-primary { animation: pulseCta 3s ease-in-out infinite; }
@keyframes pulseCta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,124,32,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(244,124,32,0); }
}

/* --- Image cards --- */
.img-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-card img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.img-card:hover img { transform: scale(1.07); }

.product-card .card-img img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img img { transform: scale(1.06); }
.product-card .card-img { padding: 0; overflow: hidden; }

/* --- Print gallery card --- */
.print-img-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.print-img-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,0.18); }
.print-img-card img { width:100%; height:220px; object-fit:cover; display:block; transition: transform 0.5s; }
.print-img-card:hover img { transform: scale(1.08); }
.print-img-card .img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white); padding: 1.5rem 1rem 0.8rem;
  font-weight: 700; font-size: 0.9rem;
}

/* --- About image --- */
.about-real-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(10,61,143,0.2); position: relative; }
.about-real-img img { width:100%; height:400px; object-fit:cover; display:block; }
.about-real-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,61,143,0.15), transparent);
  border-radius: 20px;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--orange); color: var(--white);
  border-radius: 14px; padding: 1rem 1.4rem;
  box-shadow: 0 8px 25px rgba(244,124,32,0.4);
  z-index: 2;
}
.about-badge .ab-num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .ab-text { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }

/* --- Hero background image overlay --- */
.page-hero-img {
  position: relative; overflow: hidden;
  color: var(--white); padding: 5rem 2rem 4rem; text-align: center;
}
.page-hero-img .hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-img .hero-bg-img img { width:100%; height:100%; object-fit:cover; }
.page-hero-img .hero-bg-img::after {
  content: ''; position: absolute; inset: 0;
}
.page-hero-img .hero-content-inner { position: relative; z-index: 2; }
.page-hero-img .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 0.8rem; }
.page-hero-img .breadcrumb a { color: var(--orange); }
.page-hero-img h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.6rem; }
.page-hero-img p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto; }

/* --- Service card with image --- */
.service-img-card { overflow: hidden; }
.service-img-card .sic-img { height: 160px; overflow: hidden; }
.service-img-card .sic-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s; }
.service-img-card:hover .sic-img img { transform: scale(1.08); }
.service-img-card .service-card { padding-top: 1.2rem; }

/* --- Counter animation --- */
.stat-num[data-target] { transition: none; }

/* --- Typing cursor --- */
.typing-cursor { display: inline-block; width: 3px; background: var(--orange); animation: blink 0.8s step-end infinite; margin-left: 2px; }
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

/* --- Floating whatsapp pulse --- */
.whatsapp-btn { animation: waPulse 2.5s ease-in-out infinite; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 35px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* --- Section tag pop --- */
.section-tag { animation: none; }
.section-tag.visible-tag {
  animation: tagPop 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes tagPop { from { transform: scale(0.7); opacity:0; } to { transform:scale(1); opacity:1; } }

/* --- Image gallery grid imprimerie --- */
.print-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }


/* ===== LOGO IMAGE NAVBAR ===== */
.nav-logo-img {
  height: 48px; width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 3px 6px;
  object-fit: contain;
  display: block;
}
.nav-brand-img { display: flex; align-items: center; }

/* ===== SEO / ACCESSIBILITÉ ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== BRAND LOGOS PARTENAIRES ===== */
.brand-pill {
  background: var(--white);
  border: 1.5px solid #e8edf5;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.brand-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-color: #c8d4e8;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ===== SECTION PUB DÉVELOPPEMENT ===== */
.pub-dev {
  background: linear-gradient(135deg, #0f1f4e 0%, #1a2e6c 40%, #f47c20 100%);
  position: relative; overflow: hidden;
  padding: 4rem 2rem; color: white;
}
.pub-dev::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(244,124,32,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.pub-dev-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.pub-dev-left .pub-eyebrow {
  display: inline-block;
  background: rgba(244,124,32,.25);
  border: 1px solid rgba(244,124,32,.5);
  color: #fbbf24; font-size: .75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 50px; margin-bottom: 1rem;
}
.pub-dev-left h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 1.2rem;
}
.pub-dev-left h2 span { color: #fbbf24; }
.pub-dev-left .pub-sub {
  font-size: .95rem; opacity: .85; line-height: 1.7; margin-bottom: 1.8rem;
}
.pub-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.pub-btn-main {
  background: #fbbf24; color: #0f1f4e;
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 900; font-size: .95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .2s, box-shadow .2s;
  animation: pubBtnPulse 2.5s ease-in-out infinite;
}
@keyframes pubBtnPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,.4); }
  50%      { box-shadow: 0 0 0 10px rgba(251,191,36,.0); }
}
.pub-btn-main:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(251,191,36,.4); }
.pub-btn-sec {
  background: rgba(255,255,255,.12); color: white;
  border: 1.5px solid rgba(255,255,255,.4);
  padding: .85rem 1.6rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s;
}
.pub-btn-sec:hover { background: rgba(255,255,255,.2); }

/* Cibles (droite) */
.pub-dev-right { display: flex; flex-direction: column; gap: .75rem; }
.pub-cible {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 1rem 1.2rem;
  display: flex; align-items: flex-start; gap: .8rem;
  transition: background .2s, transform .2s, border-color .2s;
}
.pub-cible:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(244,124,32,.5);
  transform: translateX(4px);
}
.pub-cible .pc-icon {
  font-size: 1.4rem; flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(244,124,32,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pub-cible .pc-text strong {
  display: block; font-size: .9rem; font-weight: 700; margin-bottom: .15rem;
}
.pub-cible .pc-text span { font-size: .8rem; opacity: .75; line-height: 1.4; }

/* Décoration flottante */
.pub-deco {
  position: absolute; right: -2rem; bottom: -2rem;
  width: 200px; height: 200px; pointer-events: none;
  opacity: .06; border: 10px solid white; border-radius: 50%;
}

@media(max-width:768px) {
  .pub-dev-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pub-deco { display: none; }
}

/* ===== DROPDOWN FORMATIONS ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex; align-items: center; gap: .3rem;
}
.nav-dropdown > a::after {
  content: '▾'; font-size: .65rem; opacity: .7;
}
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: white; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  padding: .5rem; min-width: 240px;
  z-index: 999; border: 1px solid #e8edf5;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: white;
  border-top: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
  animation: dropDown .2s ease;
}
@keyframes dropDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dropdown-menu a {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .9rem; border-radius: 8px;
  font-size: .84rem; color: var(--dark) !important;
  font-weight: 500; text-decoration: none;
  transition: background .15s;
}
.dropdown-menu a:hover {
  background: var(--light);
  color: var(--blue) !important;
}
.dropdown-menu .dd-icon {
  font-size: 1.1rem; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.dropdown-menu .dd-text strong {
  display: block; font-size: .82rem; color: var(--dark);
}
.dropdown-menu .dd-text span {
  font-size: .72rem; color: var(--gray);
}
.dropdown-divider {
  height: 1px; background: #e8edf5; margin: .3rem 0;
}
.dropdown-menu .dd-all {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white !important; font-weight: 700; justify-content: center;
  margin-top: .2rem;
}
.dropdown-menu .dd-all:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-light)) !important;
  color: white !important;
}

/* Mobile — dropdown s'affiche en bloc dans le menu hamburger */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static; transform: none; box-shadow: none;
    border: none; border-radius: 0; padding: 0;
    background: rgba(0,0,0,.15); margin: .3rem 0;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { color: rgba(255,255,255,.85) !important; border-radius: 6px; }
  .dropdown-menu a:hover { background: rgba(255,255,255,.1); }
  .dropdown-menu .dd-all { background: rgba(244,124,32,.4) !important; }
  .nav-dropdown > a::after { margin-left: auto; }
}
