/* site.css — Convergent Cloud Computing v5.7.5 */

/* ── Skip navigation link (WCAG 2.1) ─────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary, #0f62fe);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   Convergent Cloud Computing — site.css v5.3
   Direction: Precision Industrial — deep navy · gold · DM Sans
   ============================================================ */


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

:root {
  --primary:       #0052cc;   /* IBM-blue authority */
  --primary-dark:  #003d99;
  --primary-light: #dbeafe;
  --navy:          #0b1526;   /* deep anchor */
  --navy-mid:      #132240;
  --gold:          #c9922a;   /* warm amber authority accent */
  --gold-light:    #fef3dc;
  --text-dark:     #0f1923;
  --text-mid:      #334155;
  --text-light:    #64748b;
  --bg-white:      #ffffff;
  --bg-light:      #f8fafc;
  --bg-dark:       #0b1526;
  --border:        #e2e8f0;
  --border-strong: #cbd5e1;
  --success:       #16a34a;
  --warn:          #d97706;
  --danger:        #dc2626;
  --nav-h:         66px;
  --radius:        8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-blue:   0 8px 28px rgba(0,82,204,.20);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Exclusive typography from uploaded design - only Inter and Exo 2 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

/* All buttons use Exo 2 exclusively */
button, .btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-outline,
.btn-hero-primary, .btn-hero-secondary, .btn-submit, .btn-blue-outline {
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 600;
}

/* Body text elements use Inter exclusively */
p, .section-subtitle, .hero-subtitle, .service-desc, .process-desc,
.service-outcome, .governance-desc, .why-desc, .about-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 400;
}

/* Special elements use Exo 2 like in uploaded design */
.hero-tagline, .section-eyebrow, .tech-badge, .process-step-num {
  font-family: 'Exo 2', sans-serif !important;
}

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

/* ============================================================
   ACCESSIBILITY IMPROVEMENTS - WCAG 2.1 Level AA Compliance
   ============================================================ */

/* Focus indicators - WCAG 2.4.7 - Unified gold outlines */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus,
.nav-link:focus,
.btn:focus {
  outline: 3px solid #f4d03f !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) !important;
}

/* Improved contrast for secondary text - WCAG 1.4.3 */
.text-light,
.service-outcome,
.section-subtitle,
.hero-subtitle em,
.contact-filter,
.form-privacy {
  color: #4a5568 !important; /* Changed from #64748b to meet 4.5:1 ratio */
}

/* Ensure footer text meets contrast requirements */
.footer-text,
.footer-links a,
.copyright {
  color: #e2e8f0 !important; /* Lighter on dark background for better contrast */
}

/* Form accessibility improvements */
.form-group label {
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
  color: var(--text-dark) !important;
}

/* Error states for form validation */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

.form-error-message {
  color: #dc2626 !important;
  font-size: 0.875rem !important;
  margin-top: 0.25rem !important;
  display: block !important;
}

/* Live region for dynamic content announcements */
.sr-live {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 200;
  min-height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  height: var(--nav-h);
}
.navbar { height: 100%; }

.nav-wrapper {
  height: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700;
  color: var(--navy); text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: .01em;
}
.logo img {
  height: 42px; width: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-sizing: border-box;
  object-fit: contain;
  /* Logo is dark navy (0,0,128) — brightness(2) boosts to vivid blue (0,0,255) */
  filter: brightness(2);
}
/* Logo two-line on mobile */
.logo-text { display: flex; flex-direction: row; align-items: baseline; gap: .3em; }
.logo-main { font-weight: 700; }
.logo-sub  { font-weight: 400; opacity: .7; font-size: .85em; }

@media (max-width: 480px) {
  .logo-text { flex-direction: column; gap: 0; line-height: 1.2; }
  .logo-sub  { font-size: .72em; }
}


/* Prevent nav overflow on narrow screens */
@media (max-width: 400px) {
  .nav-lang-outside { flex-shrink: 0; }
  .hamburger { flex-shrink: 0; }
}

.nav-menu {
  display: flex; list-style: none;
  align-items: center; gap: 1.6rem;
  flex-wrap: nowrap;
}
.nav-link {
  text-decoration: none; color: var(--text-mid);
  font-weight: 500; font-size: .82rem;
  white-space: nowrap; transition: color .2s;
  letter-spacing: .02em; text-transform: uppercase;
}
.nav-link:hover { color: var(--primary); }


/* ── Sticky nav active section indicator ────────────────────── */
.nav-link.nav-active {
  color: var(--navy) !important;
  position: relative;
}
.nav-link.nav-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.lang-toggle {
  display: inline-flex; gap: 2px;
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px; flex-shrink: 0;
}
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  font-weight: 700; font-size: .72rem;
  padding: 4px 10px; border-radius: 4px;
  color: var(--text-light); transition: all .2s;
  font-family: inherit; letter-spacing: .04em;
  text-decoration: none; display: inline-block;
}
.lang-btn.active { background: var(--navy); color: #fff; cursor: default; }
.lang-btn:not(.active):hover { color: var(--primary); }
span.lang-btn.active { cursor: default; }

.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; padding: 6px; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--text-dark); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* nav-lang-outside: only show on mobile, hide on desktop */
.nav-lang-outside { display: none; }

/* ============================================================
   MOBILE NAV  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Ensure header is always visible on mobile */
  .header {
    background: rgba(255,255,255,1) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
  }
  .logo { display: flex !important; }
  .hamburger { display: flex !important; }
  .nav-lang-outside { display: inline-flex !important; }

  .nav-lang-outside { display: inline-flex; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: auto; max-height: calc(100dvh - var(--nav-h));
    background: var(--bg-white);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 0;
    overflow-y: auto;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    display: none;
    z-index: 300;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu li a.nav-link {
    padding: .9rem 1.5rem;
    font-size: .9rem; font-weight: 500;
    color: var(--text-dark); text-transform: none;
    width: 100%;
  }
  /* Override inline display:none set by setLang() for active language links in mobile nav */
  .nav-menu.open li a.nav-link[style*="display: block"],
  .nav-menu.open li a.nav-link[style*="display:block"],
  .nav-menu.open li a.nav-link[style*="display: inline"],
  .nav-menu.open li a.nav-link[style*="display:inline"],
  .nav-menu.open li a.nav-link[style*="display: list-item"],
  .nav-menu.open li a.nav-link[style*="display:list-item"] {
    display: block !important;
  }
  /* Fallback: if JS hasn't run yet, show all nav links */
  .nav-menu.open li a.nav-link:not([style]) {
    display: block !important;
  }
  .nav-menu li a.nav-link:hover { background: var(--bg-light); color: var(--primary); }
  .nav-menu li.nav-lang-item { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

/* Enhanced hero background from uploaded design */
:root {
  --navy-deep: #050914;
  --navy-mid: #132240;
  --primary-electric: #0066ff;
  --primary-dark: #003d99;
  --gradient-primary: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-electric) 0%, var(--primary) 100%);
  --shadow-elevated: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-dramatic: 0 25px 50px -12px rgba(11, 21, 38, 0.25);
}

.hero {
  position: relative !important;
  background: var(--gradient-primary) !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  color: white !important;
  overflow: hidden !important;
  padding: 110px 0 90px !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 120%;
  height: 120%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
  z-index: 1;
}

.hero .container,
.hero-content,
.hero-layout {
  position: relative;
  z-index: 2;
}

/* Exact styles from uploaded design */
.hero-title-gradient {
  font-family: 'Exo 2', sans-serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f4d03f 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: none !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
  animation: heroTitleReveal 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes heroTitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}

/* Subtle grid texture overlay */
.hero::before {
  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: 48px 48px;
  pointer-events: none;
}

/* Gold accent line at bottom */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}


/* Hero geometric texture overlay */
.hero::before {
  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;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }



/* ── Option A: Hero illustration layout ─────────────────────── */
.hero-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-text { flex: 1; min-width: 0; }
.hero-illustration {
  flex: 0 0 420px;
  opacity: .88;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-illustration img { width: 100%; height: auto; }
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (max-width: 960px) {
  .hero-layout { flex-direction: column; }
  .hero-illustration { display: none; }
}
.hero-content { position: relative; z-index: 2; }

.hero-content h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 400; /* Bebas Neue is naturally bold */
  letter-spacing: .04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

/* Gold highlight on key phrase — applied via a <span> if present, otherwise decorative */
.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(.9rem, 2.2vw, 1.1rem);
  margin-bottom: 2.5rem;
  max-width: 660px;
  opacity: .82;
  font-weight: 300;
  line-height: 1.75;
  text-align: left;
}

.hero-actions {
  display: flex; gap: .875rem; justify-content: flex-start;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}

.hero-free-audit {
  display: inline-block;
  font-size: .82rem;
  color: rgba(255,255,255,.9);
  background: rgba(201,146,42,.18);
  border: 1px solid rgba(201,146,42,.45);
  border-radius: 999px;
  padding: .35rem .9rem;
  margin-top: .6rem;
  line-height: 1.5;
}
.hero-tagline {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  opacity: .55;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; padding: 11px 28px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: all .22s; border: none; cursor: pointer;
  font-size: .9rem; letter-spacing: .02em; font-family: inherit;
}
.btn-hero-primary {
  background: var(--gold); color: var(--navy);
}
.btn-hero-primary:hover {
  background: #e0a93a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,146,42,.35);
}
.btn-hero-secondary {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
}
.btn-submit {
  width: 100%; background: var(--primary, #0052cc); color: #fff;
  display: block; text-align: center; padding: 13px 32px;
  border-radius: var(--radius);
}
.btn-submit:hover:not(:disabled) {
  background: #0046aa;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.btn-submit:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-blue-outline {
  background: var(--primary); color: #fff; border: none;
  padding: 10px 24px; border-radius: var(--radius); cursor: pointer;
  font-size: .875rem; font-weight: 600; transition: background .2s;
  font-family: inherit;
}
.btn-blue-outline:hover { background: var(--primary-dark); }

/* ── Email verification styles ─────────────────────────────── */
.btn-small {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
}

.input-verified {
  border-color: var(--success) !important;
  background-color: rgba(22, 163, 74, 0.05);
}

#email-code-row {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

#email-code-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

#f-email-code {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
}

.btn-secondary.btn-small {
  background: #64748b;
  color: #fff;
  border: none;
}

.btn-secondary.btn-small:hover {
  background: #475569;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-eyebrow {
  text-align: center;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .75rem; display: block;
}
.section-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  margin-bottom: .875rem;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.05;
}
.section-subtitle {
  text-align: center; color: var(--text-light);
  font-size: .97rem; margin-bottom: 3.5rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
  line-height: 1.78; font-weight: 400;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 100px 0; background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ── Option B: Services section header ──────────────────────── */
.services-section-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 14px;
  padding: 1.8rem 2.5rem;
  margin-bottom: 2.5rem;
}
.services-header-text { flex: 1; min-width: 0; }
.services-section-header .section-title {
  color: #fff !important;
  text-align: left !important;
  margin-bottom: .4rem;
}
.services-section-header .section-subtitle {
  color: rgba(255,255,255,.72) !important;
  text-align: left !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  font-size: .87rem;
}
.services-header-illus {
  flex: 0 0 160px;
}
.services-header-illus img { width: 100%; height: auto; display: block; }
@media (max-width: 768px) {
  .services-section-header { flex-direction: column; padding: 1.4rem; }
  .services-header-illus { display: none; }
}


/* ── Service card "Learn more" toggle ───────────────────────── */
.sc-more { margin-top: .75rem; }

.sc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .3rem .65rem;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  font-size: .75rem;
  font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
  margin-top: .5rem;
}
.sc-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,.04);
}
.sc-toggle[aria-expanded="true"] {
  border-color: var(--primary);
  color: var(--primary);
}
.sc-chevron {
  flex-shrink: 0;
  transition: transform .25s ease;
}
.sc-toggle[aria-expanded="true"] .sc-chevron {
  transform: rotate(90deg);
}
.sc-toggle[aria-expanded="true"] .sc-toggle-label::after {
  content: "";
}

.sc-detail {
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
  animation: scFadeIn .2s ease;
}
.sc-detail[hidden] { display: none; }
.sc-detail p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
@keyframes scFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 2rem;
  border-top: 3px solid transparent;
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease-out, transform .55s ease-out,
              border-color .25s, border-top-color .25s, box-shadow .25s;
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) !important;
}
.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 1.25rem;
  transition: transform .2s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.08); }
.service-icon {
  width: 32px; height: 32px;
  display: block; stroke-width: 1.75;
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 1.05rem; margin-bottom: .75rem;
  font-weight: 700; color: var(--navy);
}
.service-card p { color: var(--text-light); line-height: 1.75; font-size: .95rem; }
/* ── Service outcome line (client result, sits above technical description) ── */
.service-outcome {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding: .45rem .7rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: .75rem;
  line-height: 1.55;
}


/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners { padding: 100px 0; background: var(--bg-light); }

/* ── Filter bar ── */
.pf-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 40px;
}
.pf-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 40px;
  border: 1.5px solid var(--border-strong);
  background: #fff; cursor: pointer;
  font-size: .78rem; font-weight: 600;
  color: var(--text-mid); transition: all .18s;
  white-space: nowrap; font-family: inherit; line-height: 1.4;
}
.pf-btn img {
  height: 16px; width: auto; max-width: 54px;
  object-fit: contain; flex-shrink: 0; display: block;
}
.pf-btn:hover { border-color: var(--primary); color: var(--primary); }
.pf-btn.active {
  border-color: var(--navy); background: var(--navy); color: #fff;
  box-shadow: 0 2px 10px rgba(11,21,38,.25);
}
.pf-btn.active img { filter: brightness(0) invert(1); }

/* ── Partner block list ── */
.pb-list { display: flex; flex-direction: column; gap: 10px; }

/* ── Partner block header ── */
.pb-hdr {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; user-select: none;
  transition: border-color .2s, box-shadow .2s;
}
.pb-hdr:hover { border-color: var(--primary); }
.pb-hdr.open {
  border-color: var(--primary);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  box-shadow: 0 2px 12px rgba(0,82,204,.1);
}
.pb-logo {
  height: 28px; width: auto; max-width: 96px;
  object-fit: contain; flex-shrink: 0; display: block;
}
.pb-meta { flex: 1; min-width: 0; }
.pb-meta h3 { font-size: .93rem; font-weight: 700; line-height: 1.3; margin: 0; }
.pb-meta p  { font-size: .78rem; color: var(--text-light); margin: 2px 0 0; }
.pb-arr {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--text-light);
  transition: transform .25s, background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
.pb-hdr.open .pb-arr {
  transform: rotate(180deg);
  background: var(--primary-light); border-color: var(--primary); color: var(--primary);
}

/* ── Product grid ── */
.pg-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 1px solid var(--primary); border-top: none;
  border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius);
  overflow: hidden; background: var(--border); gap: 1px;
}
.pg-grid.open { display: grid; animation: pgFade .22s ease; }
@keyframes pgFade {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Product card ── */
.pg-card {
  background: #fff; padding: 20px 20px 16px;
  display: flex; flex-direction: column;
}
.pg-card.pg-pro {
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e8 100%);
  border-left: 3px solid var(--gold);
}
.pg-card.pg-pro::before {
  content: '★  Valeur ajoutée Convergent';
  display: block; font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--gold); margin-bottom: 10px;
}
.pg-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.pg-title { font-size: .88rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.pg-badge {
  font-size: .62rem; padding: 2px 8px; border-radius: 20px;
  font-weight: 700; white-space: nowrap; flex-shrink: 0; margin-top: 2px; line-height: 1.6;
}
.pg-free       { background: #dcfce7; color: #16a34a; }
.pg-paid       { background: #fef3c7; color: #92400e; }
.pg-enterprise { background: #dbeafe; color: #1d4ed8; }
.pg-pro-badge  { background: var(--gold-light); color: var(--gold); border: 1px solid #f0c97a; }
.pg-desc {
  font-size: .8rem; color: var(--text-mid); line-height: 1.65;
  margin-bottom: 10px; flex: 1;
}
.pg-tags {
  font-size: .72rem; color: var(--text-light);
  margin-bottom: 12px; line-height: 1.5;
}
.pg-cta { margin-top: auto; display: flex; gap: 7px; flex-wrap: wrap; padding-top: 4px; }

.pg-btn-quote, .pg-btn-sheet, .pg-btn-pro {
  padding: 6px 13px; border-radius: 6px;
  font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: all .18s; font-family: inherit; line-height: 1.4;
  border: 1.5px solid transparent;
}
.pg-btn-quote  { background: var(--primary); color: #fff; border-color: var(--primary); }
.pg-btn-quote:hover { background: var(--primary-dark); box-shadow: var(--shadow-blue); }
.pg-btn-pro    { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.pg-btn-pro:hover { background: #e0a93a; box-shadow: 0 2px 10px rgba(201,146,42,.3); }
.pg-btn-sheet  { background: transparent; color: var(--text-light); border-color: var(--border-strong); }
.pg-btn-sheet:hover { border-color: var(--primary); color: var(--primary); }

/* Old partners grid (kept for backward compat) */
.partners-container { margin-top: 3rem; }
.partner-group      { margin-bottom: 3rem; }
.partner-group > h3 { font-size: 1.05rem; margin-bottom: 1.5rem; font-weight: 700; color: var(--navy); }
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1.25rem;
}
.partner-logo {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; min-height: 110px; text-align: center;
  transition: border-color .25s, box-shadow .25s;
}
.partner-logo:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.partner-logo img {
  max-width: 110px; max-height: 38px; object-fit: contain;
  transition: transform .2s; display: block;
}
.partner-logo:hover img { transform: scale(1.05); }
.partner-name { font-size: .78rem; font-weight: 700; color: var(--navy); }
.partner-role { font-size: .68rem; color: var(--text-light); }
.partner-badge-pend {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  background: rgba(201,146,42,.1); color: var(--gold);
  border: 1px solid rgba(201,146,42,.3);
  padding: 2px 7px; border-radius: 999px;
}
.partners-note {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 1.25rem 1.5rem; border-radius: var(--radius); margin-top: 2rem;
  border-left: 3px solid var(--gold);
}
.partners-note p { line-height: 1.8; font-size: .875rem; }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { padding: 100px 0; background: var(--bg-white); }
.solutions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem;
}
.solution-card {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  border-left: 3px solid transparent;
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease-out, transform .55s ease-out,
              border-color .25s, border-left-color .25s, background .25s, box-shadow .25s;
}
.solution-card.visible { opacity: 1; transform: translateY(0); }
.solution-card:hover {
  border-color: var(--border); border-left-color: var(--gold);
  background: #fff; box-shadow: var(--shadow-md);
}
.solution-card h3 {
  font-size: 1rem; margin-bottom: 1rem;
  color: var(--primary); font-weight: 700;
}
.solution-card ul { list-style: none; }
.solution-card li {
  padding: .4rem 0; color: var(--text-light);
  border-bottom: 1px solid var(--border); font-size: .86rem;
}
.solution-card li:last-child { border-bottom: none; }

/* ============================================================
   WHY US — dark section
   ============================================================ */
.why-us {
  padding: 100px 0;
  background: var(--bg-light);
  color: var(--text-dark);
  position: relative; overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: .5;
}
.why-us .section-title { color: var(--text-dark); position: relative; }
.why-us .section-subtitle { color: var(--text-muted); position: relative; }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem; position: relative;
}
.why-us-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: var(--radius); padding: 2rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease-out, transform .55s ease-out,
              border-color .25s, border-top-color .25s, background .25s, box-shadow .25s;
}
.why-us-item.visible { opacity: 1; transform: translateY(0); }
.why-us-item:hover {
  background: var(--bg-white);
  border-top-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(-2px) !important;
}
.why-us-icon { width: 44px; height: 44px; margin: 0 0 1rem; color: var(--gold); stroke-width: 1.5; }
.why-us-item h3 { font-size: 1rem; margin-bottom: .75rem; font-weight: 700; color: var(--text-dark); }
.why-us-item p  { color: var(--text-muted); font-size: .875rem; line-height: 1.75; }

/* New centered layout for why-us section */
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 400px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
  position: relative;
}

.why-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-text-col:first-child .why-us-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0;
}

.why-text-col:last-child .why-us-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0;
}

.why-photo-col {
  position: sticky;
  top: 2rem;
  z-index: 1;
}

/* Responsive adjustments for centered layout */
@media (max-width: 1200px) {
  .why-us-inner {
    grid-template-columns: 1fr 350px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .why-photo-col {
    order: 2;
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .why-text-col:first-child {
    order: 1;
  }

  .why-text-col:last-child {
    order: 3;
  }
}

/* ============================================================
   GOVERNANCE - Enhanced Visual Effects
   ============================================================ */
.governance {
  padding: 100px 0;
  background: var(--bg-light);
}


/* Enhanced governance grid with staggered animations */
.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.governance-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.governance-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(244,208,63,0.15);
  transform: translateY(-2px);
}

.governance-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.governance-icon svg {
  color: var(--navy) !important;
}

.governance-item:hover .governance-icon {
  transform: scale(1.05);
}

.governance-item h3 {
  color: var(--navy) !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.governance-item p {
  color: var(--text-light) !important;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 100px 0; background: var(--bg-white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; align-items: start; margin-top: 3rem;
}
.process-step {
  text-align: center; background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 2rem; border-radius: var(--radius);
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease-out, transform .55s ease-out,
              background .25s, border-color .25s, box-shadow .25s;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step:hover {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: var(--shadow-lg);
}
.step-number {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem; font-weight: 400; letter-spacing: .02em;
  margin: 0 auto 1rem; transition: background .25s, color .25s;
}
.process-step:hover .step-number { background: var(--gold); color: var(--navy); }
.process-step h3 { margin-bottom: .5rem; font-weight: 700; font-size: .97rem; transition: color .25s; }
.process-step p  { color: var(--text-light); font-size: .86rem; transition: color .25s; }
.process-step:hover h3 { color: #fff; }
.process-step:hover p  { color: rgba(255,255,255,.72); }
.process-arrow {
  display: none; text-align: center;
  font-size: 1.5rem; color: var(--gold); align-self: center;
}
@media (min-width: 769px) { .process-arrow { display: block; } }


/* ── Process step illustration icon ───────────────────────── */
.step-icon {
  width: 88px; height: 88px;
  margin: 0 auto 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.step-icon svg {
  width: 64px; height: 64px;
}
.process-step:hover .step-icon {
  background: rgba(255,255,255,.06);
  border-color: rgba(201,146,42,.35);
  box-shadow: 0 0 20px rgba(201,146,42,.12);
}
/* SVG color inversion on hover — blue strokes go light */
.process-step:hover .step-icon svg [stroke="#0052cc"] {
  stroke: rgba(255,255,255,.55);
}
.process-step:hover .step-icon svg [fill="#0052cc"] {
  fill: rgba(255,255,255,.55);
}
[data-theme="dark"] .step-icon {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .process-step:hover .step-icon {
  background: rgba(255,255,255,.06);
  border-color: rgba(201,146,42,.4);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 100px 0; background: white; }
.contact-form-col { min-width: 0; }
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 3rem; align-items: start;
}
.contact-info h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.6rem; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1rem; color: var(--navy); line-height: 1.05;
}
.contact-info > p { color: var(--text-light); font-size: .9375rem; line-height: 1.75; }
.contact-details { margin: 1.75rem 0; }
.contact-item { margin-bottom: 1.5rem; }
.contact-item strong {
  display: block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-light); margin-bottom: .25rem;
}
.contact-item a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.contact-item p { color: var(--text-light); font-size: .9rem; line-height: 1.6; }

/* Contact form */
.contact-form {
  background: #fff; border-radius: 10px; padding: 2rem;
  border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.form-row { display: grid; gap: 1rem; }
.form-row.two-col { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .8rem; font-weight: 600; color: var(--text-mid);
  letter-spacing: .02em;
}
.form-group input, .form-group textarea, .form-group select {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 14px; font-size: .9rem; font-family: inherit;
  color: var(--text-dark); background: var(--bg-light);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,82,204,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.error, .form-group select.error { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: .78rem; margin-top: .25rem; display: none; }

/* ── Custom country dropdown (Twemoji flags, cross-browser) ────────────────── */
.c-sel-wrap { position: relative; }
.c-sel-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg-light); color: var(--text-dark);
  font-size: .9rem; font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.c-sel-btn:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(0,82,204,.1); outline: none; }
.c-sel-btn.error { border-color: var(--danger); }
.c-sel-chev { margin-left: auto; flex-shrink: 0; opacity: .5; transition: transform .2s; }
.c-sel-wrap.open .c-sel-chev { transform: rotate(180deg); }
.c-sel-flag { width: 24px; height: 18px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.c-sel-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-sel-placeholder { color: #9ca3af; }
.c-sel-panel {
  display: none; position: absolute; z-index: 9999; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14); flex-direction: column; max-height: 300px; overflow: hidden;
}
.c-sel-wrap.open .c-sel-panel { display: flex; }
.c-sel-search {
  border: none; border-bottom: 1px solid var(--border); padding: 9px 13px;
  font-size: .88rem; font-family: inherit; outline: none; background: #fff;
}
.c-sel-list { overflow-y: auto; flex: 1; }
.c-sel-group {
  padding: 5px 13px 2px; font-size: .73rem; text-transform: uppercase;
  color: #9ca3af; font-weight: 700; letter-spacing: .05em; position: sticky; top: 0; background: #fff;
}
.c-sel-item {
  display: flex; align-items: center; gap: 9px; padding: 7px 13px;
  cursor: pointer; font-size: .88rem; white-space: nowrap;
}
.c-sel-item:hover { background: var(--bg-light, #f3f4f6); }
.c-sel-item.is-sel { background: rgba(0,82,204,.07); font-weight: 600; }
.c-sel-flag-sm { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
@media (prefers-color-scheme: dark) {
  .c-sel-btn { background: var(--bg-dark, #1e293b); color: var(--text-light, #e2e8f0); }
  .c-sel-panel, .c-sel-search, .c-sel-group { background: var(--bg-dark, #1e293b); }
  .c-sel-item:hover { background: rgba(255,255,255,.06); }
}

/* IQI & DNS badges */
.iqi-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: .75rem;
}
.iqi-score { font-family: 'Exo 2', sans-serif; font-size: 2rem; color: var(--gold); }
.dns-signals { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.dns-panel {
  display: flex; flex-wrap: wrap; gap: .3rem .35rem;
  margin: .5rem 0 .25rem; max-width: 100%;
}
.dns-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .2rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 600;
  white-space: nowrap; line-height: 1.4;
}
.dns-badge.ok,
.dns-badge.dns-pass { background: #dcfce7; color: #16a34a; }
.dns-badge.err,
.dns-badge.dns-fail { background: #fee2e2; color: #dc2626; }
.dns-badge.dns-warn { background: #fef3c7; color: #92400e; }
.dns-badge.dns-info { background: #dbeafe; color: #1d4ed8; }
.dns-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: currentColor; flex-shrink: 0;
}

/* ============================================================
   WHO WE SERVE
   ============================================================ */
.who { padding: 100px 0; background: var(--bg-white); }
.who-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.who-card {
  border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border);
}
.who-card.positive {
  border-color: var(--primary); background: var(--bg-light);
  border-left: 3px solid var(--primary);
}
.who-card.negative {
  border-color: var(--border); background: #fff;
  border-left: 3px solid var(--border-strong);
}
.who-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  color: var(--navy);
}
.who-card li {
  padding: .4rem 0; font-size: .88rem; color: var(--text-light);
  border-bottom: 1px solid var(--border); list-style: none;
}
.who-card li:last-child { border-bottom: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy); color: rgba(255,255,255,.65);
  padding: 60px 0 32px;
}
/* footer-inner: grid desktop — 5 colonnes */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-section { min-width: 0; }
.footer-brand-name {
  display: block;
  font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: .75rem;
}
.footer-section > p {
  font-size: .85rem; line-height: 1.75;
  color: rgba(255,255,255,.6);
  max-width: 300px;
}
.footer-tagline {
  display: block; margin-top: .75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
}
.footer-section h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: .5rem; }
.footer-section a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-section a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; flex-wrap: wrap; gap: .5rem;
}

/* ============================================================
   THANKS / SUCCESS PAGE
   ============================================================ */
.thanks-wrap { display: none; text-align: center; padding: 3rem 0; }
.thanks-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: var(--primary); font-size: 1.75rem;
}
.thanks-wrap h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; color: var(--navy); }
.thanks-wrap p  { color: var(--text-light); max-width: 480px; margin: 0 auto 1.5rem; }
.thanks-steps {
  background: var(--bg-light); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0; text-align: left;
  border-left: 3px solid var(--gold);
}
.thanks-step-label { font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gold); margin-bottom: .5rem; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-primary { color: var(--primary); }
.text-gold    { color: var(--gold); }
.fw-700       { font-weight: 700; }
.mt-1         { margin-top: .5rem; }
.hidden       { display: none !important; }

/* Scroll-reveal baseline */
.sr-item {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.sr-item.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO/CONTACT filter lines
   ============================================================ */
.contact-seo {
  color: var(--text-light);
  font-size: .85rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  padding: .65rem .9rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,146,42,.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.contact-filter {
  color: var(--text-light);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ============================================================
   MISC FORM WIDGETS (IQI, DNS preview)
   ============================================================ */
.website-preview-box {
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  margin-top: .5rem; background: var(--bg-light);
}
.website-preview-box img { width: 100%; display: block; max-height: 160px; object-fit: cover; }


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .4; pointer-events: none;
}
.about .section-title  { color: var(--text-dark); position: relative; }
.about .section-subtitle { color: var(--text-muted); position: relative; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
}
.about-text p {
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-text p:last-child { margin-bottom: 0; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-pillar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  min-width: 0;
}
.about-pillar-num {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.8rem; line-height: 1;
  color: var(--gold); margin-bottom: .5rem;
}
.about-pillar-label {
  font-size: .72rem; font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4; text-transform: uppercase;
  letter-spacing: .06em;
}



/* website input + thumbnail */
.website-wrap {
  position: relative;
}
.site-thumb {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-top: .5rem;
}

/* ============================================================
   CYBER SECURITY POSTURE PANEL
   ============================================================ */
.cyber-panel {
  margin-top: .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-light);
  font-size: .8rem;
}
.cyber-panel-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  margin-bottom: .65rem;
}
.cyber-spinner {
  display: inline-block;
  width: 11px; height: 11px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: cyberSpin .7s linear infinite;
  margin-left: auto;
  opacity: 0;
  transition: opacity .2s;
}
.cyber-spinner.active { opacity: 1; }
@keyframes cyberSpin { to { transform: rotate(360deg); } }
.cyber-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
}
.cyber-check {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.cyber-check-label {
  font-size: .67rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.cyber-badge {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.cyber-pending  { background: var(--bg-white); color: var(--text-light); border: 1px solid var(--border); }
.cyber-grade-a  { background: #dcfce7; color: #15803d; }
.cyber-grade-b  { background: #d1fae5; color: #065f46; }
.cyber-grade-c  { background: #fef3c7; color: #92400e; }
.cyber-grade-d  { background: #fee2e2; color: #991b1b; }
.cyber-grade-f  { background: #fecaca; color: #7f1d1d; }
.cyber-pass     { background: #dcfce7; color: #15803d; }
.cyber-fail     { background: #fee2e2; color: #991b1b; }
.cyber-warn     { background: #fef3c7; color: #92400e; }
.cyber-ext {
  font-size: .65rem;
  color: var(--primary);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.cyber-ext:hover { text-decoration: underline; }
.cyber-ssl-detail {
  margin-top: .6rem;
  padding: .5rem .65rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .72rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.cyber-ssl-detail strong { color: var(--text-dark); }
.cyber-live-notice {
  margin-top: .5rem;
  font-size: .7rem;
  color: var(--text-light);
  font-style: italic;
}
[data-theme="dark"] .cyber-panel {
  background: #0f1829;
  border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .cyber-ssl-detail {
  background: #141f35;
  border-color: rgba(255,255,255,.08);
  color: #94a3b8;
}
[data-theme="dark"] .cyber-pending {
  background: #1a2540;
  border-color: rgba(255,255,255,.12);
  color: #64748b;
}


/* BIMI / Gravatar identity images */
.identity-row {
  display: flex;
  gap: 1.5rem;
  margin-top: .75rem;
  align-items: flex-start;
}
.identity-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.identity-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}
.identity-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-light);
}
.identity-x {
  font-size: 1.2rem;
  color: var(--danger);
  line-height: 48px;
  width: 48px;
  text-align: center;
}
/* ============================================================
   RESPONSIVE — all breakpoints (mobile-first overrides)
   ============================================================ */

/* ── Tablet ≤ 900px ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 72px 0 56px; }

  .services, .partners, .solutions, .why-us,
  .governance, .process, .who, .who-section,
  .about, .contact { padding: 72px 0; }

  .contact-wrapper    { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .about-grid         { grid-template-columns: 1fr; }
  .about-pillars      { grid-template-columns: repeat(4, 1fr); }

  /* Grids: force 2 cols max on tablet */
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid        { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid     { grid-template-columns: repeat(2, 1fr); }
  .governance-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* ── Nav squeeze prevention ≤ 1024px ────────────────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-menu { gap: .9rem; }
  .nav-link  { font-size: .77rem; }
  .logo-sub  { display: none; }
}

/* ── Mobile ≤ 600px ─────────────────────────────────────────── */
@media (max-width: 600px) {

  /* Global overflow protection — ciblé, pas nucléaire */
  img, svg, video, iframe, table { max-width: 100%; height: auto; }

  /* Container */
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 56px 0 44px; }
  .hero-content h1 {
    font-size: 1.9rem;
    letter-spacing: .02em;
    line-height: 1.1;
  }
  .hero-subtitle {
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    opacity: 1;
  }
  .hero-subtitle em { font-size: .8rem; opacity: .8; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-free-audit {
  display: inline-block;
  font-size: .82rem;
  color: rgba(255,255,255,.9);
  background: rgba(201,146,42,.18);
  border: 1px solid rgba(201,146,42,.45);
  border-radius: 999px;
  padding: .35rem .9rem;
  margin-top: .6rem;
  line-height: 1.5;
}
.hero-tagline { font-size: .7rem; }

  /* Section commons */
  .services, .partners, .solutions, .why-us,
  .governance, .process, .who, .who-section,
  .about, .contact { padding: 48px 0; }

  .section-title    { font-size: 1.85rem; letter-spacing: .02em; }
  .section-subtitle { font-size: .875rem; margin-bottom: 2rem; }

  /* All grids → single column */
  .services-grid,
  .solutions-grid,
  .why-us-grid,
  .governance-grid,
  .who-grid,
  .pg-grid          { grid-template-columns: 1fr; gap: 1rem; }

  /* Cards padding */
  .service-card,
  .solution-card,
  .why-us-item,
  .governance-item,
  .who-col,
  .process-step,
  .pg-card          { padding: 1.25rem; }

  /* Partners filter bar */
  .pf-bar { flex-wrap: wrap; gap: .4rem; }
  .pf-btn { font-size: .68rem; padding: .35rem .7rem; }

  /* Process */
  .process-steps    { grid-template-columns: 1fr !important; gap: 1rem; }
  .process-arrow    { display: none !important; }

  /* About */
  .about-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .about-pillars    { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .about-pillar     { padding: 1.25rem .75rem; min-width: 0; }
  .about-pillar-num { font-size: 2.2rem; }

  /* Contact */
  .contact-wrapper  { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.25rem; }
  .form-row.two-col { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr !important; gap: 2rem; }


  /* Tap target minimum */
  .btn              { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .pg-btn-quote, .pg-btn-sheet { min-height: 44px; }
}

/* ── Small mobile ≤ 380px ───────────────────────────────────── */
@media (max-width: 380px) {
  .hero-content h1  { font-size: 1.65rem; }
  .section-title    { font-size: 1.6rem; }
  .container        { padding: 0 12px; }
  .about-pillars    { grid-template-columns: 1fr 1fr; }
}

/* ── Option D: Governance illustration layout ────────────────── */
.gov-layout {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}
.gov-content { flex: 1; min-width: 0; }
.gov-illustration {
  flex: 0 0 240px;
  opacity: .85;
}
.gov-illustration img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .gov-layout { flex-direction: column; }
  .gov-illustration { display: none; }
}

/* ── Illustration overflow containment ──────────────────────── */
.hero-illustration,
.services-header-illus,
.gov-illustration { overflow: hidden; }
.hero-illustration img,
.services-header-illus img,
.gov-illustration img { display: block; max-width: 100%; height: auto; }

/* ── Governance items text fix ───────────────────────────────── */
.governance-item h3 { color: #1a2540 !important; }
.governance-item p  { color: #334155 !important; }

/* ── Mobile font size improvements ──────────────────────────── */
@media (max-width: 768px) {
  body { font-size: 16px; }

  .section-title    { font-size: 2rem; }
  .section-subtitle { font-size: 1rem; line-height: 1.65; }

  .service-card h3  { font-size: 1.05rem; }
  .service-outcome  { font-size: .88rem; }
  .sc-detail p      { font-size: .9rem; }
  .sc-toggle        { font-size: .82rem; }

  .governance-item h3 { font-size: 1rem; }
  .governance-item p  { font-size: .9rem; }

  .why-us-item h3   { font-size: 1rem; }
  .why-us-item p    { font-size: .9rem; }

  .pg-card h3       { font-size: 1rem; }
  .pg-card p        { font-size: .9rem; }

  .about-text p     { font-size: .95rem; line-height: 1.7; }

  .contact-info p,
  .contact-info a   { font-size: .95rem; }

  .footer-col p,
  .footer-col li    { font-size: .9rem; }
}

/* ── Anchor offset (sticky nav) ─────────────────────────────── */
section[id] { scroll-margin-top: var(--nav-h); }

/* ── Theme toggle button ────────────────────────────────────── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  background: none; border: 1.5px solid var(--border-strong);
  border-radius: 8px; cursor: pointer; color: var(--text-mid);
  transition: border-color .2s, color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

/* ── Smooth theme property transitions ──────────────────────── */
body, header, .service-card, .pg-card,
.governance-item, .why-us-item, .process-step {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease !important;
}
.service-card:hover, .pg-card:hover { transition: all .2s ease !important; }



/* Dark mode */
[data-theme="dark"] .pp-img {
  background: #1a2540;
  border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .pp-img:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59,130,246,.15);
}
[data-theme="dark"] .pp-cap { color: #64748b; }
[data-theme="dark"] .pp-strip { border-bottom-color: rgba(255,255,255,.08); }

/* ── Partner card product image ─────────────────────────────── */
.pg-product-img {
  margin: .25rem 0 .6rem;
  text-align: center;
  line-height: 0;
}
.pg-pimg {
  display: inline-block;
  width: 120px;
  height: 90px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--bg-light);
  padding: .4rem;
  border: 1px solid var(--border);
  transition: border-color .2s;
}
.pg-pimg:hover { border-color: var(--primary); }
/* Hide broken images cleanly */
.pg-pimg[src=""], .pg-pimg:not([src]) { display: none; }
[data-theme="dark"] .pg-pimg { background: #1a2540; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .pg-pimg:hover { border-color: #3b82f6; }

/* ── Partner page link (bottom of pg-grid) ──────────────────── */
.pg-partner-link {
  grid-column: 1 / -1;
  padding: .6rem 1.25rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  text-align: right;
}
.pg-more-link {
  font-size: .8rem; font-weight: 600;
  color: var(--primary); text-decoration: none;
  transition: color .15s;
}
.pg-more-link:hover { color: var(--primary-dark); text-decoration: underline; }
[data-theme="dark"] .pg-partner-link { background: #0d1525; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .pg-more-link { color: #60a5fa; }

/* ── Single CTA per partner grid ────────────────────────────── */
.pg-grid-cta {
  grid-column: 1 / -1;
  padding: .75rem 1.25rem .5rem;
  display: flex;
  justify-content: flex-start;
  gap: .75rem;
}

/* ============================================================
   SOVEREIGNTY CALLOUT
   ============================================================ */
.sovereignty-callout {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  background: linear-gradient(135deg, rgba(15,98,254,.06) 0%, rgba(34,197,94,.04) 100%);
  border: 1px solid rgba(15,98,254,.18);
  border-left: 4px solid var(--primary, #0f62fe);
  border-radius: 10px;
  padding: 1.6rem 2rem;
  margin: 2rem 0 2.4rem;
}
[data-theme="dark"] .sovereignty-callout {
  background: rgba(15,98,254,.07);
  border-color: rgba(99,155,246,.2);
  border-left-color: #639bf6;
}
.sov-icon {
  flex-shrink: 0;
  color: var(--primary, #0f62fe);
  margin-top: .15rem;
}
[data-theme="dark"] .sov-icon { color: #639bf6; }
.sov-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.sov-content p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 600px) {
  .sovereignty-callout { flex-direction: column; gap: .8rem; padding: 1.2rem 1.4rem; }
}

/* ============================================================
   NOT FOR SECTION
   ============================================================ */
.not-for {
  padding: 5rem 0 4rem;
  background: var(--bg-light);
}
[data-theme="dark"] .not-for {
  background: #0d1421;
}
.notfor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.notfor-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
  opacity: 0; transform: translateY(16px);
}
.notfor-item.visible {
  opacity: 1; transform: translateY(0);
}
.notfor-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.07);
}
[data-theme="dark"] .notfor-item {
  background: #111827;
  border-color: rgba(255,255,255,.07);
}
.notfor-mark {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ef4444;
  flex-shrink: 0;
  line-height: 1.3;
}
.notfor-item strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .35rem;
}
.notfor-item p {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ── Spinner for email validation ─── */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── GDPR Consent Block ──────────────────────────────────────────────────── */
.gdpr-block {
  margin: 1.25rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.gdpr-location {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .78rem;
  color: var(--text-light);
  background: rgba(201,146,42,.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: .6rem .75rem;
  line-height: 1.55;
}
.gdpr-location svg { color: var(--gold); }
.gdpr-check-label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  cursor: pointer;
  padding: .5rem 0;
}
.gdpr-check-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.gdpr-check-box {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border: 2px solid var(--border-strong, #94a3b8);
  border-radius: 3px;
  background: var(--bg, #fff);
  margin-top: 2px;
  transition: border-color .15s, background .15s;
  position: relative;
}
.gdpr-check-label input:checked ~ .gdpr-check-box {
  background: var(--primary, #1e40af);
  border-color: var(--primary, #1e40af);
}
.gdpr-check-label input:checked ~ .gdpr-check-box::after {
  content: '';
  position: absolute;
  left: 3px; top: 0px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.gdpr-check-label input:focus-visible ~ .gdpr-check-box {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gdpr-check-text {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text);
}
.gdpr-check-text a {
  color: var(--primary);
  text-decoration: underline;
}
.gdpr-check-optional .gdpr-check-text {
  color: var(--text-light);
}
.gdpr-check-label:has(input:required) .gdpr-check-text strong {
  color: var(--text-dark);
}
/* Locked senior-review state — active when newsletter is unchecked */
.gdpr-check-locked {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  transition: opacity .3s ease;
}
.gdpr-check-locked.unlocked {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}
.review-lock-note {
  margin: .2rem 0 .5rem 2.1rem;
  font-size: .78rem;
  color: var(--amber, #d97706);
  transition: opacity .3s ease;
}
.review-lock-note.hidden { display: none; }

/* ── Cal.com booking widget ──────────────────────────────────── */
#cal-booking-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 8px 0;
}
#cal-booking iframe {
  background: #fff !important;
  color-scheme: light;
}
[data-theme="dark"] #cal-booking-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
}

/* ── Testimonials Section ─────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.testi-card {
  background: var(--bg, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

[data-theme="dark"] .testi-card {
  background: var(--bg-dark, #1e293b);
  border-color: var(--border-dark, #334155);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.testi-content {
  position: relative;
}

.testi-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.testi-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

[data-theme="dark"] .testi-author {
  border-color: var(--border-dark, #334155);
}

.testi-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.testi-context {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testi-card {
    padding: 1.5rem;
  }
}

/* ── Bilingual SEO — EN hidden by default; FR visible (Googlebot indexes FR)
   JS setLang() overrides via inline style when user switches language.      */
.lang-en { display: none; }
