/* Variables */
:root {
  --primary-color: #6a8d73;
  --secondary-color: #f0e2d0;
  --accent-color: #df7861;
  --text-color: #333;
  --light-color: #f8f8f8;
  --dark-color: #2b2b2b;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --max-width: 1200px;
  --header-bg: #F8E9DC;
  --promo-bg: #FFEFD2;
  --hero-bg: #FAF3EF;
  
  /* Couleurs pastel */
  --pastel-pink: #ffd1dc;
  --pastel-blue: #d1e0ff;
  --pastel-green: #d1ffe0;
  --pastel-yellow: #fffdd1;
  --pastel-lavender: #e0d1ff;
  --pastel-peach: #ffe5b4;
  --pastel-mint: #c7f0d8;
  --pastel-lilac: #d8c2ff;
}

@import url('https://fonts.googleapis.com/css2?family=Figma+Hand&display=swap');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif !important;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background-color: #c36a55;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: #e5d5c0;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Header */
header {
  background-color: var(--header-bg);
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 60px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.animate-logo {
  animation: logoEntrance 0.8s ease forwards;
}

@keyframes logoEntrance {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); }
  75% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icon {
  width: 25px;
  height: 25px;
  color: #333;
  transition: all 0.3s ease;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.ti.ti-brand-linkedin,
.ti.ti-brand-instagram,
.ti.ti-brand-facebook {
  font-weight: 100;
  --ti-stroke-width: 1.5;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--accent-color);
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

.main-nav {
  position: absolute;
  top: 80px;
  left: -100%;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease, opacity 0.3s ease;
  padding: 20px 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

.main-nav.active {
  left: 0;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #000;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: 15px;
}

.mobile-menu-toggle i {
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
  font-size: 24px;
}

.mobile-menu-toggle i.ti-x {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.mobile-menu-toggle.active {
  color: var(--accent-color);
}

/* Animation des barres du menu (alternative) */
.burger-bars {
  position: relative;
  width: 24px;
  height: 20px;
  display: inline-block;
}

.burger-bars span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger-bars span:nth-child(1) {
  top: 0px;
}

.burger-bars span:nth-child(2) {
  top: 9px;
}

.burger-bars span:nth-child(3) {
  top: 18px;
}

.mobile-menu-toggle.active .burger-bars span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .burger-bars span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .burger-bars span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* Promo section */
.promo-section {
  background-color: var(--promo-bg);
  padding: 12px 0;
  text-align: center;
  font-weight: 500;
}

/* Hero section page d'accueil */
.hero-section {
  background-color: var(--hero-bg);
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #333;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  color: #555;
  font-weight: 500;
}

/* Hero Builder Section */
.hero-builder {
  background: linear-gradient(135deg, #D1F6D6 0%, var(--pastel-blue) 100%);
  height: calc(100vh - 80px); /* 100% hauteur viewport moins hauteur du header */
  min-height: 500px; /* Hauteur minimale pour assurer la lisibilité sur les écrans courts */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

/* Overlay pastel */
.hero-builder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, var(--pastel-pink) 0%, transparent 70%),
              radial-gradient(circle at 70% 30%, var(--pastel-mint) 0%, transparent 60%);
  opacity: 0.25;
  z-index: 0;
}

/* Texture pastel */
.hero-builder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}

.light-effect {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.6;
  border-radius: 50%;
  z-index: 1;
  animation: pulse 8s infinite alternate ease-in-out;
  pointer-events: none;
}

/* Ajout d'un deuxième effet de lumière */
.light-effect::after {
  content: '';
  position: absolute;
  bottom: -350px;
  left: -150px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.5;
  border-radius: 50%;
  animation: pulse 10s infinite alternate-reverse ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
}

/* Décors */
.decor {
  position: absolute;
  width: 120px;
  opacity: 0.1;
  animation: decorFade 1.5s ease forwards;
  z-index: 1;
}

.decor-left {
  top: 15%;
  left: 3%;
  transform: rotate(-15deg);
  animation: decorFade 1.5s ease forwards, decorFloatLeft 8s ease-in-out infinite;
}

.decor-right {
  bottom: 15%;
  right: 3%;
  transform: rotate(15deg);
  animation: decorFade 1.5s ease forwards, decorFloatRight 9s ease-in-out infinite;
}

.decor-bottom {
  bottom: 0;
  left: 40%;
  width: 200px;
  animation: decorFade 1.5s ease forwards, decorFloatBottom 7s ease-in-out infinite;
}

@keyframes decorFade {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 0.1;
  }
}

@keyframes decorFloatLeft {
  0%, 100% {
    transform: rotate(-15deg) translateY(0);
  }
  50% {
    transform: rotate(-12deg) translateY(-10px);
  }
}

@keyframes decorFloatRight {
  0%, 100% {
    transform: rotate(15deg) translateY(0);
  }
  50% {
    transform: rotate(12deg) translateY(-8px);
  }
}

@keyframes decorFloatBottom {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 40px;
  position: relative;
  z-index: 2;
  padding-left: 310px; /* Espace augmenté pour le portrait plus grand */
  min-height: 400px; /* Assure une hauteur minimale pour le positionnement vertical */
}

.hero-portrait-container {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* Style du portrait hero */
.hero-portrait {
  height: 280px;
  width: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 5px solid white;
  opacity: 0; /* L'opacité initiale est gérée par la classe an-hero-name */
}

.hero-header-row {
  display: flex;
  justify-content: flex-start;
}

.hero-name {
  font-size: 64px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #000;
  text-align: left;
}

.hero-content-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.hero-right-block {
  max-width: 700px;
  text-align: right;
}

.hero-slogan {
  font-size: 34px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  margin-bottom: 20px;
}

.hero-quote {
  font-size: 20px;
  font-family: 'Quicksand', sans-serif;
  color: #000;
  margin-bottom: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 56px;
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
  border-radius: 16px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  color: #000;
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  z-index: 1;
  transition: transform 0.5s ease;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #fff 0%, var(--pastel-blue) 100%);
}

.hero-btn:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.hero-btn span {
  position: relative;
  z-index: 2;
}

.hero-divider {
  display: none;
}

.hero-divider .svg-path {
  display: none;
}

/* Style du soulignement pastel pour le h1 */
.pastel-underline {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.pastel-underline::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 0;
  height: 8px;
  background: linear-gradient(to right, var(--pastel-pink), var(--pastel-blue), var(--pastel-lavender), var(--pastel-green), var(--pastel-peach));
  border-radius: 8px;
  opacity: 0;
  animation: drawUnderline 1.5s ease forwards 0.5s;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

@keyframes drawUnderline {
  0% {
    width: 0;
    opacity: 0.5;
    transform: translateY(5px);
  }
  20% {
    opacity: 0.7;
  }
  100% {
    width: 100%;
    opacity: 0.9;
    transform: translateY(0);
  }
}

.hero-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  background-color: var(--header-bg);
  border-radius: 50%;
  opacity: 0.2;
  animation: float 12s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background-color: var(--pastel-pink);
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  right: 8%;
  animation-delay: 5s;
  background-color: var(--pastel-lavender);
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 48%;
  animation-delay: 2s;
  background-color: var(--pastel-yellow);
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 25%;
  animation-delay: 3.5s;
  opacity: 0.15;
  border-radius: 30%;
  animation: float2 15s ease-in-out infinite;
  background-color: var(--pastel-blue);
}

.shape-5 {
  width: 60px;
  height: 60px;
  bottom: 25%;
  left: 25%;
  animation-delay: 1.5s;
  opacity: 0.25;
  border-radius: 40%;
  animation: rotate 20s linear infinite;
  background-color: var(--pastel-green);
}

/* Ajout de formes supplémentaires */
.shape-6 {
  width: 90px;
  height: 90px;
  top: 10%;
  right: 45%;
  animation-delay: 2.5s;
  opacity: 0.2;
  border-radius: 25%;
  animation: float2 12s ease-in-out infinite;
  background-color: var(--pastel-peach);
}

.shape-7 {
  width: 45px;
  height: 45px;
  bottom: 10%;
  left: 40%;
  animation-delay: 4s;
  opacity: 0.15;
  border-radius: 5px;
  animation: rotate 15s linear infinite reverse;
  background-color: var(--pastel-lilac);
}

/* Formes triangulaires et en losange avec pseudo-éléments */
.hero-background-shapes::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--pastel-pink);
  top: 15%;
  left: 30%;
  opacity: 0.1;
  animation: float2 18s ease-in-out infinite;
  animation-delay: 2.5s;
}

.hero-background-shapes::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: var(--pastel-lavender);
  bottom: 40%;
  right: 15%;
  opacity: 0.1;
  transform: rotate(45deg);
  animation: float 15s ease-in-out infinite;
  animation-delay: 1s;
}

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

@keyframes float2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(0) translateX(20px); }
  75% { transform: translateY(20px) translateX(10px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Animations Hero */
.an-hero-name {
  animation: moveLeft 1s ease forwards 0.3s;
  opacity: 0;
}

.an-hero-slogan {
  animation: moveRight 1s ease forwards 0.6s;
  opacity: 0;
}

.an-hero-quote {
  animation: moveUp 1s ease forwards 0.9s;
  opacity: 0;
}

.an-hero-buttons {
  animation: zoomIn 1s ease forwards 1.2s;
  opacity: 0;
}

/* Autres animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 20px 0;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .header-left {
    gap: 15px;
  }
  
  .social-icons {
    margin-right: 0;
    gap: 10px;
  }
  
  .promo-section p {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.3;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-header-row,
  .hero-content-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-name,
  .hero-slogan,
  .hero-quote {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-name {
    font-size: 40px;
  }

  .hero-slogan {
    font-size: 22px;
    margin-top: 10px;
  }

  .hero-quote {
    font-size: 16px;
  }
  
  .hero-container {
    padding-left: 0;
    padding-top: 170px;
    padding-bottom: 0;
    gap: 24px;
    position: relative;
  }
  
  .hero-portrait-container {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    z-index: 3;
  }

  .hero-portrait {
    height: 150px;
    width: 150px;
    margin: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    display: block;
  }
  
  .hero-content-row {
    margin-top: 15px;
  }
  
  .service-card {
    height: auto;
    min-height: 320px;
    max-width: 280px;
    width: 90%;
    margin: 0 auto;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 1.25rem auto 1.25rem;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 16px;
    justify-items: center;
  }
  
  .service-btn {
    display: none; /* S'assurer que le bouton est masqué en mobile */
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  .hero-section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-container {
    padding-top: 140px; /* Augmenté proportionnellement */
  }
  
  .hero-portrait-container {
    top: 5px; /* Cohérent avec l'écran plus grand */
  }
  
  .hero-portrait {
    height: 125px;
    width: 125px;
    border: 2px solid white;
  }

  .hero-builder {
    padding: 40px 15px 30px; /* Padding haut réduit */
    height: calc(100vh - 92px); /* 80px header + 12px promo */
    min-height: 450px; /* Légèrement réduit pour les très petits écrans */
  }

  .service-subtitle {
    font-size: 9px;
    max-width: 95%;
    margin: 0.3rem auto 0.7rem;
  }
  
  .service-content p {
    font-size: 0.65rem;
    padding: 0 2px;
  }
}

/* Media query pour ajuster la hauteur du Hero sur desktop */
@media (min-width: 1024px) {
  .hero-builder {
    height: calc(100vh - 92px); /* 80px header + 12px promo */
    overflow: hidden;
    min-height: 600px; /* Assure une hauteur minimale sur les grands écrans */
  }
  
  /* Légère optimisation du padding pour maintenir l'alignement */
  .hero-container {
    padding-bottom: 20px;
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.service-card {
  width: 260px;
  height: 320px;              /* ✅ Réduit depuis 420px */
  position: relative;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  color: var(--text-color);
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Effet de transition sur le background */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* Bordures colorées pour chaque carte */
.card-eapas {
  border: 4px solid #D1F6D6;
  box-shadow: inset 0 0 20px #D1F6D6, 0 4px 16px rgba(0,0,0,0.15);
}

.card-coaching {
  border: 4px solid #DCE9F2;
  box-shadow: inset 0 0 20px #DCE9F2, 0 4px 16px rgba(0,0,0,0.15);
}

.card-massages {
  border: 4px solid #EADCF2;
  box-shadow: inset 0 0 20px #EADCF2, 0 4px 16px rgba(0,0,0,0.15);
}

.card-nutrition {
  border: 4px solid #F8E9DC;
  box-shadow: inset 0 0 20px #F8E9DC, 0 4px 16px rgba(0,0,0,0.15);
}

/* Contenu des cartes */
.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding: 1.5rem 1rem;
}

/* Icônes */
.service-icon {
  width: 60px;
  height: 60px;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Couleurs d'icônes spécifiques */
.card-eapas .service-icon {
  color: #2D9E3F;
}

.card-coaching .service-icon {
  color: #3D7DB3;
}

.card-massages .service-icon {
  color: #9B5BB0;
}

.card-nutrition .service-icon {
  color: #E29A4B;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Titre des cartes */
.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #333;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  flex-shrink: 0;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sous-titres des cartes */
.service-subtitle {
  font-size: clamp(10px, 0.8vw, 11px);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  line-height: 1.2;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  color: #555;
  margin: 0.4rem auto 0.8rem;
  max-width: 95%;
  letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
  .service-subtitle {
    font-size: 10px;  /* ✅ Réduction ciblée uniquement sur petit écran */
    max-width: 100%;
  }
}

/* Contenu principal des cartes */
.service-content {
  margin-top: auto;
  margin-bottom: 0.6rem;
  width: 100%;
  flex-shrink: 0;
}

.service-content p {
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.4;
  padding: 0 0.5rem;
  min-height: auto;
  text-align: center;
  opacity: 0.85;
  margin-bottom: 0;
  position: relative;
}

/* Guillemets pour les paragraphes */
.service-content p::before {
  content: '"';
  position: relative;
  left: -2px;
}

.service-content p::after {
  content: '"';
  position: relative;
  right: -2px;
}

/* Images de fond des cartes */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0.2;
  z-index: 0;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.5s ease;
}

.service-card:hover .card-bg {
  filter: blur(0px);
  opacity: 0.35;
  transform: scale(1.05);
}

/* Fonds colorés pour chaque carte */
.card-eapas .card-bg {
  background-color: rgba(209, 246, 214, 0.3);
}

.card-coaching .card-bg {
  background-color: rgba(220, 233, 242, 0.3);
}

.card-massages .card-bg {
  background-color: rgba(234, 220, 242, 0.3);
}

.card-nutrition .card-bg {
  background-color: rgba(248, 233, 220, 0.3);
}

/* Pied de carte en mobile */
.card-footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--accent-color);
  display: none;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding-top: 0.5rem;
  font-style: italic;
}

.card-footer i {
  transition: transform 0.3s ease;
}

.service-card:hover .card-footer i {
  transform: translateX(3px);
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex;
  }
  
  .service-card {
    height: auto;
    min-height: 280px;
    max-width: 280px;
    width: 90%;
    margin: 0 auto;
  }
  
  .card-content {
    padding: 1.3rem;
  }
  
  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    margin: 1rem auto 1rem;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .service-subtitle {
    font-size: clamp(9px, 1vw, 11px);
    max-width: 90%;
    margin: 0.4rem auto 0.8rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 16px;
    justify-items: center;
  }
  
  .service-btn {
    display: none; /* S'assurer que le bouton est masqué en mobile */
  }
}

@media (max-width: 576px) {
  .service-card {
    height: auto;
    min-height: 260px;
    width: 90%;
    max-width: 260px;
  }
  
  .card-content {
    padding: 1.1rem;
  }
  
  .service-icon {
    margin: 0.8rem auto 0.8rem;
  }
  
  .services-grid {
    gap: 1.3rem;
  }
  
  .service-content p {
    font-size: 0.65rem;
    padding: 0 2px;
  }

  .service-subtitle {
    font-size: 9px;
    max-width: 95%;
    margin: 0.3rem auto 0.7rem;
  }
}

@media screen and (min-width: 1024px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 0 40px;
    align-items: stretch;
  }
  
  .service-card {
    width: 100%;
    max-width: 260px;
    height: 380px; /* Augmenté pour accommoder le bouton */
    min-height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    margin: 0.8rem auto 0.8rem;
  }
  
  .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    height: 1.8rem;
  }

  .service-subtitle {
    font-size: 10px;
    max-width: 100%;
    margin: 0.3rem auto 0.6rem;
    letter-spacing: 0.2px;
  }
  
  .service-content {
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
  }
  
  .service-content p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  /* Positionnement correct du bouton dans les cartes sur desktop */
  .service-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .service-btn {
    margin-top: auto;
    margin-bottom: 1rem;
    align-self: center;
  }
}

/* Curseur pointer pour indiquer que les cartes sont cliquables (desktop) */
@media (min-width: 769px) {
  .service-card,
  .tarif-card {
    cursor: pointer;
  }
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text p {
  margin-bottom: 1.5rem;
}

.certifications {
  margin-top: 2rem;
}

.certifications h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.certifications li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.certifications li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: white;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-color);
}

.client-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating i {
  color: gold;
  margin-right: 2px;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Page - Style Adapté */
.contact-hero {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.9)), url('../img/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #000;
  text-align: center;
  padding: 5rem 0;
}

.contact-hero .section-title {
  color: #000;
}

.contact-hero .section-title::after {
  background-color: var(--accent-color);
}

.contact-section {
  padding: 5rem 0;
  background-color: var(--hero-bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, var(--pastel-pink) 0%, transparent 70%),
              radial-gradient(circle at 70% 30%, var(--pastel-mint) 0%, transparent 60%);
  opacity: 0.15;
  z-index: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.contact-info h3,
.contact-form h3,
.map-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #000;
  text-align: center;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 1rem;
  min-width: 30px;
}

.info-item h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #000;
}

.social-contact {
  margin-top: 2.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.social-contact h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: #000;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.6rem;
  color: #000;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2) translateY(-3px);
  color: #333;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  color: #000;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(106, 141, 115, 0.3);
  border-radius: var(--border-radius);
  font-family: 'Quicksand', sans-serif;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 120, 97, 0.2);
  background-color: white;
}

.form-group button {
  width: 100%;
  margin-top: 1rem;
}

#form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: none;
  text-align: center;
  font-weight: 500;
}

#form-message.success {
  background-color: rgba(209, 246, 214, 0.7);
  color: #155724;
  display: block;
}

#form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--light-color);
  position: relative;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.placeholder-map {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--pastel-green) 0%, var(--pastel-blue) 100%);
  color: var(--primary-color);
  font-family: 'Figma Hand', cursive;
  font-size: 1.2rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-item {
    padding: 1rem;
  }

  .social-contact {
    padding: 1.2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .map-container {
    height: 300px;
  }
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-contact h4,
.footer-social h4 {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-contact p {
  margin-bottom: 0.7rem;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes moveLeft {
  from { 
    opacity: 0; 
    transform: translateX(-50px); 
    filter: blur(3px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes moveRight {
  from { 
    opacity: 0; 
    transform: translateX(50px);
    filter: blur(3px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes moveUp {
  from { 
    opacity: 0; 
    transform: translateY(30px);
    filter: blur(2px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes zoomIn {
  from { 
    opacity: 0; 
    transform: scale(0.95); 
    filter: blur(2px);
  }
  to { 
    opacity: 1; 
    transform: scale(1);
    filter: blur(0);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.bg-light {
  background-color: var(--light-color);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* Overlay flou derrière le menu mobile */
body.menu-open::before {
  content: '';
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* Empêche le scroll de fond */
body.menu-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .main-nav {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: block;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 25px;
  }

  .service-card {
    cursor: pointer;
  }
}

/* Petits points pastel décoratifs */
.pastel-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: dotAppear 0.5s ease forwards, float 10s ease-in-out infinite;
}

@keyframes dotAppear {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.dot-1 {
  width: 8px;
  height: 8px;
  background-color: var(--pastel-pink);
  top: 15%;
  left: 20%;
  animation-delay: 0.5s, 0s;
}

.dot-2 {
  width: 12px;
  height: 12px;
  background-color: var(--pastel-blue);
  top: 25%;
  right: 15%;
  animation-delay: 0.7s, 1s;
}

.dot-3 {
  width: 6px;
  height: 6px;
  background-color: var(--pastel-green);
  bottom: 30%;
  left: 35%;
  animation-delay: 0.9s, 0.5s;
}

.dot-4 {
  width: 10px;
  height: 10px;
  background-color: var(--pastel-yellow);
  bottom: 20%;
  right: 30%;
  animation-delay: 1.1s, 2s;
}

.dot-5 {
  width: 7px;
  height: 7px;
  background-color: var(--pastel-lavender);
  top: 40%;
  right: 40%;
  animation-delay: 1.3s, 1.5s;
}

.dot-6 {
  width: 9px;
  height: 9px;
  background-color: var(--pastel-peach);
  top: 60%;
  left: 10%;
  animation-delay: 1.5s, 0.8s;
}

.dot-7 {
  width: 11px;
  height: 11px;
  background-color: var(--pastel-lilac);
  top: 70%;
  right: 20%;
  animation-delay: 1.7s, 3s;
}

.dot-8 {
  width: 5px;
  height: 5px;
  background-color: var(--pastel-mint);
  top: 35%;
  left: 55%;
  animation-delay: 1.9s, 2.5s;
}

.dot-9 {
  width: 8px;
  height: 8px;
  background-color: var(--pastel-yellow);
  bottom: 45%;
  left: 15%;
  animation-delay: 2.1s, 1.3s;
}

.dot-10 {
  width: 6px;
  height: 6px;
  background-color: var(--pastel-pink);
  top: 80%;
  right: 40%;
  animation-delay: 2.3s, 2.8s;
}

/* Animation du crayon qui souligne le texte */
.pencil-underline-container {
  position: relative;
  display: inline-block;
}

.pencil-wrapper {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
}

.pencil-svg {
  position: absolute;
  top: -10px;
  left: 0;
  width: 40px;
  height: 40px;
  transform: rotate(80deg);
  z-index: 3;
  opacity: 0;
  animation: movePencil 1.8s ease forwards 0.3s;
}

.underline-path {
  position: absolute;
  bottom: 20px;
  left: 0;
  height: 6px;
  width: 0;
  background: linear-gradient(to right, var(--pastel-pink), var(--pastel-blue), var(--pastel-lavender), var(--pastel-green), var(--pastel-peach));
  border-radius: 8px;
  opacity: 0.8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: drawLine 1.5s ease forwards 0.3s;
  z-index: 2;
}

@keyframes movePencil {
  0% {
    left: 0;
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes drawLine {
  0% {
    width: 0;
    opacity: 0.5;
  }
  100% {
    width: 100%;
    opacity: 0.8;
  }
}

/* Bouton pour les cartes services */
.service-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  margin-bottom: 1rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  z-index: 1;
  transition: transform 0.5s ease;
}

.service-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #fff 0%, var(--pastel-blue) 100%);
  color: var(--text-color);
  text-decoration: none;
}

.service-btn:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.service-btn span {
  position: relative;
  z-index: 2;
}

/* Classe utilitaire pour cacher sur mobile */
@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* Tarifs Section */
.tarifs {
  padding: 5rem 0;
  background-color: var(--light-color);
}

/* Structure de la grille générale */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 3rem 1rem;
  justify-content: center;
}

/* Hauteur et comportement des cartes */
.tarif-card {
  position: relative;
  border-radius: 24px;
  height: auto;
  min-height: 460px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.tarif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Effet de transition sur le background */
.tarif-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tarif-card:hover::before {
  opacity: 1;
}

/* Bordures colorées pour les différentes cartes */
.tarif-card.card-coaching {
  border: 4px solid #DCE9F2;
  box-shadow: inset 0 0 20px #DCE9F2, 0 4px 16px rgba(0,0,0,0.15);
}

.tarif-card.card-madero {
  border: 4px solid #EADCF2;
  box-shadow: inset 0 0 20px #EADCF2, 0 4px 16px rgba(0,0,0,0.15);
}

.tarif-card.card-drainage {
  border: 4px solid #D0E8EF;
  box-shadow: inset 0 0 20px #D0E8EF, 0 4px 16px rgba(0,0,0,0.15);
}

.tarif-card.card-madero-shorty {
  border: 4px solid #E8D0EF;
  box-shadow: inset 0 0 20px #E8D0EF, 0 4px 16px rgba(0,0,0,0.15);
}

.tarif-card.card-details {
  border: 4px solid #F2E9DC;
  box-shadow: inset 0 0 20px #F2E9DC, 0 4px 16px rgba(0,0,0,0.15);
}

.tarif-card.card-tarifs-unified {
  border: 4px solid #f0e2d0;
  box-shadow: inset 0 0 20px #f0e2d0, 0 4px 16px rgba(0,0,0,0.15);
}

/* Fond flouté */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0.2;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.5s ease;
  z-index: 0;
}

.tarif-card:hover .card-bg {
  filter: blur(0);
  opacity: 0.35;
  transform: scale(1.05);
}

/* Contenu lisible */
.tarif-card .card-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
}

/* Titres */
.tarif-menu h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #3a3a3a;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.tarif-menu h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}

/* Liste de menu */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Ligne tarifaire */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-family: 'Figma Hand', cursive;
  border-bottom: 1px dotted rgba(0,0,0,0.05);
  padding-bottom: 0.3rem;
  width: 100%;
}

/* Aligner proprement texte et prix */
.menu-label {
  text-align: left;
  font-style: italic;
  max-width: 70%;
  padding-right: 1rem;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.menu-price {
  text-align: right;
  font-weight: 600;
  min-width: 60px;
  flex-shrink: 0;
  color: #333;
  display: flex;
  justify-content: flex-end;
}

/* Notes et précisions */
.menu-note {
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.85;
  margin: 0.4rem 0 0.8rem;
  line-height: 1.4;
  padding-left: 0.5rem;
  font-family: 'Quicksand', sans-serif;
}

/* Style spécifique pour les notes dans la carte "Plus en détails" */
.card-details .menu-note {
  font-style: normal;
  line-height: 1.5;
  margin: 0.5rem 0;
  padding-left: 0.6rem;
  text-indent: -0.6rem;
}

/* Responsive pour les tarifs */
@media (max-width: 768px) {
  .tarif-card {
    max-width: 300px;
    width: 90%;
    margin: 0 auto;
    min-height: 420px;
  }
  
  .tarifs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 1rem;
    justify-items: center;
  }
  
  .tarif-menu h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  
  .menu-item {
    font-size: 0.9rem;
  }
  
  .menu-note {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .card-details .menu-note {
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .tarif-card .card-content {
    padding: 1.5rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .tarif-card {
    min-height: 400px;
  }
  
  .tarif-card .card-content {
    padding: 1.2rem 1rem;
  }
  
  .menu-label {
    max-width: 70%;
  }
  
  .menu-price {
    min-width: 30%;
  }
}

@media screen and (min-width: 1024px) {
  .tarifs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    justify-content: center;
    padding: 3rem 2rem;
    align-items: stretch;
  }
  
  .tarif-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
}

.tarif-category {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #000;
  margin: 2.5rem 0 1.2rem;
  text-align: center;
  padding-bottom: 8px;
  position: relative;
  display: block;
  width: 100%;
  font-weight: 600;
}

.tarif-orange {
  color: #000;
}

.tarif-category::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: rgba(226, 154, 75, 0.3);
}

.tarif-category:first-of-type {
  margin-top: 0.5rem;
}

.tarif-subcategory {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  margin: 1.8rem 0 1rem;
  text-align: left;
  position: relative;
  display: block;
  width: 100%;
  padding-left: 1.5rem;
  border-left: 3px solid rgba(226, 154, 75, 0.4);
}

/* Ajoute une ligne horizontale entre les sous-catégories */
.tarif-subcategory:not(:first-of-type) {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(226, 154, 75, 0.2);
}

/* Espacement supplémentaire entre catégories principales */
.tarif-category + .menu-list + .tarif-category,
.tarif-category + .tarif-subcategory + .menu-list + .tarif-category {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(226, 154, 75, 0.15);
}

@media (max-width: 768px) {
  .tarif-category {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
  }
  
  .tarif-subcategory {
    font-size: 1rem;
    margin: 1.5rem 0 0.8rem;
    padding-left: 1rem;
  }
  
  .tarif-subcategory:not(:first-of-type) {
    margin-top: 1.8rem;
    padding-top: 1rem;
  }
  
  .tarif-category + .menu-list + .tarif-category,
  .tarif-category + .tarif-subcategory + .menu-list + .tarif-category {
    margin-top: 2.5rem;
    padding-top: 0.8rem;
  }
}

/* Style pour carte bientôt disponible */
.coming-soon-card {
  position: relative;
  cursor: not-allowed;
  opacity: 0.9;
  pointer-events: none;
}

.coming-soon-card:hover {
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.coming-soon-banner {
  position: absolute;
  top: 25px;
  left: -65px;
  width: 220px;
  padding: 6px 10px;
  background-color: #E29A4B;
  color: #fff;
  font-family: 'Figma Hand', cursive;
  text-align: center;
  font-size: 11px; /* Taille encore plus réduite */
  font-weight: 700;
  letter-spacing: 0.5px; /* Espacement des lettres réduit */
  text-transform: uppercase;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: normal;
  line-height: 1.2;
  border: 2px solid white;
  animation: pulseBanner 1.6s infinite ease-in-out;
}

@keyframes pulseBanner {
  0%, 100% { opacity: 1; box-shadow: 0 0 5px rgba(226, 154, 75, 0.8); }
  50% { opacity: 0.85; box-shadow: 0 0 15px rgba(226, 154, 75, 1); }
}

@media (max-width: 768px) {
  .coming-soon-banner {
    top: 20px;
    left: -70px;
    width: 200px;
    padding: 5px 8px;
    font-size: 10px; /* Taille minimale lisible */
  }
}

.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E29A4B;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-family: 'Figma Hand', cursive;
  margin-top: 0.7rem;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.credit-badge i {
  font-size: 14px;
}

.credit-tag {
  background: #E29A4B;
  color: white;
  font-size: 10px;
  font-family: 'Quicksand', sans-serif;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
  white-space: nowrap;
} 

/* Animation de fade-in pour la section À propos */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Style pour le paragraphe SEO local */
.seo-local {
  font-size: 0.85rem;
  color: #666;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(106, 141, 115, 0.2);
  font-style: italic;
  line-height: 1.5;
}

.contact-info h3.section-title::after,
.contact-form h3.section-title::after,
.map-section h3.section-title::after {
  background-color: var(--accent-color);
}

/* Bannière de cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
  padding-right: 1rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.cookie-accept {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cookie-accept:hover {
  background-color: var(--accent-color-dark);
}