/* =========================================================
   Axelle – La Voix des Mots
   Charte graphique reprise du site existant :
   menthe/vert d'eau + corail/pêche, brun doux, neutres.
   Polices : Comfortaa (titres), Quicksand (accents), Raleway (texte).
   ========================================================= */

:root {
  /* Menthe / vert d'eau */
  --mint-bg: #d4efea;
  --mint-tint: #c1e8e1;
  --mint-soft: #eaf7f4;
  --teal: #44b8a2;
  --teal-dark: #2f8d7c;

  /* Corail / pêche */
  --coral: #fd9469;
  --coral-light: #feb89b;
  --coral-soft: #fff1e9;
  --coral-strong: #fc6a3a;

  /* Neutres / texte */
  --brown: #725346;
  --ink: #4a5754;
  --ink-soft: #5f6c69;
  --cream: #fef9f5;
  --white: #ffffff;

  --shadow-sm: 0 4px 18px rgba(63, 95, 88, 0.08);
  --shadow-md: 0 14px 40px rgba(63, 95, 88, 0.14);
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1140px;

  --font-title: "Comfortaa", system-ui, sans-serif;
  --font-accent: "Quicksand", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-title); color: var(--brown); line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; margin-bottom: 0.5em; }

.eyebrow {
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--teal-dark);
  display: inline-block;
  margin-bottom: 0.7rem;
}

/* ---------------- Boutons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(253, 148, 105, 0.4);
}
.btn-primary:hover { background: var(--coral-strong); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn-ghost:hover { background: var(--mint-soft); transform: translateY(-2px); }

/* ---------------- En-tête / Navigation ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(68, 184, 162, 0.16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }

.brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; font-family: "Dancing Script", cursive; line-height: 1; }
.brand-name { font-size: 1.85rem; font-weight: 700; color: var(--coral); }
.brand-tag { font-size: 1.45rem; font-weight: 600; color: var(--teal-dark); }

.primary-nav { display: flex; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 0.3rem; }
.nav-list > li > a,
.submenu-trigger {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-list > li > a:hover,
.submenu-trigger:hover { color: var(--teal-dark); background: var(--mint-soft); }

.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform 0.2s ease; }

/* Sous-menus déroulants */
.has-submenu { position: relative; }
.submenu {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  border: 1px solid rgba(68, 184, 162, 0.14);
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.submenu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-submenu:hover .caret,
.submenu-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.submenu a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-accent);
  font-size: 0.92rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.submenu a:hover { background: var(--mint-soft); color: var(--teal-dark); }

.nav-cta { margin-left: 0.4rem; }
.nav-cta .btn { padding: 0.55rem 1.2rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--brown); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

/* ---------------- Héro ---------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--mint-bg) 0%, var(--mint-soft) 55%, var(--coral-soft) 100%);
  padding: clamp(4rem, 12vw, 8rem) 0 7rem;
  overflow: hidden;
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.hero-logo-wrap {
  display: inline-block;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: 1.4rem 2rem;
  margin: 0 auto 1.8rem;
  box-shadow: 0 8px 32px rgba(68, 184, 162, 0.14), 0 2px 8px rgba(114, 83, 70, 0.07);
}
.hero-logo {
  width: min(360px, 72vw);
  height: auto;
  display: block;
}
.hero-kicker {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.hero-title { font-size: clamp(2.4rem, 7vw, 4.4rem); color: var(--brown); margin-bottom: 1rem; }
.hero-lead { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: var(--ink-soft); max-width: 620px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-blobs { position: absolute; inset: 0; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; animation: float 9s ease-in-out infinite; }
.blob-1 { width: 230px; height: 230px; background: var(--coral-light); top: -40px; left: -50px; }
.blob-2 { width: 300px; height: 300px; background: var(--mint-tint); bottom: -90px; right: -60px; animation-delay: 1.5s; }
.blob-3 { width: 140px; height: 140px; background: var(--teal); top: 40%; right: 12%; opacity: 0.25; animation-delay: 3s; }

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

.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 90px; }
.wave-divider path { fill: var(--cream); }

/* ---------------- Sections ---------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--mint-soft); }
.section-warm { background: var(--coral-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }
.intro p { font-size: 1.12rem; margin-bottom: 1.1rem; color: var(--ink-soft); }

/* ---------------- Cartes (Au cabinet) ---------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(68, 184, 162, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 90px;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: var(--mint-soft); border-radius: 16px; margin-bottom: 1rem; }
.card p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.card-list { list-style: none; margin-bottom: 1rem; }
.card-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.45rem; color: var(--ink-soft); }
.card-list li::before { content: "✿"; position: absolute; left: 0; color: var(--coral); }
.card-meta { list-style: none; border-top: 1px dashed rgba(114, 83, 70, 0.25); padding-top: 0.9rem; }
.card-meta li { font-family: var(--font-accent); font-size: 0.88rem; color: var(--brown); margin-bottom: 0.3rem; }

/* ---------------- Split (À l'extérieur) ---------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.8rem; }
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--teal);
  scroll-margin-top: 90px;
}
.feature:nth-child(2) { border-left-color: var(--coral); }
.feature p { color: var(--ink-soft); margin-bottom: 1rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature-tags span { background: var(--mint-soft); color: var(--teal-dark); font-family: var(--font-accent); font-size: 0.82rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; }
.feature-note { font-style: italic; font-size: 0.95rem; color: var(--brown); }

/* ---------------- Qui suis-je ---------------- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.two-col-text p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.08rem; }
.two-col-aside { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.timeline { list-style: none; }
.timeline li { position: relative; padding-left: 1.6rem; margin-bottom: 0.85rem; color: var(--ink-soft); font-size: 0.97rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 1.2em; bottom: -0.85rem; width: 1px; background: rgba(68, 184, 162, 0.3); }
.timeline li:last-child::after { display: none; }

/* ---------------- Lectures ---------------- */
.books { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.book { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--coral-light); }
.book strong { display: block; font-family: var(--font-title); color: var(--brown); margin-bottom: 0.2rem; }
.book span { font-family: var(--font-accent); font-size: 0.85rem; color: var(--teal-dark); display: block; margin-bottom: 0.6rem; }
.book p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------------- Tarifs ---------------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.3rem; margin-bottom: 2.5rem; }
.price-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(68, 184, 162, 0.12); transition: transform 0.2s ease; }
.price-card:hover { transform: translateY(-4px); }
.price-card h3 { font-size: 1.05rem; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.price { font-family: var(--font-title); font-size: 2rem; color: var(--teal-dark); margin: 0.3rem 0; }
.price-note { font-family: var(--font-accent); font-size: 0.85rem; color: var(--ink-soft); }
.modalities { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.8rem; max-width: 900px; margin-inline: auto; }
.modalities li { background: var(--white); padding: 0.9rem 1.2rem; border-radius: 14px; font-family: var(--font-accent); font-size: 0.92rem; color: var(--brown); box-shadow: var(--shadow-sm); }

/* ---------------- Avis Google ---------------- */
.section-reviews { background: var(--cream); }
.reviews-summary { color: var(--teal-dark); font-weight: 600; font-family: var(--font-accent); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(68, 184, 162, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.review-card.is-visible { opacity: 1; transform: translateY(0); }
.review-card:nth-child(2) { transition-delay: 0.08s; }
.review-card:nth-child(3) { transition-delay: 0.16s; }
.review-card:nth-child(4) { transition-delay: 0.24s; }
.review-card:nth-child(5) { transition-delay: 0.32s; }
.review-card:nth-child(6) { transition-delay: 0.40s; }
.review-header { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: var(--mint-soft);
}
.review-avatar-placeholder {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--mint-bg);
  display: grid; place-items: center;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-author { font-family: var(--font-accent); font-weight: 700; font-size: 0.95rem; color: var(--brown); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-time { font-size: 0.8rem; color: var(--ink-soft); }
.review-stars { color: #fbbc04; font-size: 1rem; letter-spacing: 1px; }
.review-text { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.reviews-cta { text-align: center; }

/* ---------------- Instagram ---------------- */
.section-insta { background: linear-gradient(135deg, var(--coral-soft), var(--mint-soft)); text-align: center; }
.insta-inner { display: flex; flex-direction: column; align-items: center; }
.insta-badge {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-strong) 45%, var(--teal) 100%);
  box-shadow: 0 10px 26px rgba(253, 148, 105, 0.4);
  margin-bottom: 1.2rem;
}
.section-insta p { color: var(--ink-soft); font-size: 1.12rem; max-width: 560px; margin: 0 auto 1.8rem; }
.insta-btn { font-size: 1rem; }

/* ---------------- Contact ---------------- */
.section-contact { background: linear-gradient(160deg, var(--mint-bg), var(--coral-soft)); text-align: center; }
.section-contact p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 2rem; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- Pied de page ---------------- */
.site-footer { background: var(--brown); color: #f6ece6; padding: 3rem 0 2rem; }
.footer-inner { display: grid; gap: 1.6rem; }
.footer-brand strong { font-family: var(--font-title); font-size: 1.2rem; color: var(--white); }
.footer-brand p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-family: var(--font-accent); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--coral-light); }
.footer-legal { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1.3rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.8); }

/* ---------------- Page Mentions légales ---------------- */
.legal { padding-top: 3rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.3rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal p { color: var(--ink-soft); margin-bottom: 1rem; }
.legal a { color: var(--teal-dark); }
.legal-update { font-family: var(--font-accent); font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.legal-note { background: var(--coral-soft); border-left: 4px solid var(--coral); padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; font-size: 0.95rem; color: var(--brown); }
.legal-note code, .legal code { background: rgba(114,83,70,0.1); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.9em; }
.legal-soft { font-size: 0.92rem; }
.legal-back { margin-top: 2.5rem; font-family: var(--font-accent); }

/* ---------------- Animations au scroll ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal:nth-child(3) { transition-delay: 0.2s; }
.books .reveal:nth-child(even) { transition-delay: 0.08s; }
.pricing .reveal:nth-child(even) { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .primary-nav.open { max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; }
  .nav-list > li > a, .submenu-trigger { width: 100%; padding: 0.9rem 1rem; font-size: 1.05rem; }
  .submenu-trigger { justify-content: space-between; }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 0.5rem;
    transition: max-height 0.3s ease;
    background: var(--mint-soft);
    border-radius: 12px;
  }
  .submenu.open { max-height: 320px; padding: 0.4rem 0.5rem; }
  .nav-cta { margin: 0.8rem 0 0; }
  .nav-cta .btn { width: 100%; text-align: center; padding: 0.85rem; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
