/* Ajustements validés sur le site d’aperçu. */
.session-benefits {
  margin-top: 1.25rem;
}

.session-benefits p {
  margin-bottom: 0.75rem;
}

.session-benefits ul {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.45rem;
  list-style: disc;
}

.session-benefits li {
  padding-left: 0.15rem;
}

.session-grid article p,
.faq-answer p {
  text-align: left;
}

html {
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

section[id],
.faq-section {
  scroll-margin-top: 7rem;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-image-wrap {
  overflow: hidden;
}

.profile-image-wrap img,
.principle-card,
.audience-card,
.session-grid article,
.location-card,
.faq-list details,
.button,
.header-cta,
.location-link,
.faq-list summary span {
  transition:
    transform 320ms cubic-bezier(.22, .61, .36, 1),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background-color 320ms ease,
    color 320ms ease;
}

.faq-list details[open] .faq-answer {
  animation: alexia-faq-reveal 320ms cubic-bezier(.22, .61, .36, 1) both;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list summary:focus-visible,
.button:focus-visible,
.header-cta:focus-visible,
.location-link:focus-visible,
.audience-card a:focus-visible {
  outline: 3px solid rgba(157, 79, 56, 0.5);
  outline-offset: 4px;
}

@keyframes alexia-faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.principle-card.reveal-item.is-settled,
.audience-card.reveal-item.is-settled,
.session-grid article.reveal-item.is-settled,
.faq-list details.reveal-item.is-settled {
  transition:
    transform 320ms cubic-bezier(.22, .61, .36, 1),
    box-shadow 320ms ease,
    border-color 320ms ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .principle-card:hover,
  .audience-card:hover,
  .session-grid article:hover,
  .location-card:hover,
  .faq-list details:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 45px rgba(74, 58, 51, 0.12);
  }

  .button:hover,
  .header-cta:hover,
  .location-link:hover {
    transform: translateY(-2px);
  }

  .profile-image-wrap:hover img {
    transform: scale(1.018);
  }
}

@media (max-width: 1100px) {
  .hero-intro p,
  .intro-columns p,
  .audience-text p,
  .profile-story p,
  .first-session-copy p,
  .contact-copy p {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .profile-image-wrap {
    order: 1 !important;
  }

  .profile-copy {
    order: 2 !important;
    padding-top: clamp(3.25rem, 8vw, 4.5rem);
  }
}

@media (min-width: 901px) {
  .profile-image-wrap {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

@media (max-width: 360px) {
  .header-cta {
    width: 116px;
    min-height: 44px;
    padding-inline: 0.35rem;
    white-space: nowrap;
    font-size: 0;
    letter-spacing: normal;
  }

  .header-cta::after {
    content: "RENDEZ-VOUS";
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Stabilisation visuelle du héros et du bandeau */
.site-header {
  background: rgba(249, 242, 232, 0.97);
}

.trust-bar {
  margin-top: clamp(1rem, 2vw, 2rem);
}

@media (min-width: 1101px) {
  .hero-index {
    bottom: clamp(1.25rem, 2vw, 2rem);
  }
}

@media (min-width: 1101px) and (max-width: 1250px) {
  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .button-primary {
    flex-shrink: 0;
    padding-inline: 1.15rem;
    white-space: nowrap;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-actions .text-link {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  }
}


@media (min-width: 1101px) and (max-width: 1536px) {
  .hero-copy {
    padding-top: clamp(2.1rem, 4vh, 3rem);
    padding-bottom: clamp(2.1rem, 4vh, 3rem);
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 4.1vw, 3.6rem);
    line-height: 1.01;
  }

  .hero-intro {
    margin-top: clamp(1.25rem, 3vh, 1.75rem);
    margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
  }
}


@media (max-width: 330px) {
  .hero-actions .button-primary {
    min-height: 48px;
    padding-inline: 1rem;
    white-space: nowrap;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
}

/* Police unique sur l'ensemble du site */
html,
body,
body *,
button,
input,
select,
textarea {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif !important;
}


/* Équilibre visuel sur les écrans ultra-larges */
@media (min-width: 2200px) {
  #accueil .hero-copy {
    justify-self: end;
    margin-right: clamp(2.5rem, 4vw, 6.5rem);
  }
}


/* Zones tactiles confortables sur téléphone et tablette */
@media (hover: none) and (pointer: coarse) {
  .text-link,
  .location-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}


/* Impression et export PDF lisibles */
@media print {
  html,
  body,
  .site-header,
  .hero,
  .trust-bar,
  .intro-section,
  .principles-section,
  .audiences-section,
  .profile-section,
  .session-section,
  .faq-section,
  .contact-section,
  .site-footer,
  article,
  details {
    background: #fff !important;
  }

  body,
  body * {
    color: #342c29 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .site-header {
    position: static !important;
    top: auto !important;
  }

  .desktop-nav,
  .header-cta,
  .hero-actions {
    display: none !important;
  }

  .reveal-item,
  .hero-enter {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }

  .faq-section details > .faq-answer {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
  }

  .principle-card,
  .audience-card,
  .session-grid article,
  .faq-section details {
    break-inside: avoid-page;
  }

  h1,
  h2,
  h3,
  summary {
    break-after: avoid-page;
  }

  a {
    color: #342c29 !important;
    text-decoration: underline;
  }
}

/* Pages éditoriales et mentions légales */
.simple-page {
  width: min(1040px, calc(100% - 2rem));
  max-width: 1040px;
  margin: clamp(7.25rem, 9vw, 9.5rem) auto clamp(2.5rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4.75rem);
  overflow: visible;
  color: var(--ink);
  background: rgba(250, 244, 235, 0.86);
  border: 1px solid var(--line);
  border-radius: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 24px 70px rgba(74, 60, 57, 0.1);
}

.simple-page article {
  max-width: 780px;
  margin-inline: auto;
}

.simple-page h1 {
  max-width: 12ch;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.simple-page h2 {
  margin: clamp(2rem, 4vw, 3rem) 0 0.75rem;
  color: var(--terracotta-dark);
  font-size: clamp(1.35rem, 2.25vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.simple-page p,
.simple-page li {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.simple-page p {
  margin: 0 0 1rem;
}

.simple-page ul {
  display: grid;
  gap: 0.45rem;
  margin: 1.25rem 0 1.75rem;
  padding-left: 1.35rem;
}

.simple-page strong {
  color: var(--ink);
}

.simple-page em {
  color: var(--ink-soft);
}

.page:not(.home) .site-footer {
  margin-top: 0;
}

@media (max-width: 720px) {
  .simple-page {
    width: calc(100% - 1rem);
    margin-top: 6.25rem;
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.25rem 2rem;
    border-radius: 1.5rem;
  }

  .simple-page h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .simple-page h2 {
    margin-top: 2rem;
  }

  .simple-page p,
  .simple-page li {
    font-size: 1rem;
    line-height: 1.65;
  }
}

@media print {
  .simple-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Séparation nette entre contact et pied de page */
.home .site-footer {
  margin-top: 0;
}

/* Lien légal confortable sur écran tactile */
@media (hover: none) and (pointer: coarse) {
  .footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

/* Hiérarchie du bandeau d’accueil */
#accueil .hero-copy > .hero-index-top {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.35rem;
  color: var(--ink);
  animation-delay: 80ms;
}

#accueil .hero-index-top span {
  color: var(--terracotta-dark);
  font-weight: 700;
}

#accueil .hero-index-top strong {
  font-weight: 700;
}

#accueil .hero-approach-link {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 4vw;
}

@media (max-width: 1100px) {
  #accueil .hero-copy > .hero-index-top {
    display: flex;
  }

  #accueil .hero-approach-link {
    position: static;
    width: max-content;
    margin-top: 1.75rem;
  }
}


/* Texte de présentation uniforme */
#parcours .profile-story p,
#parcours .profile-story p:first-child {
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.62;
}


/* Lisibilité lorsque le texte est très agrandi */
#accueil h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}


/* Lien du bandeau sans chevauchement */
#accueil .hero-approach-link {
  position: static;
  width: max-content;
  margin-top: 1.25rem;
}


/* Sécurisation des très petits écrans */
.audience-card h3,
.faq-answer p {
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 259px) {
  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 64px;
    padding: 0.55rem 0.7rem;
  }

  .brand {
    justify-self: stretch;
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-name {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .brand-role {
    display: none;
  }

  .header-cta {
    display: none;
  }
}


/* Mentions légales lisibles sur écran très étroit */
.simple-page article,
.simple-page p,
.simple-page li,
.simple-page a {
  overflow-wrap: anywhere;
  word-break: normal;
}


/* Zones tactiles confortables sur téléphone */
@media (max-width: 767px) {
  .location-link,
  .site-footer a[href^="mailto:"],
  .site-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0.45rem;
  }
}


@media (max-width: 767px) {
  .location-link,
  .site-footer a[href^="mailto:"],
  .site-footer .footer-links a {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
  }
}


@media (max-width: 767px) {
  .location-link,
  .site-footer a[href^="mailto:"],
  .site-footer .footer-links a {
    height: 46px;
    min-height: 46px;
  }
}


/* Cibles tactiles essentielles, tous supports */
.brand,
.site-header nav a,
#accueil .hero-approach-link,
.location-link,
.site-footer a[href^="mailto:"],
.site-footer .footer-links a {
  box-sizing: border-box;
  min-height: 44px;
}

.site-header nav a,
#accueil .hero-approach-link,
.location-link,
.site-footer a[href^="mailto:"],
.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 279px) {
  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 64px;
    padding: 0.55rem 0.7rem;
  }

  .brand {
    justify-self: stretch;
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    display: none;
  }
}


/* Marge de sécurité pour les zones tactiles */
.brand,
.site-header nav a,
#accueil .hero-approach-link,
.location-link,
.site-footer a[href^="mailto:"],
.site-footer .footer-links a {
  min-height: 46px;
}


/* Composition soignée des actions du bandeau */
@media (min-width: 1180px) {
  #accueil .hero-copy {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 2rem;
    align-content: center;
  }

  #accueil .hero-copy > .hero-index-top,
  #accueil .hero-copy > .eyebrow,
  #accueil .hero-copy > h1,
  #accueil .hero-copy > .hero-intro {
    grid-column: 1 / -1;
  }

  #accueil .hero-actions {
    grid-column: 1;
    width: max-content;
  }

  #accueil .hero-approach-link {
    grid-column: 2;
    align-self: center;
    justify-self: start;
    margin-top: 0;
  }
}


/* Même composition dès le passage en deux colonnes */
@media (min-width: 1101px) {
  #accueil .hero-copy {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 1rem;
    align-content: center;
  }

  #accueil .hero-copy > .hero-index-top,
  #accueil .hero-copy > .eyebrow,
  #accueil .hero-copy > h1,
  #accueil .hero-copy > .hero-intro {
    grid-column: 1 / -1;
  }

  #accueil .hero-actions {
    grid-column: 1;
    width: max-content;
  }

  #accueil .hero-approach-link {
    grid-column: 2;
    align-self: center;
    justify-self: start;
    margin-top: 0;
  }
}


/* Titres sans césure disgracieuse */
#accueil h1,
.audience-card h3 {
  hyphens: none;
  word-break: normal;
}
