/* === HERO === */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 6%, rgba(233, 30, 140, 0.06), transparent 18%),
    radial-gradient(circle at 79% 24%, rgba(68, 214, 138, 0.1), transparent 24%),
    radial-gradient(
      circle at 12% 10%,
      rgba(10, 191, 188, 0.08),
      transparent 24%
    );
}
.hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(21, 101, 192, 0.08) 0%,
    rgba(21, 101, 192, 0) 70%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -4%;
  top: -8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(233, 30, 140, 0.06) 0%,
    rgba(233, 30, 140, 0) 72%
  );
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  background: linear-gradient(
    135deg,
    rgba(233, 30, 140, 0.08),
    rgba(10, 191, 188, 0.11)
  );
  border: 1px solid rgba(233, 30, 140, 0.16);
  box-shadow: 0 10px 24px rgba(233, 30, 140, 0.06);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s 0.1s ease both;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-primary));
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.hero-title {
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-slogan {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.25s ease both;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 520px;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.32s ease both;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.5s ease both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-light);
}
.trust-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(233, 30, 140, 0.12),
    rgba(10, 191, 188, 0.1)
  );
  border-radius: 50%;
  color: var(--color-primary);
  box-shadow: 0 10px 22px rgba(10, 191, 188, 0.08);
  flex-shrink: 0;
}
.trust-item:nth-child(2) .trust-icon {
  color: var(--color-blue);
}

/* === Hero visual === */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* Logo animé à partir du vrai PNG */
.hero-logo-anim {
  position: relative;
  width: min(100%, 560px);
}
.hero-logo-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.hero-logo-word-wrap {
  position: relative;
  opacity: 0;
  transform: translateY(18px) scale(0.965);
  transform-origin: center center;
  filter: drop-shadow(0 12px 24px rgba(21, 101, 192, 0.08));
  will-change: transform, opacity;
}
.hero-logo-word {
  width: 100%;
  height: auto;
}
.hero-logo-brush-mask {
  position: relative;
  margin-top: clamp(0.85rem, 3.2vw, 2.6rem);
  clip-path: inset(0 100% 0 0);
  opacity: 0.35;
  transform: translateY(6px);
  will-change: clip-path, opacity, transform;
}
.hero-logo-brush {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(21, 101, 192, 0.1));
}
.hero-logo-shine {
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: -32%;
  width: 20%;
  background: linear-gradient(
    115deg,
    transparent 10%,
    rgba(255, 255, 255, 0.04) 35%,
    rgba(255, 255, 255, 0.96) 50%,
    rgba(255, 255, 255, 0.04) 65%,
    transparent 90%
  );
  transform: translateX(0) skewX(-18deg);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
@keyframes heroLogoShine {
  0% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  100% {
    transform: translateX(540%) skewX(-18deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-word-wrap,
  .hero-logo-brush-mask {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}

/* Floating cards */
.floating-cards {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 430px;
}
.float-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  transition:
    background var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.float-card:hover,
.float-card:focus-visible {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.float-card:focus-visible {
  outline-color: var(--color-pink);
}
.float-card-1 {
  border-color: rgba(10, 191, 188, 0.16);
}
.float-card-2 {
  border-color: rgba(68, 214, 138, 0.22);
}
.float-card-3 {
  border-color: rgba(233, 30, 140, 0.2);
  box-shadow: 0 16px 28px rgba(233, 30, 140, 0.08);
}
.float-card-1 {
  animation:
    floatY 3.5s 0.6s ease-in-out infinite,
    fadeUp 0.6s 0.7s ease both;
}
.float-card-2 {
  animation:
    floatY 3.5s 1s ease-in-out infinite,
    fadeUp 0.6s 0.85s ease both;
}
.float-card-3 {
  animation:
    floatY 3.5s 0.2s ease-in-out infinite,
    fadeUp 0.6s 1s ease both;
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-icon-teal {
  background: var(--color-primary-alpha);
}
.fc-icon-green {
  background: var(--color-green-alpha);
}
.fc-icon-pink {
  background: var(--color-pink-alpha);
}
.fc-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}
.fc-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* === ABOUT === */
.about {
  padding: var(--section-spacing) 0;
  background: linear-gradient(
    180deg,
    var(--color-bg-soft),
    rgba(255, 241, 248, 0.58)
  );
}
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}
.about-image-wrap {
  position: relative;
  flex-shrink: 0;
}
.about-photo-placeholder {
  width: 200px;
  height: 240px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(233, 30, 140, 0.1),
    rgba(10, 191, 188, 0.08),
    rgba(68, 214, 138, 0.1)
  );
  border: 2px dashed rgba(233, 30, 140, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-initials {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-photo {
  width: 200px;
  height: 240px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.about-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* === PRESTATIONS OVERVIEW === */
.prestations {
  padding: var(--section-spacing) 0;
}
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.formation-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base);
}
.formation-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-pink),
    var(--color-primary),
    var(--color-green)
  );
  opacity: 0;
  transition: opacity var(--t-base);
}
.formation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.formation-card:hover::before {
  opacity: 1;
}

.fc-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(245, 249, 251, 0.85),
    rgba(255, 255, 255, 0.98)
  );
  border-bottom: 1px solid var(--color-border);
}
.fc-accent {
  width: 4px;
  border-radius: 2px;
  min-height: 44px;
  flex-shrink: 0;
  margin-top: 2px;
}
.fc-accent-teal {
  background: var(--color-primary);
}
.fc-accent-green {
  background: var(--color-green);
}
.fc-accent-blue {
  background: var(--color-blue);
}

.fc-head-text {
  min-width: 0;
}
.fc-head-text h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  overflow-wrap: normal;
  word-break: normal;
}
.fc-head-text span {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.fc-body {
  padding: 1.25rem 1.5rem;
}
.fc-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.fc-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.fc-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--t-fast);
}
.fc-link:hover {
  color: var(--color-primary-dark);
}

.prestations-cta {
  text-align: center;
}

/* === MODES D'INTERVENTION === */
.modes {
  padding: var(--section-spacing) 0;
  background: var(--color-section-alt);
}
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.modes-grid-single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.mode-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.mode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--color-pink),
    var(--color-primary),
    var(--color-green)
  );
  opacity: 0;
  transition: opacity var(--t-base);
}
.mode-card:hover::before,
.mode-card-alt::before {
  opacity: 1;
}
.mode-card-alt {
  border-color: rgba(233, 30, 140, 0.22);
  box-shadow: 0 0 0 1px rgba(233, 30, 140, 0.08);
  background: linear-gradient(180deg, #fff, rgba(255, 241, 248, 0.45));
}
.mode-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-pink);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.mode-card h3 {
  margin-bottom: 0.75rem;
}
.mode-card p {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.mode-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mf-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--color-text-light);
}
.mf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink), var(--color-primary));
  flex-shrink: 0;
}

.qualiopi-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(233, 30, 140, 0.06),
    rgba(10, 191, 188, 0.06)
  );
  border-radius: var(--radius-md);
  border: 1px solid rgba(233, 30, 140, 0.14);
  box-shadow: var(--shadow-xs);
}
.qualiopi-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.qualiopi-notice p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* === ZONE === */
.zone {
  padding: var(--section-spacing) 0;
  background: linear-gradient(180deg, #fff, rgba(245, 249, 251, 0.78));
}
.zone-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.zone-text p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.zone-deps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.dep-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(245, 249, 251, 0.86)
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.dep-main {
  border-color: rgba(233, 30, 140, 0.18);
  background: linear-gradient(
    135deg,
    rgba(233, 30, 140, 0.08),
    rgba(10, 191, 188, 0.08),
    rgba(68, 214, 138, 0.08)
  );
}
.dep-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
}
.dep-main .dep-num {
  color: var(--color-pink);
}
.dep-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
.dep-name span {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.78rem;
}
.zone-cities {
  margin-bottom: 1.25rem;
}
.zone-cities-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.zone-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.zone-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}
.zone-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
