/* ============================================================
   CSI FORMATION CATEC — styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1d3557;
  --blue-dark: #0f1f38;
  --blue-mid: #2d5282;
  --blue-light: #457b9d;
  --blue-bg: #f0f5ff;
  --orange: #e76f00;
  --orange-dark: #b85900;
  --orange-light: #f4a261;
  --orange-bg: #fff5ed;
  --text: #1a1a2e;
  --text-muted: #5a6672;
  --text-light: #8a9199;
  --border: #e2e8f0;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w: 1280px;
  --header-h: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
.display-font { font-family: 'Playfair Display', Georgia, serif; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* --- TOPBAR --- */
.topbar { background: var(--blue-dark); color: rgba(255,255,255,.85); font-size: .78rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar a:hover { color: var(--white); }
.cert-badge { background: var(--orange); color: var(--white); padding: 2px 10px; border-radius: 20px; font-weight: 600; font-size: .72rem; }
.social-icon { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; transition: all var(--transition); }
.social-icon:hover { background: var(--blue-light); border-color: var(--blue-light); color: var(--white); }

/* --- HEADER --- */
#header { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
#header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo-img { height: 40px; width: auto; flex-shrink: 0; }
#nav { margin-left: auto; }
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main > li { position: relative; }
.nav-main > li > a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: .9rem; font-weight: 500; color: var(--text); border-radius: var(--radius-sm); transition: all var(--transition); white-space: nowrap; }
.nav-main > li > a:hover { color: var(--blue); background: var(--blue-bg); }
.nav-main > li > a .arrow { font-size: .65em; transition: transform var(--transition); }
.nav-main > li.has-mega.mega-hover > a .arrow { transform: rotate(180deg); }

.mega-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 28px; display: none; grid-template-columns: repeat(3, 1fr); gap: 28px; min-width: 620px; z-index: 200; }
.has-mega.mega-hover .mega-menu { display: grid; }
.mega-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-bg); }
.mega-col ul { display: flex; flex-direction: column; gap: 4px; }
.mega-col ul li a { display: block; padding: 5px 8px; font-size: .85rem; color: var(--text-muted); border-radius: 6px; transition: all var(--transition); }
.mega-col ul li a:hover { color: var(--blue); background: var(--blue-bg); padding-left: 14px; }
.mega-tag { display: inline-block; font-size: .62rem; font-weight: 700; color: var(--orange-dark); background: var(--orange-bg); padding: 1px 7px; border-radius: 100px; margin-left: 6px; vertical-align: middle; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px; margin-left: auto; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; transition: all var(--transition); border: 2px solid transparent; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(231,111,0,.35); }
.btn-primary-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-outline-blue { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-block { width: 100%; }

/* --- HERO --- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,31,56,.92) 0%, rgba(29,53,87,.80) 50%, rgba(69,123,157,.55) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; padding: 80px 0; }
.hero-content { color: var(--white); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-badges span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); color: var(--white); padding: 6px 16px; border-radius: 100px; font-size: .78rem; font-weight: 600; }
.badge-orange { background: rgba(231,111,0,.35) !important; border-color: rgba(231,111,0,.6) !important; }
h1 em { color: var(--orange-light); font-style: italic; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); margin: 20px 0 32px; max-width: 560px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.hero-actions .btn-primary-lg { padding: 10px 16px; font-size: .8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.4rem; font-weight: 800; color: var(--orange-light); }
.trust-item span { font-size: .75rem; color: rgba(255,255,255,.7); }
.trust-sep { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* Hero card */
.hero-card-wrap { position: relative; z-index: 2; }
.hero-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-xl); }
.hero-card h3 { font-size: 1.2rem; color: var(--blue-dark); margin-bottom: 8px; }
.hero-card > p { font-size: .88rem; color: var(--text-muted); margin-bottom: 24px; }
.quick-form { display: flex; flex-direction: column; gap: 12px; }
.quick-form select, .quick-form input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit; color: var(--text); background: var(--gray-50); transition: border-color var(--transition); }
.quick-form select:focus, .quick-form input:focus { outline: none; border-color: var(--blue-light); background: var(--white); }
.form-small { font-size: .75rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* --- STATS BAR --- */
.stats-bar { background: var(--blue); padding: 28px 0; }
.stats-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.stat-item { text-align: center; padding: 12px 48px; color: var(--white); position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: rgba(255,255,255,.2); }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--orange-light); line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 6px; }

/* --- SECTION HEADER --- */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); background: var(--orange-bg); padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.section-header h2 { color: var(--blue-dark); margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* --- CATEC CARDS --- */
.catec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.catec-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; transition: all var(--transition); position: relative; overflow: hidden; }
.catec-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue); transition: background var(--transition); }
.catec-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.catec-card:hover::before { background: var(--orange); }
.catec-card.featured { border-color: var(--orange); background: linear-gradient(135deg, #fff 0%, var(--orange-bg) 100%); }
.catec-card.featured::before { background: var(--orange); }
.card-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px; margin-bottom: 20px; width: fit-content; }
.badge-init { background: var(--blue-bg); color: var(--blue); }
.badge-mac { background: #e8f5e9; color: #2e7d32; }
.badge-pre { background: var(--orange-bg); color: var(--orange-dark); }
.badge-pack { background: var(--orange); color: var(--white); }
.catec-card h3 { font-size: 1.25rem; color: var(--blue-dark); margin-bottom: 12px; }
.catec-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; flex-grow: 1; line-height: 1.6; }
.card-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.card-meta-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-muted); background: var(--gray-50); padding: 5px 10px; border-radius: 100px; }
.card-meta-item strong { color: var(--text); }
.catec-card .btn { margin-top: auto; }

/* --- ROLES SECTION --- */
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.role-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.role-header { padding: 32px; color: var(--white); }
.role-header.surveillant { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%); }
.role-header.intervenant { background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%); }
.role-icon { font-size: 3rem; margin-bottom: 16px; }
.role-header h3 { font-size: 1.4rem; margin-bottom: 8px; }
.role-header p { color: rgba(255,255,255,.85); font-size: .9rem; }
.role-body { background: var(--white); border: 1px solid var(--border); border-top: none; padding: 28px; }
.role-body ul { display: flex; flex-direction: column; gap: 10px; }
.role-body ul li { display: flex; gap: 10px; font-size: .9rem; color: var(--text-muted); }
.role-body ul li::before { content: '✓'; color: var(--blue); font-weight: 800; flex-shrink: 0; }
.role-body .tag { display: inline-block; background: var(--blue-bg); color: var(--blue); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-top: 16px; }

/* --- PAGE HERO --- */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,31,56,.92) 0%, rgba(15,31,56,.55) 60%, transparent 100%); }
.page-hero-content { position: relative; z-index: 1; width: 100%; padding: 60px 0 50px; }
.page-tag { display: inline-block; background: var(--orange); color: var(--white); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.page-hero-content h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-content p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 620px; }

/* --- PROGRAMME BLOCKS --- */
.programme-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.programme-header { background: var(--blue-bg); padding: 16px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.programme-day { background: var(--blue); color: #fff; font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 100px; white-space: nowrap; }
.programme-header h4 { font-size: .98rem; color: var(--blue-dark); margin: 0; }
.programme-body { padding: 18px 24px; }
.programme-body ul { display: flex; flex-direction: column; gap: 7px; }
.programme-body ul li { font-size: .88rem; color: var(--text-muted); display: flex; gap: 10px; }
.programme-body ul li::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* --- INFO GRID --- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.info-card .ico { font-size: 2rem; margin-bottom: 10px; }
.info-card h4 { font-size: .75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.info-card p { font-size: .98rem; font-weight: 700; color: var(--blue-dark); }

/* --- PRODUIT LAYOUT --- */
.produit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.produit-img-col .img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.produit-img-col .img-main img { width: 100%; height: 380px; object-fit: cover; }
.produit-content h3 { color: var(--blue-dark); margin-bottom: 16px; }
.produit-content p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.check-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--text-muted); }
.check-list li::before { content: '✓'; color: var(--blue); font-weight: 800; flex-shrink: 0; }

/* --- CTA BAND --- */
.cta-band { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%); padding: 80px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--orange); font-size: 1rem; margin-bottom: 12px; }
.testi-text { font-size: .92rem; color: var(--text-muted); line-height: 1.65; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.testi-name { font-size: .88rem; font-weight: 700; color: var(--text); }
.testi-role { font-size: .78rem; color: var(--text-muted); }

/* --- WHY US --- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; transition: all var(--transition); }
.why-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 16px; background: var(--blue-bg); }
.why-card h4 { color: var(--blue-dark); font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition); }
.faq-item.open { border-color: var(--blue-light); }
.faq-question { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .95rem; font-weight: 600; color: var(--text); background: none; border: none; text-align: left; transition: background var(--transition); }
.faq-question:hover { background: var(--blue-bg); }
.faq-arrow { font-size: .7rem; color: var(--blue); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* --- CONTACT FORM --- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.contact-info h3 { color: var(--blue-dark); margin-bottom: 24px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-ico { width: 44px; height: 44px; background: var(--blue-bg); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: .85rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: .9rem; color: var(--text-muted); }
.contact-info-item a:hover { color: var(--blue); }

.contact-form-wrap h3 { color: var(--blue-dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit; color: var(--text); background: var(--gray-50); transition: border-color var(--transition); width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue-light); background: var(--white); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; }
.form-success { display: none; background: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32; padding: 16px 20px; border-radius: var(--radius-sm); margin-top: 16px; font-weight: 600; font-size: .9rem; }

/* --- FOOTER --- */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-img { background: var(--white); padding: 8px 12px; border-radius: 8px; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-top: 16px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-link { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; color: rgba(255,255,255,.7); transition: all var(--transition); font-weight: 700; }
.footer-social-link:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--white); font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span, .footer-contact-item a { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-contact-item a:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* --- STICKY CTA --- */
.cta-sticky { position: fixed; bottom: -80px; left: 0; right: 0; background: var(--blue-dark); color: var(--white); padding: 14px 24px; display: flex; align-items: center; justify-content: center; gap: 20px; z-index: 500; transition: bottom var(--transition); box-shadow: 0 -4px 24px rgba(0,0,0,.25); flex-wrap: wrap; }
.cta-sticky.visible { bottom: 0; }
.cta-sticky p { font-size: .9rem; color: rgba(255,255,255,.85); }
.cta-sticky p strong { color: var(--white); }

/* --- BREADCRUMB --- */
.breadcrumb { padding: 16px 0; background: var(--gray-50); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); }
.breadcrumb-inner a { color: var(--blue); }
.breadcrumb-inner a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--border); }

/* --- SECTOR BADGES --- */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sector-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--blue-bg); color: var(--blue); border: 1px solid rgba(29,53,87,.15); border-radius: 100px; font-size: .8rem; font-weight: 600; }

/* --- ANCHOR TARGET --- */
.anchor-target { scroll-margin-top: 100px; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .produit-layout { gap: 40px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-wrap { display: none; }
  .roles-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .nav-main { display: none; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); padding: 80px 24px 24px; z-index: 999; overflow-y: auto; }
  .nav-main > li > a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
  nav#nav.open .nav-main { display: flex; }
  .burger { display: flex; }
  .header-actions .btn-outline-blue { display: none; }
  .produit-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu { position: static; transform: none; display: none !important; grid-template-columns: 1fr; min-width: unset; padding: 12px 0 12px 16px; box-shadow: none; border: none; border-left: 3px solid var(--blue-bg); border-radius: 0; }
  .has-mega.mega-open .mega-menu { display: flex !important; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .catec-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 0; }
  .stat-item { padding: 12px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { gap: 12px; }
  .trust-sep { display: none; }
  .topbar { display: none; }
}
