/*
 * Feuille de style de l'advertorial « Le Rituel du Soir » (L'Onde Féminine).
 * Direction artistique : magazine bien-être haut de gamme.
 * Palette : crème #FAF8F5, anthracite #2D2D2D, nude #C4A08A.
 * Typographie : Playfair Display (titres, éléments éditoriaux) + Nunito Sans (corps).
 * Colonne de lecture unique 680 px, mobile-first.
 */

:root {
  --cream: #faf8f5;
  --ink: #2d2d2d;
  --nude: #c4a08a;
  --sand: #ede6dd;
  --line: #e9e1d8;
  --muted: #8c8279;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 20px;
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  cursor: pointer;
}

/* Colonne de lecture ------------------------------------------------- */

.read-col {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.375rem;
  padding-right: 1.375rem;
}

@media (min-width: 768px) {
  .read-col {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* En-tête magazine ---------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background-color: #fdfcfa;
}

.header-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .header-inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.masthead {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(26px, 6.4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.kicker-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.rule {
  height: 1px;
  flex: 1 1 0;
  max-width: 56px;
  background-color: #e0d5c9;
}

.kicker {
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
  color: #a08d7e;
  letter-spacing: 0.24em;
}

@media (min-width: 640px) {
  .kicker {
    font-size: 11px;
  }
}

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

.hero {
  padding-top: 2.25rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 3.5rem;
  }
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--nude);
  letter-spacing: 0.2em;
}

@media (min-width: 640px) {
  .eyebrow {
    font-size: 12px;
  }
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(31px, 7.6vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.byline {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .byline {
    font-size: 17px;
  }
}

.hero-rule {
  margin-top: 1.5rem;
  height: 1px;
  width: 4rem;
  background-color: var(--nude);
}

/* Images éditoriales --------------------------------------------------- */

.article-figure {
  margin: 2.25rem 0;
}

.figure-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background-color: #efeae4;
}

.figure-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: #948a81;
}

@media (min-width: 640px) {
  .article-figure figcaption {
    font-size: 14px;
  }
}

/* Récit ---------------------------------------------------------------- */

.story p {
  margin: 0 0 1.6rem;
}

.story strong {
  font-weight: 600;
}

.dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 3.35em;
  line-height: 0.82;
  padding-right: 0.09em;
  padding-top: 0.06em;
  color: var(--nude);
}

.inline-cta {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--nude);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #dfc7b5;
  text-underline-offset: 4px;
  transition: color 200ms var(--ease-out);
}

.inline-cta:hover {
  color: #b08a72;
}

/* Pull-quote ----------------------------------------------------------- */

.pullquote-wrap {
  margin-top: 2.75rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 640px) {
  .pullquote-wrap {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }
}

.pullquote {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
}

@media (min-width: 640px) {
  .pullquote {
    padding-left: 2.25rem;
  }
}

.pullquote-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--nude);
}

.pullquote-mark {
  display: block;
  font-family: var(--font-display);
  line-height: 1;
  color: #e2cdbe;
  font-size: clamp(44px, 9vw, 62px);
  margin-bottom: -0.35em;
}

.pullquote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  font-size: clamp(22px, 5vw, 31px);
  line-height: 1.42;
}

/* CTA final ------------------------------------------------------------ */

.cta-section {
  padding-bottom: 3.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-section {
    padding-bottom: 5rem;
  }
}

.cta-rule {
  margin: 0 auto 2rem;
  height: 1px;
  width: 6rem;
  background-color: #e0d5c9;
}

.social-proof {
  margin: 0 auto 1.5rem;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  background-color: var(--nude);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(196, 160, 138, 0.28);
  transition:
    background-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}

@media (min-width: 640px) {
  .cta-button {
    font-size: 18px;
  }
}

.cta-button:hover {
  background-color: #b78e75;
  box-shadow: 0 8px 22px rgba(196, 160, 138, 0.36);
}

.cta-button:active {
  transform: scale(0.97);
}

.cta-note {
  margin: 1.25rem auto 0;
  max-width: 38ch;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
}

/* Pied de page ---------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background-color: #fdfcfa;
  padding: 2rem 0;
  text-align: center;
}

.footer-title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: #6e655d;
}

@media (min-width: 640px) {
  .footer-title {
    font-size: 16px;
  }
}

.footer-note {
  margin: 0.75rem 0 0;
  font-size: 12px;
  color: #a39a92;
}

/* Animation d'entrée ----------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    animation: fadeUp 520ms var(--ease-out) both;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
