/* =========================================================
   Zélie Bosquet — Magnétiseuse à Tréffiagat
   Feuille de style partagée par toutes les pages du site
   (index.html, mentions-legales.html, politique-confidentialite.html)
   Palette "Sable doux" / typo Fraunces + Karla
   ========================================================= */

:root {
  --bg: #fbf6ee;
  --bg-alt: #f3e9d8;
  --surface: #ffffff;
  --text: #3b2e22;
  --text-muted: #6f604e;
  --accent: #c98a3e;
  --accent-dark: #935d26;
  --accent-soft: #f0ddbb;
  --accent2: #6e4526;
  --accent2-soft: #da9413;
  --line: #e7dac4;
  --font-header: "Fraunces", serif;
  --font-body: "Karla", sans-serif;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-pill: 999px;
}

/* ---------- RESET & BASE ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Empêche le site de glisser à gauche/droite sur mobile si un élément décoratif dépasse */
html,
body {
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--font-header);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Liens dans le texte des pages légales (soulignés, couleur d'accent) */
article a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
article a:hover,
article a:focus-visible {
  color: var(--accent2);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}
.wrap.narrow {
  max-width: 820px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

/* Padding des sections de l'accueil uniquement : le sélecteur ">" exclut
   les <section> imbriquées dans <article> sur les pages légales. */
main > section {
  padding: 48px 0;
}
@media (min-width: 721px) {
  main > section {
    padding: 100px 0;
  }
  .wrap {
    padding: 0 32px;
  }
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border: 1.5px solid var(--accent);
  color: var(--accent-dark);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover,
.btn:focus-visible {
  background: var(--accent-soft);
}
.btn.filled {
  background: var(--accent);
  color: #2e2117;
  border-color: var(--accent);
}
.btn.filled:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
}

/* ---------- HEADER ---------- */
header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  font-family: var(--font-header);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
}
.logo span {
  display: none;
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}
@media (min-width: 721px) {
  .logo span {
    display: inline;
  }
}
nav ul {
  display: none;
}
nav a {
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}
nav a:hover,
nav a:focus-visible {
  color: var(--accent-dark);
}
header .btn {
  padding: 10px 18px;
  font-size: 0.8rem;
}
@media (min-width: 901px) {
  nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }
  header .btn {
    padding: 14px 30px;
    font-size: 0.92rem;
  }
}

/* ---------- HERO (accueil) ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 126px 0 48px;
  background: var(--bg);
}
.hero-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-wave .layer-back {
  transition: transform 0.1s linear;
  transform-box: view-box;
  transform-origin: center;
}
.hero-wave .layer-front {
  transition: transform 0.1s linear;
  transform-box: view-box;
  transform-origin: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  margin-bottom: 22px;
}
.hero h1 .eyebrow {
  display: block;
  font-family: var(--font-body);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-dark);
}
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-portrait {
  position: relative;
  order: -1;
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 3/2;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(60, 40, 20, 0.35);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.btn.on-wave {
  background-color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 721px) {
  .hero {
    padding: 78px 0 0;
  }
  .hero-portrait {
    max-width: 320px;
    aspect-ratio: 4/5;
  }
  .btn.on-wave {
    background-color: transparent;
  }
  .btn.on-wave:hover,
  .btn.on-wave:focus-visible {
    background-color: rgba(255, 255, 255, 0.5);
  }
}
@media (min-width: 901px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-portrait {
    order: 0;
    max-width: none;
    margin: 0;
  }
}

/* ---------- TITRES DE SECTION (accueil) ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}
.section-head p {
  color: var(--text-muted);
  margin-top: 14px;
}
.section-head.tight {
  margin-bottom: 28px;
}
.alt {
  background: var(--bg-alt);
}

/* ---------- QUI SUIS-JE ---------- */
.apropos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
.apropos-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(60, 40, 20, 0.3);
}
.apropos-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apropos-text p {
  margin-bottom: 18px;
  color: var(--text-muted);
}
.apropos-text p:first-of-type {
  color: var(--text);
  font-size: 1.15rem;
  font-family: var(--font-header);
  font-weight: 400;
}
.apropos-text .btn {
  margin-top: 20px;
}
@media (min-width: 901px) {
  .apropos {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
/* ---------- SOINS ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  padding: 20px 22px;
}
.card .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-family: var(--font-header);
  font-size: 0.95rem;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  text-align: right;
  line-height: 1;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
@media (min-width: 721px) {
  .card {
    display: block;
    padding: 30px 26px;
  }
  .card .ico {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    font-size: 1.25rem;
  }
  .card h3 {
    margin-bottom: 9px;
    text-align: left;
    line-height: normal;
  }
}
.card.featured {
  background: var(--accent-soft);
  border-color: var(--accent);
  position: relative;
}
.card.featured .ico {
  background: var(--accent);
  color: #fff;
}
.card.featured::after {
  content: "Le plus demandé";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--accent2);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
@media (min-width: 901px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .card.featured {
    grid-column: span 2;
  }
}
.tags {
  justify-content: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
@media (min-width: 721px) {
  .tags {
    justify-content: flex-start;
  }
}
.tag {
  background: var(--accent2);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ---------- DEROULEMENT (timeline horizontale) ---------- */
.timeline-h {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  margin-bottom: 70px;
  padding: 0;
}
.dero-puddle {
  position: absolute;
  left: -40px;
  right: -40px;
  top: -30px;
  bottom: -24px;
  z-index: 0;
  pointer-events: none;
}
.dero-puddle svg {
  width: 100%;
  height: 100%;
  display: block;
}
.dero-puddle-desktop {
  display: none;
}
.dero-puddle-mobile {
  display: block;
  left: -20px;
  right: -20px;
  top: 50%;
  bottom: auto;
  width: auto;
  height: auto;
  aspect-ratio: 320 / 480;
  transform: translateY(-58%);
}
.timeline-h::before {
  content: "";
  position: absolute;
  top: 59px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--line);
  z-index: 1;
  display: none;
}
.tl-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 22px;
  row-gap: 4px;
  align-items: start;
  padding-right: 0;
}
.tl-step .num {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  box-shadow: 0 8px 20px -8px var(--accent);
}
.tl-step h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.tl-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
@media (min-width: 721px) {
  .tl-step {
    display: block;
    padding-right: 26px;
  }
  .tl-step .num {
    width: 46px;
    height: 46px;
    font-size: 1rem;
    margin-bottom: 20px;
  }
}
@media (min-width: 901px) {
  .timeline-h {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 36px 0 30px;
  }
  .timeline-h::before {
    display: block;
  }
  .dero-puddle-desktop {
    display: block;
  }
  .dero-puddle-mobile {
    display: none;
  }
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-header);
  font-size: 1.02rem;
  padding: 18px 22px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--accent-dark);
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary .icon {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--text-muted);
  padding: 0 22px 20px;
  font-size: 0.92rem;
  max-width: 680px;
}

/* ---------- TEMOIGNAGES ---------- */
.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 32px;
  margin-bottom: 32px;
}
.temoin {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.temoin .quote-mark {
  color: var(--accent);
  font-family: var(--font-header);
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.temoin p.txt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.temoin .who {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.temoin .who span {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
  font-weight: 400;
}
@media (min-width: 901px) {
  .temoignages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Avis Google (section Témoignages) */
.gwidget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.gwidget-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gwidget-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-dark);
  font-family: var(--font-header);
}
.gwidget-score {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--text);
}
.gwidget-stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-left: 8px;
}
.gwidget-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- TARIFS ---------- */
.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  row-gap: 24px;
  align-items: stretch;
}
.tc-prices {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tc-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 220px;
}
.tc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  display: block;
}
.tarif-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.tarif-card.featured {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.tarif-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.tarif-card .prix {
  font-family: var(--font-header);
  font-size: 1.9rem;
  color: var(--accent-dark);
  margin: 10px 0;
}
.tarif-card .prix small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}
.tarif-card ul {
  list-style: none;
  margin-top: 14px;
}
.tarif-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-top: 1px solid var(--accent2-soft);
}
.tarif-card li:first-child {
  border-top: none;
}
.disclaimer {
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}
.footnote {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
@media (min-width: 721px) {
  .footnote {
    font-size: 0.82rem;
  }
}
@media (min-width: 901px) {
  .tarifs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .tc-photo {
    min-height: 0;
  }
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  row-gap: 24px;
  align-items: center;
}
.contact-info .item {
  margin-bottom: 22px;
}
.contact-info .eyebrow {
  margin-bottom: 1px;
}
@media (min-width: 721px) {
  .contact-info .eyebrow {
    margin-bottom: 14px;
  }
}
.contact-info .val {
  font-size: 1rem;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 7px;
  display: block;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--line);
  color: var(--text);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--accent-dark);
}
.field-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}
.field-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--accent-dark);
}
.field-consent a {
  color: var(--accent-dark);
  text-decoration: underline;
}
.contact-form button[type="submit"] {
  align-self: flex-start;
  border: none;
  margin-top: 20px;
}
/* Champ piège à robots : sorti de l'écran, invisible pour les visiteurs */
.champ-piege {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 901px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* ---------- TABLETTE PAYSAGE (env. 901-1199px) -----------
   Écran large mais physiquement petit : on resserre la densité
   et les tailles héritées des blocs desktop ci-dessus, pensés
   pour des écrans plus larges (1200px et plus). */
@media (min-width: 901px) and (max-width: 1199px) {
  .wrap {
    max-width: 900px;
  }
  header .wrap {
    max-width: 1040px;
  }
  .logo {
    font-size: 1.02rem;
  }
  nav ul {
    gap: 18px;
  }
  nav a {
    font-size: 0.82rem;
  }
  header .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-head h2 {
    font-size: 1.9rem;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card.featured {
    grid-column: span 2;
  }
  .timeline-h {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .timeline-h::before {
    display: none;
  }
  .temoignages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tarifs-grid,
  .contact-grid {
    gap: 36px;
  }
}
/* ---------- PAGES LEGALES (mentions légales / politique de confidentialité) ---------- */
.page-head {
  padding: 124px 0 40px;
}
@media (min-width: 721px) {
  .page-head {
    padding: 182px 0 40px;
  }
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}
.page-head .maj {
  font-size: 0.85rem;
  color: var(--text-muted);
}

article {
  padding: 0 0 100px;
}
article section {
  margin-bottom: 40px;
}
article h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  padding-top: 6px;
}
article p {
  margin-bottom: 14px;
  color: var(--text);
}
article ul {
  margin: 0 0 14px 20px;
}
article li {
  margin-bottom: 8px;
  color: var(--text);
}
article strong {
  color: var(--text);
}
article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
article th,
article td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
article th {
  font-family: var(--font-header);
  font-weight: 500;
  color: var(--text);
  background: var(--bg-alt);
}
/* ---------- FOOTER (toutes les pages) ---------- */
footer {
  padding: 44px 0;
  background: var(--accent2);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
footer .foot-nap p {
  font-size: 0.85rem;
  color: var(--accent-soft);
  line-height: 1.7;
}
footer .foot-nap strong {
  color: var(--bg);
}
footer .foot-nap a:hover,
footer .foot-nap a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer .foot-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}
footer .foot-legal {
  font-size: 0.76rem;
  color: var(--bg);
  line-height: 1.6;
  margin: 0;
}
footer .foot-links {
  display: flex;
  gap: 20px;
}
footer .foot-links a {
  font-size: 0.8rem;
  color: var(--bg);
  font-weight: 600;
}
footer .foot-links a:hover {
  color: var(--accent-soft);
}
footer .copy {
  margin-top: 20px;
  font-size: 0.76rem;
  color: var(--accent-soft);
  width: 100%;
}
footer .credit {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--accent-soft);
  width: 100%;
  opacity: 0.85;
}
footer .credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer .credit a:hover,
footer .credit a:focus-visible {
  opacity: 1;
}

/* ---------- ANIMATION D'APPARITION AU SCROLL (accueil, via script.js) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
