/* Tecla & Mar : feuille de style principale */

:root {
  --navy: #152036;
  --ivory: #FAF8F4;
  --gold: #C9AE78;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Garamond, Georgia, serif;
  --header-h: 88px;
  --section-pad: clamp(96px, 10vw, 144px);
  /* Aligne le contenu sur le logo de l'en-tête (conteneur de 1240px, marge de 32px) */
  --edge: max(24px, calc((100vw - 1240px) / 2 + 32px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { transition: opacity .2s ease; }
a:hover { opacity: .75; }

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

p { margin: 0; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy);
}
.skip-link:focus { top: 16px; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--ivory);
}

.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 48px;
}

.logo {
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.logo__amp {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.site-header__navs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 40px;
}

.main-nav,
.lang-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav { gap: 0 32px; }
.lang-nav { gap: 14px; }

.main-nav a,
.lang-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
}
.main-nav a { letter-spacing: 0.2em; }
.lang-nav a { letter-spacing: 0.16em; }
.lang-nav a[aria-current="true"] { color: var(--gold); }

.menu-toggle { display: none; }

/* Écrans étroits : bouton « Menu » et navigation dépliable (uniquement si JS actif) */
@media (max-width: 960px) {
  .site-header__inner { padding: 16px 24px; }
  .logo { font-size: 28px; }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 2px;
    border: 0;
    background: none;
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .menu-toggle__icon {
    width: 22px;
    height: 10px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transition: transform .3s ease;
  }
  .site-header.is-open .menu-toggle__icon { transform: scaleY(0.2); }

  .js .site-header__navs { display: none; }
  .js .site-header.is-open .site-header__navs {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 20px;
    border-top: 1px solid rgba(201, 174, 120, 0.35);
  }
  .js .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .js .main-nav a {
    min-height: 52px;
    font-size: 15px;
  }
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--navy);
  color: var(--ivory);
  font-size: 15px;
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}

.site-footer p { opacity: 0.75; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ivory);
  opacity: 0.75;
  text-decoration: none;
}
.site-footer nav a:hover { opacity: 1; }

/* ---------- Sections communes ---------- */

.section { padding: var(--section-pad) 24px; }
.section--dark {
  background: var(--navy);
  color: var(--ivory);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.stack-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 72px;
}

.section-title {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.1;
}

.card-title {
  font-size: 32px;
  line-height: 1.15;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.muted { opacity: 0.85; }
.gold { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 36px;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--ivory); }

.grid {
  width: 100%;
  display: grid;
  gap: 56px 64px;
}

/* Apparition douce au défilement (activée seulement si JS est disponible) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2, .6, .2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero : la promesse, sur une salle de réception assombrie ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(min(88svh, 820px) - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* Voile bleu nuit : la photo reste visible, le texte reste lisible */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(21, 32, 54, 0.62) 0%, rgba(21, 32, 54, 0.8) 70%),
    rgba(21, 32, 54, 0.12);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  max-width: 980px;
  padding: 96px var(--edge) 104px;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  font-weight: 300;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__lead {
  max-width: 520px;
  font-size: 20px;
  opacity: 0.85;
  text-wrap: pretty;
}

.hero .btn { margin-top: 8px; }

@media (max-width: 900px) {
  .hero__content { padding: 72px 24px 80px; }
}

/* ---------- Témoignage ---------- */

.quote {
  margin: 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.quote blockquote { margin: 0; }

.quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.25;
  text-wrap: balance;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.quote figcaption::before,
.quote figcaption::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Photos ---------- */

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portrait (photo paysage) recadré en 4:5 autour du visage et du clavier */
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--portrait img { object-position: 53% 50%; }

/* Photo au piano : cadrage centré sur Diego, entre le couvercle et le clavier */
.photo--piano img { object-position: 44% 50%; }

/* Une seule colonne : on montre le portrait entier, en paysage */
@media (max-width: 984px) {
  .photo--portrait { aspect-ratio: 3 / 2; }
  .photo--portrait img { object-position: 50% 50%; }
}

/* ---------- Services ---------- */

.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service p { font-size: 18px; }

/* ---------- Répertoire ---------- */

.repertoire-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.repertoire-intro p {
  max-width: 600px;
  text-wrap: balance;
}

.repertoire-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

.genre {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.genre h3 { color: var(--gold); }
.genre p {
  font-size: 18px;
  text-wrap: pretty;
}

.formations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.formations-grid {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 32px 48px;
}

.formation {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.formation__name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
}
.formation__desc {
  font-size: 16px;
  opacity: 0.85;
}

.formations .tagline {
  font-size: 22px;
  opacity: 0.85;
}

/* ---------- La maison / Contact (deux colonnes) ---------- */

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 64px 96px;
}

.maison .two-col { align-items: center; }

.prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.prose p { text-wrap: pretty; }
.prose .section-title { margin-bottom: 8px; }

.signature {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.signature__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  line-height: 1.2;
  color: var(--gold);
}
.signature__role {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- FAQ (questions dépliables, sans JavaScript) ---------- */

.section--tint { background: #F1ECE3; }

.faq-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.faq-list {
  width: 100%;
  max-width: 860px;
  text-align: left;
  border-bottom: 1px solid rgba(21, 32, 54, 0.18);
}

.faq-item { border-top: 1px solid rgba(21, 32, 54, 0.18); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Signe « + » doré qui pivote en « × » à l'ouverture */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__answer {
  max-width: 740px;
  padding: 0 40px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-more a { color: var(--navy); }

/* ---------- Contact ---------- */

.contact .two-col { align-items: start; }

.contact-line {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.3;
  color: var(--navy);
  text-decoration: none;
}
a.contact-line {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.contact-line a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.steps-block {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.steps-block h3 { font-family: var(--font-body); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}
.step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
}
.step__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
}
.step__text {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.55;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label,
.legal dt {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid var(--navy);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 19px;
}
.field textarea {
  height: auto;
  min-height: 120px;
  padding: 10px 2px;
  line-height: 1.5;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 28px 32px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--navy);
}
.consent label {
  font-size: 15px;
  line-height: 1.5;
}
.consent a { color: var(--navy); }

.contact-form .btn { align-self: flex-start; }

.form-thanks {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.form-thanks__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  line-height: 1.1;
}

/* ---------- Pages légales ---------- */

body.legal-page { font-size: 18px; }

.legal {
  padding: clamp(88px, 9vw, 128px) 24px clamp(96px, 10vw, 144px);
}

.legal__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.legal h1 {
  text-align: center;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.1;
}

.legal section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal h2 {
  font-size: 36px;
  line-height: 1.15;
}

.legal dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px 32px;
}
.legal dd { margin: 2px 0 0; }
.legal strong { font-weight: 500; }
.legal a { color: var(--navy); }
.legal h3 {
  font-size: 25px;
  line-height: 1.2;
  margin-top: 12px;
}
.legal ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal__note { font-style: italic; opacity: 0.8; }
.legal__updated { font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .faq-item summary::after { transition: none; }
}
