/* =========================================
   IC-Factory — Site Vitrine
   Navy #1B2444 · Orange #F57C20
   ========================================= */

:root {
  --primary:       #F57C20;
  --primary-dark:  #D96A10;
  --primary-light: #FFF4EB;
  --navy:          #1B2444;
  --navy-mid:      #243060;
  --navy-light:    #2E3E7A;
  --dark:          #111827;
  --gray-800:      #1f2937;
  --gray-600:      #4b5563;
  --gray-400:      #9ca3af;
  --gray-200:      #e5e7eb;
  --gray-100:      #f3f4f6;
  --white:         #ffffff;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.14);
  --shadow-xl:     0 20px 60px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .25s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex; align-items: center;
  height: 72px;
  gap: 0;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-wordmark {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1;
  white-space: nowrap;
}
.logo-dot { color: var(--primary); }

.nav-links {
  display: flex; list-style: none; gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--gray-600);
  text-decoration: none;
  font-size: .925rem; font-weight: 500;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-nav {
  margin-left: 16px;
  display: inline-flex; align-items: center;
  background: var(--primary); color: white;
  padding: 10px 22px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .15s;
  white-space: nowrap; flex-shrink: 0;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--navy); padding: 8px;
}

/* ─────────────────────────────────────────
   GLOBAL BUTTONS
───────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: white;
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(245,124,32,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,124,32,.45);
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: white;
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 1rem;
  border: 2px solid rgba(255,255,255,.45);
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-full { width: 100%; }

/* ─────────────────────────────────────────
   SECTION HELPERS
───────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  background: var(--primary-light); color: var(--primary);
  padding: 5px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-eyebrow-light {
  display: inline-block;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
  padding: 5px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 14px;
  color: var(--dark);
}
.section-title.light { color: white; }
.section-sub {
  font-size: 1.05rem; color: var(--gray-600);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,.7); }
.section-header { text-align: center; margin-bottom: 56px; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(245,124,32,.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(46,62,122,.6) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  margin-bottom: 72px;
}

.hero-tag {
  display: inline-flex; align-items: center;
  background: rgba(245,124,32,.15);
  border: 1px solid rgba(245,124,32,.3);
  color: #FDBA74;
  padding: 7px 16px; border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '●'; margin-right: 8px;
  color: var(--primary); font-size: .55rem;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.12;
  color: white; margin-bottom: 20px;
}
.hero-accent { color: var(--primary); }
.hero-subtitle {
  font-size: 1.1rem; line-height: 1.75;
  color: rgba(255,255,255,.6);
  max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Right cards */
.hero-right { position: relative; height: 340px; }
.hero-card {
  position: absolute; background: white;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
}
.card-main { left: 0; top: 0; width: 255px; }
.hc-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.hc-dot { width: 8px; height: 8px; border-radius: 50%; }
.hc-dot.green { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.hc-label { font-size: .78rem; font-weight: 600; color: var(--gray-600); }
.hc-num {
  font-size: 2.25rem; font-weight: 800; color: var(--navy);
  display: block; line-height: 1;
}
.hc-unit { font-size: .78rem; color: var(--gray-600); display: block; margin-bottom: 14px; }
.hc-bar {
  height: 6px; background: var(--gray-200);
  border-radius: 99px; overflow: hidden; margin-bottom: 6px;
}
.hc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #FDBA74 100%);
  border-radius: 99px;
  animation: grow 1.5s ease-out forwards;
}
@keyframes grow { from { width: 0; } }
.hc-sub { font-size: .78rem; color: var(--primary); font-weight: 600; }

.card-float-1, .card-float-2 {
  display: flex; align-items: center; gap: 14px;
  width: 175px; padding: 16px 18px;
  animation: float 3.5s ease-in-out infinite;
}
.card-float-1 {
  right: 0; top: 40px;
  border-left: 3px solid var(--primary);
}
.card-float-2 {
  right: 20px; bottom: 30px;
  animation-delay: .85s;
  border-left: 3px solid #22c55e;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.cf-icon { font-size: 1.5rem; flex-shrink: 0; }
.cf-val  { font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1; }
.cf-lbl  { font-size: .73rem; color: var(--gray-600); font-weight: 500; margin-top: 3px; }

/* Metrics bar */
.hero-metrics {
  display: flex; align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
}
.metric-item { flex: 1; text-align: center; }
.mi-val {
  display: block; font-size: 1.9rem; font-weight: 800;
  color: var(--primary); line-height: 1; margin-bottom: 6px;
}
.mi-lbl { font-size: .82rem; color: rgba(255,255,255,.55); font-weight: 500; }
.metric-sep { width: 1px; min-height: 48px; background: rgba(255,255,255,.14); }

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { padding: 100px 0; background: var(--gray-100); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg); border-color: var(--primary);
}
.service-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, #fff8f2 0%, #fff 100%);
}
.featured-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--primary); color: white;
  padding: 4px 10px; border-radius: 6px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 18px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.service-features li {
  font-size: .85rem; color: var(--gray-600);
  display: flex; align-items: center; gap: 8px;
}
.service-features li::before {
  content: '✓'; color: var(--primary); font-weight: 700; font-size: .8rem; flex-shrink: 0;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about { padding: 100px 0; background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-cards { display: flex; flex-direction: column; gap: 18px; }
.about-card {
  background: var(--gray-100); border-radius: var(--radius-lg);
  padding: 24px 26px; border-left: 4px solid var(--primary);
  display: flex; gap: 16px; align-items: flex-start;
}
.ac-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.ac-body h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.ac-body p  { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.2; color: var(--dark);
}
.about-text p { font-size: .925rem; color: var(--gray-600); line-height: 1.7; }
.about-values { display: flex; flex-direction: column; gap: 13px; margin: 6px 0; }
.value-row { display: flex; align-items: center; gap: 12px; }
.vr-check {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.vr-text strong { display: block; font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.vr-text span   { font-size: .8rem; color: var(--gray-600); }

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.stats { padding: 90px 0; background: var(--navy); position: relative; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.stats .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box {
  text-align: center; padding: 32px 16px;
  background: rgba(255,255,255,.05); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.stat-val {
  font-size: 3rem; font-weight: 800; color: var(--primary);
  line-height: 1; display: block; margin-bottom: 8px;
}
.stat-lbl { font-size: .875rem; color: rgba(255,255,255,.6); font-weight: 500; }

/* ─────────────────────────────────────────
   SECTORS
───────────────────────────────────────── */
.sectors { padding: 100px 0; background: var(--gray-100); }
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector-card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center;
  border: 1px solid var(--gray-200);
  transition: all .25s;
}
.sector-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.sector-emoji { font-size: 2.25rem; display: block; margin-bottom: 12px; }
.sector-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sector-card p  { font-size: .8rem; color: var(--gray-600); line-height: 1.55; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact { padding: 100px 0; background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.2; color: var(--dark);
}
.contact-info p { font-size: .925rem; color: var(--gray-600); line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method { display: flex; gap: 14px; align-items: flex-start; }
.cm-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-method strong { display: block; font-size: .85rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-method a,
.contact-method span  { font-size: .85rem; color: var(--gray-600); text-decoration: none; }
.contact-method a:hover { color: var(--primary); }

.contact-form {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 40px 36px; display: flex; flex-direction: column; gap: 18px;
}
.form-title { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  font-size: .925rem; color: white;
  font-family: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.28); }
.form-group select option { background: var(--navy-mid); color: white; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,.12);
}
.form-group textarea { resize: vertical; }
.form-legal { font-size: .76rem; color: rgba(255,255,255,.38); text-align: center; line-height: 1.5; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer { background: var(--dark); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand p { font-size: .875rem; color: var(--gray-400); line-height: 1.65; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.65);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--primary); color: white; }
.footer-links h5 { color: white; font-size: .875rem; font-weight: 700; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .875rem; color: var(--gray-400); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding: 20px 0; }
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: .8rem; color: var(--gray-400);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 48px; }
  .hero-right    { display: none; }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .btn-nav    { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 72px; left: 0; right: 0;
    background: white; padding: 20px 24px 28px;
    box-shadow: var(--shadow-lg); gap: 4px;
    border-top: 1px solid var(--gray-200);
  }
  .hero         { padding: 110px 0 60px; }
  .hero-metrics { flex-direction: column; padding: 20px 24px; }
  .metric-item  { padding: 12px 0; }
  .metric-sep   { width: 100%; min-height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .form-row      { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions  { flex-direction: column; }
  .sectors-grid  { grid-template-columns: 1fr; }
  .contact-form  { padding: 28px 20px; }
}

/* ─────────────────────────────────────────
   TOAST
───────────────────────────────────────── */
#toast {
  position: fixed; bottom: 24px; right: 24px;
  padding: 14px 22px; border-radius: 10px;
  color: white; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 9999;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
#toast.show    { opacity: 1; transform: translateY(0); }
#toast.success { background: #16a34a; }
#toast.error   { background: #dc2626; }

/* ─────────────────────────────────────────
   CLASS ALIASES (backward compat)
───────────────────────────────────────── */
/* Section eyebrow labels */
.section-tag         { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 5px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 14px; }
.section-tag-light   { display: inline-block; background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); padding: 5px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 14px; }
.section-header h2   { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: var(--dark); }
.section-header p    { font-size: 1.05rem; color: var(--gray-600); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-header.light h2 { color: white; }
.section-header.light p  { color: rgba(255,255,255,.7); }

/* Stats old classes */
.stat-item   { text-align: center; padding: 32px 16px; background: rgba(255,255,255,.05); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.08); }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; display: inline-block; }
.stat-unit   { font-size: 2rem; font-weight: 700; color: rgba(255,255,255,.6); display: inline; }
.stat-label  { font-size: .875rem; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 8px; display: block; }

/* About old classes → new layout */
.about-visual { position: relative; height: 400px; }
.about-card.main-card      { position: absolute; left: 0;    top: 0;    width: 70%; background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--primary); }
.about-card.secondary-card { position: absolute; right: 0;   top: 100px; width: 62%; background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--primary); }
.about-card.third-card     { position: absolute; left: 10px; bottom: 0;  width: 68%; background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--primary); }
.about-card .card-icon     { font-size: 1.75rem; margin-bottom: 8px; }
.about-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.about-card p  { font-size: .85rem; color: var(--gray-600); line-height: 1.55; }
.about-text .section-tag { margin-bottom: 12px; }

/* About value-item old classes */
.value-item { display: flex; align-items: flex-start; gap: 12px; }
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-item strong { display: block; font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.value-item span   { font-size: .8rem; color: var(--gray-600); }

/* Service features: HTML already has ✓ text, disable CSS ::before */
.service-features li { padding-left: 0; position: static; font-size: .875rem; color: var(--gray-600); display: flex; align-items: center; gap: 8px; }
.service-features li::before { content: none; }

/* Contact cm-icon as span (old html uses span not div) */
span.cm-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ─────────────────────────────────────────
   COOKIE CONSENT BANNER
───────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: var(--navy); color: white;
  padding: 18px 24px; display: flex; align-items: center;
  justify-content: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  animation: slideUp .4s ease;
  border-top: 3px solid var(--primary);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-hide { animation: slideDown .4s ease forwards; }
@keyframes slideDown { from { transform: translateY(0); } to { transform: translateY(100%); } }

.cookie-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; max-width: 960px; width: 100%; }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.cookie-text p { font-size: .82rem; color: rgba(255,255,255,.75); margin: 0; line-height: 1.5; }
.cookie-text a { color: var(--primary); }
.cookie-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cookie-btn { padding: 9px 22px; border-radius: 8px; border: none; cursor: pointer; font-size: .875rem; font-weight: 600; transition: all .2s; }
.cookie-btn-accept { background: var(--primary); color: white; }
.cookie-btn-accept:hover { background: var(--primary-dark, #d4630d); }
.cookie-btn-decline { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.2); }
.cookie-btn-decline:hover { background: rgba(255,255,255,.2); }
.cookie-link { font-size: .8rem; color: rgba(255,255,255,.6); text-decoration: underline; }
.cookie-link:hover { color: white; }

/* ─────────────────────────────────────────
   CHATBOT WIDGET
───────────────────────────────────────── */
.chatbot-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  display: flex; flex-direction: column; align-items: flex-end;
}

/* ── Tooltip "Besoin d'aide ?" ── */
.chatbot-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  background: white;
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 22px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(27,36,68,.14);
  border: 1px solid rgba(27,36,68,.07);
  display: none;
  pointer-events: none;
  animation: tooltipPop .3s ease;
}
.chatbot-tooltip.show { display: block; }
.chatbot-tooltip-arrow {
  position: absolute;
  bottom: -7px; right: 24px;
  width: 13px; height: 13px;
  background: white;
  border-right: 1px solid rgba(27,36,68,.07);
  border-bottom: 1px solid rgba(27,36,68,.07);
  transform: rotate(45deg);
}
@keyframes tooltipPop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Bouton flottant casque ── */
.chatbot-toggle {
  width: 62px; height: 62px; border-radius: 50%; border: none;
  background: var(--primary);
  color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(245,124,32,.55);
  transition: transform .2s, box-shadow .2s, background .2s;
  position: relative;
}
.chatbot-toggle:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(245,124,32,.65);
  background: #e06c14;
}
/* Bouton en état ouvert → teinte navy */
.chatbot-toggle[aria-expanded="true"] {
  background: var(--navy);
  box-shadow: 0 6px 20px rgba(27,36,68,.45);
}

/* Pulse rings */
.chatbot-pulse {
  position: absolute; width: 100%; height: 100%;
  border-radius: 50%;
  border: 2.5px solid var(--primary);
  animation: chatbotPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.chatbot-pulse--2 { animation-delay: 1.2s; }
@keyframes chatbotPulse {
  0%   { transform: scale(1);   opacity: .5; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* Badge notification rouge */
.chatbot-badge {
  position: absolute; top: -2px; right: -2px;
  width: 22px; height: 22px; background: #e84545; border-radius: 50%;
  font-size: .65rem; font-weight: 700; color: white;
  display: none; align-items: center; justify-content: center;
  border: 2.5px solid white;
  animation: badgeBounce .4s ease;
}
@keyframes badgeBounce {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Fenêtre de chat */
.chatbot-box {
  display: none; flex-direction: column;
  width: 350px; max-height: 520px;
  background: white; border-radius: 18px;
  box-shadow: 0 16px 48px rgba(27,36,68,.20);
  overflow: hidden; margin-bottom: 16px;
  animation: chatFade .25s ease;
}
@keyframes chatFade { from { opacity: 0; transform: scale(.96) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.chatbot-header {
  background: var(--navy); color: white;
  padding: 14px 16px; display: flex; align-items: center; gap: 10px;
}
.chatbot-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chatbot-name { font-weight: 700; font-size: .9rem; }
.chatbot-status { font-size: .75rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 5px; margin-top: 1px; }
.chatbot-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; display: inline-block; }
.chatbot-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; font-size: 1rem; padding: 4px; border-radius: 4px; }
.chatbot-close:hover { color: white; background: rgba(255,255,255,.1); }

.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: #f8f9fc;
}
.chat-msg { display: flex; }
.chat-msg--bot { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%; padding: 10px 14px; border-radius: 16px;
  font-size: .85rem; line-height: 1.55;
}
.chat-msg--bot .chat-bubble  { background: white; color: var(--dark); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.chat-msg--user .chat-bubble { background: var(--primary); color: white; border-bottom-right-radius: 4px; }
.chat-bubble a { color: inherit; text-decoration: underline; }

.chatbot-quick {
  padding: 8px 12px; background: white;
  display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid #f0f0f0;
}
.quick-btn {
  padding: 5px 12px; border-radius: 20px; border: 1px solid var(--primary);
  background: white; color: var(--primary); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.quick-btn:hover { background: var(--primary); color: white; }

.chatbot-input-area {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: white; border-top: 1px solid #eee;
}
.chatbot-input-area input {
  flex: 1; border: 1px solid #e0e0e0; border-radius: 22px;
  padding: 9px 14px; font-size: .875rem; outline: none;
  transition: border-color .2s;
}
.chatbot-input-area input:focus { border-color: var(--primary); }
.chatbot-input-area button {
  width: 36px; height: 36px; background: var(--primary); color: white;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.chatbot-input-area button:hover { background: var(--navy); }

@media (max-width: 520px) {
  .chatbot-box { width: calc(100vw - 32px); right: 0; }
  .chatbot-widget { right: 16px; bottom: 16px; }
  .cookie-inner { flex-direction: column; gap: 14px; }
}
