/* ══════════════════════════════════════════
   OIO.MA — style.css v2 (SEO + Animations + Mobile-first)
══════════════════════════════════════════ */

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

/* ── VARIABLES ── */
:root {
  --primary:       #1d4ed8;
  --primary-dark:  #1e3a8a;
  --primary-light: #eff6ff;
  --primary-mid:   #3b82f6;
  --text:          #111827;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --bg:            #ffffff;
  --bg-alt:        #f9fafb;
  --bg-dark:       #0f172a;
  --border:        #e5e7eb;
  --border-light:  #f3f4f6;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.12);
  --shadow-xl:     0 20px 60px rgba(0,0,0,.15);
  --nav-h:         68px;
  --t:             .22s cubic-bezier(.4,0,.2,1);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }
button { cursor: pointer; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 14px 0 18px;
  letter-spacing: -.02em;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 99px;
}

/* ══════════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════════ */
#pageLoader {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}
.loader-logo span { color: var(--primary-mid); }
.loader-bar { width: 160px; height: 3px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.loader-fill {
  height: 100%; width: 0;
  background: var(--primary-mid);
  border-radius: 99px;
  animation: loaderFill .9s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  transition: var(--t);
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,78,216,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); border-color: #d1d5db; }

.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.25); }

.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 10px; }

/* Pulse animation on primary CTA */
.btn-pulse { position: relative; overflow: visible; }
.btn-pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 12px;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulse 2.5s ease infinite;
}
@keyframes pulse {
  0%   { opacity: .7; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.12); }
  100% { opacity: 0;  transform: scale(1.12); }
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal-up { opacity: 0; transform: translateY(32px); }
.reveal-up.visible { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .45s !important; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
#header.scrolled { box-shadow: var(--shadow); }

.nav { display: flex; align-items: center; height: var(--nav-h); gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--t);
}
.logo-img:hover { opacity: .85; }
.logo-img-footer {
  height: 36px;
  /* Sur fond sombre, si le logo est foncé on peut l'éclaircir : */
  /* filter: brightness(0) invert(1); */
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--t);
}
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.08); }
.logo-text { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.logo-text strong { color: var(--primary); }
.logo-light .logo-text { color: #f1f5f9; }
.logo-light .logo-text strong { color: var(--primary-mid); }
.logo-light .logo-icon { background: var(--primary-mid); }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; border-radius: 7px;
  font-size: .92rem; font-weight: 500;
  color: var(--text-muted);
  transition: var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-links a.active { color: var(--primary); }

.nav-cta { margin-left: 8px; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 55%, #f8fafc 100%);
  z-index: -1;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb-1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(29,78,216,.08) 0%, transparent 70%);
  animation-delay: 0s;
}
.orb-2 {
  width: 350px; height: 350px;
  bottom: -50px; left: -50px;
  background: radial-gradient(circle, rgba(59,130,246,.07) 0%, transparent 70%);
  animation-delay: -4s;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(29,78,216,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(29,78,216,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}

.hero-content { padding: 80px 24px; max-width: 840px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 7px 18px;
  font-size: .85rem; font-weight: 500;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: dotPulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  min-height: 2.5em;
}
.highlight { color: var(--primary); }
.cursor {
  display: inline-block;
  color: var(--primary);
  animation: blink .85s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted); line-height: 1.75;
  max-width: 600px; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow);
  width: fit-content; flex-wrap: wrap; gap: 0;
}
.stat { text-align: center; padding: 0 22px; }
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat p { font-size: .78rem; color: var(--text-muted); margin-top: 3px; line-height: 1.3; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-unit { font-size: .9rem; font-weight: 700; color: var(--primary); margin-left: 2px; }
.stat-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* Trust badges floating */
.trust-badges {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 600;
  white-space: nowrap;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.float-1 { animation-name: float1; }
.float-2 { animation-name: float1; animation-delay: -1s; }
.float-3 { animation-name: float1; animation-delay: -2s; }
@keyframes float1 {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* ══════════════════════════════════════════
   LOGOS BAR (infinite scroll)
══════════════════════════════════════════ */
.logos-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.logos-track { overflow: hidden; position: relative; }
.logos-inner {
  display: flex; gap: 16px; width: max-content;
  animation: logoScroll 30s linear infinite;
}
.logos-track:hover .logos-inner { animation-play-state: paused; }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-pill {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 18px;
  font-size: .85rem; font-weight: 500;
  white-space: nowrap;
  transition: border-color var(--t);
}
.logo-pill:hover { border-color: var(--primary); }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; transition: var(--t);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d7ff;
}
.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.featured-badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 99px;
  letter-spacing: .04em;
}
.service-icon {
  width: 54px; height: 54px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; flex-shrink: 0;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 12px; }
.service-card > p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; margin-bottom: 20px; flex: 1; }
.service-features { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.service-features li { font-size: .86rem; color: var(--text-muted); padding-left: 20px; position: relative; line-height: 1.4; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.service-link { font-size: .9rem; font-weight: 600; color: var(--primary); margin-top: auto; }
.service-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   KPI SECTION (dark)
══════════════════════════════════════════ */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.kpi-item { padding: 32px 16px; }
.kpi-icon { font-size: 2.2rem; margin-bottom: 12px; }
.kpi-num {
  font-size: 3rem; font-weight: 900; color: #fff;
  line-height: 1; display: inline;
}
.kpi-unit { font-size: 1.1rem; font-weight: 700; color: var(--primary-mid); margin-left: 6px; }
.kpi-item > p { font-size: .88rem; color: #94a3b8; margin-top: 10px; line-height: 1.5; }

/* ══════════════════════════════════════════
   POURQUOI NOUS
══════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text .label { margin-bottom: 16px; }
.why-text h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; letter-spacing: -.02em; }
.why-text > p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.why-points { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.why-point { display: flex; gap: 16px; }
.check {
  flex-shrink: 0; width: 28px; height: 28px;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; margin-top: 2px;
}
.why-point strong { display: block; font-size: .97rem; margin-bottom: 4px; }
.why-point p { color: var(--text-muted); font-size: .88rem; margin: 0; line-height: 1.6; }

/* Metrics card */
.metrics-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg);
}
.metrics-title { font-weight: 700; font-size: 1rem; margin-bottom: 30px; }
.metric-row { display: grid; grid-template-columns: 140px 1fr 52px; align-items: center; gap: 12px; margin-bottom: 20px; }
.metric-label { font-size: .82rem; color: var(--text-muted); }
.metric-bar-wrap { height: 8px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.metric-bar { height: 100%; background: var(--primary); border-radius: 99px; width: 0; transition: width 1.4s cubic-bezier(.4,0,.2,1); }
.metric-bar.bar-red { background: #22c55e; }
.metric-bar.animated { width: var(--w); }
.metric-val { font-size: .85rem; font-weight: 700; color: var(--primary); text-align: right; }
.metrics-note { font-size: .74rem; color: var(--text-light); margin-top: 18px; }

/* ══════════════════════════════════════════
   AUDIT
══════════════════════════════════════════ */
.audit-wrapper {
  max-width: 700px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 52px;
  box-shadow: var(--shadow-lg);
}
.audit-step { display: none; }
.audit-step.active { display: block; animation: fadeSlideIn .35s ease; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Start step */
.audit-start-icon { font-size: 3.5rem; text-align: center; margin-bottom: 20px; }
#step-start h3 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 12px; letter-spacing: -.01em; }
#step-start p { text-align: center; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.audit-features {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.audit-features span { font-size: .82rem; font-weight: 600; color: var(--primary); }
#step-start .btn { display: flex; width: 100%; justify-content: center; }

/* Progress */
.audit-progress-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.audit-progress-bar { flex: 1; height: 6px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.audit-progress-fill { height: 100%; background: var(--primary); border-radius: 99px; transition: width .4s ease; }
.audit-progress-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

/* Question */
.question-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.question-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }
.options-grid { display: flex; flex-direction: column; gap: 12px; }
.option-btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--border); border-radius: 10px;
  background: #fff; font-size: .93rem; text-align: left;
  transition: var(--t); font-weight: 500;
}
.option-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.option-btn.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.option-icon { font-size: 1.2rem; flex-shrink: 0; }
.audit-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 16px; }

/* Contact step */
.step-contact-icon { font-size: 3rem; text-align: center; margin-bottom: 16px; }
#step-contact h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
#step-contact p { color: var(--text-muted); margin-bottom: 28px; }

/* Result */
.score-display { display: flex; align-items: center; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.score-ring { width: 150px; height: 150px; flex-shrink: 0; }
.score-ring-bg { fill: none; stroke: var(--bg-alt); stroke-width: 10; }
.score-ring-fill {
  fill: none; stroke: var(--primary); stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  stroke-dasharray: 327;
  transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1);
}
.score-num-svg { font-size: 28px; font-weight: 900; fill: var(--text); font-family: 'Inter', sans-serif; }
.score-label-svg { font-size: 12px; fill: var(--text-muted); font-family: 'Inter', sans-serif; }
.score-meta h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.score-meta p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin-bottom: 10px; }
.score-badge { display: inline-block; padding: 4px 16px; border-radius: 99px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.badge-poor   { background: #fee2e2; color: #991b1b; }
.badge-medium { background: #fef3c7; color: #92400e; }
.badge-good   { background: #d1fae5; color: #065f46; }
.badge-great  { background: #dbeafe; color: #1e3a8a; }

.score-breakdown { margin-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.breakdown-row { display: flex; align-items: center; gap: 12px; }
.breakdown-icon { font-size: 1.2rem; flex-shrink: 0; width: 28px; }
.breakdown-label { font-size: .88rem; font-weight: 600; min-width: 160px; }
.breakdown-bar-wrap { flex: 1; height: 8px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.breakdown-bar { height: 100%; border-radius: 99px; transition: width 1s ease .3s; }
.breakdown-score { font-size: .82rem; font-weight: 700; min-width: 36px; text-align: right; }

.score-recommendations { background: var(--bg-alt); border-radius: 12px; padding: 24px; margin-bottom: 28px; }
.score-recommendations h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.rec-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: .88rem; line-height: 1.55; }
.rec-priority { flex-shrink: 0; padding: 2px 10px; border-radius: 99px; font-size: .7rem; font-weight: 700; margin-top: 2px; }
.prio-high { background: #fee2e2; color: #991b1b; }
.prio-med  { background: #fef3c7; color: #92400e; }
.prio-low  { background: #d1fae5; color: #065f46; }

.score-cta { text-align: center; }
.score-cta p { color: var(--text-muted); margin-bottom: 16px; font-size: .92rem; }
.score-cta .btn { margin: 0 8px 12px; }

/* Audit contact form */
.audit-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audit-contact-form .form-group { margin-bottom: 0; }
.audit-contact-form .form-row + .form-row { margin-top: 16px; }
.audit-contact-form button { margin-top: 24px; }

/* ══════════════════════════════════════════
   PROCESSUS
══════════════════════════════════════════ */
.process-steps { display: flex; align-items: flex-start; gap: 0; }
.process-step { flex: 1; text-align: center; padding: 24px 20px; position: relative; }
.step-num { font-size: 2.8rem; font-weight: 900; color: var(--primary); opacity: .1; line-height: 1; margin-bottom: 8px; }
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }
.process-connector { flex-shrink: 0; font-size: 1.8rem; color: var(--border); padding-top: 36px; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--t);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; right: 20px;
  font-size: 5rem; line-height: 1;
  color: var(--primary); opacity: .06;
  font-family: Georgia, serif;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: .1em; }
.testimonial-card > p { color: var(--text-muted); font-size: .92rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .92rem; }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none;
  font-size: 1rem; font-weight: 600; text-align: left;
  gap: 16px; transition: color var(--t); color: var(--text);
}
.faq-q:hover { color: var(--primary); }
.faq-q span:first-child { flex: 1; }
.faq-arrow { flex-shrink: 0; font-size: 1.6rem; line-height: 1; color: var(--primary); transition: transform var(--t); }
.faq-q.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-a.open { max-height: 300px; padding-bottom: 20px; }
.faq-a p { color: var(--text-muted); font-size: .93rem; line-height: 1.75; }

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--primary);
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,.08) 100%);
}
.cta-band-content { text-align: center; position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 36px; }
.cta-band-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info .label { margin-bottom: 16px; }
.contact-info h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; letter-spacing: -.02em; }
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: .9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--primary); }

.social-links { display: flex; gap: 10px; margin-bottom: 20px; }
.social-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--t);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  border-radius: 10px; padding: 12px 20px;
  font-size: .92rem; font-weight: 600;
  transition: var(--t);
}
.whatsapp-btn svg { width: 20px; height: 20px; }
.whatsapp-btn:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.3); }

/* Contact form */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: .84rem; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  color: var(--text); background: #fff;
  outline: none; transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: .77rem; color: var(--text-muted); text-align: center; margin-top: 14px; line-height: 1.6; }

.form-success { text-align: center; padding: 32px 0; }
.form-success.hidden { display: none; }
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: #0f172a; color: #94a3b8; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: .87rem; margin-top: 18px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: var(--t);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #f1f5f9; font-size: .88rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .86rem; color: #94a3b8; transition: color var(--t); }
.footer-col a:hover { color: #f1f5f9; }
.footer-col span { font-size: .86rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .82rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .82rem; color: #94a3b8; transition: color var(--t); }
.footer-links a:hover { color: #f1f5f9; }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25d366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 900; transition: var(--t);
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.55); animation-play-state: paused; }
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.wa-tooltip {
  position: absolute; right: 70px;
  background: #fff; color: var(--text);
  font-size: .8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
}
.wa-tooltip::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; border-right: none; border-left-color: #fff;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ══════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 100px; right: 30px;
  width: 44px; height: 44px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow);
  z-index: 800; transition: var(--t);
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-wrap: wrap; justify-content: center; }
  .process-step { min-width: 160px; }
  .process-connector { padding-top: 20px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* Nav mobile */
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    gap: 4px; box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open li a { display: block; padding: 12px 16px; font-size: 1rem; color: var(--text); border-radius: 8px; }
  .nav-links.open li a:hover { background: var(--bg-alt); }

  /* Hero mobile */
  .hero h1 { font-size: 2.2rem; min-height: auto; }
  .hero-sub { font-size: .97rem; }
  .hero-content { padding: 48px 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { width: 100%; justify-content: space-around; padding: 16px; flex-wrap: wrap; gap: 16px; }
  .stat { padding: 0 12px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 1.6rem; }

  /* Logos bar */
  .logos-label { font-size: .72rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }

  /* KPI */
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .kpi-item { padding: 24px 12px; }
  .kpi-num { font-size: 2.2rem; }

  /* Why */
  .why-grid { gap: 40px; }
  .metrics-card { padding: 24px; }
  .metric-row { grid-template-columns: 100px 1fr 44px; }

  /* Audit */
  .audit-wrapper { padding: 28px 20px; }
  .audit-contact-form .form-row { grid-template-columns: 1fr; }
  .score-display { flex-direction: column; align-items: flex-start; }
  .breakdown-label { min-width: 120px; font-size: .82rem; }

  /* Process */
  .process-steps { flex-direction: column; align-items: stretch; }
  .process-connector { transform: rotate(90deg); align-self: center; padding: 0; }
  .process-step { padding: 16px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* CTA band */
  .cta-band { padding: 48px 0; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions .btn { width: 100%; justify-content: center; max-width: 360px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }

  /* Floating */
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .wa-tooltip { display: none; }
  .back-to-top { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-badge { font-size: .78rem; padding: 6px 12px; }
  .section-header h2 { font-size: 1.6rem; }
  .audit-wrapper { padding: 24px 14px; }
  .score-ring { width: 120px; height: 120px; }
}

/* ══════════════════════════════════════════
   PRINT
══════════════════════════════════════════ */
@media print {
  #header, .whatsapp-float, .back-to-top, #pageLoader { display: none !important; }
  .section { padding: 32px 0; }
}
