/* ==========================================================================
   RAYMONDE HAZAN — style.css
   Site vitrine premium — HTML/CSS/JS pur, sans framework.

   Sommaire :
   1.  Variables & reset
   2.  Typographie de base
   3.  Utilitaires (container, boutons, eyebrow, sections)
   4.  Header & navigation
   5.  Hero
   6.  À propos
   7.  Services
   8.  Formation
   9.  Médias
   10. CTA final
   11. Footer
   12. Animations (fade-up, motif SVG)
   13. Responsive
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Palette — ivoire / beige / anthracite / doré discret */
  --color-ivory:       #FAF7F1;
  --color-ivory-warm:  #F5EFE4;
  --color-beige:       #E9DFCB;
  --color-beige-dark:  #DCCFB2;
  --color-anthracite:  #2B2924;
  --color-anthracite-2:#3D3A33;
  --color-gold:        #B08D4F;
  --color-gold-light:  #CBA96A;
  --color-white:       #FFFFFF;

  --color-text:        var(--color-anthracite);
  --color-text-soft:   #6B6558;
  --color-border:      rgba(43, 41, 36, 0.10);

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rythme / espacements */
  --section-padding: 8rem;
  --section-padding-mobile: 4.5rem;
  --container-width: 1220px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  /* Ombres discrètes */
  --shadow-soft: 0 4px 24px rgba(43, 41, 36, 0.06);
  --shadow-medium: 0 12px 40px rgba(43, 41, 36, 0.10);
  --shadow-gold: 0 12px 32px rgba(176, 141, 79, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.25s var(--ease);
  --transition-slow: 0.6s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* Focus clavier visible, accessibilité */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* --------------------------------------------------------------------------
   2. TYPOGRAPHIE DE BASE
   -------------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--color-anthracite);
}

p { margin: 0 0 1.1em; line-height: 1.7; color: var(--color-text-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }


/* --------------------------------------------------------------------------
   3. UTILITAIRES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-padding) 0; }

.section__header { max-width: 640px; margin: 0 auto 4rem; text-align: center; }

.section__title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.2rem;
}
.section__title--center { text-align: center; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-anthracite);
  color: var(--color-ivory);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--color-gold);
  color: var(--color-anthracite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--ghost {
  background: transparent;
  color: var(--color-anthracite);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-anthracite);
  border: 1px solid var(--color-anthracite);
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
}
.btn--outline:hover {
  background: var(--color-anthracite);
  color: var(--color-ivory);
}

.btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

.btn--gold-lg {
  background: var(--color-gold);
  color: var(--color-anthracite);
  padding: 1.2rem 3rem;
  font-size: 1.05rem;
  box-shadow: var(--shadow-gold);
}
.btn--gold-lg:hover {
  background: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(176, 141, 79, 0.35);
}


/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), padding var(--transition-fast);
  padding: 1.6rem 0;
}

.header.is-scrolled {
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
  padding: 1rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo__img { height: 40px; width: auto; }
.logo__text {
  display: none; /* activé en JS si logo.png est absent */
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-anthracite);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}
.nav__link:hover { color: var(--color-gold); }
.nav__link:hover::after { width: 100%; }

.nav__cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-anthracite);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  margin: 0 auto;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-ivory-warm) 100%);
}

.hero__motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  margin-bottom: 1.6rem;
}
.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__text {
  max-width: 460px;
  font-size: 1.05rem;
  margin-bottom: 2.4rem;
}

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

.hero__media { display: flex; justify-content: center; }

.hero__frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: linear-gradient(155deg, var(--color-beige) 0%, var(--color-beige-dark) 100%);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder élégant si raymonde.png est absent */
.hero__frame.is-placeholder::after {
  content: 'R H';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  letter-spacing: 0.15em;
  color: rgba(43, 41, 36, 0.3);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  width: 30px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { top: 8px; opacity: 1; }
  70% { top: 26px; opacity: 0; }
  100% { top: 26px; opacity: 0; }
}


/* --------------------------------------------------------------------------
   6. À PROPOS
   -------------------------------------------------------------------------- */
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}

.about__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--color-beige) 0%, var(--color-ivory-warm) 100%);
  box-shadow: var(--shadow-soft);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame.is-placeholder::after {
  content: 'R H';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.2rem;
  letter-spacing: 0.15em;
  color: rgba(43, 41, 36, 0.28);
}

.about__content p { max-width: 520px; }

.about__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--color-anthracite);
  margin-top: 1.6rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--color-gold);
}


/* --------------------------------------------------------------------------
   7. SERVICES
   -------------------------------------------------------------------------- */
.services { background: var(--color-ivory-warm); }

.services__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.8rem;
  align-items: stretch;
}

.services__secondary {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(176, 141, 79, 0.35);
}

.card__title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card__text { font-size: 0.95rem; margin-bottom: 1.4rem; }

.card--featured {
  background: var(--color-anthracite);
  border-color: var(--color-anthracite);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.card--featured::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,79,0.35) 0%, rgba(176,141,79,0) 70%);
}
.card--featured:hover { border-color: var(--color-gold); }

.card--featured .card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(203, 169, 106, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.2rem;
}
.card--featured .card__title {
  font-size: 1.8rem;
  color: var(--color-ivory);
}
.card--featured .card__text {
  color: rgba(250, 247, 241, 0.72);
  font-size: 1rem;
  max-width: 420px;
}
.card--featured .btn--primary {
  background: var(--color-gold);
  color: var(--color-anthracite);
}
.card--featured .btn--primary:hover {
  background: var(--color-gold-light);
}


/* --------------------------------------------------------------------------
   8. FORMATION
   -------------------------------------------------------------------------- */
.formation { background: var(--color-beige); }

.formation__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.formation__list { margin: 1.8rem 0 2.4rem; }
.formation__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.02rem;
  color: var(--color-anthracite);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(43, 41, 36, 0.08);
}
.formation__list li:last-child { border-bottom: none; }

.formation__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-gold);
  position: relative;
}
.formation__icon::after {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--color-ivory);
  border-bottom: 2px solid var(--color-ivory);
  transform: rotate(-45deg);
}

.formation__motif { width: 100%; max-width: 340px; margin: 0 auto; }


/* --------------------------------------------------------------------------
   9. MÉDIAS
   -------------------------------------------------------------------------- */
.medias__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.medias__text { margin-bottom: 2rem; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--color-anthracite);
  box-shadow: var(--shadow-medium);
}

.video-frame__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.video-frame:hover .video-frame__thumb { transform: scale(1.03); }

.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(43, 41, 36, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-frame__play:hover,
.video-frame__play:focus-visible {
  background: var(--color-gold);
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: var(--shadow-gold);
}

.video-frame__play-icon {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--color-ivory);
}

.video-frame__play:hover .video-frame__play-icon,
.video-frame__play:focus-visible .video-frame__play-icon {
  border-left-color: var(--color-anthracite);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame.is-playing .video-frame__thumb,
.video-frame.is-playing .video-frame__play {
  display: none;
}


/* --------------------------------------------------------------------------
   10. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  background: var(--color-anthracite);
  padding: 7rem 0;
  text-align: center;
}
.cta-final__inner { max-width: 620px; margin: 0 auto; }
.cta-final__title {
  color: var(--color-ivory);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 1.2rem;
}
.cta-final__text {
  color: rgba(250, 247, 241, 0.68);
  font-size: 1.05rem;
  margin-bottom: 2.4rem;
}


/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--color-ivory-warm); padding-top: 4.5rem; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.logo--footer .logo__text { font-size: 1.4rem; }
.footer__tagline {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__nav a, .footer__contact a {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  transition: color var(--transition-fast);
  width: fit-content;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--color-gold); }

.footer__contact-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-anthracite);
  margin-bottom: 0.2rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}
.footer__bottom a { transition: color var(--transition-fast); }
.footer__bottom a:hover { color: var(--color-gold); }


/* --------------------------------------------------------------------------
   12. ANIMATIONS
   -------------------------------------------------------------------------- */

/* Fade-up déclenché par IntersectionObserver (script.js) */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Décalage subtil entre les cartes secondaires */
.services__secondary .card:nth-child(2) { transition-delay: 0.05s; }
.services__secondary .card:nth-child(3) { transition-delay: 0.1s; }

/* Motif arborescent doré — tracé progressif */
.motif-path {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.55;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawPath 2.4s var(--ease) forwards;
}
.motif-path--delay1 { animation-delay: 0.3s; }
.motif-path--delay2 { animation-delay: 0.55s; }
.motif-path--delay3 { animation-delay: 0.7s; }
.motif-path--delay4 { animation-delay: 0.95s; }
.motif-path--delay5 { animation-delay: 1.1s; }

.motif-node {
  fill: var(--color-gold);
  opacity: 0;
  animation: fadeInNode 0.6s ease forwards;
  animation-delay: 1.6s;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeInNode {
  to { opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .motif-path { stroke-dashoffset: 0; animation: none; opacity: 0.4; }
  .motif-node { opacity: 0.6; animation: none; }
  .scroll-cue span { animation: none; }
}


/* --------------------------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --section-padding: 6rem; }

  .services__grid { grid-template-columns: 1fr; }
  .services__secondary { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .card--featured { padding: 2.5rem; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__media { order: 1; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__frame { max-width: 320px; }
  .eyebrow { justify-content: center; }

  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 340px; margin: 0 auto; }

  .formation__inner { grid-template-columns: 1fr; text-align: center; }
  .formation__list li { justify-content: center; }
  .formation__motif { order: -1; max-width: 240px; }

  .footer__inner { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .footer__nav, .footer__contact { align-items: center; }
}

@media (max-width: 760px) {
  :root { --section-padding: var(--section-padding-mobile); }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    background: var(--color-ivory);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; gap: 1.8rem; }
  .nav__link { font-size: 1.2rem; }
  .nav__cta { margin-top: 0.6rem; }

  .hamburger { display: flex; }

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

  .footer__bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.4rem; }
  .btn { padding: 0.85rem 1.6rem; font-size: 0.9rem; }
  .btn--gold-lg { padding: 1rem 2.2rem; }
  .hero { padding-top: 5rem; }
}

/* ========================================================================== 
   Correctifs responsive — Desktop inchangé
   À placer après le CSS existant pour améliorer uniquement mobile/tablette.
   ========================================================================== */

@media (max-width: 900px) {
  .hero__content {
    order: 1;
  }

  .hero__media {
    order: 2;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero__inner {
    gap: 2rem;
  }

  .hero__title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero__text {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__frame {
    max-width: 280px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__motif {
    opacity: 0.35;
  }

  .section__header {
    margin-bottom: 2.6rem;
  }

  .card,
  .card--featured {
    padding: 1.6rem;
  }

  .formation__list li {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    transform: translate3d(0, -100%, 0);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translate3d(0, 0, 0);
  }

  .header {
    position: fixed;
  }
}

/* ==========================================================================
   AJOUTS — page reservation.html
   À coller à la fin de style.css existant.
   Réutilise les tokens déjà définis dans le fichier (couleurs, polices).
   Si certaines variables n'existent pas encore, des valeurs de repli
   cohérentes avec la charte (doré/beige) sont fournies.
   ========================================================================== */

:root {
  --booking-gold: var(--color-gold, #b8935f);
  --booking-beige: var(--color-beige, #f5f1e8);
  --booking-ink: var(--color-ink, #2a241c);
  --booking-muted: var(--color-muted, #6f6759);
  --booking-border: var(--color-border, rgba(184, 147, 95, 0.25));
}

/* ---------- Hero variante (réutilise .hero, ajuste juste la hauteur) ---------- */
.hero--booking {
  min-height: 80vh;
}

/* ---------- Résumé du service ---------- */
.booking-summary__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.booking-summary__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--booking-muted);
}

.booking-card__list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.booking-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--booking-border);
}

.booking-card__label {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--booking-muted);
}

.booking-card__value {
  font-family: var(--font-title, 'Cormorant Garamond', serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff !important;
}

@media (max-width: 860px) {
  .booking-summary__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Étapes ---------- */
.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 760px;
  margin-inline: auto;
}

.steps__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: #fff;
}

.steps__number {
  font-family: var(--font-title, 'Cormorant Garamond', serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--booking-gold);
  flex-shrink: 0;
  line-height: 1;
}

.steps__title {
  font-family: var(--font-title, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--booking-ink);
}

.steps__text {
  margin: 0;
  color: var(--booking-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Section Calendly ---------- */
.calendly-section {
  background: var(--booking-beige);
}

.calendly-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.calendly-inline-widget {
  width: 100%;
}

.paypal-fallback {
  max-width: 900px;
  margin: 2rem auto 0;
  text-align: center;
  padding: 1.5rem;
  border: 1px dashed var(--booking-border);
  border-radius: 12px;
}

.paypal-fallback__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--booking-muted);
}

.calendly-note {
  max-width: 900px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--booking-muted);
}

@media (max-width: 640px) {
  .calendly-wrapper {
    border-radius: 0;
  }
  .calendly-inline-widget {
    height: 900px !important;
  }
}

/* ---------- Aide ---------- */
.help-block__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.help-block__title {
  font-family: var(--font-title, 'Cormorant Garamond', serif);
  font-size: 1.75rem;
  color: var(--booking-ink);
  margin: 0 0 1rem;
}

.help-block__text {
  color: var(--booking-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}