/* style.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2b2a2a;
  background: #ebe4dd;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(235, 228, 221, 0.25);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(95, 92, 91, 0.15);
  box-shadow: 0 4px 24px rgba(43, 42, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* LOGO */

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #2b2a2a;
  text-decoration: none;
}

.logo-star {
  display: inline-block;
  color: #5f5c5b;
  font-size: 1rem;
  animation: starSpin 4s linear infinite;
}

/* NAV LINKS */

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  color: #2b2a2a;
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  transition: color 0.25s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(95, 92, 91, 0.1);
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link span {
  position: relative;
  z-index: 1;
}

.nav-link:hover {
  color: #2b2a2a;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.85rem;
  width: calc(100% - 1.7rem);
  height: 1.5px;
  background: #5f5c5b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease 0.1s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* BOUTON CONTACT */

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ebe4dd;
  text-decoration: none;
  background: #2b2a2a;
  border-radius: 6px;
  overflow: hidden;
  transition: color 0.3s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #5f5c5b;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.nav-cta:hover::before {
  transform: translateY(0);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background-color: #ebe4dd;
  border-bottom: 1px solid rgba(95, 92, 91, 0.2);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #e81cff, transparent 70%);
  top: -120px;
  right: -80px;
  animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #7b2fff, transparent 70%);
  bottom: -80px;
  left: 20%;
  animation: orbFloat2 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, 40px) scale(1.08); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -30px) scale(1.05); }
}

.hero-inner {
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeSlideDown 0.7s ease both;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  color: #5f5c5b;
}

.hero-tagline-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e81cff;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 28, 255, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(232, 28, 255, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.hero-title-rotating {
  display: block;
  position: relative;
  height: 1.25em;
  overflow: hidden;
  min-height: 1.25em;
}

.rotating-word {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  background: linear-gradient(135deg, #2b2a2a 30%, #7b2fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.leaving {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-text {
  max-width: 440px;
  color: #5f5c5b;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Carte flottante hero */
.hero-card-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 24px 60px rgba(43, 42, 42, 0.12), 0 4px 16px rgba(123, 47, 255, 0.08);
  animation: cardFloat 6s ease-in-out infinite;
  border: 1px solid rgba(95, 92, 91, 0.08);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50%       { transform: translateY(-10px) rotate(-0.5deg); }
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.hero-card-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.hero-card-title {
  margin-left: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2b2a2a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #2b2a2a;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  animation: itemReveal 0.4s ease forwards;
  animation-delay: calc(var(--d) + 0.6s);
}

@keyframes itemReveal {
  to { opacity: 1; transform: translateX(0); }
}

.hero-card-check {
  font-size: 0.75rem;
  font-weight: 700;
  color: #28c840;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.hero-card-check-pending { color: #afa9a5; }
.hero-card-item span:nth-child(2) { flex: 1; }

.hero-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-done     { background: rgba(40, 200, 64, 0.12); color: #1a9930; }
.tag-progress { background: rgba(232, 28, 255, 0.1);  color: #a010c0; }
.tag-todo     { background: rgba(175, 169, 165, 0.15); color: #5f5c5b; }

.hero-card-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(95, 92, 91, 0.1);
}

.hero-card-progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5f5c5b;
  white-space: nowrap;
}

.hero-card-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(95, 92, 91, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.hero-card-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e81cff, #7b2fff);
  border-radius: 999px;
  animation: progressFill 1.2s 1.2s ease forwards;
}

@keyframes progressFill {
  to { width: 60%; }
}

.hero-card-progress-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7b2fff;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-card-wrap { justify-content: flex-start; }
  .hero-card { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero-title-rotating {
    height: 1.4em;
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  position: relative;
  border: none;
  background-color: #2b2a2a;
  color: #ebe4dd;
  overflow: visible;
}

.btn-primary:hover {
  transform: scale(0.96);
}

.btn-primary:active {
  transform: scale(0.93);
}

.btn-primary:before,
.btn-primary:after {
  position: absolute;
  content: "";
  width: 150%;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1000;
  background-repeat: no-repeat;
}

.btn-primary:hover:before {
  top: -70%;
  background-image: radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, #5f5c5b 20%, transparent 30%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #5f5c5b 15%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%);
  background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
  background-position: 50% 120%;
  animation: topBubbles 0.6s ease;
}

@keyframes topBubbles {
  0% { background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%; }
  50% { background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%; }
  100% { background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}

.btn-primary:hover::after {
  bottom: -70%;
  background-image: radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, #5f5c5b 15%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%),
    radial-gradient(circle, #5f5c5b 20%, transparent 20%);
  background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
  background-position: 50% 0%;
  animation: bottomBubbles 0.6s ease;
}

@keyframes bottomBubbles {
  0% { background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%; }
  50% { background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%; }
  100% { background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}

.btn-outline {
  background: transparent;
  color: #2b2a2a;
  border: 1.5px solid #5f5c5b;
  border-radius: 999px;
}

.btn-outline:hover {
  background: #2b2a2a;
  color: #ebe4dd;
  border-color: #2b2a2a;
}

.btn-cross {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border: 1.5px solid #2b2a2a;
  color: #2b2a2a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
}

.btn-cross::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - 12px);
  background-color: #ebe4dd;
  transition: transform 0.3s ease-in-out;
  transform: scaleY(1);
}

.btn-cross:hover::before {
  transform: scaleY(0);
}

.btn-cross::after {
  content: '';
  position: absolute;
  left: 6px;
  top: -2px;
  height: calc(100% + 4px);
  width: calc(100% - 12px);
  background-color: #ebe4dd;
  transition: transform 0.3s ease-in-out;
  transform: scaleX(1);
  transition-delay: 0.3s;
}

.btn-cross:hover::after {
  transform: scaleX(0);
}

.btn-cross span {
  position: relative;
  z-index: 3;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
  text-decoration: underline;
}

.btn-3d {
  transform: rotate(-15deg) skew(15deg);
  transform-style: preserve-3d;
  position: relative;
  display: inline-block;
  width: 180px;
  height: 38px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  margin-top: 2.5rem;
}

.btn-3d::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -4px;
  width: 100%;
  height: 8px;
  background: #5f5c5b;
  transform: skewX(-41deg);
}

.btn-3d::after {
  content: '';
  position: absolute;
  top: 4px;
  left: -7px;
  width: 7px;
  height: 100%;
  background: #5f5c5b;
  transform: skewY(-49deg);
}

.btn-3d span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2b2a2a;
  color: #ebe4dd;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 1.1s ease-out;
}

.btn-3d:hover span {
  z-index: 1000;
  transition: .3s;
  color: #ebe4dd;
}

.btn-3d:hover span:nth-child(5) { transform: translate(30px, -30px); opacity: 1; background: #2b2a2a; }
.btn-3d:hover span:nth-child(4) { transform: translate(22px, -22px); opacity: .8; }
.btn-3d:hover span:nth-child(3) { transform: translate(15px, -15px); opacity: .6; }
.btn-3d:hover span:nth-child(2) { transform: translate(8px, -8px); opacity: .4; }
.btn-3d:hover span:nth-child(1) { transform: translate(0px, 0px); opacity: .2; }

.btn-3d:active span:nth-child(5) { transform: translate(15px, -15px); }
.btn-3d:active span:nth-child(4) { transform: translate(11px, -11px); }
.btn-3d:active span:nth-child(3) { transform: translate(7px, -7px); }
.btn-3d:active span:nth-child(2) { transform: translate(3px, -3px); }
.btn-3d:active span:nth-child(1) { transform: translate(0px, 0px); }

/* SECTIONS */

.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* RÉASSURANCE */

.reassurance-bar {
  background: #2b2a2a;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.reassurance-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #ebe4dd;
  letter-spacing: 0.02em;
}

.reassurance-icon {
  font-size: 0.9rem;
}

.reassurance-sep {
  color: #5f5c5b;
  font-size: 0.6rem;
}

/* AGENCE */

.section-agence {
  overflow: hidden;
}

.agence-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agence-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f5c5b;
  background: rgba(95, 92, 91, 0.1);
  border: 1px solid rgba(95, 92, 91, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  width: fit-content;
  animation: fadeSlideDown 0.6s ease both;
}

.agence-content h2 {
  margin: 0;
  animation: fadeSlideDown 0.6s 0.1s ease both;
}

.agence-content p {
  color: #5f5c5b;
  line-height: 1.7;
  margin: 0;
  animation: fadeSlideDown 0.6s 0.2s ease both;
}

.agence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  animation: fadeSlideDown 0.6s 0.3s ease both;
}

.tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #2b2a2a;
  color: #ebe4dd;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: default;
}

.tag:hover {
  transform: translateY(-2px);
  background: #5f5c5b;
}

.agence-content .btn-link {
  animation: fadeSlideDown 0.6s 0.4s ease both;
  font-weight: 600;
  color: #2b2a2a;
  transition: letter-spacing 0.2s ease;
}

.agence-content .btn-link:hover {
  letter-spacing: 0.04em;
}

.image-placeholder {
  text-align: center;
  display: flex;
  justify-content: center;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(#e81cff, #7b2fff, transparent 60%, transparent);
  animation: spinRing 6s linear infinite;
  z-index: 0;
}

.image-ring::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #ebe4dd;
}

.mon-image {
  position: relative;
  z-index: 1;
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.mon-image:hover {
  transform: scale(1.03);
}

@keyframes spinRing {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* STATS */

.section-stats {
  background: #2b2a2a;
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(235, 228, 221, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  background: rgba(235, 228, 221, 0.04);
  border-color: rgba(232, 28, 255, 0.3);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ebe4dd;
  line-height: 1;
  background: linear-gradient(135deg, #e81cff, #7b2fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #afa9a5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* EXPERTISES GRID */
.expertises-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.expertises-card {
  position: relative;
  border-radius: 14px;
  padding: 1.4rem;
  border: 1px solid rgba(95, 92, 91, 0.12);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Barre colorée en haut au hover */
.expertises-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #7b2fff, #e81cff);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.expertises-card:nth-child(even)::before {
  background: linear-gradient(90deg, #e81cff, #7b2fff);
}

.expertises-card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 92, 91, 0.25);
  box-shadow: 0 12px 32px rgba(43, 42, 42, 0.08);
}
.expertises-card:hover::before { opacity: 1; }

/* Icône */
.expertises-card-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.expertises-card:nth-child(odd) .expertises-card-icon  { background: rgba(123, 47, 255, 0.1); }
.expertises-card:nth-child(even) .expertises-card-icon { background: rgba(232, 28, 255, 0.1); }

/* Titre */
.expertises-card .tip {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2b2a2a;
  margin: 0 0 0.85rem;
}

/* Séparateur */
.expertises-card-divider {
  height: 1px;
  background: rgba(95, 92, 91, 0.1);
  margin-bottom: 0.85rem;
}

/* Liste */
.expertises-card .second-text {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.expertises-card .second-text li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #5f5c5b;
  line-height: 1.45;
}
.expertises-card .second-text li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #afa9a5;
  flex-shrink: 0;
  margin-top: 0.42em;
}

/* Compteur */
.expertises-card-count {
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #afa9a5;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .expertises-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .expertises-grid { grid-template-columns: 1fr; }
  .expertises-card  { padding: 1.1rem; }
}

/* PROCESSUS */

.section-processus {
  background: #f5f0eb;
}

.section-processus .agence-badge {
  margin-bottom: 0.5rem;
}

.section-processus h2 {
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.processus-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.processus-step {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: #ebe4dd;
  border-radius: 12px;
  border: 1px solid rgba(95, 92, 91, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  min-width: 160px;
}

.processus-step:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.step-number {
  font-size: 2rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px #5f5c5b;
  line-height: 1;
  letter-spacing: -0.02em;
}

.step-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #2b2a2a;
}

.step-content p {
  margin: 0;
  font-size: 0.82rem;
  color: #5f5c5b;
  line-height: 1.6;
}

.processus-connector {
  flex: 0 0 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #5f5c5b 0 6px, transparent 6px 12px);
  opacity: 0.4;
  margin: 0 4px;
  align-self: center;
  margin-bottom: 1rem; /* optical centering */
}

/* TÉMOIGNAGE */

.section-temoignage {
  background: #2b2a2a;
  padding: 5rem 0;
}

.temoignage-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.temoignage-quote {
  font-size: 5rem;
  line-height: 0.6;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, #e81cff, #7b2fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.temoignage-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #ebe4dd;
  font-style: italic;
  margin: 0;
  opacity: 0.9;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e81cff, #7b2fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ebe4dd;
}

.author-role {
  margin: 0;
  font-size: 0.78rem;
  color: #afa9a5;
}

/* PROJETS GRID */

.projets-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "a b"
    "c b";
  gap: 1.5rem;
}

.projets-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  color: #ebe4dd;
  cursor: pointer;
  transition: 400ms;
  overflow: hidden; /* pour que l'image respecte le border-radius */
}

.projets-card.card-a { background-color: #5f5c5b; grid-area: a; }
.projets-card.card-b { background-color: #afa9a5; grid-area: b; }
.projets-card.card-c { background-color: #2b2a2a; grid-area: c; }

/* Zone image */
.projets-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.projets-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.projets-card:hover .projets-card-img img {
  transform: scale(1.05);
}

/* Zone texte */
.projets-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  flex: 1;
}

.projets-card .tip {
  font-size: 1em;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ebe4dd;
}

.projets-card .second-text {
  font-size: 0.78em;
  margin: 0;
  color: #ebe4dd;
  opacity: 0.85;
  line-height: 1.6;
}

.projets-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.projets-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ebe4dd;
  text-decoration: none;
  border-bottom: 1px solid rgba(235, 228, 221, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.projets-card-link:hover {
  opacity: 1;
  border-color: #ebe4dd;
}

.projets-grid:hover > .projets-card:not(:hover) {
  filter: blur(4px);
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .projets-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c";
  }
}
/* FAQ */

.section-faq {
  background: #f5f0eb;
}

.section-faq .agence-badge {
  margin-bottom: 0.5rem;
}

.section-faq h2 {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid rgba(95, 92, 91, 0.18);
}

.faq-item:first-of-type {
  border-top: 1px solid rgba(95, 92, 91, 0.18);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: #2b2a2a;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: #5f5c5b;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  color: #5f5c5b;
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: #2b2a2a;
}

.faq-answer {
  padding: 0 0 1.2rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.88rem;
  color: #5f5c5b;
  line-height: 1.7;
}

/* CONTACT FORM */

#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 1.5rem;
}

.form-container {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(#2b2a2a, #2b2a2a) padding-box,
              linear-gradient(145deg, transparent 35%, #e81cff, #7b2fff) border-box;
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: #ebe4dd;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background-size: 200% 100%;
  animation: gradient 5s ease infinite;
}

@keyframes gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.form-container button:active {
  scale: 0.95;
}

.form-container .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #5f5c5b;
  font-weight: 600;
  font-size: 12px;
}

.form-container .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #ebe4dd;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid #5f5c5b;
}

.form-container .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #ebe4dd;
  height: 96px;
  border: 1px solid #5f5c5b;
  background-color: transparent;
  font-family: inherit;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-group textarea:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #5f5c5b;
  font-weight: 600;
  width: 40%;
  background: #2b2a2a;
  border: 1px solid #5f5c5b;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.form-container .form-submit-btn:hover {
  background-color: #ebe4dd;
  border-color: #ebe4dd;
  color: #2b2a2a;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(95, 92, 91, 0.15);
  padding: 1.5rem 0;
  background: #ebe4dd;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  margin-left: 1rem;
  color: #5f5c5b;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #2b2a2a;
}

/* COOKIE BANNER */

.card {
  width: 300px;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 13px;
  position: fixed;
  bottom: -300px;
  right: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.15);
  transition: bottom 0.6s ease;
  z-index: 100;
}

.card.visible {
  bottom: 1.5rem;
}

#cookieSvg {
  width: 50px;
}

#cookieSvg g path {
  fill: rgb(97, 81, 81);
}

.cookieHeading {
  font-size: 1.2em;
  font-weight: 800;
  color: rgb(26, 26, 26);
}

.cookieDescription {
  text-align: center;
  font-size: 0.7em;
  font-weight: 600;
  color: rgb(99, 99, 99);
}

.buttonContainer {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.acceptButton {
  width: 80px;
  height: 30px;
  background-color: #5f5c5b;
  transition-duration: .2s;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
}

.declineButton {
  width: 80px;
  height: 30px;
  background-color: rgb(218, 218, 218);
  transition-duration: .2s;
  color: rgb(46, 46, 46);
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
}

.declineButton:hover { background-color: #ebebeb; transition-duration: .2s; }
.acceptButton:hover { background-color: #5f5c5b; transition-duration: .2s; }

/* RESPONSIVE */

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .processus-connector {
    display: none;
  }
  .processus-grid {
    flex-direction: column;
    gap: 1rem;
  }
  .processus-step {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
  }
  .main-nav {
    display: none;
  }
  .section-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .cookie-banner {
    right: 0.5rem;
    left: 0.5rem;
    margin-right: 0.5rem;
  }
  .projets-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c";
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reassurance-sep {
    display: none;
  }
}

/* CURSOR STAR */

.cursor-star {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.08s ease, top 0.08s ease;
}

.cursor-star::before {
  content: '✦';
  position: absolute;
  font-size: 14px;
  color: #5f5c5b;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: starSpin 3s linear infinite;
}

@keyframes starSpin {
  from { rotate: 0deg; scale: 1; }
  50%  { scale: 1.4; }
  to   { rotate: 360deg; scale: 1; }
}