/* ==================================================================
   Jeanne Everenne — Landing "coming soon"
   Design tokens + mise en page. Aucune dépendance externe.
   ================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* Palette canonique */
  --color-ivory: #F6F1E9;
  --color-ink: #24201F;
  --color-plum: #493747;
  --color-gold: #B49760;
  --color-sage: #697064;

  /* Dérivées (surfaces, tracés, halos — jamais de texte essentiel) */
  --color-gold-line: rgba(180, 151, 96, 0.55);
  --color-gold-line-soft: rgba(180, 151, 96, 0.28);
  --color-plum-line: rgba(73, 55, 71, 0.35);
  --color-ink-soft: rgba(36, 32, 31, 0.86);
  --color-hairline: rgba(73, 55, 71, 0.16);

  /* Typographies */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Espacement */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  /* Structure */
  --max-width: 76rem;
  --content-measure: 37rem;
  --transition-slow: 900ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-plum);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.hero {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-4);
  min-height: 82vh;
}

.hero__content {
  flex: 1 1 60%;
  max-width: var(--content-measure);
}

.hero__kicker {
  display: block;
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-plum);
  margin: 0 0 var(--space-3);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-2);
  color: var(--color-ink);
}

.hero__positioning {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--color-plum);
  margin: 0 0 var(--space-4);
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  margin: 0 0 var(--space-3);
  color: var(--color-ink);
}

.hero__intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
  margin: 0 0 var(--space-4);
  max-width: 32rem;
}

.hero__teaser {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-plum);
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-hairline);
  max-width: 30rem;
}

.hero__visual {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__motif {
  width: 100%;
  max-width: 26rem;
  height: auto;
  animation: halo-drift 200s linear infinite;
}

.hero__motif img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes halo-drift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------------------
   Mini-zone éditoriale
   ------------------------------------------------------------------ */

.editorial-note {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 var(--space-4) var(--space-6);
  text-align: center;
}

.editorial-note__rule {
  width: 3rem;
  height: 1px;
  margin: 0 auto var(--space-4);
  background: var(--color-gold-line);
  border: 0;
}

.editorial-note__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  margin: 0 0 var(--space-3);
}

.editorial-note__opening {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-plum);
  margin: 0;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-4) var(--space-5);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--color-plum);
  opacity: 0.85;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-3);
  margin: 0 0 var(--space-1);
}

.footer-legal a,
.footer-legal__button {
  color: var(--color-plum);
  text-decoration: none;
}

.footer-legal__button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal__button:hover,
.footer-legal__button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-copy {
  margin: 0;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .hero {
    gap: var(--space-4);
  }

  .hero__visual {
    max-width: 20rem;
  }
}

@media (max-width: 860px) {
  .hero {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: left;
    min-height: 0;
    padding-top: var(--space-5);
  }

  .hero__content,
  .hero__visual {
    flex: 1 1 auto;
    max-width: none;
  }

  .hero__visual {
    max-width: 12rem;
    margin: 0 auto -1rem;
    opacity: 0.9;
  }

  .hero__intro,
  .hero__teaser {
    max-width: none;
  }

  .hero__teaser {
    font-weight: 500;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-4) var(--space-3) var(--space-4);
  }

  .hero__visual {
    max-width: 10rem;
  }

  .editorial-note,
  footer {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

/* ------------------------------------------------------------------
   Mouvement — extrêmement sobre, désactivable
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .hero__motif {
    animation: none;
  }
}

/* ------------------------------------------------------------------
   Rythme vertical desktop — la partie basse (fin du Hero, mini-zone
   éditoriale, footer) paraissait trop flottante. Resserrage ciblé,
   sans toucher la lecture mobile (déjà satisfaisante).
   ------------------------------------------------------------------ */

@media (min-width: 861px) {
  .hero {
    min-height: 74vh;
  }

  .editorial-note {
    padding-bottom: var(--space-5);
  }

  footer {
    padding-top: var(--space-3);
  }
}
