/* ============================================
   VISIBEL MÉDIAS - Custom Styles
   Charte : fond #4c039D · accent #F2D22E · texte #fff / #c4b5d4
   ============================================ */

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #3a0278; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F2D22E, #e6c41e);
  border-radius: 4px;
}

/* ============================================
   BACKGROUND : #4c039D + grille + orbes
   ============================================ */

/* Grille subtile façon Azuro */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Animated gradient orbs */
.gradient-mesh {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.gradient-orb:nth-child(1) {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(90, 10, 180, 0.6), transparent);
  top: -12%; right: -8%;
  animation-delay: 0s;
}

.gradient-orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30, 0, 80, 0.5), transparent);
  bottom: 15%; left: -10%;
  animation-delay: -7s;
}

.gradient-orb:nth-child(3) {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(242, 210, 46, 0.15), transparent);
  top: 50%; right: 20%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.1); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.05); }
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   HERO VISUALS : planète, fusée, nuages
   ============================================ */

/* Planète en haut à gauche */
.planet-hero {
  position: absolute;
  top: -8%;
  left: -6%;
  width: 280px;
  height: 280px;
  object-fit: contain;
  opacity: 0.7;
  z-index: 0;
  animation: planet-rotate 60s linear infinite;
  pointer-events: none;
}

@keyframes planet-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fusée à droite, animée */
.rocket-hero {
  position: absolute;
  right: 2%;
  top: calc(5% + 80px);
  width: 288px;
  height: auto;
  z-index: 5;
  animation: rocket-float 4s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@keyframes rocket-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  25% { transform: translateY(-18px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  75% { transform: translateY(-22px) rotate(-1deg); }
}

/* Scroll indicator */
.scroll-indicator {
  display: block;
  margin: 30px auto 0;
  width: 26px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  animation: scroll-bounce 2s ease-in-out infinite;
  position: relative;
  z-index: 10;
}
.scroll-indicator:hover {
  opacity: 1;
}
.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Conteneur des nuages */
.clouds-container {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  width: 100%;
  height: 320px;
  z-index: 3;
  pointer-events: none;
}

.cloud-layer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  min-width: 120vw;
  height: auto;
}

.cloud-back {
  bottom: -30px;
  opacity: 0.45;
  animation: cloud-drift-back 25s ease-in-out infinite alternate;
}

.cloud-front {
  bottom: -40px;
  opacity: 1;
  animation: cloud-drift-front 18s ease-in-out infinite alternate;
}

.cloud-white {
  bottom: -2px;
  opacity: 1;
  animation: cloud-drift-white 22s ease-in-out infinite alternate;
}


@keyframes cloud-drift-back {
  0% { transform: translateX(-50%) scaleX(1.05); }
  100% { transform: translateX(calc(-50% + 15px)) scaleX(1.05); }
}

@keyframes cloud-drift-front {
  0% { transform: translateX(-50%) scaleX(1.05); }
  100% { transform: translateX(calc(-50% - 10px)) scaleX(1.05); }
}

@keyframes cloud-drift-white {
  0% { transform: translateX(-50%) scale(1.15); }
  100% { transform: translateX(calc(-50% + 8px)) scale(1.15); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .rocket-hero {
    width: 300px;
    right: 0%;
    top: 8%;
  }
  .planet-hero {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .rocket-hero {
    width: 200px;
    right: -4%;
    top: 8%;
    opacity: 0.6;
  }
  .planet-hero {
    width: 140px;
    top: -4%;
    left: -8%;
    opacity: 0.5;
  }
  .clouds-container {
    height: 160px;
  }
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

.text-accent { color: #F2D22E; }

.text-gradient {
  background: linear-gradient(135deg, #F2D22E, #f5e080, #F2D22E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-accent {
  text-shadow: 0 0 40px rgba(242, 210, 46, 0.3), 0 0 80px rgba(242, 210, 46, 0.12);
}

.box-glow {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CARTES
   ============================================ */

.glass-card {
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(242, 210, 46, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.gradient-border-card {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(242, 210, 46, 0.3), rgba(255,255,255,0.06), rgba(242, 210, 46, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================
   BOUTONS
   ============================================ */

.btn-primary {
  background: #F2D22E;
  color: #1a0040;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f5e45a;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(242, 210, 46, 0.35);
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(242, 210, 46, 0.5);
  color: #F2D22E;
  background: rgba(242, 210, 46, 0.06);
  transform: translateY(-2px);
}

/* ============================================
   BADGE / PILL
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(242, 210, 46, 0.08);
  border: 1px solid rgba(242, 210, 46, 0.2);
  color: #F2D22E;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F2D22E;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============================================
   SECTION NUMBER
   ============================================ */

.section-number {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(242, 210, 46, 0.12), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: absolute;
  top: -8px;
  right: 16px;
}

.stars {
  display: flex;
  gap: 2px;
  color: #F2D22E;
}

/* ============================================
   ANIMATIONS REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================
   NAVIGATION
   ============================================ */

.nav-glass {
  background: rgba(50, 2, 105, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.nav-glass.scrolled {
  background: rgba(40, 1, 85, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Timeline connector */
.timeline-connector {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(242,210,46,0.05), rgba(242,210,46,0.2), rgba(242,210,46,0.05));
  z-index: 0;
}

/* ============================================
   TÉMOIGNAGE FEATURED
   ============================================ */

.testimonial-featured {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(242, 210, 46, 0.15);
}

/* ============================================
   FORMULAIRE
   ============================================ */

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: rgba(242, 210, 46, 0.5);
  box-shadow: 0 0 20px rgba(242, 210, 46, 0.08);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 360px;
  height: 100vh;
  background: rgba(40, 1, 85, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 32px 32px;
}
.mobile-menu.open { right: 0; }

.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* Counter */
.counter { display: inline-block; }

/* Floating */
@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.floating { animation: floating 4s ease-in-out infinite; }
.floating-delay-1 { animation-delay: -1s; }
.floating-delay-2 { animation-delay: -2s; }

/* Typing cursor */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.typing-cursor::after {
  content: '|';
  animation: blink 1s ease-in-out infinite;
  color: #F2D22E;
  margin-left: 2px;
}

/* ============================================
   LOGOS CLIENTS DÉFILANTS
   ============================================ */

.logos-section-inline {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.logos-wrapper-cloud {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Cloud-style side overlays that mask logos on left and right */
.logos-wrapper-cloud::before,
.logos-wrapper-cloud::after {
  content: '';
  position: absolute;
  top: -20px;
  bottom: -20px;
  width: 12%;
  z-index: 10;
  pointer-events: none;
}
.logos-wrapper-cloud::before {
  left: 0;
  background: linear-gradient(to right, #4c039D 0%, #4c039D 20%, rgba(76, 3, 157, 0) 100%);
}
.logos-wrapper-cloud::after {
  right: 0;
  background: linear-gradient(to left, #4c039D 0%, #4c039D 20%, rgba(76, 3, 157, 0) 100%);
}

.logos-scroll {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: scroll-x 120s linear infinite;
  width: max-content;
}

.logo-client {
  height: 65px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
}

.logo-client:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .logos-section-inline {
    margin-top: 10px;
  }
  .logo-client {
    height: 40px;
    max-width: 110px;
  }
  .logos-scroll {
    gap: 40px;
  }
}

@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .section-number { font-size: 3.5rem; }
  .gradient-orb:nth-child(1) { width: 300px; height: 300px; }
  .gradient-orb:nth-child(2) { width: 250px; height: 250px; }
  .gradient-orb:nth-child(3) { width: 180px; height: 180px; }
}

/* ============================================
   MOBILE RESPONSIVE VISIBEL
   ============================================ */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.about-kicker {
  white-space: nowrap;
}

.about-stats-grid {
  padding-top: 72px;
}

@media (max-width: 768px) {
  .nav-glass {
    background: rgba(50, 2, 105, 0.88);
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .mobile-menu {
    right: 0;
    transform: translateX(100%);
    width: min(86vw, 340px);
    max-width: none;
    padding: 76px 28px 28px;
  }
  .mobile-menu.open {
    right: 0;
    transform: translateX(0);
  }

  .hero-section {
    min-height: auto !important;
    padding-top: 118px !important;
    padding-bottom: 150px;
  }

  .hero-section h1 {
    font-size: clamp(2.05rem, 9vw, 2.8rem) !important;
    line-height: 1.12 !important;
    max-width: 94vw;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section p {
    font-size: 0.98rem !important;
    line-height: 1.72 !important;
    max-width: 88vw;
  }

  .hero-section .btn-primary,
  .hero-section .btn-secondary {
    width: min(100%, 260px);
    justify-content: center;
  }

  .rocket-hero {
    width: 150px;
    right: -20px;
    top: 96px;
    opacity: 0.22;
    z-index: 1;
  }

  .planet-hero {
    width: 120px;
    top: 18px;
    left: -34px;
    opacity: 0.36;
  }

  .clouds-container {
    height: 120px;
  }

  .logos-section-inline {
    margin-top: 24px;
  }

  #a-propos {
    padding-top: 36px !important;
    padding-bottom: 64px !important;
  }

  #a-propos .max-w-7xl {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-kicker {
    white-space: normal;
    font-size: clamp(1.7rem, 7vw, 2.25rem) !important;
    line-height: 1.14 !important;
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
  }

  #a-propos .text-center.mb-14 {
    margin-bottom: 2rem;
  }

  #a-propos h2:not(.about-kicker) {
    font-size: 2rem !important;
    line-height: 1.12 !important;
    margin-bottom: 1.15rem !important;
  }

  #a-propos .space-y-5 {
    font-size: 0.94rem !important;
    line-height: 1.74 !important;
  }

  .about-stats-grid {
    padding-top: 0;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .about-stats-grid > div {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .about-stats-grid h3 {
    font-size: clamp(2.1rem, 10vw, 2.9rem) !important;
    line-height: 1 !important;
  }

  .about-stats-grid p {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .about-stats-grid svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 380px) {
  .hero-section h1 {
    font-size: 1.95rem !important;
  }
  .hero-section p {
    font-size: 0.92rem !important;
  }
  .about-stats-grid {
    gap: 12px;
  }
  .about-stats-grid > div {
    padding: 16px !important;
  }
  .about-stats-grid p {
    font-size: 0.72rem !important;
  }
}

/* Hermes prod hotfix: rendre les textes visibles même si les animations JS ne se déclenchent pas via preview/DNS */
.reveal,
.reveal-left,
.reveal-right,
.reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}



/* Hermes prod test: témoignages statiques dans la zone bleue hero */
.hero-section {
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 6;
}

.rocket-hero {
  z-index: 30 !important;
}

.logos-section-inline {
  z-index: 4;
}

.hero-testimonials-static {
  position: relative;
  z-index: 12;
  max-width: 1040px;
  margin: 22px auto 0;
  padding: 0 18px;
}

.hero-testimonials-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-testimonials-heading::before,
.hero-testimonials-heading::after {
  content: ;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,210,46,0.75));
}

.hero-testimonials-heading::after {
  background: linear-gradient(90deg, rgba(242,210,46,0.75), transparent);
}

.hero-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-testimonial-card {
  position: relative;
  min-height: 118px;
  padding: 22px 22px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055));
  box-shadow: 0 18px 48px rgba(13,0,34,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.9);
  overflow: hidden;
}

.hero-testimonial-card::before {
  content: ;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(242,210,46,0.14), transparent 42%);
  pointer-events: none;
}

.hero-testimonial-mark {
  position: absolute;
  top: -14px;
  right: 18px;
  color: rgba(242,210,46,0.35);
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.hero-testimonial-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: rgba(255,255,255,0.86);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-testimonial-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #F2D22E;
  font-size: 0.82rem;
  font-weight: 900;
}

@media (max-width: 1024px) {
  .hero-testimonials-static {
    max-width: 760px;
    margin-top: 18px;
  }
  .hero-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .hero-testimonial-card {
    min-height: auto;
    padding: 18px 20px 15px;
  }
}

@media (max-width: 768px) {
  .hero-testimonials-static {
    display: none;
  }
  .rocket-hero {
    z-index: 2 !important;
  }
}

/* Hermes prod refinement: cartes avis lisibles au-dessus des nuages */
.hero-testimonials-static {
  z-index: 60 !important;
  margin-top: 26px !important;
  margin-bottom: 28px !important;
}

.hero-testimonial-card {
  background: linear-gradient(135deg, rgba(48, 9, 98, 0.88), rgba(76, 3, 157, 0.76)) !important;
  border-color: rgba(255,255,255,0.26) !important;
  box-shadow: 0 22px 60px rgba(13,0,34,0.38), inset 0 1px 0 rgba(255,255,255,0.14) !important;
}

.hero-testimonial-card p {
  color: rgba(255,255,255,0.94) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.22);
}

.hero-testimonial-card strong {
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

/* Hermes prod refinement: permettre au grand titre À propos de revenir à la ligne */
.about-kicker {
  white-space: normal !important;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.12 !important;
}

/* Hermes prod refinement: avis complets en home sous l’icône souris */
.hero-testimonials-static {
  max-width: 1180px !important;
  margin-top: 22px !important;
}

.hero-testimonial-card {
  min-height: 190px !important;
  padding: 24px 22px 20px !important;
}

.hero-testimonial-card p {
  font-size: 0.78rem !important;
  line-height: 1.48 !important;
}

@media (min-width: 1200px) {
  .hero-testimonial-card p {
    font-size: 0.82rem !important;
  }
}

/* Hermes prod refinement: postes dans les cartes avis home */
.hero-testimonial-card strong span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Hermes prod refinement: label clair pour les témoignages home */
.hero-testimonials-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 14px;
  padding: 8px 16px;
  border: 1px solid rgba(242,210,46,0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  box-shadow: 0 10px 28px rgba(13,0,34,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-testimonials-stars {
  color: #F2D22E;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.hero-testimonials-static {
  text-align: center;
}

.hero-testimonials-grid {
  text-align: left;
}

/* Hermes prod refinement: avis en italique */
.hero-testimonial-card p,
#testimonials blockquote,
#testimonials .glass-card p {
  font-style: italic !important;
}

/* Hermes prod refinement: nom + fonction des auteurs d’avis sur une ligne */
.hero-testimonial-card strong span {
  display: inline !important;
  margin-top: 0 !important;
  margin-left: 8px;
  white-space: nowrap;
}

.hero-testimonial-card strong span::before {
  content: "— ";
  color: rgba(255,255,255,0.55);
}

#testimonials .flex.items-center.gap-3 > div:last-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

#testimonials .flex.items-center.gap-3 > div:last-child p {
  margin: 0 !important;
}

#testimonials .flex.items-center.gap-3 > div:last-child p + p::before {
  content: "— ";
  color: rgba(196,181,212,0.55);
}

/* Hermes prod refinement: espacement régulier logos / titre témoignages / avis */
.hero-testimonials-static {
  margin-top: 41px !important;
}

.hero-testimonials-label {
  margin-bottom: 41px !important;
}

/* Hermes prod refinement: aligner les noms des 3 témoignages sur la même ligne */
.hero-testimonials-grid {
  align-items: stretch !important;
}

.hero-testimonial-card {
  display: flex !important;
  flex-direction: column !important;
}

.hero-testimonial-card p {
  flex: 1 1 auto !important;
}

.hero-testimonial-card strong {
  margin-top: auto !important;
  min-height: 22px;
  white-space: nowrap;
}

/* Hermes prod: photo Guilhem dans la section À propos */
.about-side {
  display: flex;
  flex-direction: column;
}

.about-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(76, 3, 157, 0.12);
  box-shadow: 0 28px 70px rgba(45, 36, 86, 0.18);
  background: linear-gradient(135deg, rgba(76,3,157,0.09), rgba(242,210,46,0.11));
}

.about-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
  border-radius: inherit;
}

.about-photo-card img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 1023px) {
  .about-photo-card img {
    height: auto;
    max-height: 620px;
  }
}

/* Hermes prod: photo À propos en rond */
.about-photo-card {
  width: min(100%, 430px) !important;
  aspect-ratio: 1 / 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  border: 6px solid rgba(255,255,255,0.95) !important;
  box-shadow: 0 28px 70px rgba(45, 36, 86, 0.20), 0 0 0 1px rgba(76,3,157,0.10) !important;
}

.about-photo-card::after {
  border-radius: 9999px !important;
}

.about-photo-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 34% !important;
}

@media (max-width: 640px) {
  .about-photo-card {
    width: min(86vw, 360px) !important;
  }
}

/* Hermes prod: photo ronde intégrée dans le texte À propos, avec statistiques à droite */
.about-photo-inline {
  float: left !important;
  width: 180px !important;
  height: 180px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 2px 24px 14px 0 !important;
  border-radius: 9999px !important;
  shape-outside: circle(50%) !important;
}

.about-photo-inline img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 34% !important;
}

@media (min-width: 1280px) {
  .about-photo-inline {
    width: 210px !important;
    height: 210px !important;
  }
}

@media (max-width: 640px) {
  .about-photo-inline {
    float: none !important;
    display: block !important;
    width: min(72vw, 260px) !important;
    height: min(72vw, 260px) !important;
    margin: 0 auto 24px !important;
    shape-outside: none !important;
  }
}

/* Hermes prod refinement: photo À propos plus discrète */
.about-photo-inline {
  width: 150px !important;
  height: 150px !important;
  margin: 2px 20px 12px 0 !important;
}

@media (min-width: 1280px) {
  .about-photo-inline {
    width: 170px !important;
    height: 170px !important;
  }
}

@media (max-width: 640px) {
  .about-photo-inline {
    width: min(58vw, 210px) !important;
    height: min(58vw, 210px) !important;
  }
}

/* Hermes prod refinement: photo ronde à droite dans le texte À propos */
.about-photo-inline {
  float: right !important;
  margin: 2px 0 12px 20px !important;
  shape-outside: circle(50%) !important;
}

@media (max-width: 640px) {
  .about-photo-inline {
    float: none !important;
    margin: 0 auto 24px !important;
  }
}

/* Hermes prod refinement: texte À propos justifié autour/sous la photo */
#a-propos .space-y-5 p {
  text-align: justify !important;
  text-justify: inter-word;
}

/* Hermes prod refinement: photo À propos légèrement agrandie */
.about-photo-inline {
  width: 175px !important;
  height: 175px !important;
}

@media (min-width: 1280px) {
  .about-photo-inline {
    width: 195px !important;
    height: 195px !important;
  }
}

@media (max-width: 640px) {
  .about-photo-inline {
    width: min(64vw, 230px) !important;
    height: min(64vw, 230px) !important;
  }
}

/* Hermes prod refinement: bulle photo ancrée dans le premier paragraphe À propos */
.about-photo-inline {
  display: block !important;
  float: right !important;
  clear: right !important;
  margin: 0 0 14px 22px !important;
  shape-outside: circle(50%) !important;
}

#a-propos .space-y-5 p:first-child,
#a-propos .space-y-5 p:nth-child(2) {
  overflow: visible !important;
}

/* Hermes prod refinement: ne pas justifier les 2 premiers paragraphes autour de la bulle */
#a-propos .space-y-5 p:first-child,
#a-propos .space-y-5 p:nth-child(2) {
  text-align: left !important;
  text-justify: auto !important;
}

/* Hermes prod refinement: remonter la section À propos après suppression du sous-titre */
#a-propos {
  padding-top: 0 !important;
  margin-top: -32px !important;
}

#a-propos .text-center.mb-14 {
  margin-bottom: 2.5rem !important;
}

/* Hermes prod refinement: transition nuages / À propos plus naturelle */
.clouds-container {
  z-index: 22 !important;
  bottom: 18px !important;
  height: 350px !important;
}

.cloud-white {
  bottom: 0 !important;
}

#a-propos {
  margin-top: -54px !important;
  padding-top: 34px !important;
}

@media (max-width: 768px) {
  .clouds-container {
    bottom: 10px !important;
    height: 170px !important;
  }

  #a-propos {
    margin-top: -28px !important;
    padding-top: 30px !important;
  }
}

/* Hermes prod: section Studio IA façon image + cadre chevauchant */
.studio-ia-section {
  background: #4c039D !important;
  padding: 96px 0 84px !important;
  border-top: 0 !important;
}

.studio-ia-showcase {
  position: relative;
  min-height: 560px;
}

.studio-ia-image-wrap {
  position: relative;
  width: min(78%, 920px);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(15, 3, 50, 0.38);
  border: 1px solid rgba(255,255,255,0.16);
}

.studio-ia-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(76,3,157,0.08), rgba(76,3,157,0.34));
  pointer-events: none;
}

.studio-ia-image-wrap img {
  display: block;
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
}

.studio-ia-panel {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(48%, 560px);
  border-radius: 34px;
  padding: clamp(28px, 4vw, 52px);
  background: #ffffff;
  color: #2d2456;
  box-shadow: 0 34px 90px rgba(15, 3, 50, 0.34);
  border: 1px solid rgba(76,3,157,0.10);
  z-index: 2;
}

.studio-ia-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #4c039D;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.studio-ia-eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #F2D22E;
  box-shadow: 0 0 0 8px rgba(242,210,46,0.16);
}

.studio-ia-panel h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.7rem);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
  color: #2d2456;
}

.studio-ia-panel p {
  color: #5b6474;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.82;
  margin-bottom: 28px;
}

.studio-ia-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #F2D22E;
  color: #160c2f;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(242,210,46,0.28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.studio-ia-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(242,210,46,0.36);
}

@media (max-width: 1023px) {
  .studio-ia-section {
    padding: 72px 0 68px !important;
  }
  .studio-ia-showcase {
    min-height: 0;
  }
  .studio-ia-image-wrap {
    width: 100%;
  }
  .studio-ia-image-wrap img {
    height: 360px;
  }
  .studio-ia-panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 28px);
    margin: -72px auto 0;
  }
}

@media (max-width: 640px) {
  .studio-ia-image-wrap {
    border-radius: 24px;
  }
  .studio-ia-image-wrap img {
    height: 300px;
  }
  .studio-ia-panel {
    width: calc(100% - 18px);
    margin-top: -54px;
    border-radius: 24px;
    padding: 28px;
  }
  .studio-ia-panel h2 {
    font-size: 2.35rem;
  }
}

/* Hermes prod refinement: équilibrer l’espace blanc au-dessus/sous le titre À propos */
#a-propos .text-center.mb-14 {
  padding-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

@media (max-width: 768px) {
  #a-propos .text-center.mb-14 {
    padding-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}

/* Hermes prod: photo tête Guilhem dans la bulle équipe */
.team-avatar-photo {
  overflow: hidden !important;
  padding: 0 !important;
  border: 4px solid rgba(255,255,255,0.18) !important;
  background: linear-gradient(135deg,#4c039D,#7a04f5) !important;
  box-shadow: 0 18px 45px rgba(15,3,50,0.26) !important;
}

.team-avatar-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Hermes prod: section équipe v2 humains + agents IA */
.team-v2-section {
  background: radial-gradient(circle at 15% 0%, rgba(242,210,46,0.08), transparent 34%), #4c039D !important;
}

.team-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.team-v2-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 22px 70px rgba(15,3,50,0.26);
  backdrop-filter: blur(18px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.team-v2-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242,210,46,0.34);
  box-shadow: 0 30px 86px rgba(15,3,50,0.34);
}

.team-v2-photo {
  height: 224px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(76,3,157,0.55), rgba(242,210,46,0.12));
}

.team-v2-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.02);
}

.team-v2-body {
  padding: 24px 24px 26px;
}

.team-v2-body h3 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  margin: 0 0 7px;
  letter-spacing: -0.025em;
}

.team-v2-role {
  color: #F2D22E;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 12px;
}

.team-v2-desc {
  color: rgba(232,224,241,0.80);
  font-size: .92rem;
  line-height: 1.48;
  min-height: 62px;
  margin-bottom: 14px;
}

.team-v2-quote {
  color: rgba(255,255,255,0.82);
  font-size: .9rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

@media (max-width: 1023px) {
  .team-v2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .team-v2-grid { grid-template-columns: 1fr; gap: 22px; }
  .team-v2-photo { height: 250px; }
}

/* Hermes prod: liste actions concrètes Studio IA */
.studio-ia-actions {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.studio-ia-actions li {
  position: relative;
  padding-left: 24px;
  color: #2d2456;
  font-size: .98rem;
  line-height: 1.45;
  font-weight: 650;
}

.studio-ia-actions li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4c039D;
  font-weight: 950;
}

/* Hermes prod: portraits équipe en bulles avec têtes complètes */
.team-v2-photo {
  height: 224px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f7f6fb 0%, #ece8f5 100%) !important;
  overflow: hidden !important;
}

.team-v2-photo img {
  width: 176px !important;
  height: 176px !important;
  border-radius: 999px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f4f3f8 !important;
  padding: 0 !important;
  transform: none !important;
  box-shadow: 0 18px 42px rgba(45,36,86,0.18) !important;
  border: 5px solid rgba(255,255,255,0.9) !important;
}

@media (max-width: 640px) {
  .team-v2-photo { height: 230px !important; }
  .team-v2-photo img { width: 182px !important; height: 182px !important; }
}

/* Hermes prod: retour aux zones photos hautes, sans bulles rondes, visages entiers */
.team-v2-photo {
  height: 235px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f7f6fb 0%, #ece8f5 100%) !important;
  overflow: hidden !important;
  padding: 14px !important;
}

.team-v2-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 18px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f4f3f8 !important;
  padding: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .team-v2-photo { height: 255px !important; padding: 14px !important; }
  .team-v2-photo img { width: 100% !important; height: 100% !important; }
}

/* Hermes prod: photos équipe grandes dans le cadre haut, sans bulles */
.team-v2-photo {
  height: 235px !important;
  display: block !important;
  background: #f4f3f8 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.team-v2-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  background: #f4f3f8 !important;
  padding: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .team-v2-photo { height: 255px !important; padding: 0 !important; }
  .team-v2-photo img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
}

/* Hermes prod: léger dézoom des portraits équipe pour éviter les têtes coupées */
.team-v2-photo {
  height: 235px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f4f3f8 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.team-v2-photo img {
  display: block !important;
  width: 92% !important;
  height: 92% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  object-position: center 24% !important;
  background: #f4f3f8 !important;
  padding: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .team-v2-photo { height: 255px !important; }
  .team-v2-photo img { width: 92% !important; height: 92% !important; }
}

/* Hermes prod: fond blanc derrière les photos équipe */
.team-v2-photo {
  background: #ffffff !important;
}

.team-v2-photo img {
  background: #ffffff !important;
}

/* Hermes prod: suppression des fonds gris derrière les visages équipe */
.team-v2-photo {
  background: #ffffff !important;
  padding: 0 !important;
}

.team-v2-photo img {
  background: #ffffff !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center 28% !important;
}

/* Hermes prod: images équipe détourées sur fond blanc uniforme */
.team-v2-photo {
  background: #ffffff !important;
  padding: 0 !important;
}
.team-v2-photo img {
  background: #ffffff !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Hermes prod: garantir les visages complets dans les cadres équipe */
.team-v2-photo {
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.team-v2-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
}

/* Hermes prod final override: portraits équipe non coupés */
section#equipe .team-v2-card .team-v2-photo img,
.team-v2-grid .team-v2-card .team-v2-photo > img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #ffffff !important;
}
section#equipe .team-v2-card .team-v2-photo,
.team-v2-grid .team-v2-card .team-v2-photo {
  background-color: #ffffff !important;
}

/* Hermes prod: intro exemples Studio IA */
.studio-ia-examples-intro {
  margin: 18px 0 8px !important;
  color: #2d2456 !important;
  font-weight: 800 !important;
}

/* Hermes prod: conclusion Studio IA */
.studio-ia-more {
  margin: 14px 0 0 !important;
  color: #4c039D !important;
  font-weight: 800 !important;
  font-style: italic !important;
}

/* Hermes prod: CTA Studio IA aéré */
.studio-ia-cta {
  margin-top: 28px !important;
  margin-bottom: 12px !important;
  display: inline-flex !important;
}

/* Hermes prod: CTA Studio IA aéré */
.studio-ia-cta {
  margin-top: 28px !important;
  margin-bottom: 12px !important;
  display: inline-flex !important;
}

/* Hermes prod: titre Notre studio IA sur une seule ligne */
.studio-ia-card h2,
.studio-ia-content h2 {
  white-space: nowrap !important;
  font-size: clamp(2rem, 3.5vw, 3.35rem) !important;
}
@media (max-width: 520px) {
  .studio-ia-card h2,
  .studio-ia-content h2 {
    white-space: normal !important;
    font-size: 2rem !important;
  }
}

/* Hermes prod: phrase finale Studio IA alignée sur le texte principal */
.studio-ia-more {
  margin: 14px 0 0 !important;
  color: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Hermes prod: portraits équipe plein cadre sans bande basse */
section#equipe .team-v2-card .team-v2-photo,
.team-v2-grid .team-v2-card .team-v2-photo {
  background-color: #ffffff !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
}
section#equipe .team-v2-card .team-v2-photo img,
.team-v2-grid .team-v2-card .team-v2-photo > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  background-color: #ffffff !important;
  border-radius: 0 !important;
}

/* Hermes prod: phrase finale Studio IA identique au paragraphe principal */
.studio-ia-more {
  color: #5b6474 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* Hermes prod: titre Studio IA plus compact pour rester sur une ligne */
.studio-ia-panel h2,
.studio-ia-card h2,
.studio-ia-content h2 {
  font-size: clamp(1.85rem, 3vw, 2.85rem) !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  letter-spacing: -0.035em !important;
}

/* Hermes prod: Studio IA panneau texte plus large, image légèrement réduite */
.studio-ia-showcase {
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr) !important;
  align-items: center !important;
}

.studio-ia-image-wrap {
  max-width: 92% !important;
}

.studio-ia-panel {
  max-width: none !important;
  width: 100% !important;
}

@media (max-width: 980px) {
  .studio-ia-showcase {
    grid-template-columns: 1fr !important;
  }
  .studio-ia-image-wrap {
    max-width: 100% !important;
  }
}

/* Hermes prod: CTA menu même rendu que Commencez ici, y compris après clic */
header a.btn-primary,
header a.btn-primary:link,
header a.btn-primary:visited,
header a.btn-primary:hover,
header a.btn-primary:active,
header a.btn-primary:focus,
nav a.btn-primary,
nav a.btn-primary:link,
nav a.btn-primary:visited,
nav a.btn-primary:hover,
nav a.btn-primary:active,
nav a.btn-primary:focus {
  background: #F2D22E !important;
  color: #1a0040 !important;
  text-decoration: none !important;
}

header a.btn-primary span,
header a.btn-primary svg,
nav a.btn-primary span,
nav a.btn-primary svg {
  color: #1a0040 !important;
  stroke: currentColor !important;
}

header a.btn-primary:hover,
nav a.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(242, 210, 46, 0.35) !important;
}

header a.btn-primary:focus-visible,
nav a.btn-primary:focus-visible {
  outline: 2px solid rgba(242, 210, 46, 0.75) !important;
  outline-offset: 3px !important;
}

/* Hermes prod: restaurer image Studio IA et faire empiéter davantage la carte texte */
.studio-ia-showcase {
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
}

.studio-ia-image-wrap {
  max-width: 100% !important;
  width: 100% !important;
}

.studio-ia-panel {
  max-width: none !important;
  width: calc(100% + 86px) !important;
  margin-left: -86px !important;
  position: relative !important;
  z-index: 3 !important;
}

@media (max-width: 980px) {
  .studio-ia-showcase {
    grid-template-columns: 1fr !important;
  }
  .studio-ia-panel {
    width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Hermes prod correction: chevauchement Studio IA propre sans sortie écran */
.studio-ia-showcase {
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 0 !important;
}

.studio-ia-image-wrap {
  max-width: 100% !important;
  width: 100% !important;
  transform: none !important;
}

.studio-ia-panel {
  width: calc(100% + 64px) !important;
  max-width: none !important;
  margin-left: -64px !important;
  margin-right: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 3 !important;
}

/* Hermes prod final: Studio IA retour layout original image gauche + carte chevauchante */
.studio-ia-showcase {
  display: block !important;
  position: relative !important;
  min-height: 560px !important;
}

.studio-ia-image-wrap {
  position: relative !important;
  width: min(78%, 920px) !important;
  max-width: none !important;
  border-radius: 34px !important;
  overflow: hidden !important;
}

.studio-ia-image-wrap img {
  width: 100% !important;
  height: 540px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.studio-ia-panel {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: min(54%, 640px) !important;
  max-width: 640px !important;
  margin: 0 !important;
  z-index: 3 !important;
}

@media (max-width: 1023px) {
  .studio-ia-showcase {
    display: block !important;
    min-height: 0 !important;
  }
  .studio-ia-image-wrap {
    width: 100% !important;
  }
  .studio-ia-image-wrap img {
    height: 360px !important;
  }
  .studio-ia-panel {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin: -72px auto 0 !important;
  }
}
