/* =========================
   1) VARIABLES & RESET
   ========================= */

:root {
  /* Brand */
  --primary-yellow: #ffca2e;
  --primary-blue: #1464bb;
  --bg-color: #e2f5fe;
  --card-bg: #ffffff;

  /* Text */
  --text-dark: #0f2c4a;
  --text-light: #58728d;

  /* Radius / shadow / motion */
  --radius: 24px;
  --shadow: 0 10px 40px -10px rgba(20, 100, 187, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* AI THEME (section générateur) */
  --ai-blue: var(--section-blue, #0b2b5b);
  --ai-white: rgba(255, 255, 255, 0.95);
  --ai-white-2: rgba(255, 255, 255, 0.12);
  --ai-white-3: rgba(255, 255, 255, 0.18);
  --ai-ink: rgba(10, 20, 30, 0.92);
  --ai-focus: rgba(37, 99, 235, 0.45);
  --ai-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);

  /* XP THEME */
  --color-brand-blue-light: #E0F2FE;
  --color-brand-blue: #1D4ED8;
  --color-brand-yellow: #FEF08A;
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.4;
  overflow-x: hidden;
}

a { text-decoration: none; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(20, 100, 187, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 100, 187, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary-blue);
  border: 2px solid transparent;
}
.btn-secondary:hover { border-color: var(--primary-blue); }

.badge {
  background: rgba(255, 202, 46, 0.2);
  color: #b68a00;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-header p {
  color: var(--text-light);
  margin-top: 10px;
  font-size: 1.1rem;
}


/* =========================
   2) HEADER (LIQUID GLASS)
   ========================= */

header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: 95%;
  transition: all 0.3s ease;
}

.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  gap: 20px;

  background: #fff;                 /* ✅ blanc */
  border-radius: 999px;             /* ✅ pill bien ronde */
  position: relative;
  overflow: visible;  
}

.logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  white-space: nowrap;
}
.logo span { color: var(--primary-yellow); }
.logo-img { width: 120px; }

.nav-links {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 30px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a span,
.header-btn {
  white-space: nowrap;
}
.nav-links a .nav-icon {
  font-size: 1rem;
  color: var(--primary-blue);
  opacity: 0.8;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}
.nav-links a:hover {
  background: rgba(255,255,255,0.8);
  color: var(--primary-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-links a .nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-links a .nav-icon--hash {
  font-weight: 800;
  line-height: 1;
}

.nav-links a:hover .nav-icon { opacity: 1; transform: scale(1.1); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-blue);
  cursor: pointer;
  padding: 5px 10px;
}

.mobile-menu-btn__icon {
  display: inline-block;
  font-size: 1.65rem;
  line-height: 1;
}


/* =========================
   3) HERO SPLIT SIGNATURE
   ========================= */

.hero-split {
  position: relative;
  width: 100%;
  background: var(--bg-color);
  overflow: hidden;
}

/* Full width ambiance: halos */
.hero-split::before,
.hero-split::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  filter: blur(55px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero-split::before {
  left: -300px;
  top: -320px;
  background: radial-gradient(circle at 30% 30%, rgba(20,100,187,0.35), rgba(20,100,187,0) 62%);
}

.hero-split::after {
  right: -320px;
  bottom: -340px;
  background: radial-gradient(circle at 70% 70%, rgba(255,202,46,0.35), rgba(255,202,46,0) 62%);
}

.hero-split__inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 70px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  min-height: 84vh;
}

/* Overline H1 SEO discret */
.hero-split__overline h1 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 44, 74, 0.55);
  margin: 0 0 6px 0;
}

/* H2 visuel */
.hero-split__title {
  font-size: 3.6rem;
  line-height: 1.05;
  margin: 14px 0 14px 0;
  letter-spacing: -1px;
  color: var(--text-dark);
}

.hero-split__title span {
  color: var(--primary-blue);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.hero-split__title span::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--primary-yellow);
  z-index: -1;
  border-radius: 6px;
  opacity: 0.55;
}

.hero-split__lead {
  font-size: 1.02rem;
  color: rgba(88, 114, 141, .88);
  margin-bottom: 20px;
  max-width: 54ch;
  line-height: 1.55;
}

.hero-split__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Row “preuves” sous les CTA */
.hero-split__trust-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  align-items: center;
}

.trust-item {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(20, 100, 187, 0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trust-strong {
  font-weight: 1000;
  color: var(--text-dark);
}

.trust-text {
  font-weight: 800;
  color: rgba(88,114,141,0.90);
  font-size: 0.92rem;
}

/* Signature pill */
.hero-split__signature {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(20, 100, 187, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light);
  font-weight: 800;
  font-size: 0.92rem;
}

.hero-split__sig-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-yellow));
}

/* RIGHT / SCENE */
.hero-split__scene {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

/* Vertical brand text */
.hero-split__brand-vertical {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-weight: 900;
  letter-spacing: 0.22em;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  color: rgba(15, 44, 74, 0.14);
  user-select: none;
  white-space: nowrap;
}

/* Stage */
.hero-split__stage {
  width: min(600px, 96%);
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 30% 30%, #ffe08a, var(--primary-yellow));
  border-radius: 42% 58% 62% 38% / 45% 48% 52% 55%;
  box-shadow: 0 38px 110px rgba(255, 202, 46, 0.20);
  animation: stageFloat 8s ease-in-out infinite;
  position: absolute;
  z-index: 0;
}

/* Characters */
.hero-split__characters {
  z-index: 2;
  width: min(520px, 92%);
  aspect-ratio: 1/1;
  background-image: url('/img/justine-maxime-agence-com.webp');
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0 28px 48px rgba(10, 20, 40, 0.18));
  transform: translateY(-14px);
}

/* Floating chips */
.hero-split__chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(20,100,187,0.10);
  box-shadow: var(--shadow);
  font-weight: 900;
  color: var(--text-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}

.hero-split__chip--seo { left: 6%; top: 16%; }
.hero-split__chip--ads { right: 10%; top: 20%; }
.hero-split__chip--ux  { left: 10%; bottom: 24%; }
.hero-split__chip--wp  { right: 6%; bottom: 26%; }

/* Stats stickers */
.hero-split__stat {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(20,100,187,0.10);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floaty 7s ease-in-out infinite;
}
.hero-split__stat strong {
  font-size: 1.05rem;
  font-weight: 1000;
  color: var(--text-dark);
}
.hero-split__stat span {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--text-light);
}

.hero-split__stat--a { right: 12%; bottom: 10%; transform: rotate(1deg); animation-delay: -1.6s; }
.hero-split__stat--b { left: 12%; top: 38%; transform: rotate(-2deg); animation-delay: -2.8s; }

/* Google review card (scopé hero-split, pour éviter collisions avec l’ancien hero) */
.hero-split .google-review-card {
  position: absolute;
  background: rgba(255,255,255,0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 100, 187, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}
.hero-split__review { left: 4%; bottom: 6%; }

/* Animations */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes stageFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(12px) scale(1.02); }
}

/* Hero split responsive */
@media (max-width: 900px) {
  .hero-split__overline h1 { text-align: center; }
  .hero-split__trust-row { justify-content: center; }
}

@media (max-width: 980px) {
  .hero-split__inner {
    grid-template-columns: 1fr;
    padding: 90px 0 50px 0;
    min-height: auto;
  }

  .hero-split__scene { min-height: 560px; }
  .hero-split__characters { width: min(520px, 96%); }
  .hero-split__stage { width: min(620px, 98%); }

  .hero-split__brand-vertical {
    right: -30px;
    opacity: 0.12;
  }
}

@media (max-width: 520px) {
  .hero-split__title { font-size: 2.6rem; }
  .hero-split__scene { min-height: 520px; }
  .hero-split__characters { width: min(480px, 98%); }
  .hero-split__lead { font-size: 0.98rem; }
}


/* =========================
   4) PROOF STRIP
   ========================= */

.proof-strip {
  padding: 10px 0 30px 0;
  background: transparent;
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.proof-strip__item {
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(20, 100, 187, 0.10);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.proof-strip__item strong {
  display: block;
  font-weight: 1000;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.proof-strip__item span {
  color: rgba(88,114,141,0.95);
  font-weight: 700;
  font-size: 0.95rem;
}

.proof-strip__cta {
  display: inline-flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .proof-strip__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .proof-strip__cta { justify-content: center; }
}


/* =========================
   5) AI LEADGATE (pre/post CTA)
   ========================= */

.ai-leadgate[hidden] { display: none !important; }

.ai-leadgate {
  margin: 16px auto 0 auto;
  max-width: 860px;
  text-align: left;
}

.ai-leadgate__inner {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--ai-shadow);
  padding: 16px;
}

.ai-leadgate__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.ai-leadgate__subtitle {
  color: rgba(15, 44, 74, 0.72);
  margin-bottom: 12px;
  line-height: 1.45;
}

.ai-leadgate__fields {
  display: flex;
  gap: 10px;
}

.ai-leadgate__fields input {
  flex: 1;
  height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 44, 74, 0.12);
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.98);
}

.ai-leadgate__fields input:focus {
  border-color: rgba(20,100,187,0.35);
  box-shadow: 0 0 0 4px rgba(20, 100, 187, 0.12);
}

.ai-leadgate__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  color: rgba(15, 44, 74, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.ai-leadgate__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.ai-leadgate__note {
  margin-top: 10px;
  color: rgba(88,114,141,0.85);
  font-weight: 600;
  font-size: 0.85rem;
}

.ai-post-cta[hidden] { display: none !important; }

.ai-post-cta {
  margin: 14px auto 0 auto;
  max-width: 860px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ai-post-cta .btn.is-success {
  background: #24a148;
  border-color: #24a148;
  color: #fff;
}

.ai-post-cta .btn.is-success:hover {
  background: #1e8a3c;
  border-color: #1e8a3c;
  color: #fff;
}

@media (max-width: 768px) {
  .ai-leadgate__fields { flex-direction: column; }
  .ai-post-cta { justify-content: stretch; }
  .ai-post-cta .btn { width: 100%; }
}


/* =========================
   6) HERO (ANCIEN - gardé)
   ========================= */

.hero {
  padding: 120px 0 60px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 80vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--primary-blue);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--primary-yellow);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 25px;
  max-width: 95%;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-img--refonte {
  background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=800&q=80');
  background-position: center;
  background-size: cover;
}

/* Google review card (scopé hero ancien) */
.hero .google-review-card {
  position: absolute;
  bottom: 5px;
  left: 0px;
  background: white;
  padding: 15px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  border: 1px solid rgba(20, 100, 187, 0.1);
}

.stars { color: var(--primary-yellow); letter-spacing: 1px; font-size: 0.9rem; }
.review-text { font-size: 0.85rem; font-weight: 700; }

.blob {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 450px;
  background: linear-gradient(45deg, var(--primary-yellow), #fff3c4);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite;
  position: absolute;
  z-index: 0;
}

.hero-img {
  z-index: 1;
  width: 85%;
  aspect-ratio: 1/1;
  background-image: url('/img/justine-maxime-agence-com.webp');
  background-size: cover;
  background-position: center;
}

/* Variante Hero pour la page 'Création de site internet' */
.hero-img--creation-site { background-image: url('/img/creation-site-hero.webp'); }


/* =========================
   7) TESTIMONIALS
   ========================= */

.testimonials-section {
  padding: 40px 0 80px 0;
  background: var(--bg-color);
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar { display: none; }

.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  position: relative;
  background: linear-gradient(135deg, #ffffff 95%, #fffde9 100%);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(20, 100, 187, 0.1);
}

.client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.client-info { display: flex; align-items: center; gap: 15px; }

.client-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary-yellow);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.client-details { line-height: 1.2; }

.client-details strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.client-details span { font-size: 0.9rem; color: var(--text-light); }

.google-icon {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(66, 133, 244, 0.12);
  color: #4285F4;
  font-size: 0.95rem;
  font-weight: 800;
  opacity: 0.9;
}

.stars-review {
  color: var(--primary-yellow);
  font-size: 1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-style: italic;
}

.testimonials-cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================
   8) BENTO GRID SERVICES
   ========================= */

.services-section { padding: 40px 0 80px 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.bento-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.bento-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(20, 100, 187, 0.15);
}

.bento-item h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  z-index: 2;
  line-height: 1.2;
}

.bento-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  z-index: 2;
  line-height: 1.4;
}

.icon-box {
  width: 45px;
  height: 45px;
  background: var(--bg-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.item-web { grid-column: span 2; background: linear-gradient(135deg, #fff, #f0f8ff); }
.item-seo { grid-column: span 1; }
.item-ads { grid-column: span 1; background-color: var(--primary-blue); color: white; }
.item-ads p, .item-ads .icon-box { color: rgba(255,255,255,0.9); }
.item-ads .icon-box { background: rgba(255,255,255,0.2); }
.item-social { grid-column: span 1; }

.item-cta {
  grid-column: span 3;
  background: var(--primary-yellow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.item-cta h3 {
  color: var(--text-dark);
  font-size: 1.8rem;
  max-width: 60%;
}

.circle-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.08;
}

/* Ajustement du conteneur parent pour accepter le formulaire */
.item-cta-form {
  display: flex;
  gap: 30px;
  align-items: center;
  height: auto !important;
  min-height: 240px;
}
.cta-text-content { flex: 1; min-width: 200px; }

/* Styles du formulaire (CTA bento) */
.mini-contact-form {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mini-contact-form input,
.mini-contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.3s;
  color: var(--text-dark);
}

.mini-contact-form input:focus,
.mini-contact-form textarea:focus {
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Ligne pour Nom et Téléphone côte à côte */
.input-row { display: flex; gap: 10px; }
.input-row input { width: 50%; }

/* Bouton spécifique formulaire */
.btn-submit {
  background: var(--text-dark) !important;
  color: white !important;
  width: 100%;
  border-radius: 12px;
  margin-top: 5px;
}
.btn-submit:hover {
  background: black !important;
  transform: translateY(-2px);
}

/* --- RESPONSIVE FORMULAIRE CTA --- */
@media (max-width: 900px) {
  .item-cta-form {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
  }
  .cta-text-content {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .cta-text-content h3 { max-width: 100%; }
  .mini-contact-form { width: 100%; }
}


/* =========================
   9) XP SECTION — "Notre domaine d'expertise"
   ========================= */

.xp-section {
  padding: 100px 20px;
  background-color: var(--color-brand-blue-light);
  font-family: 'Inter', sans-serif;
  color: var(--color-text-dark);
}

.xp-header {
  text-align: center;
  margin-bottom: 60px;
}

.xp-badge-yellow {
  display: inline-block;
  padding: 6px 18px;
  background-color: var(--color-brand-yellow);
  color: #854D0E;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.xp-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.xp-accent-blue {
  color: var(--color-brand-blue);
  position: relative;
  display: inline-block;
}
.xp-accent-blue::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(29, 78, 216, 0.1);
  z-index: -1;
}

.xp-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Grille */
.xp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.xp-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.xp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.2);
}

.xp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.xp-icon-bg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 16px;
}

.icon-blue { background-color: #DBEAFE; }
.icon-yellow { background-color: #FEF9C3; }

.xp-number {
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-text-muted);
  opacity: 0.4;
}

.xp-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.xp-card-title span { color: var(--color-brand-blue); }

.xp-description {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Drawer */
.xp-drawer {
  max-height: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.xp-card[data-state="open"] .xp-drawer {
  max-height: 400px;
  opacity: 1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed #E2E8F0;
}

.xp-card[data-state="open"] .xp-description { display: none; }

.xp-drawer-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--color-text-dark);
}

.xp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.xp-tags span {
  background: var(--color-brand-blue-light);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-brand-blue);
}

.xp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.xp-btn-main {
  background-color: var(--color-brand-blue);
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}
.xp-btn-main:hover { opacity: 0.9; }

.xp-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.arrow { transition: transform 0.3s ease; }
.xp-card[data-state="open"] .arrow { transform: rotate(180deg); }

@media (max-width: 768px) {
  .xp-grid { grid-template-columns: 1fr; }
  .xp-section { padding: 60px 20px; }
}

.xp-cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================
   10) PORTFOLIO SECTION
   ========================= */

.portfolio-section {
  padding: 80px 0;
  background: white;
  border-radius: 40px 40px 0 0;
  margin-top: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  height: 350px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.project-card:nth-child(1) { grid-column: span 2; }

.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img { transform: scale(1.1); }

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(15, 44, 74, 0.9), transparent);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.project-card:hover .project-overlay { transform: translateY(0); opacity: 1; }

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary-yellow);
  color: var(--text-dark);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}


/* =========================
   11) FOOTER
   ========================= */

.site-footer {
  position: relative;
  overflow: hidden;
  --footer-folder-bg: #F8F8F6;
  --footer-folder-border: #E8E8E4;
  --footer-folder-grid: #E0E0DC;
  background:
    radial-gradient(980px 520px at 10% 10%, rgba(255,202,46,0.16), rgba(255,202,46,0) 62%),
    radial-gradient(840px 460px at 88% 22%, rgba(117,202,255,0.28), rgba(117,202,255,0) 58%),
    linear-gradient(
      180deg,
      var(--sky-pale, #D8EEF9) 0%,
      var(--sky-bottom, #C5E8F7) 42%,
      var(--sky-mid, #A8DCF0) 72%,
      var(--sky-top, #7EC8E3) 100%
    ) !important;
  color: #0f2c4a;
  padding: clamp(70px, 8vw, 100px) 0 28px;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.site-footer__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,100,187,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,100,187,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.34;
}

.site-footer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.5;
  animation: footerOrbFloat 14s ease-in-out infinite;
}

.site-footer__orb--one {
  width: 220px;
  height: 220px;
  top: -70px;
  right: 8%;
  background: rgba(255,202,46,0.5);
}

.site-footer__orb--two {
  width: 300px;
  height: 300px;
  bottom: -130px;
  left: -90px;
  background: rgba(102,194,255,0.45);
  animation-delay: -6s;
}

@keyframes footerOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -10px, 0) scale(1.06); }
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__folder {
  position: relative;
}

.site-footer__folder-tab {
  position: absolute;
  top: -17px;
  left: 36px;
  z-index: 3;
  background: var(--footer-folder-bg);
  border: 2px solid var(--footer-folder-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 4px 18px 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.site-footer__folder-back {
  position: relative;
  background: var(--footer-folder-bg);
  border: 2px solid var(--footer-folder-border);
  border-radius: 24px;
  padding: 36px 28px;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.site-footer__folder-back::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px dashed var(--footer-folder-grid);
  border-radius: 20px;
  pointer-events: none;
}

.site-footer__hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.site-footer__brand,
.site-footer__cta {
  border-radius: 24px;
  border: 1px solid rgba(20,100,187,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(22px, 3vw, 32px);
}

.site-footer__brand {
  background: rgba(255,255,255,0.86);
}

.site-footer__cta {
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(226,245,254,0.92) 100%);
  box-shadow: 0 16px 38px rgba(20,100,187,0.12);
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 16px;
}

.site-footer__logo-img {
  width: clamp(140px, 16vw, 190px);
  height: auto;
}

.site-footer__tagline {
  color: rgba(15,44,74,0.78);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 52ch;
}

.site-footer__chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(20,100,187,0.18);
  color: rgba(15,44,74,0.86);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.site-footer__cta h3 {
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.site-footer__cta p {
  color: rgba(15,44,74,0.72);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: all 0.28s ease;
}

.site-footer__btn--primary {
  background: #ffd200;
  color: #0f2c4a;
  box-shadow: 0 10px 24px rgba(255, 210, 0, 0.32);
}

.site-footer__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 210, 0, 0.38);
  background: #ffd200;
}

.site-footer__btn--ghost {
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  border: 1px solid rgba(20,100,187,0.22);
}

.site-footer__btn--ghost:hover {
  background: rgba(226,245,254,0.95);
  transform: translateY(-2px);
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.site-footer__col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-blue);
  margin-bottom: 13px;
}

.site-footer__col ul {
  display: grid;
  gap: 10px;
}

.site-footer__col li {
  font-size: 0.92rem;
  color: rgba(15,44,74,0.74);
}

.site-footer__col a {
  color: rgba(15,44,74,0.86);
  transition: color 0.22s ease, transform 0.22s ease;
}

.site-footer__col a:hover {
  color: var(--primary-blue);
  transform: translateX(3px);
}

.site-footer__contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__icon {
  width: 18px;
  height: 18px;
  color: #e3a800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-footer__icon svg {
  width: 100%;
  height: 100%;
}

.site-footer__to-top-icon {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(15,44,74,0.62);
  font-size: 0.84rem;
  position: relative;
  z-index: 2;
}

.site-footer__to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20,100,187,0.24);
  color: rgba(15,44,74,0.86);
  background: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.25s ease;
}

.site-footer__to-top:hover {
  transform: translateY(-2px);
  background: rgba(226,245,254,0.95);
}

@media (max-width: 980px) {
  .site-footer__hero {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding-top: 56px;
  }

  .site-footer__folder-tab {
    left: 22px;
  }

  .site-footer__folder-back {
    padding: 30px 18px 24px;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__actions {
    flex-direction: column;
  }

  .site-footer__btn {
    width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================
   12) AI STRATEGY GENERATOR
   ========================= */

.ai-generator-section {
  padding: 20px 0 80px 0;

  background:
    radial-gradient(1100px 650px at 18% 12%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 60%),
    radial-gradient(900px 520px at 82% 48%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) 55%),
    var(--ai-blue);

  border-radius: 18px;

  padding-left: clamp(20px, 3vw, 60px);
  padding-right: clamp(20px, 3vw, 60px);
  padding-top: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(32px, 4vw, 60px);

  position: relative;
  overflow: hidden;
}

.ai-generator-shell {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* Badge IA */
.ai-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Titre */
.ai-generator-shell h2 {
  margin: 0 0 16px 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ai-title-highlight {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-time-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
  vertical-align: middle;
}

/* Sous-texte */
.ai-subtitle {
  max-width: 760px;
  margin: 0 auto 24px auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 420;
}

/* Bandeau bénéfices */
.ai-visual-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 18px auto;
}

.ai-visual-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  letter-spacing: 0.1px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* CTA start */
.ai-generate-btn {
  width: clamp(210px, 22vw, 270px);
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  color: #1f2937;
  background: #ffd200;
  box-shadow: 0 16px 34px rgba(255, 210, 0, 0.32);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  min-height: 44px;
}

.ai-generate-btn span {
  font-weight: 780;
  letter-spacing: -0.01em;
  font-size: 14.5px;
}

.ai-generate-btn::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 46%);
  pointer-events: none;
}

.ai-generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(255, 210, 0, 0.42);
  filter: brightness(1.03);
}

.ai-generate-btn:active {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(255, 210, 0, 0.33);
}

.ai-generate-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 210, 0, 0.34), 0 16px 34px rgba(255, 210, 0, 0.32);
}

/* Loader IA */
.ai-generate-btn .loading-spinner {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(31, 41, 55, 0.28);
  border-top-color: rgba(31, 41, 55, 0.92);
  opacity: 0;
  animation: aiSpin 0.8s linear infinite;
}

.ai-generate-btn.is-loading {
  pointer-events: none;
  opacity: 0.92;
}
.ai-generate-btn.is-loading .loading-spinner { opacity: 1; }

@keyframes aiSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.ai-generate-btn--xl {
  width: min(430px, 100%);
  min-height: 62px;
}

.ai-generate-btn--xl span {
  font-size: 1.04rem;
}

.ai-conversation-start {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ai-conversation-hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.ai-conversation[hidden] { display: none !important; }

.ai-conversation {
  max-width: 860px;
  margin: 14px auto 0;
  text-align: left;
}

.ai-conversation-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  max-height: 420px;
  overflow-y: auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--ai-shadow);
}

.ai-chat-message {
  display: flex;
}

.ai-chat-message--bot {
  justify-content: flex-start;
}

.ai-chat-message--user {
  justify-content: flex-end;
}

.ai-chat-bubble {
  max-width: min(92%, 680px);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.94rem;
  line-height: 1.55;
  white-space: pre-line;
}

.ai-chat-message--bot .ai-chat-bubble {
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid rgba(15, 44, 74, 0.12);
  box-shadow: 0 8px 24px rgba(15, 44, 74, 0.06);
}

.ai-chat-message--user .ai-chat-bubble {
  color: #ffffff;
  background: rgba(15, 44, 74, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-conversation-form {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.ai-conversation-input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--ai-shadow);
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.ai-conversation-input:focus {
  border-color: rgba(20, 100, 187, 0.35);
  box-shadow:
    0 0 0 4px rgba(20, 100, 187, 0.12),
    0 10px 24px rgba(15, 44, 74, 0.08);
}

.ai-conversation-send {
  min-height: 48px;
  border-radius: 14px !important;
  min-width: 132px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  transition: filter 160ms ease, box-shadow 160ms ease;
}

.ai-conversation-send.is-loading {
  padding-right: 38px;
  filter: saturate(0.95);
  animation: aiConversationBtnPulse 1.1s ease-in-out infinite;
}

.ai-conversation-send.is-loading::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%);
  animation: aiSpinFlat 0.75s linear infinite;
}

.ai-conversation-note {
  margin: 10px 4px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes aiSpinFlat {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes aiConversationBtnPulse {
  0%, 100% {
    box-shadow: 0 4px 15px var(--green-glow);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 8px 24px rgba(26,127,55,0.34);
    transform: translateY(-1px);
  }
}

/* Résultat */
.ai-result-area {
  max-width: 860px;
  margin: 14px auto 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--ai-shadow);
  padding: 14px 16px;
  text-align: left;
  color: var(--ai-ink);
  overflow: hidden;
  transform-origin: top;
  animation: aiRevealResult 220ms ease-out;
  display: block;
}
.ai-result-area:empty { display: none !important; }

@keyframes aiRevealResult {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typo inside result */
.ai-result-area h4 {
  color: var(--primary-blue);
  margin: 18px 0 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-result-area h4:first-child { margin-top: 0; }
.ai-result-area ul { margin-left: 18px; list-style: disc; color: var(--text-dark); }
.ai-result-area li {
  margin-bottom: 8px;
  line-height: 1.58;
}
.ai-result-area p {
  margin-bottom: 12px;
  color: rgba(15, 44, 74, 0.72);
  line-height: 1.62;
}
.ai-result-area .strategy-content {
  display: grid;
  gap: 6px;
}
.ai-result-area .strategy-content h4 {
  margin-top: 14px;
}
.ai-result-area .strategy-content ul {
  margin-top: 2px;
  margin-bottom: 10px;
}

/* Lead form injecté */
.ai-result-area .lead-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(20, 100, 187, 0.22);
}

.ai-result-area .lead-form input,
.ai-result-area .lead-form textarea {
  width: 100%;
  height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 44, 74, 0.12);
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 18px rgba(15, 44, 74, 0.06);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.ai-result-area .lead-form textarea {
  height: auto;
  min-height: 96px;
  resize: vertical;
}

.ai-result-area .lead-form input:focus,
.ai-result-area .lead-form textarea:focus {
  border-color: rgba(20, 100, 187, 0.35);
  box-shadow:
    0 0 0 4px rgba(20, 100, 187, 0.12),
    0 10px 24px rgba(15, 44, 74, 0.08);
}

.ai-result-area .lead-form .input-row {
  display: flex;
  gap: 10px;
}
.ai-result-area .lead-form .input-row > * {
  flex: 1;
  width: auto;
  min-width: 0;
}

/* Responsive AI */
@media (max-width: 768px) {
  .ai-time-badge {
    display: block;
    margin: 12px auto 0 auto;
  }
  .ai-generate-btn { width: 100%; min-height: 50px; }
  .ai-conversation-form { flex-direction: column; }
  .ai-conversation-send { width: 100%; }
  .ai-generate-btn .loading-spinner { right: 12px; }
  .ai-result-area .lead-form .input-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-generate-btn { transition: none; }
  .ai-generate-btn .loading-spinner { animation: none; }
}


/* =========================
   13) RÉALISATIONS CAROUSEL
   ========================= */

.realisations-section {
  padding: 20px 0 70px;
  overflow: hidden;
}

.realisations-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  padding: 8px 0 12px;
}

.realisations-track {
  display: flex;
  width: max-content;
  animation: reelSlide 42s linear infinite;
  gap: 0;
  padding: 0;
}

.realisations-track-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
  flex-shrink: 0;
}

.realisations-carousel:hover .realisations-track { animation-play-state: paused; }

.realisation-card {
  width: 230px;
  height: 420px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  text-decoration: none;
  color: white;
  box-shadow: 0 16px 40px rgba(15, 44, 74, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  --tile-offset: 0px;
  transform: translateY(var(--tile-offset));
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.realisations-track .realisation-card:nth-child(odd) { --tile-offset: -16px; }
.realisations-track .realisation-card:nth-child(even) { --tile-offset: 16px; }

.realisation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 30, 0.75) 8%, rgba(8, 18, 30, 0.15) 46%, rgba(255, 255, 255, 0.08) 100%);
  z-index: 1;
}

.realisation-card-content {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px 18px;
}

.realisation-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.86);
  color: #13283f;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.realisation-card h3 {
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.3px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.realisation-card:hover {
  transform: translateY(calc(var(--tile-offset) - 7px)) scale(1.02);
  box-shadow: 0 24px 48px rgba(15, 44, 74, 0.30);
  filter: saturate(1.05);
}

.card-one { background: linear-gradient(165deg, #ff7f43 0%, #ff4f3b 32%, #8a2b14 100%); }
.card-two { background: linear-gradient(165deg, #f4ecdf 0%, #dbc8b0 45%, #896a53 100%); color: #2d1f15; }
.card-two::before { background: linear-gradient(to top, rgba(45, 31, 21, 0.40) 8%, rgba(45, 31, 21, 0.05) 45%, rgba(255,255,255,0.20) 100%); }
.card-two .realisation-tag { background: rgba(45, 31, 21, 0.9); color: #fff; }
.card-two h3 { color: #21160f; text-shadow: none; }
.card-three { background: linear-gradient(165deg, #9fc8b7 0%, #6ea08f 38%, #2f4d43 100%); }
.card-four { background: linear-gradient(165deg, #4f145e 0%, #221036 48%, #0d1129 100%); }
.card-five { background: linear-gradient(165deg, #2d89ff 0%, #2268d3 44%, #11438d 100%); }

.realisation-card--visual {
  background: #0f2c4a;
}

.realisation-card--visual::before {
  background: linear-gradient(180deg, rgba(9, 18, 29, 0.08) 0%, rgba(9, 18, 29, 0.18) 22%, rgba(9, 18, 29, 0.5) 58%, rgba(9, 18, 29, 0.92) 100%);
}

.realisation-card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realisation-card--micro-creches .realisation-card-photo {
  object-position: center center;
}

.realisation-card--argonautes .realisation-card-photo {
  object-position: center center;
}

.realisation-card--jobastres .realisation-card-photo {
  object-position: center top;
}

.realisation-card--legalex .realisation-card-photo {
  object-position: center center;
}

.realisation-card-eyebrow {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 40px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #13283f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(19, 40, 63, 0.16);
}

.realisation-card-highlights {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 106px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.realisation-card-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 210, 0, 0.94);
  color: #13283f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 28px rgba(19, 40, 63, 0.18);
}

@keyframes reelSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FIX "Nos dernières réalisations" - stop clipping + supprime l’ombre des tuiles */
.realisations-section{
  overflow-x: hidden;
  overflow-y: visible;
}
.realisations-carousel{
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 26px;
  padding-bottom: 26px;
}
.realisation-card,
.realisation-card:hover{
  box-shadow: none !important;
}
.realisations-track{
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Footer CTA réalisations */
.realisations-footer { padding-top: 18px; }
.realisations-footer__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================
   14) PROCESS SECTION
   ========================= */

.process-section {
  padding: 70px 0 70px 0;
  background: rgba(255,255,255,0.60);
  border-radius: 40px;
  margin: 40px 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.process-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(20, 100, 187, 0.10);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.04);
}

.process-step {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: var(--primary-blue);
  background: rgba(20,100,187,0.10);
  margin-bottom: 10px;
}

.process-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-card p {
  color: rgba(88,114,141,0.95);
  font-weight: 600;
  line-height: 1.5;
}

.process-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .process-section { margin: 30px 12px; padding: 50px 0; }
  .process-grid { grid-template-columns: 1fr; }
}


/* =========================
   15) BLOG SECTION
   ========================= */

.blog-section {
  padding: 70px 0;
  background: var(--bg-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(20, 100, 187, 0.10);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.04);
  transition: var(--transition);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(20,100,187,0.10);
}

.blog-card__link {
  display: block;
  padding: 22px;
  color: inherit;
}

.blog-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.blog-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,202,46,0.25);
  color: #8a6500;
  font-weight: 900;
  font-size: 0.78rem;
}

.blog-date {
  color: rgba(88,114,141,0.95);
  font-weight: 800;
  font-size: 0.8rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 1000;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

.blog-card p {
  color: rgba(88,114,141,0.95);
  font-weight: 600;
  line-height: 1.5;
}

.blog-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}


/* =========================
   16) CONTACT SECTION
   ========================= */

.contact-section {
  padding: 80px 0;
  background: white;
  border-radius: 40px 40px 0 0;
  margin-top: 40px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-copy h2 {
  font-size: 2rem;
  font-weight: 1000;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-copy p {
  color: rgba(88,114,141,0.95);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-bullets li {
  margin-bottom: 10px;
  font-weight: 700;
  color: rgba(15,44,74,0.85);
}

.contact-quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(20, 100, 187, 0.10);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  padding: 22px;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.contact-form label {
  font-weight: 800;
  color: rgba(15,44,74,0.9);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15,44,74,0.12);
  padding: 12px 14px;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.98);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(20,100,187,0.35);
  box-shadow: 0 0 0 4px rgba(20, 100, 187, 0.12);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-consent small,
.contact-note small {
  display: block;
  margin-top: 10px;
  color: rgba(88,114,141,0.9);
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-shell { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}


/* =========================
   17) FLOATING CONTACT
   ========================= */

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
}

.floating-contact__btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.65);
  background: #ffd200;
  color: #0b1f4d;
  box-shadow: 0 14px 34px rgba(255, 210, 0, 0.45);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
  transform-origin: center;
  animation: floatingStrategyNudge 11s ease-in-out infinite;
}

.floating-contact__icon {
  width: 23px;
  height: 23px;
  display: block;
}
.floating-contact__btn:hover {
  transform: translateY(-3px);
  animation-play-state: paused;
}

@keyframes floatingStrategyNudge {
  0%, 72%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 14px 34px rgba(255, 210, 0, 0.45);
  }
  75% {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 22px 42px rgba(255, 210, 0, 0.52);
  }
  77% {
    transform: translateY(0) scale(0.98);
  }
  79% {
    transform: translateY(-5px) scale(1.02);
  }
  82% {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact__btn {
    animation: none;
  }
}

.floating-contact__panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: 190px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(20,100,187,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  overflow: hidden;
}

.floating-contact__item {
  display: block;
  padding: 12px 14px;
  color: rgba(15,44,74,0.90);
  font-weight: 800;
  transition: background 160ms ease;
}
.floating-contact__item:hover { background: rgba(20,100,187,0.08); }

.floating-strategy-panel {
  width: min(400px, calc(100vw - 24px));
  max-height: min(80vh, 760px);
  overflow: auto;
  padding: 0;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 60px rgba(15, 44, 74, 0.16);
}

.floating-strategy-panel .ai-generator-section {
  margin: 0;
  max-width: none;
  padding: 0;
  background: none !important;
  border-radius: 0 !important;
}

.floating-strategy-panel .ai-generator-shell {
  padding: 24px 22px;
  text-align: left;
}

/* Badge */
.floating-strategy-panel .ai-label-badge {
  background: rgba(20, 100, 187, 0.08);
  color: var(--primary-blue);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Title */
.floating-strategy-panel .ai-generator-shell h2 {
  color: #0f2c4a !important;
  font-family: "acumin-pro", "Outfit", sans-serif;
  font-size: 1.25rem !important;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

/* Subtitle */
.floating-strategy-panel .ai-generator-subtitle {
  color: #58728d;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 0 18px 0;
}

/* Hide visual strip (not needed in panel) */
.floating-strategy-panel .ai-visual-strip { display: none; }

/* Conversation entry */
.floating-strategy-panel .ai-conversation-start {
  margin-top: 6px;
}

.floating-strategy-panel .ai-generate-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.floating-strategy-panel .ai-generate-btn:hover {
  box-shadow: 0 10px 30px rgba(255, 210, 0, 0.42);
}

.floating-strategy-panel .ai-conversation {
  margin-top: 12px;
}

.floating-strategy-panel .ai-conversation-feed {
  min-height: 150px;
  max-height: 320px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.floating-strategy-panel .ai-chat-bubble {
  font-size: 0.84rem;
  line-height: 1.5;
}

.floating-strategy-panel .ai-chat-message--bot .ai-chat-bubble {
  background: #fff;
}

.floating-strategy-panel .ai-conversation-form {
  margin-top: 10px;
  gap: 8px;
}

.floating-strategy-panel .ai-conversation-input {
  min-height: 44px;
  font-size: 0.84rem;
  box-shadow: none;
  border: 1px solid #dbe7f5;
}

.floating-strategy-panel .ai-conversation-send {
  min-height: 44px;
  min-width: 96px;
  padding-inline: 14px;
  font-size: 0.8rem;
}

.floating-strategy-panel .ai-conversation-note {
  color: #7a8fa5;
  font-size: 0.75rem;
  margin-top: 8px;
}

/* Result area */
.floating-strategy-panel .ai-result-area {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #0f2c4a;
}

/* Post CTA */
.floating-strategy-panel .ai-post-cta {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

@media (max-width: 700px) {
  .floating-contact {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .floating-contact__btn {
    width: 52px;
    height: 52px;
  }

  .floating-contact__icon {
    width: 22px;
    height: 22px;
  }

  .floating-contact__panel.floating-strategy-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    max-height: min(68dvh, 640px);
    border-radius: 18px;
  }

  .floating-strategy-panel .ai-generator-shell {
    padding: 16px 14px;
  }

  .floating-strategy-panel .ai-label-badge {
    font-size: 0.64rem;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .floating-strategy-panel .ai-generator-shell h2 {
    font-size: 1.05rem !important;
    line-height: 1.18;
    margin-bottom: 6px;
  }

  .floating-strategy-panel .ai-generator-subtitle {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .floating-strategy-panel .ai-generate-btn {
    min-height: 46px;
    border-radius: 12px;
  }

  .floating-strategy-panel .ai-generate-btn span {
    font-size: 0.88rem;
  }

  .floating-strategy-panel .ai-conversation-feed {
    min-height: 132px;
    max-height: 260px;
    padding: 10px;
    border-radius: 12px;
  }

  .floating-strategy-panel .ai-chat-bubble {
    font-size: 0.8rem;
    line-height: 1.42;
    padding: 9px 10px;
  }

  .floating-strategy-panel .ai-conversation-form {
    margin-top: 8px;
    gap: 6px;
  }

  .floating-strategy-panel .ai-conversation-input {
    min-height: 40px;
    font-size: 0.8rem;
    padding: 9px 10px;
    border-radius: 10px;
  }

  .floating-strategy-panel .ai-conversation-send {
    min-height: 40px;
    min-width: 88px;
    padding-inline: 10px;
    font-size: 0.76rem;
    border-radius: 10px !important;
  }

  .floating-strategy-panel .ai-conversation-note {
    font-size: 0.7rem;
    line-height: 1.35;
    margin-top: 7px;
  }

  .floating-strategy-panel .ai-result-area {
    margin-top: 10px;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .floating-strategy-panel .ai-result-area h4 {
    font-size: 0.88rem;
    margin: 10px 0 6px;
  }

  .floating-strategy-panel .ai-result-area p,
  .floating-strategy-panel .ai-result-area li {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .floating-strategy-panel .ai-post-cta {
    margin-top: 10px;
    flex-direction: column;
    gap: 6px;
  }

  .floating-strategy-panel .ai-post-cta .btn {
    width: 100%;
    min-height: 40px;
    font-size: 0.78rem;
  }
}

.sr-only {
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}


/* =========================
   18) GIFTWHEEL MODAL (placeholder)
   ========================= */

.giftwheel-modal[hidden] { display: none !important; }

.giftwheel-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
}

.giftwheel-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.giftwheel-modal__content {
  position: relative;
  width: min(520px, 92%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.25);
}

.giftwheel-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(20,100,187,0.10);
  color: rgba(15,44,74,0.9);
  font-size: 1.2rem;
  cursor: pointer;
}

.giftwheel-modal form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.giftwheel-modal input[type="email"] {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,44,74,0.12);
  padding: 12px 14px;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.giftwheel-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
  color: rgba(15,44,74,0.75);
  font-size: 0.9rem;
}


/* =========================
   19) ANIMATIONS + REVEAL
   ========================= */

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  50% { border-radius: 60% 40% 30% 70% / 60% 50% 40% 50%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.reveal { opacity: 1; transform: translateY(0); transition: all 0.8s ease-out; }
html.js .reveal { opacity: 0; transform: translateY(30px); }
html.js .reveal.active { opacity: 1; transform: translateY(0); }


/* =========================
   20) MOBILE RESPONSIVE OPTIMIZATIONS
   ========================= */

@media (max-width: 900px) {
  :root { --radius: 18px; }

  .container { padding: 0 20px; }

  .section-header h2 { font-size: 1.8rem; }
  .section-header p { font-size: 1rem; }

  /* Mobile Header */
  header { top: 15px; width: 96%; max-width: 96%; }
  .glass-nav {
    padding: 10px 14px !important;
    justify-content: space-between;
    border-radius: 999px !important;

    background: #fff !important;
    border: 1px solid rgba(15,44,74,0.06) !important;
    box-shadow: 0 10px 30px rgba(15,44,74,0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-links,
  .header-btn { display: none; }

  .mobile-menu-btn { display: block; }

  /* Menu Mobile Dropdown — pill style, centered under header */
  .nav-links.mobile-active {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 560px);
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;

    background: #fff;
    border: 1px solid rgba(15,44,74,0.06);
    box-shadow: 0 16px 40px rgba(15,44,74,0.14);
     
    padding: 20px;
    border-radius: 28px;
     
    animation: slideDown 0.3s ease;
    overflow: hidden;
    z-index: 1001;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
  }

  .nav-links.mobile-active a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 15px;

    background: #f5f9ff;

    border-radius: 12px;
  }

  /* Hero (ancien) compact */
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    min-height: auto;
  }

  .hero-content h1 { font-size: 2.5rem; }

  .hero-content p {
    margin: 0 auto 20px auto;
    font-size: 1rem;
    max-width: 520px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    position: relative;
    transform: none;
  }

  .hero-visual .blob {
    width: 100%;
    height: 100%;
    max-width: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-visual .hero-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
  }

  .hero-cta-group { justify-content: center; }

  .input-row { flex-direction: column; }
  .input-row input { width: 100%; }

  .hero .google-review-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%;
  }

  .hero-content div { justify-content: center; }

  /* Bento Grid Mobile */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .bento-item { padding: 20px; min-height: 180px; }
  .bento-item h3 { font-size: 1.1rem; }

  .item-web { grid-column: span 2; }
  .item-seo { grid-column: span 1; }
  .item-ads { grid-column: span 1; }
  .item-social { grid-column: span 2; }

  .item-cta {
    grid-column: span 2;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 30px 20px;
  }

  .item-cta h3 { font-size: 1.4rem; max-width: 100%; }

  /* Portfolio Horizontal Scroll */
  .portfolio-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
  }

  .project-card {
    min-width: 280px;
    scroll-snap-align: center;
    height: 300px;
  }

  .portfolio-grid::-webkit-scrollbar { height: 6px; }
  .portfolio-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

  /* Footer Compact */
  .site-footer__brand,
  .site-footer__cta {
    border-radius: 20px;
    padding: 20px;
  }

  .site-footer__chips {
    justify-content: flex-start;
  }

  /* AI generator mobile */
  .ai-generator-section { padding: 10px 0 50px; }
  .ai-generator-shell { padding: 0; border-radius: 18px; }
  .ai-generator-shell h2 { font-size: 1.85rem; }
  .ai-label-badge { font-size: 0.72rem; padding: 6px 14px; }
  .ai-visual-card:nth-child(4), .ai-visual-card:nth-child(5) { display: none; }

  .ai-generate-btn { width: 100%; min-width: 100%; min-height: 56px; }
  .ai-conversation-feed { min-height: 170px; }
  .ai-conversation-input { min-height: 46px; }
  .ai-conversation-note { font-size: 0.78rem; }

  .realisations-section { padding: 10px 0 50px; }
  .realisations-track-group {
    gap: 12px;
    padding-right: 12px;
  }
  .realisation-card {
    width: 190px;
    height: 345px;
    border-radius: 18px;
  }
  .realisation-card-visual {
    inset: 14px 12px 94px 12px;
  }
  .realisation-card-eyebrow {
    top: 15px;
    left: 15px;
    max-width: calc(100% - 30px);
    padding: 7px 10px;
    font-size: 0.58rem;
  }
  .realisation-card-highlights {
    left: 14px;
    right: 14px;
    bottom: 86px;
    gap: 6px;
  }
  .realisation-card-highlights span {
    padding: 7px 10px;
    font-size: 0.64rem;
  }
  .realisation-card h3 { font-size: 1.1rem; }
  .realisations-track .realisation-card:nth-child(odd) { --tile-offset: -10px; }
  .realisations-track .realisation-card:nth-child(even) { --tile-offset: 10px; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .hero-content h1 { font-size: 2rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .item-seo, .item-ads { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
