/*
  Neurofeedback Munich – Céline Larribau
  Feuille de style unique du site.

  1. Polices
  2. Couleurs et mesures
  3. Base
  4. Mise en page
  5. Boutons et liens
  6. En-tête
  7. Page d'accueil
  8. Pied de page
  9. Pages légales
  10. Tablette et téléphone
  11. Choix de la langue (drapeaux)
  12. Bande du son
  13. Carte
  14. Téléphone : barre du bas
  15. Apparition douce au défilement
  16. Accueil compact et sobre, traits dorés
  17. Numéro des questions, menu et accueil sur téléphone
  18. Téléphone plus aéré, bouton menu, zoom des photos
  19. Défilement doux, infos de l'accueil en lignes sur téléphone
  20. Badge de certification, mention TVA
  21. Badge à droite du contact, logo plus grand
  22. Crédit Dinamiq (logo + nom), lien vers LinkedIn
  23. Barre du bas : seulement après les boutons de l'accueil
*/


/* 1. Polices (hébergées sur le site, aucune requête vers Google) */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}


/* 2. Couleurs et mesures */

:root {
  --petrol: #163450;
  --petrol-dark: #0f263c;
  --paper: #f6f4ef;
  --mist: #e6ecf2;
  --brass: #c29d5f;
  --brass-dark: #86652f;
  --ink: #16243a;
  --muted: #56657a;
  --line: #d3dbe4;
  --on-dark: #dce5ef;
  --on-dark-muted: #a9bcd0;
  --line-dark: rgba(220, 229, 239, 0.16);

  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", "Segoe UI", Arial, sans-serif;

  --width: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 11vw, 136px);
  --header: 76px;
}


/* 3. Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--petrol);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 500; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

figure { margin: 0; }

figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brass);
  color: var(--petrol-dark);
}

.skip-link:focus { top: 12px; }


/* 4. Mise en page */

.container {
  max-width: calc(var(--width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--petrol); color: var(--on-dark); }
.section--dark h2,
.section--dark h3 { color: var(--paper); }

/* Deux colonnes : texte et photo */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.intro {
  max-width: 34em;
  margin: 20px 0 32px;
  font-size: 1.15rem;
  color: var(--muted);
}

.section--dark .intro { color: var(--on-dark-muted); }


/* 5. Boutons et liens */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--petrol-dark);
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.button--outline {
  background: transparent;
  border-color: rgba(246, 244, 239, 0.45);
  color: var(--paper);
}

.button--outline:hover {
  background: var(--paper);
  color: var(--petrol);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  color: var(--petrol);
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.section--dark .text-link { color: var(--brass); }


/* 6. En-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--petrol);
  border-bottom: 1px solid rgba(220, 229, 239, 0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
}

.logo img { width: 118px; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.lang-links a {
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.lang-links a:hover { color: var(--brass); }

.lang-links {
  display: flex;
  gap: 4px;
  padding-left: 24px;
  border-left: 1px solid rgba(220, 229, 239, 0.2);
}

.lang-links a {
  padding: 4px 6px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.lang-links a[aria-current="page"] { color: var(--brass); }

.menu-button { display: none; }


/* 7. Page d'accueil */

/* Accueil : texte à gauche, photo à droite */
.hero {
  background: var(--petrol);
  color: var(--on-dark);
}

.hero .split {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero h1 { color: var(--paper); }

.hero-lead {
  max-width: 30em;
  margin: 24px 0 36px;
  font-size: 1.2rem;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 35%;
}

/* Bandeau des informations pratiques */
.facts { background: var(--petrol-dark); }

.facts dl {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 20px 40px;
  margin: 0;
  padding: 24px 0;
}

.facts dt {
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

.facts dd {
  margin: 2px 0 0;
  font: 400 1.3rem/1.3 var(--serif);
  color: var(--paper);
}

/* La séance */
.session-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 28% 60%;
}

.session-text p { max-width: 32em; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--paper);
  font-weight: 600;
}

.steps h3 { margin-bottom: 4px; }

.device {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.device img {
  flex: none;
  width: 180px;
  mix-blend-mode: multiply;
}

.device p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Pour qui : liste à gauche, retours des clients à droite */
.audience {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 112px);
}

.audience h3 {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brass);
}

.audience ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience li {
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.audience li strong {
  display: block;
  font: 400 1.35rem/1.3 var(--serif);
  color: var(--paper);
}

.reports-intro {
  margin-bottom: 8px;
  color: var(--on-dark-muted);
}

.reports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.health-note {
  max-width: 46em;
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}

/* Bandeau du lac */
.park { position: relative; }

.park img {
  width: 100%;
  height: clamp(360px, 62vh, 600px);
  object-fit: cover;
  object-position: 50% 62%;
}

.park figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 120px 0 32px;
  background: linear-gradient(rgba(15, 38, 60, 0), rgba(15, 38, 60, 0.8));
  color: var(--paper);
}

.park-quote {
  max-width: 20em;
  margin-bottom: 8px;
  font: 400 clamp(1.8rem, 3.6vw, 3rem)/1.15 var(--serif);
}

.park-place {
  font-size: 0.85rem;
  color: rgba(246, 244, 239, 0.8);
}

/* Tarifs */
.price-list {
  margin: 8px 0 32px;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.price-list li:last-child { border-bottom: 1px solid var(--line); }

.price-list span {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
}

.price-list strong {
  display: block;
  font: 400 1.5rem/1.3 var(--serif);
  color: var(--petrol);
}

.price-list .amount {
  font: 400 clamp(2.4rem, 4vw, 3.2rem)/1 var(--serif);
  color: var(--petrol);
  white-space: nowrap;
}

.prices-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 50%;
}

/* Rythme des séances, sous les tarifs */
.rhythm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.rhythm li {
  padding-top: 18px;
  border-top: 2px solid var(--brass);
}

.rhythm strong {
  display: block;
  margin-bottom: 4px;
  font: 500 1.25rem/1.3 var(--serif);
  color: var(--petrol);
}

/* Histoire du neurofeedback */
.eeg {
  max-width: 900px;
  margin: 8px 0 clamp(40px, 5vw, 64px);
}

.eeg img {
  width: 100%;
  mix-blend-mode: multiply;
}

.history {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* Frise : une ligne dorée verticale, un losange par date */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 40px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--brass), rgba(194, 157, 95, 0.25));
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 0 0 34px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 0.55em;
  width: 14px;
  height: 14px;
  background: var(--mist);
  border: 2px solid var(--brass);
  transform: rotate(45deg);
}

.timeline b {
  font: 500 2.1rem/1 var(--serif);
  color: var(--brass-dark);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% 30%;
}

/* Questions */
.faq {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font: 400 1.3rem/1.35 var(--serif);
  color: var(--petrol);
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

/* Le « + » qui devient « – » */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--brass-dark);
  transition: transform 0.2s;
}

.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }

.faq details p {
  max-width: 40em;
  padding-bottom: 24px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 20px;
  font: 400 clamp(2rem, 4vw, 2.8rem)/1.1 var(--serif);
  color: var(--paper);
  text-decoration: none;
}

.contact-phone:hover { color: var(--brass); }

.contact-lines {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-lines li + li { margin-top: 12px; }
.contact-lines a { color: var(--paper); text-decoration: none; }
.contact-lines a:hover { color: var(--brass); }

/* Petites icônes (téléphone, e-mail, Instagram) */
.ico {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brass);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-phone .ico { width: 30px; height: 30px; }

/* Numéro bien visible sous « Questions fréquentes » */
.faq-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif);
  color: var(--petrol);
  text-decoration: none;
}

.faq-phone:hover { color: var(--brass-dark); }
.faq-phone .ico { width: 26px; height: 26px; color: var(--brass-dark); }

/* Bouton de réservation sous les tarifs */
.book-button {
  min-height: 60px;
  margin-top: 8px;
  padding: 16px 36px;
  font-size: 1.08rem;
}

.contact address {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-style: normal;
}

.contact-name {
  display: block;
  font: 400 1.5rem/1.2 var(--serif);
  color: var(--paper);
}

.contact-role {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--brass);
}

.map {
  position: relative;
  background: #1b3d5c;
}

.map img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

/* Repère du cabinet, au centre du plan */
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px var(--petrol-dark);
}

.map-label {
  position: absolute;
  left: calc(50% + 22px);
  top: calc(50% - 17px);
  padding: 7px 12px;
  background: var(--petrol-dark);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.map figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 0;
  padding-top: 14px;
  background: var(--petrol);
}

.map small { color: var(--on-dark-muted); }


/* 8. Pied de page */

.site-footer {
  padding: 56px 0 48px;
  background: var(--petrol-dark);
  color: #94a9c0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer .container {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--paper); }
.footer-logo img { width: 180px; margin-bottom: 8px; }
.footer-badge { width: 72px; margin: 8px 0; border-radius: 50%; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-credits { color: #7b91aa; }
.footer-credits a { color: inherit; }


/* 9. Pages légales */

.legal {
  padding: clamp(56px, 8vw, 104px) 0 var(--section);
}

.legal .container {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 0 clamp(32px, 6vw, 96px);
}

.legal h1 {
  grid-column: 1 / -1;
  color: var(--petrol);
}

.legal-lead {
  grid-column: 1 / -1;
  max-width: 34em;
  margin: 18px 0 clamp(40px, 6vw, 64px);
  font: 400 1.35rem/1.4 var(--serif);
  color: var(--muted);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header) + 24px);
  align-self: start;
  margin: 0;
  padding: 18px 0 0;
  border-top: 2px solid var(--brass);
  list-style: none;
}

.legal-toc li + li { margin-top: 8px; }

.legal-toc a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.legal-toc a:hover { color: var(--petrol); }

.legal-text section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-text section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-text h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.legal-text p,
.legal-text ul,
.legal-text address {
  max-width: 40em;
  margin: 0 0 12px;
}

.legal-text address { font-style: normal; }
.legal-text ul { padding-left: 1.2em; }
.legal-text li + li { margin-top: 6px; }
.legal-text a { color: var(--petrol); text-decoration-color: var(--brass); text-underline-offset: 3px; }

.legal-date {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--muted);
}


/* 10. Tablette et téléphone */

@media (max-width: 1000px) {
  .menu-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(220, 229, 239, 0.35);
    background: transparent;
    color: var(--paper);
    font: 500 0.9rem/1 var(--sans);
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--petrol);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
  }

  .menu-open .nav-links { display: flex; }

  .nav { gap: 16px; }
  .lang-links { padding-left: 0; border-left: 0; }

  .audience,
  .history,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .portrait { max-width: 300px; }
}

@media (max-width: 760px) {
  :root { --header: 68px; }

  body { font-size: 1rem; }

  .logo img { width: 88px; }

  .split { grid-template-columns: 1fr; }

  .hero .split { padding-top: 40px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 45%; }
  .button-row .button { flex: 1 1 100%; }

  .session-photo { order: -1; }
  .session-photo img,
  .prices-photo img { aspect-ratio: 4 / 3; }

  .facts dl,
  .reports,
  .rhythm { grid-template-columns: 1fr; }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .map-label {
    left: 50%;
    top: calc(50% + 20px);
    transform: translateX(-50%);
  }
}


/* 11. Choix de la langue (drapeaux) */

.lang { position: relative; }

.lang summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(220, 229, 239, 0.35);
  color: var(--paper);
  list-style: none;
  cursor: pointer;
}

.lang summary::-webkit-details-marker { display: none; }

.lang summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  background: var(--petrol-dark);
  border: 1px solid rgba(194, 157, 95, 0.6);
  list-style: none;
}

.lang li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  color: var(--paper);
  font-size: 0.95rem;
  text-decoration: none;
}

.lang li a:hover,
.lang li a[aria-current="page"] {
  background: var(--brass);
  color: var(--petrol-dark);
}

.flag {
  flex: none;
  display: block;
  width: 24px;
  height: 16px;
}


/* 12. Bande du son : l'onde défile seulement pendant l'écoute */

.listen-band {
  background: var(--petrol);
  color: var(--on-dark);
  padding-bottom: 28px;
}

.wave-window {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.wave-window .wave {
  width: auto;
  max-width: none;
  height: 100%;
}

.is-listening .wave { animation: wave-run 10.4s linear infinite; }

/* L'image fait 4160 de large et se répète tous les 520 : 520 / 4160 = 12,5 % */
@keyframes wave-run { to { transform: translateX(-12.5%); } }

.playhead {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(246, 244, 239, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.is-listening .playhead { opacity: 1; }
.playhead.is-cut { background: var(--brass); }

.listen-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}

.wave-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}

.wave-legend i {
  flex: none;
  width: 2px;
  height: 16px;
  background: var(--brass);
}

.listen {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 7px 18px 7px 7px;
  border: 1px solid rgba(194, 157, 95, 0.7);
  background: transparent;
  color: var(--paper);
  font: 500 0.95rem/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.listen:hover {
  background: var(--brass);
  color: var(--petrol-dark);
}

.listen-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--petrol-dark);
  font-size: 0.75rem;
}

html:not(.js) .listen { display: none; }


/* 13. Carte : plan du quartier, Google Maps seulement après un clic */

.map-frame {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: #1b3d5c;
}

.map-frame img {
  height: 100%;
  aspect-ratio: auto;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-consent {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  background: rgba(15, 38, 60, 0.92);
}

.map-consent .button {
  min-height: 44px;
  padding: 8px 18px;
}

.map-consent p {
  flex: 1 1 220px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}


/* 14. Téléphone : boutons fixés en bas et lecture plus confortable */

.mobile-bar { display: none; }

@media (max-width: 760px) {
  body {
    padding-bottom: 76px; /* place pour la barre du bas */
    line-height: 1.7;
  }

  .section { padding: 64px 0; }

  h2 { font-size: 1.9rem; }
  .intro { font-size: 1.05rem; margin: 14px 0 24px; }

  .hero h1 { font-size: 2.35rem; }
  .hero-lead { font-size: 1.05rem; margin: 18px 0 28px; }

  .wave-window { height: 110px; }
  .listen-row { flex-direction: column-reverse; align-items: stretch; }
  .listen { justify-content: center; }

  .steps li { padding: 18px 0; }
  .audience li strong { font-size: 1.2rem; }
  .faq summary { font-size: 1.15rem; padding: 18px 40px 18px 0; }
  .price-list .amount { font-size: 2.2rem; }

  .lang summary { padding: 6px 8px; }

  .logo img { width: 100px; }
  .device img { width: 120px; }
  .faq-phone { font-size: 1.9rem; }
  .book-button { width: 100%; }

  .mobile-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--petrol);
    border-top: 1px solid rgba(194, 157, 95, 0.5);
  }

  .mobile-bar .button {
    min-height: 48px;
    padding: 10px 8px;
    font-size: 0.92rem;
  }
}


/* 15. Apparition douce au défilement (ajoutée par le script, désactivée si l'appareil demande moins d'animations) */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 16. Accueil compact et sobre, traits dorés */

/* Un peu moins de blanc entre les sections */
.section { padding: clamp(68px, 9vw, 116px) 0; }
.intro { margin: 16px 0 28px; }

/* Petit trait doré au-dessus des titres de section */
.section h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--brass);
}

/* Accueil : entre la version 9 et la version 10 */
.hero .split {
  grid-template-columns: 1.1fr 0.9fr;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(32px, 4.5vw, 56px);
}

.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
.hero-lead { margin: 20px 0 30px; font-size: 1.12rem; }
.hero-photo img { aspect-ratio: 5 / 6; }

/* Durée, prix et lieu, discrètement sous les boutons */
.hero-facts {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(220, 229, 239, 0.16);
}

.hero-facts dl {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
}

.hero-facts dt {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}

.hero-facts dd {
  margin: 2px 0 0;
  font: 400 1.08rem/1.3 var(--serif);
  color: var(--paper);
}

.wave-window { height: 100px; }
.listen-band { padding-bottom: 22px; }

/* Apparition de l'accueil à l'ouverture de la page */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero h1 { animation: rise-in 0.8s ease 0.05s both; }
.hero-lead { animation: rise-in 0.8s ease 0.15s both; }
.hero .button-row { animation: rise-in 0.8s ease 0.25s both; }
.hero-facts { animation: rise-in 0.8s ease 0.35s both; }
.hero-photo { animation: rise-in 0.9s ease 0.2s both; }
.listen-row { animation: rise-in 0.8s ease 0.45s both; }

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero-lead,
  .hero .button-row,
  .hero-facts,
  .hero-photo,
  .listen-row { animation: none; }
}

@media (max-width: 760px) {
  .hero .split { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .hero-facts { margin-top: 24px; }
  .hero-facts dl { gap: 12px 24px; }
  .hero-facts dd { font-size: 1.02rem; }
}


/* 17. Numéro des questions, menu et accueil sur téléphone */

/* Le numéro sous « Questions fréquentes » ressemble à un bouton : on voit qu'il est cliquable */
.faq-phone {
  margin-top: 8px;
  padding: 12px 22px;
  border: 1px solid var(--brass);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  transition: background-color 0.2s, color 0.2s;
}

.faq-phone:hover {
  background: var(--brass);
  color: var(--petrol-dark);
}

.faq-phone:hover .ico { color: var(--petrol-dark); }

@media (max-width: 1000px) {
  /* Menu ouvert : fond plus foncé, trait doré, liens séparés, bouton « Menu » allumé */
  .nav-links {
    padding: 4px var(--gutter) 12px;
    background: var(--petrol-dark);
    border-top: 2px solid var(--brass);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links li + li a { border-top: 1px solid var(--line-dark); }

  .menu-open .menu-button {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--petrol-dark);
  }
}

@media (max-width: 760px) {
  /* Accueil : texte, infos en grille, puis photo bord à bord collée à la bande du son */
  .hero .split {
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 0;
  }

  .hero h1 { font-size: 2.15rem; }
  .hero-lead { margin: 16px 0 24px; }

  .hero-facts {
    margin-top: 22px;
    padding-top: 18px;
  }

  .hero-facts dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }

  .hero-facts dl > div:last-child { grid-column: 1 / -1; }
  .hero-facts dd { font-size: 0.98rem; }

  .hero-photo { margin: 0 calc(var(--gutter) * -1); }
  .hero-photo img { aspect-ratio: 16 / 11; }

  .listen-band { padding-top: 8px; }
  .faq-phone { font-size: 1.5rem; }
}

/* 18. Téléphone plus aéré, bouton menu, zoom des photos */

/* Photos : léger zoom au survol (ordinateur) */
.session-photo,
.prices-photo,
.portrait,
.hero-photo { overflow: hidden; }

.session-photo img,
.prices-photo img,
.portrait img { transition: transform 0.8s ease; }

.session-photo:hover img,
.prices-photo:hover img,
.portrait:hover img { transform: scale(1.04); }

/* Photo de l'accueil : très léger recul à l'ouverture */
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.hero-photo img { animation: settle 1.8s ease both; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
}

@media (max-width: 1000px) {
  /* Bouton « Menu » : trois traits, qui deviennent une croix quand le menu est ouvert */
  .menu-button {
    position: relative;
    width: 46px;
    height: 46px;
    font-size: 0;
  }

  .menu-button::before,
  .menu-button::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: currentColor;
    transition: transform 0.25s, box-shadow 0.25s;
  }

  .menu-button::before { box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .menu-button::after { transform: scaleX(0); }
  .menu-open .menu-button::before { box-shadow: none; transform: rotate(45deg); }
  .menu-open .menu-button::after { transform: rotate(-45deg); }

  /* Menu ouvert : panneau clair, bien différent de la barre bleue */
  .nav-links {
    background: var(--paper);
    border-top: 3px solid var(--brass);
  }

  .nav-links a { color: var(--petrol); }
  .nav-links a:hover { color: var(--brass-dark); }
  .nav-links li + li a { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  /* Lecture plus confortable : texte un peu plus grand, plus d'espace */
  body { font-size: 1.0625rem; line-height: 1.75; }
  .section { padding: 76px 0; }
  .intro { margin: 18px 0 32px; }

  .hero .split {
    gap: 36px;
    padding-top: 44px;
  }

  .hero h1 { font-size: 2.3rem; line-height: 1.12; }
  .hero-lead { margin: 20px 0 30px; line-height: 1.7; }
  .button-row { gap: 14px; }

  .hero-facts {
    margin-top: 32px;
    padding-top: 24px;
  }

  .hero-facts dl { gap: 18px 24px; }
  .hero-facts dd { font-size: 1.05rem; }

  .listen-band { padding-top: 14px; padding-bottom: 28px; }
  .listen-row { gap: 18px; }

  .steps li { padding: 24px 0; }
  .audience li { padding: 18px 0; }
  .price-list li { padding: 24px 0; }
  .rhythm { gap: 28px; }
  .faq summary { padding: 20px 40px 20px 0; }
}

/* 19. Défilement doux, infos de l'accueil en lignes sur téléphone */

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  /* Durée, prix, lieu : une ligne chacun, étiquette à gauche, valeur à droite */
  .hero-facts { padding-top: 6px; }
  .hero-facts dl { display: block; }

  .hero-facts dl > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(220, 229, 239, 0.12);
  }

  .hero-facts dl > div:last-child { border-bottom: 0; }
  .hero-facts dt { flex: none; font-size: 0.85rem; }
  .hero-facts dd { margin: 0; text-align: right; font-size: 1rem; }
}

/* 20. Badge de certification, mention TVA */

.contact-cert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 16px;
  font: 400 1.12rem/1.35 var(--serif);
  color: var(--paper);
}

.contact-cert img {
  flex: none;
  width: 64px;
  height: 64px;
}

.price-note {
  margin: -18px 0 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 21. Badge à droite du contact, logo plus grand */

.logo img { width: 136px; }
.footer-logo img { width: 220px; }

@media (max-width: 1000px) {
  .logo img { width: 112px; }
}

@media (min-width: 761px) {
  /* Sur ordi, le badge prend l'espace vide à droite du nom et de l'adresse */
  .contact address {
    position: relative;
    padding-right: 150px;
  }

  .contact-cert { margin-top: 10px; }

  .contact-cert img {
    position: absolute;
    right: 0;
    top: calc(50% + 12px);
    width: 120px;
    height: 120px;
    transform: translateY(-50%);
  }
}

/* 22. Crédit Dinamiq (logo + nom), lien vers LinkedIn */

.footer-credits .credit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  text-underline-offset: 4px;
  vertical-align: middle;
}

.credit-logo {
  width: 24px;
  height: 14px;
  flex: none;
}

.footer-credits .credit-link:hover span,
.footer-credits .credit-link:focus-visible span {
  text-decoration: underline;
}


/* 23. Barre du bas : seulement après les boutons de l'accueil */

@media (max-width: 760px) {
  .js .mobile-bar {
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }

  .js .mobile-bar.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .mobile-bar { transition: none; }
}
