/* ==========================================================
   IBDEO — Agence de Communication Bordeaux
   CSS Design System — Ultra-Modern Dark Agency
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------
   CSS VARIABLES
---------------------------------------------------------- */
:root {
  --black:          #0a0a0a;
  --dark:           #111111;
  --dark-2:         #1a1a1a;
  --dark-3:         #222222;
  --accent:         #2791F5;
  --accent-hover:   #1a7de8;
  --accent-light:   rgba(39,145,245,.09);
  --accent-mid:     rgba(39,145,245,.16);
  --yellow:         #FFCD57;
  --yellow-dark:    #F5C13D;
  --white:          #FFFFFF;
  --off-white:      #F7F7F8;
  --gray-50:        #F9FAFB;
  --gray-100:       #F3F4F6;
  --gray-200:       #E5E7EB;
  --gray-300:       #D1D5DB;
  --gray-400:       #9CA3AF;
  --gray-500:       #6B7280;
  --gray-600:       #4B5563;
  --text:           #111111;
  --text-muted:     #6B7280;

  --font-heading:   'Plus Jakarta Sans', sans-serif;
  --font-body:      'Inter', sans-serif;

  --container:      1300px;
  --section-py:     100px;
  --header-h:       78px;

  --radius-xs:      4px;
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  --shadow-xs:      0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow:         0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:      0 16px 48px rgba(0,0,0,.14);
  --shadow-xl:      0 28px 72px rgba(0,0,0,.18);
  --shadow-2xl:     0 40px 100px rgba(0,0,0,.24);

  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:       cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:     .3s var(--ease);
  --transition-fast:.18s var(--ease);
}

/* ----------------------------------------------------------
   RESET
---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
strong { font-weight: 700; }

/* ----------------------------------------------------------
   UTILITIES
---------------------------------------------------------- */
.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 44px;
  box-sizing: border-box;
}
@media (max-width: 1024px) { .container { padding: 0 28px; } }
@media (max-width: 768px)  { .container { padding: 0 20px; } }
@media (max-width: 480px)  { .container { padding: 0 16px; } }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* Section tag / pill label */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.section-tag--white {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
}
.section-tag--white::before { background: var(--yellow); }
.section-tag--yellow {
  background: rgba(255,205,87,.12);
  color: #8a6d00;
}
.section-tag--yellow::before { background: var(--yellow); }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
}
.h1 { font-size: clamp(36px, 3.8vw, 52px); }
.h2 { font-size: clamp(28px, 3vw, 42px); }
.h3 { font-size: clamp(20px, 2vw, 28px); }
.display {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -2.5px;
  font-weight: 800;
}

/* ----------------------------------------------------------
   BUTTONS
---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn:active { transform: scale(.97) !important; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(39,145,245,.38);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.55);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--gray-200);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: var(--white);
  color: var(--accent);
}
.btn-white:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,205,87,.4);
}

.btn-lg { font-size: 16px; padding: 17px 36px; border-radius: 10px; }
.btn-sm { font-size: 13px; padding: 9px 18px; }

/* Arrow suffix */
.btn-arrow::after {
  content: '→';
  font-size: 15px;
  transition: transform .2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Phone CTA pill */
.btn-phone {
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius-full);
  font-size: 14px;
  padding: 10px 20px;
  gap: 7px;
}
.btn-phone:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

/* ----------------------------------------------------------
   SITE HEADER
---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  height: var(--header-h);
  width: 100%;
  max-width: 100vw;
  overflow: visible;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

/* Homepage — navbar transparente (desktop uniquement) */
@media (min-width: 1025px) {
  .page-home .site-header:not(.scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }
}

.site-header .container { height: 100%; }
.site-header .header-inner { width: 100%; }

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
  min-width: 0;
  width: 100%;
}

.header-logo { flex-shrink: 0; line-height: 0; }
.header-logo img { height: 46px; width: auto; display: block; }

/* Nav */
.header-nav { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--accent-light); }

.nav-chevron {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform .25s;
  flex-shrink: 0;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Mega Menu */
.nav-item.has-mega {
  position: static;
}
/* Portail mega-menu : positionné en fixed hors du header, aligné sur le container */
#mega-menu-portal {
  position: fixed;
  top: var(--header-h);
  left: 0;       /* override par JS */
  width: 920px;  /* override par JS */
  transform: translateY(-8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 99000;
}
#mega-menu-portal.mega-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 240px;
}
.mega-cats {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}
.mega-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .2s;
  border-left: 3px solid transparent;
}
.mega-cat:hover { background: var(--white); }
.mega-cat.active {
  background: var(--white);
  border-left-color: var(--accent);
}
.mega-cat-icon { font-size: 22px; flex-shrink: 0; }
.mega-cat-text { display: flex; flex-direction: column; gap: 2px; }
.mega-cat-text strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.mega-cat-text small { font-size: 12px; color: var(--text-muted); }
.mega-cat-arrow {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 2;
  margin-left: auto;
  flex-shrink: 0;
}
.mega-cat.active .mega-cat-arrow { stroke: var(--accent); }
.mega-panels { padding: 20px 28px; }
.mega-panel { display: none; }
.mega-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
.mega-svc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: background .2s;
}
.mega-svc:hover { background: var(--accent-light); }
.mega-svc-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.mega-svc:hover .mega-svc-label { color: var(--accent); }
.mega-svc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Mobile mega sub-categories */
.mobile-mega-cat { padding-left: 0; }
.mobile-mega-cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-mega-cat-btn:hover { background: var(--accent-light); }
.mobile-mega-cat-btn svg { margin-left: auto; transition: transform .25s; }
.mobile-mega-cat.open > .mobile-mega-cat-btn svg { transform: rotate(180deg); }
.mobile-mega-cat-icon { font-size: 18px; }
.mobile-mega-sub { display: none; padding-left: 16px; }
.mobile-mega-cat.open > .mobile-mega-sub { display: block; }

/* Header right */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.header-phone:hover { color: var(--accent); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--white);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 999;
  padding: 20px 20px 60px;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: none;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background .2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}
.mobile-nav-link:hover { background: var(--accent-light); color: var(--accent); }

.mobile-dropdown { display: none; padding-left: 16px; }
.mobile-nav-item.open .mobile-dropdown { display: block; }
.mobile-dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-dropdown-link:hover { background: var(--accent-light); color: var(--accent); }

.mobile-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.mobile-cta .btn { text-align: center; }

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 40px;
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Glows */
.hero-glow-1 {
  position: absolute;
  top: -160px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(39,145,245,.13) 0%, transparent 68%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -180px; left: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,205,87,.1) 0%, transparent 68%);
  pointer-events: none;
}

/* Decorative shapes — multicolores */
.hero-shape-1 {
  position: absolute;
  top: 12%; left: 8%;
  width: 56px; height: 56px;
  border: 2.5px solid #2791F5;
  border-radius: var(--radius-sm);
  transform: rotate(20deg);
  opacity: .45;
  animation: floatA 6s ease-in-out infinite;
}
.hero-shape-2 {
  position: absolute;
  bottom: 22%; right: 10%;
  width: 36px; height: 36px;
  background: rgba(255,205,87,.55);
  border-radius: 50%;
  animation: floatB 8s ease-in-out infinite;
}
.hero-shape-3 {
  position: absolute;
  top: 58%; left: 5%;
  width: 10px; height: 10px;
  background: #FF6B9D;
  border-radius: 50%;
  opacity: .65;
  animation: floatA 4s ease-in-out infinite reverse;
}
.hero-shape-4 {
  position: absolute;
  top: 25%; right: 48%;
  width: 14px; height: 14px;
  background: #22C55E;
  border-radius: 3px;
  opacity: .5;
  transform: rotate(30deg);
  animation: floatB 5s ease-in-out infinite;
}
.hero-shape-5 {
  position: absolute;
  bottom: 35%; left: 20%;
  width: 8px; height: 8px;
  background: #FFCD57;
  border-radius: 50%;
  opacity: .7;
  animation: floatA 7s ease-in-out infinite 1s;
}
.hero-shape-6 {
  position: absolute;
  top: 45%; right: 8%;
  width: 20px; height: 20px;
  border: 2px solid #FF6B9D;
  border-radius: 50%;
  opacity: .35;
  animation: floatB 6s ease-in-out infinite 2s;
}

@keyframes floatA {
  0%, 100% { transform: rotate(20deg) translateY(0); }
  50% { transform: rotate(20deg) translateY(-14px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 100px;
  width: 100%;
}

/* Hero — Left */
.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(39,145,245,.1);
  border: 1px solid rgba(39,145,245,.25);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.75); }
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2.5px;
  color: var(--black);
  margin-bottom: 24px;
}
.hero-title .line-accent { color: var(--accent); display: block; }
.hero-title .line-yellow { color: var(--black); }

.hero-desc {
  font-size: 17px;
  line-height: 1.72;
  color: var(--gray-500);
  max-width: 490px;
  margin-bottom: 42px;
}

/* CTA zone */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 52px;
}

/* Phone input + button bar */
.hero-phone-bar {
  display: flex;
  max-width: 480px;
}
.hero-phone-input {
  flex: 1;
  height: 56px;
  padding: 0 20px;
  font-size: 15px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.hero-phone-input::placeholder { color: var(--gray-400); }
.hero-phone-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.hero-phone-btn {
  height: 56px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1.5px solid var(--accent);
}
.hero-phone-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(9,0,255,.45);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 0;
  padding-top: 44px;
  border-top: 1.5px solid var(--gray-200);
}
.hero-stat {
  flex: 1;
  padding-right: 28px;
  border-right: 1.5px solid var(--gray-200);
  margin-right: 28px;
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-val em { color: var(--accent); font-style: normal; }
.hero-stat-lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hero — Right visual */
.hero-visual {
  position: relative;
  height: 580px;
}
.hero-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 86%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
}
.hero-img-secondary {
  position: absolute;
  bottom: 0; left: 0;
  width: 52%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.hero-badge {
  position: absolute;
  top: 32px; left: 8px;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  z-index: 2;
  max-width: 240px;
}
.hero-decor-ring {
  position: absolute;
  bottom: 50px; right: -16px;
  width: 88px; height: 88px;
  border: 3px solid var(--accent);
  border-radius: 18px;
  opacity: .35;
  transform: rotate(18deg);
  animation: floatA 5s ease-in-out infinite;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gray-300));
  animation: scrollAnim 2.4s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: .8; }
  50% { transform: scaleY(1.3); opacity: .35; }
}

/* ----------------------------------------------------------
   CLIENTS — Carousel
---------------------------------------------------------- */
.clients {
  background: var(--white);
  padding: 56px 0 72px;
  position: relative;
}
.clients::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.clients-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 52px;
}
.clients-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
  line-height: 1.1;
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
}
.clients-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.clients-sub {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.clients-carousel {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  animation: clients-marquee 22s linear infinite;
}
.clients-item {
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.client-logo {
  height: 120px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  opacity: .7;
  transition: opacity .3s, transform .3s;
}
.client-logo:hover { opacity: 1; transform: scale(1.07); }

@keyframes clients-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .clients-item { width: 180px; }
  .client-logo  { height: 80px; max-width: 150px; }
}

/* ----------------------------------------------------------
   WHY US
---------------------------------------------------------- */
.why-us {
  padding: var(--section-py) 0;
  background: var(--white);
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual side */
.why-visual { position: relative; height: 540px; }
.why-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.why-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 5px solid var(--white);
}
.why-badge {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  background: var(--yellow);
  border-radius: 20px;
  padding: 28px 32px;
  z-index: 3;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  min-width: 160px;
}
.why-badge-num {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  letter-spacing: -2px;
}
.why-badge-lbl {
  font-size: 13px;
  color: rgba(0,0,0,.7);
  white-space: nowrap;
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Decorative corner bracket */
.why-bracket {
  position: absolute;
  bottom: 30px; left: 16px;
  width: 50px; height: 50px;
  border-bottom: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 0 0 0 8px;
  opacity: .4;
}

/* Content side */
.why-checks { display: flex; flex-direction: column; gap: 18px; margin: 30px 0 36px; }
.why-check { display: flex; gap: 16px; align-items: flex-start; }
.why-check-icon {
  width: 46px; height: 46px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.why-check-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.why-check-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.stat-item {
  padding: 26px 20px;
  text-align: center;
  border-right: 1.5px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-lbl { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* ----------------------------------------------------------
   SERVICES
---------------------------------------------------------- */
.services {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.services-header p { font-size: 16px; color: var(--text-muted); margin-top: 14px; }

/* Filter tabs */
.services-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.svc-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition-fast);
}
.svc-tab.active, .svc-tab:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Cards grid — 5 cards: 3 cols top row, 2 centred bottom row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Last 2 cards centred when there are exactly 5 */
.services-grid .svc-card:nth-child(4) { grid-column: 1; }
.services-grid .svc-card:nth-child(5) { grid-column: 2; }
.svc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc-card-img { height: 196px; overflow: hidden; position: relative; background: var(--gray-100); }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-card-img img { transform: scale(1.06); }
.svc-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.svc-card:hover .svc-card-img-overlay { opacity: 1; }

.svc-card-body { padding: 28px; }
.svc-card-icon {
  width: 50px; height: 50px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.svc-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}
.svc-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 20px;
}
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  transition: gap .2s;
}
.svc-card:hover .svc-card-link { gap: 10px; }

/* ----------------------------------------------------------
   ABOUT — STÉPHANE DELGADO
---------------------------------------------------------- */
.about-section {
  padding: var(--section-py) 0;
  background: #0F1729;
  overflow: hidden;
  position: relative;
}
/* Subtle dot grid on dark navy */
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.about-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(39,145,245,.12) 0%, transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-visual { position: relative; }
.about-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  position: relative;
  z-index: 1;
}
.about-deco-sq {
  position: absolute;
  width: 110px; height: 110px;
  border: 2.5px solid var(--yellow);
  border-radius: 16px;
  bottom: -18px; right: -18px;
  opacity: .38;
  z-index: 0;
}
.about-deco-dot-1 {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: 30px; left: -18px;
  opacity: .7;
}
.about-deco-dot-2 {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  bottom: 80px; left: -28px;
  opacity: .5;
}

.about-content {}
.about-content h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--white);
  margin-bottom: 20px;
}
.about-content p {
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(255,255,255,.62);
  margin-bottom: 16px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0;
}
.about-tag {
  padding: 7px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.about-socials {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.about-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  transition: background .2s, color .2s, border-color .2s;
}
.about-social-btn:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border-color: rgba(255,255,255,.22);
}

/* ----------------------------------------------------------
   PROJECT CTA BAND
---------------------------------------------------------- */
.project-cta {
  background: #2791F5;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.project-cta::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.project-cta::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 360px; height: 360px;
  background: rgba(0,0,0,.06);
  border-radius: 50%;
  pointer-events: none;
}
.project-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.project-cta h2 {
  color: var(--white);
  font-size: clamp(30px, 3.5vw, 46px);
  margin-bottom: 14px;
}
.project-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}
.project-cta-checks {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
}
.cta-check {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
}
.cta-check-ico {
  width: 22px; height: 22px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  color: var(--white);
}
.project-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----------------------------------------------------------
   BLOG
---------------------------------------------------------- */
.blog {
  padding: var(--section-py) 0;
  background: var(--white);
}
.blog-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 20px;
}
.blog-top-left {}
.blog-top-left p { color: var(--text-muted); font-size: 15px; margin-top: 10px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .2s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card-img { height: 204px; overflow: hidden; background: var(--gray-100); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: 24px 26px 28px; }
.blog-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px;
}
.blog-title {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray-400);
}
.blog-meta-sep { opacity: .4; }

/* ----------------------------------------------------------
   FAQ
---------------------------------------------------------- */
.faq {
  padding: var(--section-py) 0;
  background: var(--white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.faq-left h2 { margin-bottom: 16px; }
.faq-left p { font-size: 15px; color: var(--text-muted); line-height: 1.72; margin-bottom: 28px; }

.faq-items {}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }

.faq-q, .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  user-select: none;
  transition: color .2s;
}
.faq-q:hover, .faq-question:hover { color: var(--accent); }
.faq-item.open .faq-q,
.faq-item.open .faq-question { color: var(--accent); }

.faq-icon {
  width: 26px; height: 26px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .25s, background .25s, transform .35s;
}
.faq-icon::after {
  content: '';
  display: block;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
  transition: border-color .2s, transform .35s;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: none;
}
.faq-item.open .faq-icon::after {
  border-color: var(--white);
  transform: rotate(-135deg) translateY(-2px);
}

/* Chevron SVG pour .faq-question (pages services) */
.faq-chevron {
  width: 20px; height: 20px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform .35s, stroke .2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--accent); }

.faq-a, .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s ease, padding .28s;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 0 20px; }
.faq-item.open .faq-answer { max-height: 600px; padding: 0 0 20px; }
.faq-a p, .faq-answer p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.faq-a ul { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.faq-a ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.faq-a ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* ----------------------------------------------------------
   GOOGLE REVIEWS
---------------------------------------------------------- */
.reviews {
  padding: var(--section-py) 0;
  background: var(--dark);
}
.reviews-header {
  text-align: center;
  margin-bottom: 50px;
}
.reviews-header h2 { color: var(--white); margin-bottom: 10px; }
.reviews-header p { color: rgba(255,255,255,.45); font-size: 15px; }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.reviews-score-big {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.reviews-score-details {}
.reviews-stars { color: #FBBC04; font-size: 24px; letter-spacing: 3px; margin-bottom: 4px; }
.reviews-count { font-size: 13px; color: rgba(255,255,255,.4); }

/* Elfsight widget container */
.reviews .elfsight-app-528ab2ba-536a-43b7-83d8-7f38e664e5bd {
  max-width: 100%;
}

/* ----------------------------------------------------------
   SITE FOOTER
---------------------------------------------------------- */
.site-footer {
  background: var(--black);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Brand col */
.footer-brand {}
.footer-logo { height: 28px; width: auto; margin-bottom: 20px; }
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,.42);
  line-height: 1.68;
  max-width: 260px;
  margin-bottom: 26px;
}
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.5);
  transition: background .2s, color .2s, border-color .2s;
}
.footer-social:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* Footer cols */
.footer-col h4, .footer-col .footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

/* Contact items */
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-ico {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.05);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(255,255,255,.45);
}
.footer-contact-txt {
  font-size: 13.5px;
  color: rgba(255,255,255,.52);
  line-height: 1.5;
}
.footer-contact-txt a { transition: color .2s; }
.footer-contact-txt a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,.25); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* ----------------------------------------------------------
   MODAL — ÊTRE RAPPELÉ
---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s, visibility .32s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  transform: scale(.93) translateY(16px);
  transition: transform .38s var(--ease-spring);
  box-shadow: 0 48px 120px rgba(0,0,0,.45);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-head {
  background: linear-gradient(135deg, var(--accent) 0%, #1a3a6e 100%);
  padding: 36px 40px 28px;
  position: relative;
}
.modal-close-btn {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
  line-height: 1;
}
.modal-close-btn:hover { background: rgba(255,255,255,.2); color: var(--white); }

.modal-head h3, .modal-head .modal-title {
  font-size: 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
}
.modal-head p { font-size: 14px; color: rgba(255,255,255,.48); }

.modal-body { padding: 32px 40px 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 7px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px var(--accent-light);
}
.form-textarea { resize: vertical; min-height: 90px; }

.form-submit {
  width: 100%;
  height: 54px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: 8px;
  border: none;
}
.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(9,0,255,.3);
}
.form-submit:active { transform: scale(.98); }

.form-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 14px;
}

/* ----------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal-left.visible  { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ----------------------------------------------------------
   TOAST NOTIFICATION
---------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--black);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform .4s var(--ease-spring), opacity .4s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 18px; }

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */

/* ── Tablette large ── */
@media (max-width: 1200px) {
  .hero-inner  { gap: 44px; }
  .why-us-grid { gap: 44px; }
  .about-grid  { grid-template-columns: 360px 1fr; gap: 52px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; }
  .why-badge   { right: -16px; }
}

/* ── Tablette ── */
@media (max-width: 1024px) {
  :root { --section-py: 68px; }

  /* Header */
  .nav-list        { display: none; }
  .header-phone    { display: none; }
  .header-nav      { display: none; }
  .header-actions  { display: none; }
  .burger          { display: flex; flex-shrink: 0; margin-left: auto; }
  .mobile-menu     { display: block; }
  .site-header .container { padding: 0 20px; height: 100%; }

  /* Hero */
  .hero-inner          { grid-template-columns: 1fr; gap: 36px; padding: 50px 0 70px; text-align: center; }
  .hero-content        { display: flex; flex-direction: column; align-items: center; }
  .hero-eyebrow        { align-self: center; }
  .hero-desc           { margin: 0 auto 36px; }
  .hero-cta-row        { justify-content: center; flex-wrap: wrap; }
  .hero-stats          { justify-content: center; }
  .hero-stat           { flex: none; padding-right: 24px; margin-right: 24px; text-align: center; }
  .hero-visual         { height: 320px; width: 100%; max-width: 520px; margin: 0 auto; }
  .hero-img-main       { width: 82%; height: 280px; }
  .hero-img-secondary  { width: 48%; height: 170px; }
  .hero-badge          { top: 20px; left: 6px; max-width: 200px; }
  .hero-decor-ring     { display: none; }

  /* Cacher les shapes décoratifs */
  .hero-shape-1, .hero-shape-2, .hero-shape-3,
  .hero-shape-4, .hero-shape-5, .hero-shape-6 { display: none; }

  /* Why us */
  .why-us-grid  { grid-template-columns: 1fr; gap: 60px; }
  .why-visual   { height: 360px; order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .why-badge    { right: 0; top: 50%; }

  /* About */
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 440px; margin: 0 auto; width: 100%; }

  /* Project CTA */
  .project-cta-inner { grid-template-columns: 1fr; gap: 36px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services-grid .svc-card:nth-child(4),
  .services-grid .svc-card:nth-child(5) { grid-column: auto; }

  /* Blog */
  .blog-grid  { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* FAQ */
  .faq-grid   { grid-template-columns: 1fr; gap: 36px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root { --section-py: 52px; --header-h: 64px; }

  /* Header */
  .header-logo img { height: 36px; }
  .header-inner    { gap: 16px; }
  .site-header .container { padding: 0 16px; height: 100%; }

  /* Clients carousel mobile */
  .clients-item { width: 170px; }
  .client-logo  { height: 72px; max-width: 140px; }

  /* Hero */
  .hero-inner         { padding: 40px 0 60px; gap: 28px; }
  .hero-title         { font-size: 34px; letter-spacing: -1.5px; }
  .hero-desc          { font-size: 15px; }
  .hero-cta-row       { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .hero-cta-row .btn  { width: 100%; max-width: 340px; justify-content: center; }
  .hero-stats         { flex-direction: column; gap: 0; border-top: 1.5px solid var(--gray-200); padding-top: 28px; }
  .hero-stat          { border-right: none; border-bottom: 1.5px solid var(--gray-200); padding: 16px 0; margin: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .hero-stat:last-child { border-bottom: none; }
  .hero-stat-val      { font-size: 28px; }
  .hero-visual        { height: 260px; }
  .hero-img-main      { width: 88%; height: 230px; border-radius: 16px; }
  .hero-img-secondary { width: 50%; height: 140px; border-radius: 12px; }
  .hero-badge         { padding: 6px 10px; max-width: 180px; border-radius: 10px; }

  /* Why us — image simple sur mobile */
  .why-visual         { height: auto; }
  .why-img-main       { position: relative; width: 100%; height: 260px; border-radius: var(--radius-lg); }
  .why-img-secondary  { display: none; }
  .why-badge          { position: relative; top: auto; right: auto; transform: none;
                        display: inline-flex; align-items: center; gap: 16px;
                        margin-top: 16px; padding: 16px 24px; border-radius: 14px; min-width: 0; }
  .why-badge-num      { font-size: 36px; }
  .why-bracket        { display: none; }

  /* About */
  .about-grid         { gap: 32px; }
  .about-visual       { max-width: 100%; }
  .about-deco-sq,
  .about-deco-dot-1,
  .about-deco-dot-2   { display: none; }
  .about-content h2   { font-size: 28px; }
  .about-socials      { flex-direction: column; }
  .about-social-btn   { justify-content: center; }

  /* Services */
  .services-grid      { grid-template-columns: 1fr; gap: 16px; }
  .services-header    { margin-bottom: 32px; }
  .services-tabs      { gap: 6px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start;
                        padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .svc-tab            { white-space: nowrap; padding: 9px 16px; font-size: 13px; flex-shrink: 0; }

  /* Blog */
  .blog-grid          { grid-template-columns: 1fr; gap: 16px; }
  .blog-top           { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* FAQ */
  .faq-grid           { gap: 24px; }
  .faq-q, .faq-question { font-size: 14.5px; padding: 16px 0; }

  /* Project CTA */
  .project-cta-btns   { flex-direction: column; }
  .project-cta-btns .btn { justify-content: center; }
  .project-cta        { padding: 56px 0; }
  .project-cta h2     { font-size: 26px; }

  /* Footer */
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand       { grid-column: 1 / -1; text-align: center; }
  .footer-brand .footer-tagline { max-width: 100%; }
  .footer-brand .footer-socials { justify-content: center; }
  .footer-col         { text-align: left; }
  .footer-bottom      { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-legal       { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* Modal */
  .modal-head         { padding: 22px 20px 18px; }
  .modal-body         { padding: 22px 20px 28px; }
  .modal-head h3, .modal-head .modal-title { font-size: 21px; }
  .form-row           { grid-template-columns: 1fr; gap: 0; }

  /* Stats */
  .stats-row          { grid-template-columns: 1fr; }
  .stat-item          { border-right: none; border-bottom: 1.5px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
}

/* ==========================================================
   PAGES INTÉRIEURES — STYLES COMMUNS
========================================================== */

/* Page Hero */
.page-hero {
  background: var(--dark);
  padding: calc(var(--header-h) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.page-hero-inner {
  flex: 1;
  min-width: 0;
}
.page-hero-visual {
  position: relative;
  width: 420px;
  height: 460px;
  flex-shrink: 0;
}
.phv-img {
  position: absolute;
  object-fit: cover;
  border-radius: 20px;
}
.phv-img--back {
  width: 300px;
  height: 380px;
  top: 0;
  right: 0;
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
}
.phv-img--front {
  width: 230px;
  height: 290px;
  bottom: 0;
  left: 0;
  border: 5px solid var(--dark);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  z-index: 2;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}
.page-breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.page-breadcrumb a:hover { color: var(--white); }
.page-breadcrumb span { color: rgba(255,255,255,.25); }
.page-hero-tag { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 22px;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero h1 .yellow { color: var(--yellow); }
.page-hero-desc {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 640px;
}
.page-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.page-hero-stat-val {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.page-hero-stat-val span { color: var(--accent); }
.page-hero-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

/* Page Content */
.page-content { padding: var(--section-py) 0; }
.page-content-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.page-content-grid.reverse { grid-template-columns: 420px 1fr; }
.page-content-grid.reverse .page-sidebar { order: -1; }

/* Section standard */
.inner-section { padding: var(--section-py) 0; }
.inner-section.dark { background: var(--dark); }
.inner-section.off { background: var(--off-white); }

/* Intro text */
.intro-lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.prose p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; }
.prose h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--text); margin: 36px 0 14px; letter-spacing: -.4px; }
.prose h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.prose ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.prose ul li { padding-left: 22px; position: relative; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.process-step:last-child { border-bottom: none; }
.process-step-num {
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-step-body h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.process-step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Offres / Pricing cards */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.offer-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.offer-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(9,0,255,.1); transform: translateY(-4px); }
.offer-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(9,0,255,.04), rgba(9,0,255,.01));
  position: relative;
}
.offer-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.offer-name { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.offer-price { font-family: var(--font-heading); font-size: 32px; font-weight: 800; color: var(--accent); letter-spacing: -1px; margin-bottom: 4px; }
.offer-price small { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.offer-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.offer-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.offer-features li { font-size: 14px; color: var(--text-secondary); padding-left: 20px; position: relative; }
.offer-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 13px; }

/* Page Sidebar */
.page-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 24px;
}
.sidebar-card.accent-card {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.sidebar-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.sidebar-card.accent-card h3 { color: var(--white); }
.sidebar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.sidebar-card.accent-card p { color: rgba(255,255,255,.8); }
.sidebar-nav { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--accent-light); color: var(--accent); }
.sidebar-nav a .arrow { font-size: 12px; opacity: .4; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  padding: 28px 24px;
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.feature-card h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* CTA Band (page) */
.cta-band {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-heading); font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--white); letter-spacing: -1px; margin-bottom: 14px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page FAQ */
.page-faq { padding: var(--section-py) 0; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -.5px; margin-bottom: 14px; }
.faq-intro p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.faq-list { padding-top: 4px; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-info-body strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.contact-info-body span, .contact-info-body a { font-size: 15px; color: var(--text-secondary); }
.contact-info-body a:hover { color: var(--accent); }

/* Réalisations */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.realisation-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  display: block;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  border: 1px solid var(--gray-100);
}
.realisation-card--linked:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.13); }
.realisation-thumb {
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
/* Image en taille réelle, sans crop */
.realisation-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
  border-radius: 10px 10px 0 0;
}
.realisation-card--linked:hover .realisation-thumb img { transform: scale(1.03); }
.realisation-overlay {
  position: absolute; inset: 0;
  background: rgba(0,60,150,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(2px);
}
.realisation-card--linked:hover .realisation-overlay { opacity: 1; }
.realisation-overlay span { color: white; font-weight: 700; font-size: 16px; }
.realisation-body { padding: 18px 20px; background: var(--white); }
.realisation-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 6px; }
.realisation-body h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.realisation-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.realisation-services { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Section Reviews (Elfsight) ──────────────────────────────── */
.section-reviews {
  padding: 60px 0 20px;
  background: var(--white);
}

/* ── Hero rating badge — positionné dans le visuel ───────────── */
.hero-rating-badge {
  margin-top: 16px;
}
/* Badge positionné dans page-hero-visual (pages service) */
.page-hero-visual .hero-rating-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  z-index: 20;
  margin-top: 0;
  max-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 4px;
}
/* ── Page Contact ───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Formulaire */
.contact-form-col { min-width: 0; }
.contact-submit   { width: 100%; margin-top: 8px; }
.contact-gdpr     { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }

/* Items coordonnées */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--accent-10);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-body       { min-width: 0; }
.contact-item-label      { font-weight: 700; margin-bottom: 4px; font-size: 15px; color: var(--dark); }
.contact-item-link       { color: var(--accent); transition: color .2s; font-size: 14px; }
.contact-item-link:hover { color: var(--dark); }
.contact-item-body span  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* CTA box */
.contact-cta-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-cta-box h3 { font-size: 18px; color: var(--dark); }
.contact-cta-box p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Message de succès formulaire contact */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 60px 40px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  min-height: 320px;
}
.contact-success strong { font-size: 22px; color: var(--dark); }
.contact-success p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* Responsive tablette */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-info-col { order: -1; }  /* Coordonnées en premier sur mobile */
  .contact-items { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .contact-item  { flex: 1 1 calc(50% - 8px); min-width: 200px; }
}

/* Responsive mobile */
@media (max-width: 600px) {
  .contact-layout { gap: 36px; }
  .contact-items  { flex-direction: column; gap: 16px; }
  .contact-item   { flex: none; width: 100%; }
  .contact-cta-box { padding: 20px; }
  /* form-row en colonne sur petit mobile */
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ── GEO page — bande logos IA ─────────────────────────────── */
.geo-ai-logos {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.geo-ai-logos-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.geo-ai-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.geo-ai-logos-row img {
  flex: 1;
  min-width: 0;
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .8;
  transition: opacity .2s, transform .2s;
}
.geo-ai-logos-row img:hover { opacity: 1; transform: scale(1.05); }

@media (max-width: 1024px) {
  .geo-ai-logos-row img { height: 44px; }
}
@media (max-width: 768px) {
  .geo-ai-logos { margin-top: 28px; gap: 12px; }
  .geo-ai-logos-row { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .geo-ai-logos-row img { flex: 0 0 calc(33% - 8px); height: 36px; }
}
@media (max-width: 480px) {
  .geo-ai-logos-row img { flex: 0 0 calc(50% - 6px); height: 30px; }
}

/* ── Sections Preuves / Résultats ───────────────────────────── */
.resultats-section { background: var(--gray-50); }
.resultats-section--dark {
  background: linear-gradient(135deg, #0f1f45 0%, #1a3a6e 100%);
}

.resultats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.resultats-grid--2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) {
  .resultats-grid            { grid-template-columns: repeat(2, 1fr); }
  .resultats-grid--2col      { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .resultats-grid,
  .resultats-grid--2col      { grid-template-columns: 1fr; }
}

.resultat-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid var(--gray-100);
  transition: transform .25s, box-shadow .25s;
  cursor: zoom-in;
}
.resultat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}

.resultat-img-wrap {
  overflow: hidden;
  background: #f8f9fc;
  line-height: 0;
}
.resultat-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
}
.resultat-card:hover .resultat-img-wrap img { transform: scale(1.03); }

/* Plus grand pour la grille 2 colonnes */
.resultat-card--tall .resultat-img-wrap img { max-height: 420px; object-fit: contain; }

.resultat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

.resultats-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* ── Lightbox ────────────────────────────────────────────────── */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  cursor: zoom-out;
}
#lightbox-overlay.active { display: flex; }

#lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  animation: lb-in .2s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

#lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}
#lightbox-close:hover { opacity: 1; }

#lightbox-caption {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  text-align: center;
  margin: 0;
}

/* Hint zoom sur les cartes résultat */
.resultat-img-wrap { position: relative; }
.resultat-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .25s;
  border-radius: 0;
}
.resultat-card:hover .resultat-zoom-hint { opacity: 1; }
.resultat-card[data-lightbox] { cursor: zoom-in; }

/* ── Sections Vidéo YouTube ─────────────────────────────────── */
.video-section { background: var(--white); }
.video-section--accent { background: var(--gray-50); }

.video-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.video-section-layout--reverse { direction: rtl; }
.video-section-layout--reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .video-section-layout,
  .video-section-layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
  }
}

.video-section-text { display: flex; flex-direction: column; gap: 16px; }
.video-section-text h2 { margin: 0; }
.video-section-text p  { color: var(--text-muted); line-height: 1.7; margin: 0; }

.video-checklist {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--dark);
  font-weight: 500;
}
.video-checklist li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--accent-10);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M9 11.4L6.6 9 5.2 10.4l3.8 3.8 8-8L15.6 4.8z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Ratio 16:9 responsive pour l'iframe */
.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Section Certifications ─────────────────────────────────── */
.certif-section { background: var(--gray-50); }

.certif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .certif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .certif-grid { grid-template-columns: 1fr; } }

.certif-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  border: 1px solid var(--gray-100);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.certif-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #1a3a6e);
}
.certif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
}

.certif-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.certif-issuer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.certif-logo { height: 18px; width: auto; }

.certif-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin: 0;
}

.certif-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.certif-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.certif-tags span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  background: var(--accent-10);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 99px;
}

.certif-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 0 0;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
  transition: gap .2s;
}
.certif-dl:hover { gap: 10px; }
.certif-dl svg { flex-shrink: 0; }

.certif-trust {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.06) 0%, rgba(26,58,110,.06) 100%);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 780px;
  margin: 0 auto;
}
.certif-trust svg { flex-shrink: 0; margin-top: 2px; }
.certif-trust p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.certif-trust strong { color: var(--dark); }

/* ── Page projet — hero 1 seule image ────────────────────────── */
.projet-hero-visual {
  position: relative;
  /* overflow visible pour que le badge puisse déborder */
  overflow: visible;
}
.projet-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}
/* Badge superposé, hors du clip de l'image */
.projet-hero-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  z-index: 20;
  max-width: 240px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 6px 8px;
}
@media (max-width: 768px) {
  .page-projet [style*="grid-template-columns:2fr 1fr"],
  .page-projet [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .projet-hero-badge { left: 8px; bottom: 8px; max-width: 180px; }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.blog-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.blog-card-thumb {
  aspect-ratio: 16/9;
  background: var(--off-white);
  overflow: hidden;
}
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-body { padding: 22px 20px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--accent); }
.blog-card-date { font-size: 12px; color: var(--text-muted); }
.blog-card-body h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 10px; }
.blog-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-card-link { font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.blog-card-link::after { content: '→'; }

/* Sous-titre de section */
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  display: block;
  margin-top: 12px;
}
@media (max-width: 768px) { .section-sub { font-size: 15px; } }

/* Section header centered */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header-center h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--text); letter-spacing: -.5px; margin-bottom: 14px; }
.section-header-center.white h2 { color: var(--white); }
.section-header-center p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.section-header-center.white p { color: rgba(255,255,255,.55); }

/* Split sections (image + texte) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-section.split-reverse {
  grid-template-columns: 1fr 1fr;
}
.split-visual {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.split-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform .5s var(--ease);
}
.split-section:hover .split-visual img { transform: scale(1.03); }
.split-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.split-text .section-tag { margin-bottom: 16px; }
.split-text h2 { margin-bottom: 20px; }
.split-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.split-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 0;
}
.split-list li {
  padding-left: 26px;
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.split-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Responsive interior pages */
@media (max-width: 1024px) {
  .page-content-grid, .page-content-grid.reverse, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-content-grid.reverse .page-sidebar { order: 0; }
  .page-sidebar { position: static; }
  .offers-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .realisations-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section, .split-section.split-reverse { grid-template-columns: 1fr; gap: 36px; }
  .split-section.split-reverse .split-visual { order: -1; }
  .split-visual img { height: 300px; }
}
/* ── Tableau comparatif ── */
.compare-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.compare-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.compare-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
}
.compare-table thead th:first-child { background: var(--gray-200); color: var(--text); }
.compare-table thead th:nth-child(2) { background: #0b1d36; color: rgba(255,255,255,.9); text-align: center; }
.compare-table thead th:last-child { background: var(--accent); color: var(--white); text-align: center; }
.compare-table tbody tr:nth-child(odd) td:first-child { background: var(--white); }
.compare-table tbody tr:nth-child(even) td:first-child { background: var(--gray-50); }
.compare-table tbody td {
  padding: 15px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}
.compare-table tbody td:first-child { color: var(--text); font-weight: 500; }
.compare-table tbody td:nth-child(2) { background: #0f2847; color: rgba(255,255,255,.85); font-size: 13px; text-align: center; }
.compare-table tbody td:last-child { background: rgba(39,145,245,.07); color: var(--accent); font-weight: 700; font-size: 13px; text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-cta-text {
  margin: 40px auto 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 800px;
  text-align: center;
}

/* ── Section territoire ── */
.territory-section {
  padding: var(--section-py) 0;
  background: var(--dark);
}
.territory-inner {
  display: flex;
  gap: 80px;
  align-items: center;
}
.territory-content { flex: 1; min-width: 0; }
.territory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.territory-tag {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 13px;
  transition: background .2s;
}
.territory-tag strong { color: var(--accent); }
.territory-stats {
  flex-shrink: 0;
  width: 260px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.territory-stat-card { text-align: center; }
.territory-stat-val {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
}
.territory-stat-val span { color: var(--yellow); }
.territory-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
@media (max-width: 900px) {
  .territory-inner { flex-direction: column; gap: 40px; }
  .territory-stats { width: 100%; }
}

/* ── Branding page — 3 lignes logos défilants ── */
.brand-logos-row {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  margin-bottom: 16px;
}
.brand-logos-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.brand-logos-track--left {
  animation: brandScrollLeft 22s linear infinite;
}
.brand-logos-track--right {
  animation: brandScrollRight 22s linear infinite;
}
.brand-logo-item {
  width: 120px;
  height: 64px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}
.brand-logo-item img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: none;
  pointer-events: none;
}
/* Les logos sont dupliqués 3× dans le PHP → on translate d'1/3 pour la boucle parfaite */
@keyframes brandScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
@keyframes brandScrollRight {
  0%   { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

/* ── Toutes pages intérieures — Hero dégradé bleu nuit ── */
.page-hero {
  background: linear-gradient(135deg, #06101e 0%, #0b1d36 45%, #0f2847 100%);
}
.page-hero::before {
  background-image: radial-gradient(circle, rgba(39,145,245,.10) 1px, transparent 1px);
}
.page-hero h1 {
  color: var(--accent);
}
.page-hero h1 .yellow {
  color: var(--yellow);
}
.page-hero-stats {
  border-top-color: rgba(39,145,245,.2);
}
.phv-img--front {
  border-color: #0b1d36;
}

/* ── Page Branding — hero visuel ── */
.page-branding .page-hero-visual {
  width: 520px;
  height: 500px;
}
.page-branding .phv-img--back {
  width: 480px;
  height: 480px;
}
.phv-logo-card {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  object-fit: unset;
}
.phv-logo-inner {
  width: 140px;
  height: auto;
  display: block;
}

/* ── Page Agence — photo back 500px carré ── */
.page-agence .page-hero-visual {
  width: 540px;
  height: 520px;
}
.page-agence .phv-img--back {
  width: 500px;
  height: 500px;
}
/* ── Page Agence — fondateur centré verticalement ── */
.page-agence .page-content-grid.reverse {
  align-items: center;
}

/* ── Pages intérieures — tablette (1024 → 768px) ── */
@media (max-width: 1024px) {
  /* Hero : réduire la taille de la visual */
  .page-hero-layout { gap: 36px; }
  .page-hero-visual { width: 340px; height: 380px; }
  .phv-img--back    { width: 240px; height: 300px; }
  .phv-img--front   { width: 160px; height: 180px; }

  /* Inner sections */
  .page-content-grid,
  .page-content-grid.reverse { gap: 40px; }

  /* Réalisations */
  .realisations-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* CTA band */
  .cta-inner { flex-direction: column; text-align: center; gap: 24px; }
  .cta-actions { justify-content: center; }
}

/* ── Pages intérieures — mobile (< 768px) ── */
@media (max-width: 768px) {
  .page-hero { padding: calc(var(--header-h) + 40px) 0 48px; }
  .page-hero h1 { font-size: 28px; line-height: 1.2; }
  .page-hero-layout { flex-direction: column; gap: 32px; }
  .page-hero-visual { display: none; }
  .page-hero-inner { text-align: center; }
  .page-breadcrumb { justify-content: center; }
  .page-hero-cta { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .page-hero-stats { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .page-hero-desc { font-size: 15px; }

  .offers-grid, .features-grid, .realisations-grid, .blog-grid { grid-template-columns: 1fr; }
  .process-step { gap: 16px; }
  .split-visual img { height: 240px; }

  /* Sections intérieures en colonne */
  .page-content-grid,
  .page-content-grid.reverse,
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }

  /* Certifications */
  .certif-grid { grid-template-columns: 1fr; }

  /* Résultats / screenshots */
  .resultats-grid { grid-template-columns: 1fr; }
  .resultats-grid--2col { grid-template-columns: 1fr; }

  /* Vidéos */
  .video-section-layout,
  .video-section-layout--reverse { direction: ltr; grid-template-columns: 1fr; gap: 28px; }

  /* Section hero agence */
  .page-agence .phv-img--back  { position: relative; width: 100%; max-width: 360px; margin: 0 auto; height: 300px; border-radius: 16px; }
  .page-agence .phv-img--front { display: none; }
}

/* ── Petit mobile ── */
@media (max-width: 480px) {
  :root { --section-py: 44px; --header-h: 60px; }
  .container          { padding: 0 16px; }
  .hero-title         { font-size: 30px; letter-spacing: -1px; }
  .hero-visual        { height: 220px; }
  .hero-img-main      { height: 190px; border-radius: 12px; }
  .hero-img-secondary { height: 120px; border-radius: 10px; }
  .clients-item { width: 150px; }
  .client-logo  { height: 60px; }
  .clients-label      { font-size: 18px; margin-bottom: 28px; }
  .svc-card-body      { padding: 20px; }
  .about-tags         { gap: 7px; }
  .about-tag          { font-size: 12px; padding: 5px 12px; }

  /* Footer une seule colonne centrée */
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand       { grid-column: auto; }
  .footer-col         { text-align: center; }
  .footer-links       { align-items: center; }
  .footer-contact-item { justify-content: center; }
  .footer-logo        { margin: 0 auto 16px; }
  .site-footer        { padding: 48px 0 0; }

  /* Consultant SEO */
  .cseo-advantages    { grid-template-columns: 1fr; }
  .cseo-bio-grid      { grid-template-columns: 1fr; }
  .cseo-bio-photo     { max-width: 320px; margin: 0 auto; }
  .cseo-services-grid { grid-template-columns: 1fr; }
  .cseo-methodology   { flex-direction: column; }
  .cseo-meth-connector { width: 2px; height: 32px; margin: 0 auto; }
  .cseo-benefits-grid { grid-template-columns: 1fr; }
  .cseo-kpis          { grid-template-columns: 1fr 1fr; }
  .cseo-agencies      { grid-template-columns: 1fr; }
  .cseo-agency-guide-grid { grid-template-columns: 1fr; }
  .cseo-formation-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PAGE CONSULTANT SEO BORDEAUX
══════════════════════════════════════════════════════════ */

/* Avantages 4 colonnes */
.cseo-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cseo-adv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.cseo-adv-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.cseo-adv-icon { font-size: 32px; margin-bottom: 16px; }
.cseo-adv-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.cseo-adv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Bio section */
.cseo-bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.cseo-bio-photo {
  position: relative;
}
.cseo-bio-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  display: block;
}
.cseo-bio-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb),.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cseo-bio-badge-title { font-weight: 700; font-size: 14px; }
.cseo-bio-badge-sub { font-size: 12px; opacity: .85; }
.cseo-bio-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cseo-bio-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.cseo-bio-highlight {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* Services 3 colonnes */
.cseo-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.cseo-service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.cseo-service-card:hover { border-color: rgba(255,255,255,.25); }
.cseo-service-card--featured {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15);
}
.cseo-service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}
.cseo-service-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.cseo-service-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cseo-service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cseo-service-card li {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  padding-left: 16px;
  position: relative;
}
.cseo-service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}
.cseo-service-price {
  margin-top: 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* Méthodologie */
.cseo-methodology {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.cseo-meth-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  flex: 1;
}
.cseo-meth-connector {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: auto 0;
}
.cseo-meth-connector::before {
  content: '';
  width: 100%;
  height: 2px;
  background: var(--accent);
  display: block;
}
.cseo-meth-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cseo-meth-duration {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.cseo-meth-body h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.cseo-meth-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Bénéfices freelance */
.cseo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.cseo-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.cseo-benefit-icon { font-size: 22px; flex-shrink: 0; }
.cseo-benefit h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.cseo-benefit p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* KPIs */
.cseo-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cseo-kpi {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.15);
}
.cseo-kpi-icon { font-size: 28px; margin-bottom: 12px; }
.cseo-kpi-val {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}
.cseo-kpi-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cseo-kpi p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }

/* Guide agences */
.cseo-agencies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.cseo-agency {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s;
}
.cseo-agency:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.cseo-agency--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(var(--accent-rgb),.12);
}
.cseo-agency-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cseo-agency-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cseo-agency-emoji { font-size: 28px; }
.cseo-agency-header h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 0; }
.cseo-agency-header p { font-size: 12px; color: var(--text-muted); margin: 0; }
.cseo-agency > p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.cseo-agency-pros {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cseo-agency-pros li {
  font-size: 13px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.cseo-agency-pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.cseo-agency-contact {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.cseo-agency-guide {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.cseo-agency-guide h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
  text-align: center;
}
.cseo-agency-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cseo-agency-guide-grid > div {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.cseo-agency-guide-grid strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--dark); }
.cseo-agency-guide-grid p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Formation */
.cseo-formation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.cseo-formation-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.cseo-formation-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.cseo-formation-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cseo-formation-card li { font-size: 14px; color: var(--text); padding-left: 18px; position: relative; }
.cseo-formation-card li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

@media (max-width: 1024px) {
  .cseo-advantages    { grid-template-columns: 1fr 1fr; }
  .cseo-services-grid { grid-template-columns: 1fr; gap: 32px; }
  .cseo-kpis          { grid-template-columns: 1fr 1fr; }
  .cseo-agencies      { grid-template-columns: 1fr 1fr; }
  .cseo-agency-guide  { padding: 28px; }
  .cseo-agency-guide-grid { grid-template-columns: 1fr 1fr; }
  .cseo-bio-grid      { grid-template-columns: 1fr; gap: 48px; }
  .cseo-bio-photo     { max-width: 340px; margin: 0 auto; }
  .cseo-methodology   { flex-direction: column; gap: 0; }
  .cseo-meth-connector { width: 2px; height: 32px; margin: 0 auto; background: var(--accent); }
  .cseo-meth-connector::before { display: none; }
  .cseo-benefits-grid { grid-template-columns: 1fr; }
}
