* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}
body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, #f5f1eb 0%, #ede7df 100%);
  color: #3d3d3d;
  line-height: 1.6;
}

.page-wrapper {
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: #2d2d2d;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #5a5a5a;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-subtitle-small {
  font-size: 1rem;
  color: #7a7a7a;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Hero section with warm beige gradient background */
/* Hero section animations */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f1eb 0%, #f0e8df 100%);
}

.hero-bg-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.blur-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #c9a876 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.blur-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #d4b896 0%, transparent 70%);
  bottom: 10%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 30px);
  }
}

/* <CHANGE> Slide in animations from different directions */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(201, 168, 118, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(201, 168, 118, 0.6), 0 0 30px rgba(201, 168, 118, 0.3);
  }
}

.hero-content {
  position: relative;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

/* <CHANGE> Slide in from left for hero title */
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #2d2d2d;
  animation: slideInLeft 0.8s ease-out forwards;
}

.title-line {
  display: inline;
  margin-bottom: 0.5rem;
}

.highlight {
  color: #c9a876;
  position: relative;
  display: inline-block;
}

/* <CHANGE> Slide in from right for guarantee box */
.guarantee-box {
  max-width: 700px;
  margin: 0 auto 2rem;
  background-color: rgba(201, 168, 118, 0.1);
  border: 2px solid #c9a876;
  padding: 1.25rem 2rem;
  border-radius: 0.75rem;
  text-align: center;
  animation: slideInRight 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.guarantee-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #3d3d3d;
  line-height: 1.4;
}

/* <CHANGE> Slide in from bottom for video container */
.video-container {
  max-width: 900px;
  margin: 0 auto 2rem;
  animation: slideInBottom 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.video-wrapper {
  background-color: rgba(232, 220, 200, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 168, 118, 0.4);
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.15) 0%, rgba(212, 184, 150, 0.15) 100%);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 5rem;
  height: 5rem;
  background-color: #c9a876;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(201, 168, 118, 0.4);
}

.play-button:hover {
  background-color: #b8956a;
  transform: scale(1.1);
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 16px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-title {
  font-weight: 700;
  color: #2d2d2d;
  font-size: 1.125rem;
}

.video-subtitle {
  color: #5a5a5a;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* <CHANGE> Slide in from left for trust indicators with stagger */
.trust-indicators {
  margin-top: 0;
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: #3d3d3d;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.trust-item:nth-child(1) {
  animation-delay: 0.6s;
}

.trust-item:nth-child(2) {
  animation-delay: 0.75s;
}

.trust-item:nth-child(3) {
  animation-delay: 0.9s;
}

.trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #c9a876;
}

/* <CHANGE> Slide in from bottom for CTA button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #c9a876 0%, #d4b896 100%);
  color: #644536;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1.5rem 3rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(201, 168, 118, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-bottom: 2rem;
  animation: slideInBottom 0.8s ease-out 1.05s forwards, pulseGlow 2s ease-in-out 2s infinite;
  opacity: 0;
}

.cta-button:hover {
  background: linear-gradient(135deg, #b8956a 0%, #c9a876 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(201, 168, 118, 0.6);
}

@media (max-width: 768px) {

  .hero-title {
    font-size: 1rem;          /* lisible + équilibré */
    line-height: 1.23;
    max-width: 310px;         /* largeur idéale pour 3 lignes */
    margin: 0 auto 1rem;
    font-weight: 800;
    text-align: center;
  }

  .title-line {
    display: block;
    margin-bottom: 0.18rem;
  }

  .highlight {
    font-size: 1.08rem;       /* accent propre sans casser */
  }
  .guarantee-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d3d3d;
  line-height: 1.4;
}
  .cta-button {
    font-size: 0.95rem;
    padding: 0.9rem 1.8rem;
  }

}
.trust-indicators,
    .trust-indicators *,
    .trust-item {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

/* --- SECTION 2 START --- */

/* Formation section with warm beige background gradient */
.formation-section {
  padding: 5rem 1rem;
  background: linear-gradient(180deg, #f5f1eb 0%, #ede7df 50%, #e8dcc8 100%);
  position: relative;
  overflow: hidden;
}

.formation-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  max-width: 1100px;
  margin: 60px auto;
  position: relative;
  z-index: 2;
}

/* Updated background shapes to warm taupe tones */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
  animation: floatShape 12s ease-in-out infinite;
  pointer-events: none;
}

.shape-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #c9a876 0%, transparent 70%);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #d4b896 0%, transparent 70%);
  bottom: 15%;
  right: 10%;
  animation-delay: 4s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #b8956a 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 8s;
}

.shape-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #c9a876 0%, transparent 70%);
  top: 30%;
  right: 20%;
  animation-delay: 6s;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 40px) scale(0.9);
  }
}

/* Updated formation card with warm beige background and taupe border */
.formation-card-enhanced {
  background: linear-gradient(135deg, rgba(232, 220, 200, 0.6) 0%, rgba(237, 231, 223, 0.8) 100%);
  border: 2px solid rgba(201, 168, 118, 0.4);
  border-radius: 1.25rem;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  cursor: pointer;

  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.formation-card-enhanced:nth-child(1) {
  transition-delay: 0.1s;
}
.formation-card-enhanced:nth-child(2) {
  transition-delay: 0.2s;
}
.formation-card-enhanced:nth-child(3) {
  transition-delay: 0.3s;
}
.formation-card-enhanced:nth-child(4) {
  transition-delay: 0.4s;
}

.formation-card-enhanced.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transition-delay: 0s;
}

/* Updated inner glow to warm taupe */
.formation-card-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(201, 168, 118, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
  .formation-card-enhanced:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(201, 168, 118, 0.8);
    box-shadow: 0 20px 50px rgba(201, 168, 118, 0.3), 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 30px rgba(201, 168, 118, 0.2);
  }

  .formation-card-enhanced:hover::before {
    opacity: 1;
  }

  .formation-card-enhanced:hover .formation-icon-enhanced {
    transform: scale(1.15);
    color: #d4b896;
    filter: drop-shadow(0 8px 25px rgba(201, 168, 118, 0.6));
  }
}

.formation-card-enhanced:active {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(201, 168, 118, 0.7);
}

.formation-card-enhanced:focus-visible {
  outline: 3px solid rgba(201, 168, 118, 0.8);
  outline-offset: 4px;
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(201, 168, 118, 0.8);
  box-shadow: 0 20px 50px rgba(201, 168, 118, 0.3), 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 30px rgba(201, 168, 118, 0.2);
}

.card-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  height: 5rem;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* Updated formation icon color to warm taupe */
.formation-icon-enhanced {
  width: 5rem;
  height: 5rem;
  color: #c9a876;
  filter: drop-shadow(0 5px 15px rgba(201, 168, 118, 0.4));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, filter 0.3s ease;
  transform-origin: center;
  will-change: transform, filter;
  pointer-events: none;
}

.formation-card-enhanced h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.formation-card-enhanced p {
  font-size: 1rem;
  color: #5a5a5a;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.person-left,
.person-right {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
  .formation-card-enhanced[data-animation="community"]:hover .person-left {
    transform: translateX(-3px);
  }

  .formation-card-enhanced[data-animation="community"]:hover .person-right {
    transform: translateX(3px);
  }
}

.ripple-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Updated ripple border color to warm taupe */
.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid rgba(201, 168, 118, 0.5);
  border-radius: 50%;
  opacity: 0;
  animation: none;
}

@media (hover: hover) and (pointer: fine) {
  .formation-card-enhanced[data-animation="interview"]:hover .ripple {
    animation: rippleEffect 2s ease-out infinite;
  }

  .formation-card-enhanced[data-animation="interview"]:hover .ripple-1 {
    animation-delay: 0s;
  }

  .formation-card-enhanced[data-animation="interview"]:hover .ripple-2 {
    animation-delay: 0.6s;
  }

  .formation-card-enhanced[data-animation="interview"]:hover .ripple-3 {
    animation-delay: 1.2s;
  }
}

@keyframes rippleEffect {
  0% {
    width: 80px;
    height: 80px;
    opacity: 0.8;
    border-width: 2px;
  }
  100% {
    width: 140px;
    height: 140px;
    opacity: 0;
    border-width: 1px;
  }
}

.approved-icon {
  transition: stroke 0.3s ease, filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .formation-card-enhanced[data-animation="approved"]:hover .approved-icon {
    stroke: #00ff80;
    filter: drop-shadow(0 0 20px rgba(0, 255, 128, 0.8)) brightness(1.15);
  }
}

.shield-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .formation-card-enhanced[data-animation="shield"]:hover .shield-icon {
    transform: translateY(-5px) scale(1.08);
    filter: drop-shadow(0 10px 30px rgba(201, 168, 118, 0.7)) drop-shadow(0 0 20px rgba(212, 184, 150, 0.4));
  }
}

@media (prefers-reduced-motion: reduce) {
  .formation-card-enhanced,
  .formation-card-enhanced.visible,
  .formation-card-enhanced:hover,
  .formation-icon-enhanced,
  .person-left,
  .person-right,
  .approved-icon,
  .shield-icon,
  .formation-card-enhanced::before {
    transition-duration: 0.05s;
    animation: none;
  }

  .ripple {
    display: none;
  }

  .formation-card-enhanced:hover {
    opacity: 0.95;
  }
}

@media (max-width: 768px) {
  .formation-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .formation-card-enhanced {
    padding: 2.5rem 1.5rem;
  }

  .formation-card-enhanced:active {
    transform: scale(0.98);
    border-color: rgba(201, 168, 118, 0.6);
  }
}

/* --- SECTION 2 END --- */

/* Section 3: Experts section with warm beige background */
.experts-section {
  padding: 5rem 1rem;
  background: radial-gradient(ellipse at center, rgba(201, 168, 118, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #f5f1eb 0%, #ede7df 50%, #f5f1eb 100%);
  position: relative;
  overflow: hidden;
}

/* Updated animated background glow to warm taupe */
.experts-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 118, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatGlow 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.experts-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatGlow 18s ease-in-out infinite reverse;
  animation-delay: 2s;
  pointer-events: none;
  z-index: 1;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -40px) scale(1.1);
  }
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 60px auto;
  position: relative;
  z-index: 2;
}

/* Enhanced expert cards with warm beige background and taupe border */
.expert-card {
  text-align: center;
  opacity: 0;
  text-decoration: none;
  color: inherit;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  position: relative;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(232, 220, 200, 0.5) 0%, rgba(237, 231, 223, 0.7) 100%);
  border: 1px solid rgba(201, 168, 118, 0.3);
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 20px rgba(201, 168, 118, 0.1);
}

/* Updated external link icon to match reference image - arrow leaving square shape with warm taupe color */
.expert-card::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a876' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  transition: all 0.3s ease;
  pointer-events: none;
}

.expert-card:hover::after {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4b896' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  transform: translate(2px, -2px);
}

.expert-card:nth-child(1) {
  animation-delay: 0.1s;
}
.expert-card:nth-child(2) {
  animation-delay: 0.2s;
}
.expert-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Updated expert card hover with warm taupe glow */
.expert-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 118, 0.5);
  box-shadow: 0 16px 40px rgba(201, 168, 118, 0.2), 0 0 30px rgba(201, 168, 118, 0.12);
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.12) 0%, rgba(212, 184, 150, 0.08) 100%);
}

/* Updated expert photo with warm taupe glow halo */
.expert-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201, 168, 118, 0.5);
  box-shadow: 0 0 30px rgba(201, 168, 118, 0.3), 0 0 60px rgba(201, 168, 118, 0.15), inset 0 0 20px
    rgba(201, 168, 118, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.expert-photo::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(201, 168, 118, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.expert-card:hover .expert-photo {
  transform: scale(1.08);
  border-color: rgba(212, 184, 150, 0.7);
  box-shadow: 0 0 40px rgba(201, 168, 118, 0.5), 0 0 80px rgba(201, 168, 118, 0.2), inset 0 0 20px
    rgba(201, 168, 118, 0.12);
}

.expert-card:hover .expert-photo::before {
  opacity: 1;
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Updated text colors for warm beige background */
.expert-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.expert-card:hover h3 {
  color: #c9a876;
}

/* Updated specialty color to warm taupe */
.expert-specialty {
  font-size: 1rem;
  color: #c9a876;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.expert-card:hover .expert-specialty {
  color: #d4b896;
}

.expert-subtitle {
  font-size: 0.8rem;
  color: #6a6a6a;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.expert-card:hover .expert-subtitle {
  color: #4a4a4a;
}

@media (max-width: 768px) {
  .experts-section {
    padding: 3rem 1rem;
  }

  .experts-grid {
    gap: 2rem;
  }

  .expert-card {
    padding: 1.5rem 1rem;
  }

  .expert-photo {
    width: 120px;
    height: 120px;
  }

  /* Adjusted icon size for mobile */
  .expert-card::after {
    width: 18px;
    height: 18px;
    top: 0.75rem;
    right: 0.75rem;
  }
}
/* --- SECTION 4 START --- */
/* Section 4: La Méthode Clear - 5 Piliers with warm beige background */
.method-section-sphere {
  position: relative;
  min-height: 140vh;
  padding: 100px 20px;
  background: linear-gradient(180deg, #f5f1eb 0%, #ede7df 50%, #f5f1eb 100%);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.method-section-sphere .section-title,
.method-section-sphere .section-subtitle {
  display: none;
}

.sphere-animation-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Updated energy sphere with warm taupe gradient and reduced glow */
.energy-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #c9a876 0%, #a68560 60%, #8b7355 100%);
  box-shadow: 0 0 80px rgba(201, 168, 118, 0.4), 0 0 130px rgba(201, 168, 118, 0.25), 0 0 180px
    rgba(201, 168, 118, 0.15), inset 0 0 60px rgba(201, 168, 118, 0.2);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.energy-sphere::before {
  content: "La Méthode Clear : 5 Piliers";
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}

.energy-sphere::after {
  content: "Une approche complète qui traite les causes profondes de l'acné";
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  max-width: 320px;
}

/* Updated sphere glow with warm taupe */
.sphere-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 118, 0.3) 0%, transparent 70%);
  animation: spherePulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spherePulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.5;
  }
}

.pillar-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  will-change: transform, opacity;
  z-index: 2;
  pointer-events: none;
}

/* Updated pillar icon with warm taupe glow */
.pillar-icon {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 241, 235, 0.85);
  border: 2px solid rgba(201, 168, 118, 0.4);
  box-shadow: 0 0 40px rgba(201, 168, 118, 0.3), 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  position: relative;
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.05) contrast(1.05);
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d2d2d;
  text-align: center;
  margin: 0;
  opacity: 0.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.pillar-card p {
  display: none;
}

@media (max-width: 1024px) {
  .method-section-sphere {
    min-height: 120vh;
  }

  .sphere-animation-container {
    height: 700px;
  }

  .energy-sphere {
    width: 380px;
    height: 380px;
    padding: 30px;
  }

  .energy-sphere::before {
    font-size: 1.5rem;
  }

  .energy-sphere::after {
    font-size: 0.9rem;
    max-width: 280px;
  }

  .pillar-card {
    width: 200px;
    height: 200px;
  }

  .pillar-icon {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .method-section-sphere {
    min-height: auto;
    padding: 55px 22px;
  }

  .sphere-animation-container {
    height: 600px;
  }

  .energy-sphere {
    width: 240px;
    height: 280px;
    padding: 16px;
  }

  .energy-sphere::before {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    line-height: 1.3;
  }

  .energy-sphere::after {
    font-size: clamp(0.7rem, 2.8vw, 0.9rem);
    max-width: 200px;
  }

  .pillar-card {
    width: 160px;
    height: 160px;
  }

  .pillar-icon {
    width: 140px;
    height: 140px;
  }

  .pillar-card h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .method-section-sphere {
    padding: 45px 18px;      /* encore un peu plus compact */
  }
  .sphere-animation-container {
    height: 480px;
  }

  .energy-sphere {
    width: 240px;
    height: 240px;
    padding: 20px;
  }

  .energy-sphere::before {
    font-size: 1rem;
  }

  .energy-sphere::after {
    font-size: 0.75rem;
    max-width: 180px;
  }

  .pillar-card {
    width: 130px;
    height: 130px;
  }

  .pillar-icon {
    width: 110px;
    height: 110px;
  }
}

/* --- SECTION 4 END --- */

/* --- SECTION 5 START --- */
/* Section 5: Timeline with warm beige background */
.timeline-section-enhanced {
  padding: 10rem 2rem;
  background: linear-gradient(180deg, #f8f5f0 0%, #f5f1eb 25%, #ede7df 50%, #f5f1eb 75%, #f8f5f0 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern for depth */
.timeline-section-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201, 168, 118, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 184, 150, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Enhanced typography with better hierarchy */
.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.35rem;
  color: #6b6b6b;
  margin-bottom: 6rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Timeline container with better spacing */
.timeline-enhanced {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* Much more subtle timeline line matching background */
.timeline-line-enhanced {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(201, 168, 118, 0.15);
  transform: translateX(-50%);
  z-index: 1;
}

/* Progress line now changes color dynamically via JS */
.timeline-progress-enhanced {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #dc2626 0%, #dc2626 100%);
  transform: translateX(-50%);
  z-index: 2;
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px currentColor;
}

/* Color states for progress line */
.timeline-progress-enhanced.phase-0 {
  background: linear-gradient(180deg, #dc2626 0%, #dc2626 100%);
  color: #dc2626;
}

.timeline-progress-enhanced.phase-1 {
  background: linear-gradient(180deg, #dc2626 0%, #ea580c 100%);
  color: #ea580c;
}

.timeline-progress-enhanced.phase-2 {
  background: linear-gradient(180deg, #ea580c 0%, #eab308 100%);
  color: #eab308;
}

.timeline-progress-enhanced.phase-3 {
  background: linear-gradient(180deg, #eab308 0%, #c9a876 100%);
  color: #c9a876;
}

/* Enhanced animated dot with smoother transitions and better visibility */
.timeline-dot-animated {
  position: absolute;
  left: 50%;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #dc2626;
  transform: translate(-50%, 0);
  z-index: 10;
  transition: border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 currentColor;
  will-change: transform;
}

/* Color states for the animated dot */
.timeline-dot-animated.phase-0 {
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3), 0 0 20px rgba(220, 38, 38, 0.2);
}

.timeline-dot-animated.phase-1 {
  border-color: #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3), 0 0 20px rgba(234, 88, 12, 0.2);
}

.timeline-dot-animated.phase-2 {
  border-color: #eab308;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3), 0 0 20px rgba(234, 179, 8, 0.2);
}

.timeline-dot-animated.phase-3 {
  border-color: #f5f1eb;
  box-shadow: 0 4px 12px rgba(201, 168, 118, 0.3), 0 0 20px rgba(201, 168, 118, 0.2);
}

/* Enhanced timeline item with smoother animations */
.timeline-item-enhanced {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 10rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.timeline-item-enhanced:last-child {
  margin-bottom: 0;
}

.timeline-item-enhanced.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content containers with better alignment */
.timeline-content-left {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 2rem;
}

.timeline-content-right {
  grid-column: 2;
  display: flex;
  justify-content: flex-start;
  padding-left: 2rem;
}

/* Premium image styling with enhanced effects */
.timeline-image-enhanced {
  width: 450px;
  height: 450px;
  min-width: 450px;
  min-height: 450px;
  max-width: 450px;
  max-height: 450px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.08) 0%, rgba(212, 184, 150, 0.08) 100%);
  border: 3px solid rgba(201, 168, 118, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Subtle inner glow */
.timeline-image-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.3), rgba(212, 184, 150, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.timeline-image-enhanced:hover::before {
  opacity: 1;
}

.timeline-image-enhanced:hover {
  border-color: rgba(201, 168, 118, 0.5);
  box-shadow: 0 20px 60px rgba(201, 168, 118, 0.25), 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px) scale(1.02);
}

.timeline-image-enhanced img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-image-enhanced:hover img {
  transform: scale(1.08);
}

/* Premium text card styling with glassmorphism */
.timeline-text-enhanced {
  width: 450px;
  height: 450px;
  min-width: 450px;
  min-height: 450px;
  max-width: 450px;
  max-height: 450px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(201, 168, 118, 0.25);
  border-radius: 28px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Subtle gradient overlay on hover */
.timeline-text-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.05) 0%, rgba(212, 184, 150, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.timeline-text-enhanced:hover::before {
  opacity: 1;
}

.timeline-text-enhanced:hover {
  border-color: rgba(201, 168, 118, 0.45);
  box-shadow: 0 20px 60px rgba(201, 168, 118, 0.2), 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.timeline-item-enhanced.active .timeline-text-enhanced {
  border-color: rgba(201, 168, 118, 0.5);
  box-shadow: 0 24px 70px rgba(201, 168, 118, 0.25), 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Enhanced badge with gradient and shadow */
.timeline-badge {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, #c9a876 0%, #d4b896 50%, #c9a876 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 24px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(201, 168, 118, 0.3);
  transition: all 0.3s ease;
}

.timeline-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 168, 118, 0.4);
}

/* Refined typography */
.timeline-text-enhanced h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.timeline-text-enhanced ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.timeline-text-enhanced li {
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.75;
  padding-left: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-text-enhanced li:hover {
  color: #2d2d2d;
  transform: translateX(4px);
}

/* Emoji icons with better positioning */
.timeline-text-enhanced li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  font-size: 1.4rem;
  line-height: 1;
  top: 0.1rem;
  transition: transform 0.3s ease;
}

.timeline-text-enhanced li:hover::before {
  transform: scale(1.2);
}

/* Enhanced responsive design for tablets */
@media (max-width: 1024px) {
  .timeline-section-enhanced {
    padding: 8rem 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 5rem;
  }

  .timeline-enhanced {
    padding: 4rem 1.5rem;
  }

  .timeline-item-enhanced {
    gap: 3rem;
    margin-bottom: 8rem;
  }

  .timeline-content-left {
    padding-right: 1.5rem;
  }

  .timeline-content-right {
    padding-left: 1.5rem;
  }

  .timeline-image-enhanced {
    width: 400px;
    height: 400px;
    min-width: 400px;
    min-height: 400px;
    max-width: 400px;
    max-height: 400px;
  }

  .timeline-text-enhanced {
    width: 400px;
    height: 400px;
    min-width: 400px;
    min-height: 400px;
    max-width: 400px;
    max-height: 400px;
    padding: 2.5rem;
  }

  .timeline-text-enhanced h3 {
    font-size: 1.75rem;
  }
}

/* Refined mobile layout */
@media (max-width: 768px) {
  .timeline-section-enhanced {
    padding: 6rem 0.5rem;
  }

  .section-title {
    font-size: 2rem;
    padding: 0 0.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 4rem;
    padding: 0 0.5rem;
  }

  .timeline-enhanced {
    padding: 3rem 0;
  }

  .timeline-item-enhanced {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-bottom: 5rem;
    padding: 0 0.5rem;
  }

  .timeline-line-enhanced,
  .timeline-progress-enhanced {
    left: 20px;
    transform: none;
  }

  .timeline-dot-animated {
    left: 20px;
    width: 28px;
    height: 28px;
    border-width: 4px;
    transform: translate(-50%, 0);
  }

  .timeline-content-left,
  .timeline-content-right {
    grid-column: 2;
    justify-content: flex-start;
    padding: 0;
  }

  .timeline-left .timeline-content-left,
  .timeline-right .timeline-content-right {
    grid-row: 1;
  }

  .timeline-left .timeline-content-right,
  .timeline-right .timeline-content-left {
    grid-row: 2;
  }

  .timeline-image-enhanced {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    height: auto;
    min-height: unset;
    max-height: unset;
    aspect-ratio: 1;
    border-radius: 20px;
  }

  .timeline-text-enhanced {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    height: auto;
    min-height: unset;
    max-height: unset;
    padding: 1.5rem;
    border-radius: 20px;
  }

  .timeline-text-enhanced h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .timeline-text-enhanced ul {
    gap: 1.25rem;
  }

  .timeline-text-enhanced li {
    font-size: 0.95rem;
    padding-left: 2.25rem;
  }

  .timeline-badge {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .timeline-section-enhanced {
    padding: 4rem 0.25rem;
  }

  .section-title {
    font-size: 1.5rem;
    padding: 0 0.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .timeline-item-enhanced {
    gap: 1.25rem;
    margin-bottom: 4rem;
    padding: 0 0.25rem;
  }

  .timeline-line-enhanced,
  .timeline-progress-enhanced {
    left: 16px;
  }

  .timeline-dot-animated {
    left: 16px;
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .timeline-text-enhanced {
    padding: 1.25rem;
  }

  .timeline-text-enhanced h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .timeline-text-enhanced ul {
    gap: 1rem;
  }

  .timeline-text-enhanced li {
    font-size: 0.9rem;
    padding-left: 2rem;
  }

  .timeline-text-enhanced li::before {
    font-size: 1.1rem;
  }

  .timeline-badge {
    font-size: 0.65rem;
    padding: 0.45rem 0.9rem;
  }
}


/* --- SECTION 5 END --- */

/* --- SECTION 6 START --- */
/* Before/After section with warm beige background */
/* Section Transformation Avant/Après avec carrousel infini */
.before-after-section-enhanced {
  padding: 8rem 1rem;
  background: linear-gradient(135deg, #f5f1eb 0%, #ede7df 50%, #f5f1eb 100%);
  position: relative;
  overflow: hidden;
}

.before-after-section-enhanced::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 118, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.before-after-section-enhanced::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.before-after-section-enhanced .section-title {
  color: #2d2d2d;
  position: relative;
  z-index: 2;
}

.before-after-section-enhanced .section-subtitle-small {
  color: #6a6a6a;
  position: relative;
  z-index: 2;
}

.infinite-carousel-wrapper {
  margin-top: 4rem;
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.infinite-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
}

.carousel-track-infinite {
  display: flex;
  gap: 2.5rem;
  width: max-content;
}

.carousel-ltr .carousel-track-infinite {
  animation: scrollLeft 50s linear infinite;
}

.carousel-rtl .carousel-track-infinite {
  animation: scrollRight 50s linear infinite;
}

.infinite-carousel:hover .carousel-track-infinite {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Bloc de transformation avec nom du client */
.transformation-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  width: 620px;
  height: 460px; /* <CHANGE> Increased from 420px to 460px for more space */
  padding: 1.5rem 2rem 2.5rem 2rem; /* <CHANGE> Less top padding (1.5rem), more bottom padding (2.5rem) */
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.08) 0%, rgba(212, 184, 150, 0.05) 100%);
  border: 1.5px solid rgba(201, 168, 118, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .transformation-block:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(201, 168, 118, 0.5);
    box-shadow: 
      0 20px 60px rgba(201, 168, 118, 0.3), 
      0 0 60px rgba(201, 168, 118, 0.2), 
      inset 0 1px 1px rgba(255, 255, 255, 0.25);
  }
}

/* Nom du client */
.client-name {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 1.25rem 0; /* <CHANGE> Reduced from 1.5rem to 1.25rem */
  letter-spacing: 0.5px;
}

/* Container pour les deux états */
.transformation-states {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.transformation-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* Label au-dessus de l'image */
.state-label {
  text-align: center;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.before-state .state-label {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
}

.after-state .state-label {
  background: linear-gradient(135deg, #51cf66 0%, #69db7c 100%);
}

/* Image container */
.transformation-state img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 118, 0.2);
  background: rgba(245, 241, 235, 0.4);
}

@media (max-width: 1024px) {
  .transformation-block {
    width: 520px;
    height: 380px;
    padding: 1.25rem 1.5rem 2rem 1.5rem;
  }

  .client-name {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .transformation-states {
    gap: 1.2rem;
  }

  .state-label {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .before-after-section-enhanced {
    padding: 5rem 0.5rem;
  }

  .transformation-block {
    width: 400px;
    height: 320px;
    padding: 1rem 1.25rem 1.5rem 1.25rem;
  }

  .client-name {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }

  .transformation-states {
    gap: 1rem;
  }

  .carousel-track-infinite {
    gap: 1.75rem;
  }

  .state-label {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* <CHANGE> Mobile reste horizontal (gauche à droite) et beaucoup plus petit */
@media (max-width: 640px) {
  .transformation-block {
    width: 280px; /* <CHANGE> Reduced from 300px */
    height: 240px; /* <CHANGE> Much shorter since staying horizontal */
    padding: 0.75rem 0.875rem 1rem 0.875rem;
  }

  .client-name {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .transformation-states {
    gap: 0.625rem; /* <CHANGE> Keeping horizontal layout */
  }

  .carousel-track-infinite {
    gap: 1.25rem;
  }

  .state-label {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .transformation-state {
    gap: 0.375rem;
  }

  .transformation-state img {
    border-radius: 8px;
  }
}

/* <CHANGE> Très petits écrans - toujours horizontal */
@media (max-width: 420px) {
  .before-after-section-enhanced {
    padding: 4rem 0.25rem;
  }

  .transformation-block {
    width: 240px; /* <CHANGE> Even smaller */
    height: 200px;
    padding: 0.625rem 0.75rem 0.875rem 0.75rem;
    border-radius: 16px;
  }

  .client-name {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
  }

  .transformation-states {
    gap: 0.5rem;
  }

  .carousel-track-infinite {
    gap: 1rem;
  }

  .state-label {
    padding: 0.2rem 0.4rem;
    font-size: 0.6rem;
    border-radius: 6px;
  }

  .transformation-state {
    gap: 0.3rem;
    border-radius: 10px;
  }

  .transformation-state img {
    border-radius: 6px;
  }

  .infinite-carousel {
    margin-bottom: 1.5rem;
  }
}

/* <CHANGE> Écrans ultra-petits - horizontal compact */
@media (max-width: 360px) {
  .transformation-block {
    width: 220px;
    height: 180px;
    padding: 0.5rem 0.625rem 0.75rem 0.625rem;
  }

  .client-name {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
  }

  .state-label {
    padding: 0.15rem 0.35rem;
    font-size: 0.55rem;
  }

  .transformation-states {
    gap: 0.4rem;
  }

  .carousel-track-infinite {
    gap: 0.875rem;
  }
}

/* --- SECTION 6 END --- */

/* --- SECTION 7 START --- */
/* Videos testimonials section with warm beige background */
.transformation-section {
  padding: 8rem 1rem;
  background: radial-gradient(ellipse 800px 600px at center, rgba(201, 168, 118, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #f5f1eb 0%, #ede7df 50%, #f5f1eb 100%);
  position: relative;
  overflow: hidden;
}

.transformation-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d2d2d;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  font-family: "Montserrat", sans-serif;
}

.transformation-section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(45, 45, 45, 0.7);
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

/* Updated testimonial card with warm beige background */
.testimonial-card {
  background: linear-gradient(135deg, rgba(232, 220, 200, 0.7) 0%, rgba(237, 231, 223, 0.8) 100%);
  border: 1px solid rgba(201, 168, 118, 0.3);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 25px rgba(201, 168, 118, 0.2);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(201, 168, 118, 0.5);
    box-shadow: 0 12px 35px rgba(201, 168, 118, 0.3), 0 0 40px rgba(201, 168, 118, 0.15);
  }
}

.testimonial-video-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 118, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(245, 241, 235, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover .testimonial-video-container {
    box-shadow: 0 8px 30px rgba(201, 168, 118, 0.4);
    border-color: rgba(201, 168, 118, 0.6);
  }
}

.testimonial-video-container video,
.testimonial-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.testimonial-content {
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.testimonial-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 0.5rem 0;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: rgba(45, 45, 45, 0.8);
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover .testimonial-content h3 {
    color: #c9a876;
  }
}

/* Updated play button overlay to warm taupe */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(201, 168, 118, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  pointer-events: auto;
}

.video-play-overlay:hover {
  background: rgba(201, 168, 118, 1);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 30px rgba(201, 168, 118, 0.7);
}

.video-play-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.testimonial-video-container.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .transformation-section {
    padding: 5rem 1rem;
  }

  .transformation-section .section-title {
    font-size: 2rem;
  }

  .transformation-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .testimonials-grid {
    gap: 2.5rem;
    padding: 0 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-video-container {
    max-width: 100%;
    width: 100%;
  }

  .testimonial-content {
    max-width: 100%;
  }

  .testimonial-content h3 {
    font-size: 1.3rem;
  }

  .testimonial-content p {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .testimonial-video-container {
    max-width: 320px;
  }

  .testimonial-content {
    max-width: 320px;
  }
}

@media (min-width: 1200px) {
  .testimonials-grid {
    gap: 5rem;
  }

  .testimonial-video-container {
    max-width: 380px;
  }

  .testimonial-content {
    max-width: 380px;
  }
}

.testimonial-card:nth-child(1) {
  transition-delay: 0s;
}

.testimonial-card:nth-child(2) {
  transition-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
  transition-delay: 0.3s;
}

.testimonial-card:nth-child(4) {
  transition-delay: 0.45s;
}

/* --- SECTION 7 END --- */

/* --- SECTION 10 START --- */
/* Video testimonials section with warm beige background */
.video-testimonials-section {
  padding: 8rem 1rem;
  background: radial-gradient(ellipse 800px 600px at center, rgba(201, 168, 118, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #f5f1eb 0%, #ede7df 50%, #f5f1eb 100%);
  position: relative;
  overflow: hidden;
}

.video-testimonials-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d2d2d;
  margin-bottom: 4rem;
  letter-spacing: -0.5px;
  font-family: "Montserrat", sans-serif;
}

/* <CHANGE> 4 videos per row on desktop, 2 per row on mobile, larger sizes */
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobile: 2 per row */
  gap: 1.25rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}

@media (min-width: 1024px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(4, 1fr); /* <CHANGE> Desktop: 4 per row instead of 6 */
    gap: 1.5rem; /* <CHANGE> Increased gap for better spacing */
    max-width: 1400px;
    padding: 0 2rem;
  }
}

.video-testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.vt-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(232, 220, 200, 0.8) 0%, rgba(237, 231, 223, 0.7) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(201, 168, 118, 0.3);
}

.vt-thumbnail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .video-testimonial-card:hover .vt-thumbnail {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(201, 168, 118, 0.4), 0 0 50px rgba(201, 168, 118, 0.2);
    border-color: rgba(201, 168, 118, 0.6);
  }
}

/* <CHANGE> Updated animation delays for 8 videos */
.video-testimonial-card:nth-child(1) {
  transition-delay: 0s;
}

.video-testimonial-card:nth-child(2) {
  transition-delay: 0.1s;
}

.video-testimonial-card:nth-child(3) {
  transition-delay: 0.2s;
}

.video-testimonial-card:nth-child(4) {
  transition-delay: 0.3s;
}

.video-testimonial-card:nth-child(5) {
  transition-delay: 0.4s;
}

.video-testimonial-card:nth-child(6) {
  transition-delay: 0.5s;
}

.video-testimonial-card:nth-child(7) {
  transition-delay: 0.6s;
}

.video-testimonial-card:nth-child(8) {
  transition-delay: 0.7s;
}

@media (max-width: 640px) {
  .video-testimonials-section {
    padding: 5rem 0.5rem;
  }

  .video-testimonials-section .section-title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .video-testimonials-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .video-testimonials-section .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .video-testimonials-grid {
    grid-template-columns: repeat(3, 1fr); /* <CHANGE> Tablet: 3 per row */
    gap: 1.25rem;
    padding: 0 1rem;
  }
}

/* --- SECTION 10 END --- */

/* --- SECTION 8 START --- */
/* CTA comparison section with warm beige background */
.cta-comparison-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #f5f1eb 0%, #ede7df 50%, #f5f1eb 100%);
}

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  align-items: stretch;
}

/* Updated comparison box with warm beige background */
.comparison-box {
  background-color: rgba(232, 220, 200, 0.5);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 2px solid rgba(201, 168, 118, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

@media (hover: hover) and (pointer: fine) {
  .comparison-box:hover {
    transform: translateY(-8px);
  }
}

.comparison-box.without {
  border-color: rgba(239, 68, 68, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  .comparison-box.without:hover {
    border-color: #ef4444;
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
  }
}

.comparison-box.with {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(232, 220, 200, 0.6) 0%, rgba(220, 237, 230, 0.6) 100%);
}

@media (hover: hover) and (pointer: fine) {
  .comparison-box.with:hover {
    border-color: #10b981;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
  }
}

.comparison-icon-header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.comparison-cross-icon {
  width: 3rem;
  height: 3rem;
  color: #ef4444;
  transition: transform 0.3s ease;
}

.comparison-check-icon {
  width: 3rem;
  height: 3rem;
  color: #10b981;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .comparison-box:hover .comparison-cross-icon,
  .comparison-box:hover .comparison-check-icon {
    transform: scale(1.1);
  }
}

.comparison-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2d2d2d;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.3px;
}

/* Updated price highlight with warm green gradient */
.price-highlight-refined {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
  border-radius: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .comparison-box.with:hover .price-highlight-refined {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: rgba(16, 185, 129, 0.5);
  }
}

.price-current {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(45, 45, 45, 0.9);
  letter-spacing: 0.5px;
}

.price-value {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: #2d2d2d;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3), 0 0 16px rgba(16, 185, 129, 0.2);
  letter-spacing: -1px;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .comparison-box.with:hover .price-value {
    transform: scale(1.05);
  }
}

.comparison-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(45, 45, 45, 0.1);
  transition: background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cost-item:hover {
    background-color: rgba(239, 68, 68, 0.05);
  }
}

.cost-label {
  font-size: 0.95rem;
  color: #3d3d3d;
  font-weight: 500;
}

.cost-amount {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ef4444;
}

.total-cost {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 0;
  margin-top: 1rem;
  border-top: 2px solid #ef4444;
  font-weight: 700;
  font-size: 1.125rem;
  color: #2d2d2d;
}

.total-amount {
  font-size: 2rem;
  color: #ef4444;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-item:hover {
    transform: translateX(5px);
  }
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #10b981;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 1rem;
  color: #3d3d3d;
  font-weight: 500;
}

/* Updated main CTA button to warm taupe gradient */
.cta-button-main {
  display: inline-block;
  background: linear-gradient(135deg, #c9a876 0%, #d4b896 100%);
  color: #4B2B22;
  padding: 1.5rem 3rem;
  border-radius: 9999px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 30px rgba(201, 168, 118, 0.4);
  border: none;
  cursor: pointer;
  margin: 2.5rem auto 0;
  display: block;
  width: fit-content;
}

@media (hover: hover) and (pointer: fine) {
  .cta-button-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(201, 168, 118, 0.6);
  }
}

.cta-button-main:active {
  transform: translateY(-1px) scale(1);
}

/* Updated guarantee badge with warm green tones */
.guarantee-badge-emphasized {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .guarantee-badge-emphasized:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.02);
  }
}

.guarantee-badge-emphasized span {
  color: #3d3d3d;
  font-size: 1.125rem;
  font-weight: 700;
}

.guarantee-icon-emphasized {
  width: 2rem;
  height: 2rem;
  color: #10b981;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-box {
    min-height: auto;
  }

  .comparison-box.with {
    order: 0;
  }
}

@media (max-width: 768px) {
  .cta-comparison-section {
    padding: 3rem 1rem;
  }

  .comparison-container {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .comparison-box {
    padding: 1.75rem;
  }

  .comparison-title {
    font-size: 1.35rem;
  }

  .price-highlight-refined {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
  }

  .price-value {
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  }

  .comparison-content {
    gap: 0.75rem;
  }

  .cost-item {
    padding: 0.5rem 0;
  }

  .feature-item {
    padding: 0.5rem 0;
  }

  .cta-button-main {
    margin-top: 1.5rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
  }

  .guarantee-badge-emphasized {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
  }

  .guarantee-badge-emphasized span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .comparison-box {
    padding: 1.5rem;
  }

  .comparison-title {
    font-size: 1.2rem;
  }

  .price-value {
    font-size: clamp(1.5rem, 2vw, 2rem);
  }

  .cost-label,
  .feature-item span {
    font-size: 0.9rem;
  }

  .cta-button-main {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* --- SECTION 8 END --- */

/* --- SECTION 9 START --- */
/* Footer with warm beige background */
.footer {
  background-color: #f5f1eb;
  padding: 4rem 1rem 2rem;
  border-top: 1px solid rgba(201, 168, 118, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 0.95rem;
  color: #5a5a5a;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #5a5a5a;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

/* Updated footer link hover to warm taupe */
.footer-links a:hover {
  color: #c9a876;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 118, 0.2);
}

.footer-bottom p {
  color: #5a5a5a;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* --- SECTION 9 END --- */

/* Floating CTA button (bottom-right) */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #c9a876 0%, #d4b896 100%);
  color: #644536;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(201, 168, 118, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Hover effect */
.floating-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(201, 168, 118, 0.6);
}

/* Active (click) effect */
.floating-cta:active {
  transform: translateY(-2px) scale(0.98);
}

@media (max-width: 768px) {
  .floating-cta {
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
  }
}

