/* ═══════════════════════════════════════════════════════
   SHARED DESIGN SYSTEM V3 — PROS CONSULTING SEO
   Clash Display + Satoshi · Navy/Gold · Animations scroll
═══════════════════════════════════════════════════════ */

/* Polices chargées de façon asynchrone via shared.js (performance mobile) */
/* Fallbacks système pendant le chargement */

/* ── POLICE ONEDAY (auto-hébergée, logo navbar) ── */
@font-face {
  font-family: 'OneDay';
  src: url('one-day.woff2') format('woff2'),
       url('one-day.woff')  format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── VARIABLES ── */
:root {
  --navy-dark: #0F1A45;
  --navy:      #1B2B6E;
  --blue:      #2D3E8F;
  --blue2:     #3D52B0;
  --gold:      #F5A623;
  --gold2:     #FFB84D;
  --light:     #EEF2FF;
  --white:     #FFFFFF;
  --border:    rgba(255,255,255,0.08);
  --glass:     rgba(255,255,255,0.04);

  --font-display: 'Clash Display', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Satoshi', 'Inter', system-ui, -apple-system, sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);

  --side-pad: 5%;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gold);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.3s var(--ease-out);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { display: none; } /* remplacé par SVG inline via shared.js */

@keyframes logoShimmer {
  0%   { background-position: -250% center; }
  30%  { background-position: 250% center; }
  100% { background-position: 250% center; }
}
.nav-logo-text {
  font-family: 'OneDay', 'Josefin Sans', sans-serif;
  font-size: 14px; font-weight: normal;
  letter-spacing: .18em; white-space: nowrap;
  background: linear-gradient(90deg,
    #ffffff 0%, #ffffff 18%,
    rgba(15,26,69,0.0) 35%, rgba(15,26,69,0.15) 43%,
    rgba(15,26,69,0.5) 50%,
    rgba(15,26,69,0.15) 57%, rgba(15,26,69,0.0) 65%,
    #ffffff 82%, #ffffff 100%
  );
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShimmer 18s cubic-bezier(0.4,0,0.2,1) infinite;
}
.nav-logo-text em { display: none; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-size: 0.87rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em;
  position: relative; padding-bottom: 3px; transition: opacity 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--white); border-radius: 1px;
  transform: scaleX(0); transition: transform 0.25s var(--ease-spring);
}
.nav-links a:hover { opacity: 0.85; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy-dark) !important; color: var(--white) !important;
  font-family: var(--font-display) !important; font-weight: 700 !important;
  font-size: 0.82rem !important; letter-spacing: 0.04em;
  padding: 9px 22px; border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 2px 12px rgba(15,26,69,0.25);
}
.nav-cta:hover { background: var(--navy) !important; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(15,26,69,0.4) !important; }

/* Burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: all 0.3s var(--ease-spring); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile */
.nav-drawer {
  position: fixed; inset: 0; z-index: 999;
  background: var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.nav-drawer.open { opacity: 1; pointer-events: all; }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.nav-drawer ul a { font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 700; color: var(--navy-dark); transition: opacity 0.2s; }
.nav-drawer ul a:hover { opacity: 0.7; }

/* ── SECTIONS ── */
section { padding: 100px 5%; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.section-label::before { content: ''; width: 24px; height: 1.5px; background: var(--gold); border-radius: 1px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title .accent { color: var(--gold); }
.section-title .outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
  color: transparent;
}

.section-sub {
  font-family: var(--font-body); font-size: 1rem;
  color: rgba(255,255,255,0.5); font-weight: 300;
  max-width: 500px; line-height: 1.75; margin-bottom: 56px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em;
  padding: 14px 30px; border-radius: 100px;
  transition: background 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(245,166,35,0.25);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,0.22); }
.btn-primary svg { transition: transform 0.2s var(--ease-spring); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  padding: 14px 30px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-spring);
  white-space: nowrap;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.05); transform: translateY(-2px); }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0; transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
}
.reveal       { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.92); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

/* ── CTA BAND ── */
.cta-band {
  padding: 80px 5%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
.cta-band h2 span { color: var(--gold); }
.cta-band p { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-top: 10px; font-weight: 300; max-width: 380px; }
.cta-band-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-phone { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ── PAGE HERO (pages internes) ── */
.page-hero {
  padding: 140px 5% 80px;
  background: var(--navy-dark);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(45,62,143,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(45,62,143,0.15) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 100%);
}
.page-hero-orb {
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,62,143,0.45) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.page-breadcrumb a { color: rgba(255,255,255,0.3); }
.page-breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.page-hero h1 .accent { color: var(--gold); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.55); font-weight: 300; max-width: 520px; line-height: 1.75; }

/* ── CARDS ── */
.card-glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.card-glass:hover { transform: translateY(-6px); border-color: rgba(245,166,35,0.25); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }

.card-solid {
  background: linear-gradient(145deg, rgba(45,62,143,0.2), rgba(15,26,69,0.5));
  border: 1px solid var(--border); border-radius: 20px; padding: 32px;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.35s;
}
.card-solid:hover { transform: translateY(-5px); border-color: rgba(245,166,35,0.18); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

/* ── FOOTER ── */
.footer {
  background: #080E28; padding: 64px 5% 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.35); font-weight: 300; line-height: 1.75; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.87rem; color: rgba(255,255,255,0.5); font-weight: 300; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.78rem; color: rgba(255,255,255,0.22); }
.footer-bottom a { color: rgba(255,255,255,0.22); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 20px; }

/* WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 52px; height: 52px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

/* ── TOUCH TARGETS MOBILE (min 48px — Google Core Web Vitals) ── */
@media (max-width: 768px) {
  .nav-links a,
  .nav-drawer ul a,
  .footer-col ul a,
  .footer-links a,
  .btn-primary,
  .btn-outline,
  .nav-cta,
  .blog-card,
  .city-link,
  .related-card {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .footer-col ul a,
  .footer-links a {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}


/* ── FOOTER-INNER (pages locales) ── */
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-inner .footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.35); font-weight: 300; line-height: 1.75; margin-top: 16px; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.5); font-weight: 300; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact span { font-size: 0.87rem; color: rgba(255,255,255,0.5); font-weight: 300; transition: color 0.2s; display: block; }
.footer-contact a:hover { color: var(--gold); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  section { padding: 64px 5%; }
  .page-hero { padding: 120px 5% 60px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-inner { flex-direction: column; }
  .section-sub { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════
   GOOGLE BADGE FLOTTANT
══════════════════════════════════════ */
.google-badge {
  position: fixed; bottom: 28px; left: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: rgba(15,26,69,0.92); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px;
  padding: 10px 16px 10px 12px; text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s, border-color 0.25s;
  animation: badgeIn 0.6s 1.2s cubic-bezier(0.16,1,0.3,1) both;
}
.google-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.22);
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.google-badge-logo { width: 26px; height: 26px; flex-shrink: 0; }
.google-badge-info { display: flex; flex-direction: column; gap: 3px; }
.google-badge-score {
  font-family: 'Clash Display', sans-serif;
  font-size: 0.92rem; font-weight: 700; color: #fff; line-height: 1;
}
.google-badge-stars { display: flex; gap: 1px; align-items: center; }
.google-badge-stars svg { width: 10px; height: 10px; }
.google-badge-count { font-size: 0.65rem; color: rgba(255,255,255,0.38); font-weight: 300; line-height: 1; }
.google-badge-sep { width: 1px; height: 26px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.google-badge-cta { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; line-height: 1.35; white-space: nowrap; }
.google-badge-cta span { display: block; font-size: 0.6rem; font-weight: 300; color: rgba(255,255,255,0.32); }
@media (max-width: 480px) {
  .google-badge { bottom: 20px; left: 16px; padding: 8px 12px 8px 10px; gap: 8px; }
  .google-badge-sep, .google-badge-cta { display: none; }
}
