@charset "utf-8";

/* -----------------------------------------------------
   VARIABLES GLOBALES
----------------------------------------------------- */
:root {
  --vert-sauge: #8BA89A;
  --beige-lin: #E9E1D6;
  --blanc-casse: #F7F4F0;
  --cuivre: #A6784E;
  --texte: #3A3836;
  --accent-color: #B88A5A;
  --titre: #2F2C2A;
  --texte-secondaire: #5F5A57;
  --texte-tertiaire: #6B6662;
  --shadow-soft: 0 10px 26px rgba(0,0,0,0.05);
  --shadow-strong: 0 12px 28px rgba(00,0,0,0.12);
  --shadow-cuivre: 0 0 35px rgba(184, 138, 90, 0.28);
  --radius: 1rem;
  --radius-full: 999px;
  --bp-tablet: 900px;
}

/* -----------------------------------------------------
   GLOBAL
----------------------------------------------------- */
html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  background: var(--blanc-casse);
  color: var(--texte);
  line-height: 1.65;
}

img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-cuivre), 0 0 80px rgba(184, 138, 90, 0.18);
}

/* -----------------------------------------------------
   TITRES
----------------------------------------------------- */
h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: var(--titre);
  margin-bottom: 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

/* -----------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------- */
header {
  background:
    radial-gradient(circle at center, rgba(184, 138, 90, 0.28) 0%, rgba(184, 138, 90, 0.18) 45%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(to bottom, rgba(184, 138, 90, 0.22), rgba(0, 0, 0, 0.18));
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-bottom: 1px solid rgba(184, 138, 90, 0.35);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FDF7EC, #B88A5A);
  transition: transform 0.2s ease;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
   color: #ffffff; /* Blanc pur */
  transition: color 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: currentColor;
  transition: width 0.25s ease;
}

.logo:hover .logo-text::after { width: 100%; }
.logo:hover .logo-circle { transform: scale(1.05); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff; /* Blanc pur pour plus de luminosité */
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #B88A5A;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.9;
}

/* -----------------------------------------------------
   LISTES
----------------------------------------------------- */
.benefits-list, .process-list {
  margin: 1.5em 0;
  padding-left: 1.5em;
  list-style-type: none;
}

.benefits-list li {
  margin-bottom: 0.8em;
  padding-left: 1.2em;
  position: relative;
}
.benefits-list li:before {
  content: "•";
  color: #8B9A8B;
  font-size: 1.2em;
  position: absolute;
  left: 0;
}

.process-list li { margin-bottom: 1em; }
.process-note {
  font-style: italic;
  color: #666;
  margin-top: 0.5em;
  font-size: 0.9em;
}

/* -----------------------------------------------------
   BOUTONS
----------------------------------------------------- */
.btn-primary, .contact-submit {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #B88A5A, #C79A6C);
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: 1px solid rgba(166, 120, 78, 0.35);
  white-space: nowrap;
}
.btn-primary:hover, .contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18), 0 0 18px rgba(184, 138, 90, 0.35);
}

/* -----------------------------------------------------
   SECTIONS
----------------------------------------------------- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--texte-tertiaire);
  margin-bottom: 0.4rem;
}

.intro {
  font-size: 1rem;
  color: var(--texte-secondaire);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* -----------------------------------------------------
   HERO
----------------------------------------------------- */
.hero-sophrologie, .hero-emdr, .hero-voyages, .hero-evenements, .hero-tarifs, .hero-center {
  position: relative;
  height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-sophrologie::after, .hero-emdr::after, .hero-voyages::after, .hero-center::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-evenements::after, .hero-tarifs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero-sophrologie .hero-content, .hero-emdr .hero-content, .hero-voyages .hero-content,
.hero-evenements .hero-content, .hero-tarifs .hero-content, .hero-center .hero-content {
  position: relative;
  z-index: 2;
}

.hero-sophrologie h1, .hero-sophrologie h2, .hero-emdr h1, .hero-emdr h2, .hero-voyages h1,
.hero-voyages h2, .hero-evenements h1, .hero-evenements h2, .hero-tarifs h1, .hero-tarifs h2,
.hero-center h1, .hero-center h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-sophrologie p, .hero-emdr p, .hero-voyages p, .hero-evenements p, .hero-tarifs p, .hero-center p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  opacity: 0.85;
}

.hero-sophrologie { background: url('images/sophrologie-hero.jpg') center/cover no-repeat; }
.hero-emdr { background: url('images/emdr-hero.jpg') center/cover no-repeat; }
.hero-voyages { background: url('images/voyages-sonores-hero.jpg') center/cover no-repeat; }
.hero-evenements { background: url('images/evenements-hero.jpg') center/cover no-repeat; }
.hero-tarifs { background: url('images/tarifs-hero.jpg') center/cover no-repeat; }

.hero-center .hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.hero-center { background: url('images/contact-hero.jpg') center/cover no-repeat; }
.hero-center p { max-width: 650px; margin-left: auto; margin-right: auto; color: #3a2f2a; }

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content { flex: 1; z-index: 2; }
.hero-content h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; line-height: 1.2; margin-bottom: 1rem; }
.hero-content p { font-family: 'Lato', sans-serif; font-size: 1.2rem; opacity: 0.85; margin-bottom: 1.5rem; }

.hero-photo { flex: 1; display: flex; justify-content: center; }
.hero-photo img { width: 100%; height: auto; border-radius: 12px; object-fit: cover; max-height: 420px; }

.hero-apropos {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  background: url('images/apropos-hero.jpg') center/cover no-repeat;
}

.hero-apropos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.hero-apropos .hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-apropos h2 { font-family: "Playfair Display", serif; font-size: 3rem; font-weight: 600; margin-bottom: 0.5rem; }
.hero-apropos p { font-size: 1.3rem; font-weight: 300; letter-spacing: 0.5px; }

/* -----------------------------------------------------
   CARDS
----------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #FBF8F4;
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong), 0 0 25px rgba(184, 138, 90, 0.15);
}

.card p { font-size: 0.95rem; color: var(--texte-secondaire); margin-bottom: 1rem; }
.card a { color: var(--cuivre); font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.card-icon { width: 70px; height: auto; margin-bottom: 1rem; opacity: 0.85; display: block; }

/* -----------------------------------------------------
   EFFET DE SURVOL POUR LES ÉVÉNEMENTS (version corrigée)
----------------------------------------------------- */

/* Effet de survol SANS impact sur les vignettes */
.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--radius);
  position: relative; /* Important pour le z-index */
  z-index: 0; /* Valeur neutre pour ne pas interférer */
}

/* Effet au survol */
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 0; /* Ne pas couvrir les vignettes */
}

/* Assurer que les vignettes restent au-dessus */
.vignette-flottante-centree {
  position: relative;
  z-index: 1; /* Toujours au-dessus des .event-card */
}

/* Optionnel : Souligner les titres au survol */
.event-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px; /* espace sous le texte */

}

/* Correction pour mobile (si nécessaire) */
@media (max-width: 768px) {
  .vignette-flottante-centree {
    z-index: 1 !important; /* Priorité absolue sur mobile */
  }
}

/* -----------------------------------------------------
   BIO
----------------------------------------------------- */
.bio { padding: 5rem 1.5rem; background: var(--blanc-casse); }
.bio-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.bio-photo img { border-radius: 1rem; box-shadow: var(--shadow-soft), 0 0 25px rgba(184, 138, 90, 0.15); }
.bio-text p { margin-bottom: 1.4rem; line-height: 1.75; font-size: 1.05rem; }

.bio-diplomes { margin-top: 3rem; }
.bio-diplomes h3 { font-size: 1.9rem; }
.diplomes-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.diplome-block ul { list-style: none; padding-left: 0; }
.diplome-block li { font-size: 1rem; color: var(--texte-secondaire); line-height: 1.6; margin-bottom: 0.5rem; position: relative; padding-left: 1.2rem; }
.diplome-block li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C4B8A6; position: absolute; left: 0; top: 0.55rem; }

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  text-align: center;
  padding: 2.8rem 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  background: linear-gradient(to bottom, rgba(184, 138, 90, 0.25), rgba(184, 138, 90, 0.45));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(184, 138, 90, 0.35);
  color: var(--cuivre-fonce);
}

footer a {
  color: var(--cuivre);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

footer a:hover { opacity: 0.7; }

/* -----------------------------------------------------
   BACKGROUND PAGE
----------------------------------------------------- */
.page-background-tarifs, .page-background-sophrologie, .page-background-hypnose,
.page-background-evenements, .page-background-voyages-sonores {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: blur(1px) brightness(1.0);
  z-index: -1;
  position: fixed;
  inset: 0;
}

.page-background-sophrologie { background-image: url("images/sophrologie-fond.jpg"); }
.page-background-hypnose { background-image: url("images/hypnose-fond.jpg"); }
.page-background-voyages-sonores { background-image: url("images/sonore-fond.jpg"); }
.page-background-evenements { background-image: url("images/evenements-fond.jpg"); }
.page-background-tarifs { background-image: url("images/tarifs-fond.jpg"); }

.page-overlay { position: fixed; inset: 0; background-color: rgba(255, 255, 255, 0.6); z-index: 0; }
main, footer, header, .content { position: relative; z-index: 1; }

/* -----------------------------------------------------
   CONTACT
----------------------------------------------------- */
.contact-container { padding: 3rem 0; }
.contact-title { font-family: "Playfair Display", serif; font-size: 1.8rem; margin-bottom: 1.2rem; color: var(--titre); }
.contact-premium, .contact-form-card {
  background: #FBF8F4;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 0 25px rgba(184, 138, 90, 0.15), var(--shadow-strong);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-premium:hover, .contact-form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(184, 138, 90, 0.25), 0 16px 32px rgba(0,0,0,0.12);
}

.contact-info { margin-bottom: 1.4rem; font-size: 1rem; color: #5A554F; }
.contact-label { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #7A7571; margin-bottom: 0.2rem; }
.contact-link { color: var(--cuivre); font-weight: 600; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: stretch; }
.contact-card { display: flex; flex-direction: column; height: 100%; }

.map-container-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.map-container-card h2 { margin-bottom: 1rem; text-align: center; }
.map-container-card iframe { display: block; width: 100%; border: 0; margin-bottom: 1.5rem; }

.contact-map-section { margin-top: 2.5rem; text-align: center; padding-bottom: 2.5rem; margin-bottom: 1rem; }
.contact-note { font-size: 0.85rem; color: #7A7571; margin-top: 1.5rem; }
.contact-form-card .contact-note { margin-top: 0.2rem; margin-bottom: 0.8rem; font-size: 0.9rem; opacity: 0.85; padding: 0.6rem 0.8rem; background: rgba(184, 138, 90, 0.08); border-left: 3px solid var(--cuivre); border-radius: 0.4rem; }

.contact-form input, .contact-form textarea { width: 100%; background: #FFFDF9; border-radius: 0.7rem; border: 1px solid rgba(0,0,0,0.1); padding: 1rem; font-size: 1rem; transition: 0.25s; box-sizing: border-box; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cuivre); box-shadow: 0 0 10px rgba(184, 138, 90, 0.3); }

/* -----------------------------------------------------
   VIGNETTES FLOTTANTES
----------------------------------------------------- */
.vignette-flottante-centree {
  float: right;
  clear: right;
  width: 140px;
  margin: 1.5em 15em 1.2em 1.2em;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: margin-bottom 0.35s ease;
}
/* Remonte la première vignette pour compenser la marge du bloc précédent */
.vignette-flottante-centree:first-of-type {
  margin-top: 0.2em; /* Ajuste selon ton œil */
}
.vignette-flottante-centree.expanded {
  position: relative;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-bottom: 200px;
}

.vignette-img {
  width: 140px;
  height: auto;
  border-radius: 12px;
  display: block;
  transition: transform 0.45s ease, filter 0.35s ease, box-shadow 0.45s ease;
  transform-origin: top center;
}

.vignette-img:hover { filter: brightness(0.85); transform: scale(1.05) translateY(-3px); }

.vignette-flottante-centree figcaption { font-size: 0.85em; color: #444; margin-top: 0.4em; }

.vignette-flottante-centree.expanded .vignette-img {
  transform: scale(1.5);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 35px rgba(255, 255, 255, 0.35);
  transform-origin: top center;
}

@media (min-width: 768px) {
  .vignette-flottante-centree.expanded { margin-bottom: 260px; }
  .vignette-flottante-centree.expanded .vignette-img { transform: scale(2.5); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), 0 0 55px rgba(255, 255, 255, 0.45); }
}

@media (max-width: 700px) {
  .vignette-flottante-centree { float: none; margin: 1.5rem auto; width: 100%; max-width: 350px; text-align: center; }
  .vignette-img { width: 100%; height: auto; object-fit: cover; border-radius: 1rem; }
}

@media (max-width: 767px) {
  .vignette-flottante-centree { cursor: default; }
  .vignette-flottante-centree:active, .vignette-flottante-centree:focus, .vignette-img:hover, .vignette-img:active { filter: none !important; opacity: 1 !important; transform: none !important; box-shadow: none !important; }
}

/* -----------------------------------------------------
   ACCESSIBILITÉ
----------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 999;
  border-radius: 4px;
  transition: top 0.3s ease;
}

.skip-link:focus { top: 10px; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* -----------------------------------------------------
   FORMULAIRE
----------------------------------------------------- */
.form-error {
  background: rgba(180, 60, 40, 0.08);
  border-left: 4px solid #b44a3a;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  color: #7a2f25;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */
@media (max-width: var(--bp-tablet)) {
  .nav { display: flex; flex-direction: column; align-items: stretch; justify-content: center; text-align: center; padding-bottom: 1rem; gap: 1rem; overflow: visible; }
  .nav-links { display: flex; flex-direction: column; width: 100%; justify-content: center; margin-top: 0.8rem; gap: 1rem; }
  .nav-links li, .nav-links a { width: 100%; }
  .btn-primary { white-space: normal; width: 100%; text-align: center; padding: 0.9rem 1.2rem; margin-top: 0.5rem; box-sizing: border-box; }

  .hero { grid-template-columns: 1fr; text-align: center; padding: 3rem 1.2rem; }
  .hero-photo img, .bio-photo img { max-height: 350px; margin-top: 1.5rem; }

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

  .bio-inner { grid-template-columns: 1fr; }

  .bio-diplomes h3 { font-size: 1.6rem; text-align: center; }
  .diplomes-columns { grid-template-columns: 1fr; gap: 2rem; }
  .diplome-block h4 { text-align: center; font-size: 1.2rem; }

  h1 { font-size: 1.9rem; line-height: 1.25; }
  h2 { font-size: 1.6rem; line-height: 1.3; }
  h3 { font-size: 1.25rem; line-height: 1.35; }

  .kicker { font-size: 0.75rem; letter-spacing: 0.12em; }
  .intro { font-size: 0.95rem; }
}

@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .nav { flex-direction: column; align-items: center; gap: 1.2rem; }
  .nav-links { width: 100%; display: flex; flex-direction: column; gap: 0.8rem; }
  .nav-links a { width: 100%; text-align: center; }
  .btn-primary { width: auto; max-width: 90%; white-space: normal; padding: 0.8rem 1.4rem; text-align: center; flex-shrink: 0; }

  .hero-photo img, .bio-photo img, .vignette-img { width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: contain !important; }

  .diplomes-columns { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  .hero { display: flex !important; flex-direction: column !important; gap: 2rem !important; padding: 3rem 1.2rem !important; text-align: center !important; }
  .hero-photo img { width: 100% !important; height: auto !important; object-fit: cover !important; max-width: 500px; margin: 0 auto; }

  .hero-content { width: 100% !important; }

  .bio-inner { display: flex !important; flex-direction: column !important; gap: 2rem !important; }
  .bio-photo img { width: 100% !important; height: auto !important; object-fit: cover !important; max-width: 500px; margin: 0 auto; }
  .bio-text { width: 100% !important; text-align: left; }
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { margin-bottom: 1rem; height: auto; }
  .contact-form-card { margin-bottom: 0; }
  .contact-map-section { margin-top: 2rem; padding-bottom: 2rem; }
  .contact-grid { gap: 2rem; }
  .contact-card { height: auto; }
}
