/* ================================================
   DIÉTÉTIQUE & ART DE VIVRE - STYLES
   Palette monochrome : nuances de vert sauge, beige, blanc cassé
   ================================================ */

/* === Variables CSS - Palette Monochrome === */
:root {
  /* Vert sauge dominant */
  --sage-50: #f6f7f5;
  --sage-100: #e8ebe4;
  --sage-200: #d1d7c9;
  --sage-300: #b4bfab;
  --sage-400: #96a58c;
  --sage-500: #7a8c70;
  --sage-600: #5f6d56;
  --sage-700: #4a5643;
  --sage-800: #3c4436;
  --sage-900: #2f352c;

  /* Beige et crème */
  --cream-50: #fefcf9;
  --cream-100: #fdf8f0;
  --cream-200: #faf0e3;
  --cream-300: #f5e5d0;

  /* Gris anthracite pour texte */
  --charcoal-50: #f7f7f7;
  --charcoal-100: #e3e3e3;
  --charcoal-200: #c8c8c8;
  --charcoal-500: #8a8a8a;
  --charcoal-700: #5c5c5c;
  --charcoal-800: #404040;
  --charcoal-900: #1a1a1a;

  /* Couleurs fonctionnelles */
  --white: #ffffff;
  --off-white: #fdfcfa;
  --current-color: var(--sage-700);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal-800);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Typographie === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--sage-800);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--sage-600);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--sage-800); }

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

/* === Layout === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--alt {
  background-color: var(--sage-50);
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-100);
  transition: all 0.3s ease;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-700);
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--sage-500);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal-700);
  position: relative;
  padding: 0.5rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage-400);
  transition: width 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--sage-700);
}

/* Menu hamburger mobile */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sage-700);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* === Boutons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn--primary:hover {
  background: var(--sage-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(95, 109, 86, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--sage-700);
  border: 2px solid var(--sage-400);
}

.btn--secondary:hover {
  background: var(--sage-100);
  border-color: var(--sage-500);
  color: var(--sage-800);
}

.btn--light {
  background: var(--white);
  color: var(--sage-700);
}

.btn--light:hover {
  background: var(--cream-100);
  transform: translateY(-2px);
}

/* === Hero Section === */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--sage-50) 50%, var(--cream-100) 100%);
}

.hero__logo {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.hero__logo-img {
  display: inline-block;
  width: auto;
  max-width: 100px;
  height: auto;
  margin: 0 auto;
  animation: logoFadeInDown 1s ease 1.3s both, logoFloat 4s ease-in-out 2.3s infinite;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text {
  animation: fadeInUp 1s ease;
}

.hero__subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage-500);
  margin-bottom: 1rem;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: 1.15rem;
  color: var(--charcoal-700);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero__image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(47, 53, 44, 0.15);
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--sage-200);
  border-radius: 20px;
  z-index: -1;
}

.hero__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Placeholder élégant sans image externe */
.hero__placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(145deg, var(--sage-100) 0%, var(--sage-200) 50%, var(--cream-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__placeholder::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 40px solid var(--sage-300);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

.hero__placeholder::after {
  content: '🌿';
  font-size: 5rem;
  position: relative;
  z-index: 1;
}

/* === Features Section === */
.features {
  padding: 5rem 0;
  padding-top: 15px;

}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--sage-100);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(47, 53, 44, 0.1);
  border-color: var(--sage-200);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--sage-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-card__icon {
  background: var(--sage-500);
  transform: scale(1.1);
}

.feature-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card__text {
  color: var(--charcoal-700);
  font-size: 0.95rem;
}

/* === Blog Preview === */
.blog-preview {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header p {
  color: var(--charcoal-700);
  max-width: 600px;
  margin: 1rem auto 0;
}

.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--sage-100);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(47, 53, 44, 0.1);
}

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--sage-200) 0%, var(--sage-300) 100%);
  position: relative;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--sage-100) 0%, var(--cream-200) 100%);
}

.blog-card__content {
  padding: 1.5rem;
}

.blog-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--charcoal-500);
  margin-bottom: 0.75rem;
}

.blog-card__category {
  color: var(--sage-600);
  font-weight: 500;
}

.blog-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card__title a {
  color: var(--sage-800);
}

.blog-card__excerpt {
  color: var(--charcoal-700);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--sage-600);
}

.blog-card__link:hover {
  gap: 0.75rem;
  color: var(--sage-800);
}

/* === CTA Section === */
.cta {
  background: linear-gradient(135deg, var(--sage-600) 0%, var(--sage-700) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: var(--sage-100);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* === Page Header === */
.page-header {
  padding: 7rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--sage-50) 100%);
}

/* Section About (qui-suis-je.html) - juste après le page-header */
.page-header + .section {
  padding-top: 15px;
  padding-bottom: 0;
}

/* Sections de ce-que-je-fais.html (classes stables, indépendantes de l'ordre) */
.process-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.forwho-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.services-section {
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}

/* Section Concept sur index.html */
.concept-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.program-section {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

/* Réduit l'espace des sections Philosophy et My Journey */
.philosophy {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.photo-banner + .section--alt {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.page-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header p {
  color: var(--charcoal-700);
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto;
}

/* === About Section (Qui suis-je) === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image__wrapper {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(47, 53, 44, 0.15);
  background: linear-gradient(145deg, var(--sage-100) 0%, var(--cream-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image__wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--sage-200);
  border-radius: 20px;
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Logo centré et réduit dans le cadre (ex: page Qui suis-je) */
.about-image__wrapper .about-image__img {
  width: 30%;
  height: auto;
  object-fit: contain;
}

.about-image__placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(145deg, var(--sage-100) 0%, var(--cream-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-text__subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage-500);
  margin-bottom: 1rem;
}

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

.about-text p {
  color: var(--charcoal-700);
  margin-bottom: 1.5rem;
}

/* === Philosophy Section === */
.philosophy {
  background: var(--sage-50);
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-item__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--sage-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-item h4 {
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--charcoal-700);
  font-size: 0.95rem;
}

/* === Services Section (Ce que je fais) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--sage-100);
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: var(--sage-300);
  box-shadow: 0 15px 35px rgba(47, 53, 44, 0.08);
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-card__header h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--sage-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 0;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--charcoal-700);
}

/* === Process Section === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -1rem;
  width: calc(100% - 60px);
  height: 2px;
  background: var(--sage-200);
}

.process-step:last-child::after {
  display: none;
}

.process-step__number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--sage-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--charcoal-700);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* === Contact Section (Me rencontrer) === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--sage-100);
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--sage-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.contact-item p {
  color: var(--charcoal-700);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-item p a {
  color: var(--charcoal-700);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item p a:hover {
  color: var(--sage-600);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--sage-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-600);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--sage-600);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* === Form === */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--sage-100);
}

.contact-form h3 {
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--sage-800);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--sage-100);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--charcoal-800);
  background: var(--cream-50);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-400);
  background: var(--white);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--charcoal-500);
}

.contact-form .btn {
  width: 100%;
}

/* === Map Placeholder === */
.map-embed {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sage-100);
  flex: 1;
  min-height: 200px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* === Blog Page === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-grid .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-grid .blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-grid .blog-card__excerpt {
  flex: 1;
}

/* === Footer === */
.footer {
  background: var(--sage-800);
  color: var(--sage-100);
  padding: 4rem 0 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__brand p {
  color: var(--sage-200);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 45px;
  height: 45px;
  background: var(--sage-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-100);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--sage-500);
  transform: translateY(-3px);
  color: var(--white);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__links h4,
.footer__contact h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer__links ul {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: var(--sage-200);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact p {
  color: var(--sage-200);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--sage-700);
  text-align: center;
  color: var(--sage-400);
  font-size: 0.9rem;
}

/* === Animations === */
@keyframes logoFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

/* Animation on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* === Responsive === */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__description {
    margin: 0 auto 2rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image {
    max-width: 500px;
    margin: 0 auto;
  }

  .features__grid,
  .blog-preview__grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content,
  .philosophy-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after {
    display: none;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--sage-100);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav__links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__toggle {
    display: block;
  }

  .section {
    padding: 4rem 0;
  }

  .features__grid,
  .blog-preview__grid,
  .blog-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    max-width: none;
  }

  .footer__social {
    justify-content: center;
  }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }


.instagram-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.instagram-post {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .instagram-posts-grid {
        grid-template-columns: 1fr;
    }
}
/* === Photo Banner (Parallax) === */
.photo-banner {
  position: relative;
  height: 40vh;
  min-height: 320px;
  background-image: url('/images/jardin-banniere.webp');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.photo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 53, 44, 0.15) 0%, rgba(47, 53, 44, 0.05) 50%, rgba(47, 53, 44, 0.15) 100%);
}

@media (max-width: 768px) {
  .photo-banner {
    height: 30vh;
    min-height: 240px;
    background-attachment: scroll;
  }
}

/* === Photo Section (me-rencontrer.html) === */
.cabinet-photo {
  padding: 2.5rem 0 1rem;
}

.cabinet-photo + .section {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

/* Section "Informations pratiques" sur me-rencontrer.html */
.cabinet-photo + .section + .section--alt {
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.cabinet-photo__wrapper.fade-in {
  transform: scale(0.96);
}

.cabinet-photo__wrapper.fade-in.visible {
  transform: scale(1);
}

.cabinet-photo__wrapper {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(47, 53, 44, 0.15);
}

.cabinet-photo__wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--sage-200);
  border-radius: 20px;
  z-index: -1;
}

.cabinet-photo__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabinet-photo__overlay {
  position: absolute;
  inset: 0;
  background: var(--sage-900);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .cabinet-photo__wrapper {
    height: 280px;
  }
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* === Doctolib Card (me-rencontrer.html) === */
.doctolib-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--sage-100);
  background: var(--sage-50);
  text-align: center;
}

.doctolib-card__logo {
  display: block;
  max-width: 70px;
  height: auto;
  margin: 0 auto 0.75rem;
}

.doctolib-card p {
  color: var(--charcoal-700);
  margin-bottom: 1rem;
}

.btn-doctolib {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: #1275c5;
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-doctolib:hover {
  background: #0e5fa0;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 117, 197, 0.3);
}

/* === Google Reviews Badge (me-rencontrer.html) === */
.google-reviews {
  display: block;
  padding: 0;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.google-reviews:hover {
  opacity: 0.75;
}

.google-reviews__stars {
  color: #f5a623;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.google-reviews p {
  color: var(--charcoal-700);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-info__separator {
  height: 1px;
  background: var(--sage-100);
  margin: 1.5rem 0;
}

.about-image__cta {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 0;
}

/* Photo "Pour qui" : remplit la colonne verticalement (section ce-que-je-fais.html) */
.forwho-section .about-content {
  display: flex;
  align-items: stretch;
  gap: 4rem;
}

.forwho-section .about-text {
  flex: 1;
}

.forwho-image {
  display: flex;
  flex-direction: column;
  flex: 1.2;
}

.forwho-image .about-image__wrapper {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
}

.forwho-image .about-image__wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* === Back to Top Button (toutes pages, injecté via footer.html) === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-600);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(47, 53, 44, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--sage-700);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* === Error Pages (403 / 404 / 500) === */
.error-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--sage-50) 50%, var(--cream-100) 100%);
}

.error-page__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.error-page__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(47, 53, 44, 0.15);
}

.error-page__image::before {
  content: '';
  position: absolute;
  top: -14px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--sage-200);
  border-radius: 20px;
  z-index: -1;
}

.error-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-page__code {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(4rem, 10vw, 6rem);
  color: var(--sage-300);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page__content h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.error-page__content p {
  color: var(--charcoal-700);
  margin: 0 auto 2rem;
  max-width: 480px;
}

.error-page__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .error-page {
    min-height: 60vh;
    padding-top: 60px;
  }
}