/* ═══════════════════════════════════════════════════════
   responsive.css — Les Petits Pas
   Media queries uniquement
════════════════════════════════════════════════════════ */

/* ─── TABLETTE (≤ 1023px) ─── */
@media (max-width: 1023px) {

  :root {
    --spacing-section: 70px;
  }

  .container {
    padding: 0 28px;
  }

  /* Header */
  .header__logo-tag {
    display: none;
  }

  /* Sous 1024px le drawer est un enfant fixed du header. Un backdrop-filter
     sur le header en ferait le bloc conteneur du drawer, qui se retrouverait
     alors haut de 64px avec ses liens débordant par-dessus la page. Fond
     opaque à la place. */
  .header--scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, .98);
  }

  /* Nav → drawer */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, visibility .3s ease;
    z-index: 150;
    padding: 32px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav--open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 14px 28px;
  }

  .nav__burger {
    display: flex;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 84px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__illustration {
    order: -1;
  }

  .hero__float-cards--left {
    left: 0;
  }

  .hero__float-cards--right {
    right: 0;
  }

  .hero__svg {
    width: 280px;
    height: auto;
  }

  .hero__ill-glow {
    width: 320px;
    height: 320px;
  }

  /* Réassurance */
  .reasbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .reasbar__item {
    width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(58, 125, 140, .1);
    padding: 16px 24px;
  }

  .reasbar__item:nth-child(odd) {
    border-right: 1px solid rgba(58, 125, 140, .1);
  }

  .reasbar__item:nth-child(3),
  .reasbar__item:nth-child(4) {
    border-bottom: none;
  }

  /* Psychomot */
  .psychomot__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* Pour qui */
  .pq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Séance */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .timeline::before {
    top: 28px;
    left: 27px;
    right: auto;
    bottom: 28px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--color-primary-xl), var(--color-primary), var(--color-primary-xl));
  }

  .timeline__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0 0 28px 0;
    gap: 18px;
    width: 100%;
  }

  .timeline__step:last-child {
    padding-bottom: 0;
  }

  .timeline__num {
    margin: 0;
    flex-shrink: 0;
  }

  .seance__infos {
    padding: 28px 32px;
    gap: 24px;
  }

  /* À propos */
  .apropos__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .apropos__photo-wrap {
    justify-content: flex-start;
  }

  /* FAQ */
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__intro {
    position: static;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  /* Section title */
  .section__title {
    font-size: 1.9rem;
  }
}

/* ─── MOBILE (≤ 767px) ─── */
@media (max-width: 767px) {

  :root {
    --spacing-section: 56px;
    --header-h: 64px;
  }

  .container {
    padding: 0 20px;
  }

  /* Header */
  .header__logo-name {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero__inner {
    gap: 32px;
    /* la vague fait 60px de haut : le contenu doit passer au-dessus */
    padding-bottom: 76px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__desc {
    font-size: .95rem;
  }

  .hero__ctas {
    flex-direction: column;
    gap: 10px;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__trust {
    gap: 14px;
  }

  .hero__svg {
    width: 240px;
  }

  .hero__float-cards {
    display: none;
  }

  .hero__badge {
    font-size: .75rem;
  }

  /* Réassurance */
  .reasbar__item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(58, 125, 140, .1);
    padding: 14px 20px;
  }

  .reasbar__item:nth-child(odd) {
    border-right: none;
  }

  .reasbar__item:last-child {
    border-bottom: none;
  }

  /* Badges */
  .badge {
    font-size: .74rem;
  }

  /* Section titles */
  .section__title {
    font-size: 1.7rem;
  }

  .section__header {
    margin-bottom: 36px;
  }

  /* Psychomot */
  .psychomot__grid {
    grid-template-columns: 1fr;
  }

  .psy-card {
    padding: 20px;
  }

  /* Pour qui */
  .pq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Séance */
  .seance__infos {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  /* À propos */
  .apropos__photo-bg {
    width: 100%;
    max-width: 280px;
  }

  .apropos__photo-badge {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    bottom: -16px;
  }

  .apropos__photo-wrap {
    justify-content: center;
    padding-bottom: 24px;
  }

  .apropos__badges {
    gap: 6px;
  }

  .apropos__badge {
    font-size: .75rem;
  }

  /* Contact */
  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__call {
    padding: 24px 20px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 56px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer__desc {
    max-width: 100%;
  }

  /* Boutons full width sur mobile */
  .hero__ctas .btn--outline,
  .hero__ctas .btn--primary {
    font-size: .92rem;
  }

  /* Modal */
  .modal__box {
    padding: 28px 20px;
  }

  /* FAQ */
  .faq__question {
    font-size: .88rem;
    padding: 15px 18px;
  }

  /* Pq note */
  .pq-note {
    padding: 16px 18px;
    font-size: .86rem;
  }
}

/* ─── PETIT MOBILE (≤ 374px) ─── */
@media (max-width: 374px) {
  .hero__title {
    font-size: 1.3rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }

  .header__logo-icon {
    width: 34px;
    height: 34px;
  }

  .header__logo-name {
    font-size: .95rem;
  }

  .construction__card {
    padding: 20px 18px;
  }

  .construction__note {
    padding: 20px 18px;
  }

  .contact__call {
    padding: 20px 18px;
  }

  .contact__call-number {
    padding: 16px 14px;
    gap: 8px;
  }

  .modal__box {
    padding: 24px 16px;
  }
}

/* ─── LARGE DESKTOP (≥ 1280px) ─── */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .section__title {
    font-size: 2.3rem;
  }
}

/* ─── TOUCH TARGETS ─── */
@media (pointer: coarse) {

  .nav__link,
  .faq__question,
  .btn,
  .footer__legal-btn {
    min-height: 44px;
  }

  .form__checkbox {
    width: 20px;
    height: 20px;
  }
}

/* ─── PREFER REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__svg {
    animation: none;
  }

  .hero__badge-dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── SITE EN CONSTRUCTION ─── */
@media (max-width: 1023px) {

  .construction__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .construction__note {
    flex-wrap: wrap;
    gap: 20px;
  }

  .construction__note-text {
    flex: 1 1 320px;
  }
}

@media (max-width: 767px) {

  .construction__blob--1,
  .construction__blob--2 {
    display: none;
  }

  .construction__trail {
    margin-bottom: 36px;
  }

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

  .construction__card {
    padding: 24px 20px;
  }

  .construction__note {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 24px 20px;
  }

  .construction__note-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ─── PRINT ─── */
@media print {

  .header,
  .hero__wave,
  .wave,
  .footer,
  .nav__burger,
  .hero__float-cards,
  .hero__bg-blob,
  .modal {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
