/* Pages intérieures : éléments communs (fil d'Ariane, en-tête de page, texte long, plan du site).
   Chargée sur toutes les pages sauf l'accueil, après styles.css. Chaque lot de pages a ensuite sa propre feuille
   dans assets/pages/. Animations : transform et opacity uniquement. */

/* Fil d'Ariane */
.crumbs { margin-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-600); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* En-tête de page : carte sombre comme le héros de l'accueil, avec photo optionnelle à droite */
.phero { margin-top: 14px; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--night); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.phero--solo { grid-template-columns: 1fr; }
.phero .aurora { opacity: .85; }
.phero__grain { position: absolute; inset: 0; z-index: -1; opacity: .45; pointer-events: none; background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(110deg, #000 15%, transparent 70%); -webkit-mask-image: linear-gradient(110deg, #000 15%, transparent 70%); }
.phero .eyebrow { color: var(--glow); }
.phero__title { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1; max-width: 18ch; }
.phero__title em { font-style: normal; color: var(--glow); }
.phero .lead { color: rgb(255 255 255 / .78); max-width: 56ch; }
.phero__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.phero__proofs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgb(255 255 255 / .8); }
.phero__proofs li { display: inline-flex; align-items: center; gap: 7px; }
.phero__proofs svg { width: 16px; height: 16px; color: var(--glow); }
.phero__media { position: relative; border-radius: var(--r); overflow: hidden; min-height: 320px; align-self: stretch; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); }
.phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(6 25 29 / .55)); }
.phero__chip { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; background: rgb(255 255 255 / .96); color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; }
.phero__chip svg { width: 18px; height: 18px; color: var(--brand); }
.js .phero > :not(.aurora):not(.phero__grain) { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .phero > :nth-child(4) { transition-delay: .15s; }
.is-ready .phero > :not(.aurora):not(.phero__grain) { opacity: 1; transform: none; }

/* Texte long (pages légales, à propos) */
.prose { max-width: 760px; margin-inline: auto; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 44px 0 12px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--ink); }
.prose h3 { margin: 28px 0 8px; font-size: 19px; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose a { color: var(--brand-600); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff4e5; color: #6b4300; font-size: 15px; border: 1px solid #ffd9a3; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* Plan du site */
.sitemap { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sitemap__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.sitemap__col h2 { font-size: 18px; margin-bottom: 12px; }
.sitemap__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sitemap__col a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.sitemap__col a:hover { color: var(--brand-600); }

/* Bloc d'appel en bas de page intérieure */
.pcta { margin-top: var(--gap-section); }

@media (max-width: 1080px) {
  .phero { grid-template-columns: 1fr; }
  .phero__media { min-height: 240px; }
  .sitemap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .phero { padding: 26px 18px; border-radius: 22px; }
  .phero__title { font-size: 32px; }
  .phero__ctas .btn, .phero__ctas .cta-ring { width: 100%; }
  .sitemap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .phero > * { opacity: 1 !important; transform: none !important; }
}

/* Un texte qui refuse de passer à la ligne (bouton avec une adresse e-mail…) ne doit jamais élargir la carte */
.phero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.phero--solo { grid-template-columns: minmax(0, 1fr); }
.phero > * { min-width: 0; }
@media (max-width: 1080px) { .phero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .phero__ctas .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .phero__title { overflow-wrap: anywhere; }
}
