/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  /* Palette de base */
  --creme: #EBE5D2;
  --sauge: #92A4A0;
  --or: #CAB87A;
  --olive-clair: #A7A88A;
  --olive-fonce: #69673E;

  /* Rôles — modifiez ici pour changer les couleurs partout */
  --color-bg: var(--creme);          /* fond de page */
  --color-text: #3d3c2a;             /* texte courant (olive très foncé) */
  --color-text-soft: #6b6a55;        /* texte secondaire */
  --color-heading: var(--olive-fonce);
  --color-accent: var(--or);         /* accents, numéros, filets */
  --color-accent-soft: var(--sauge); /* accents secondaires */
  --color-dark: var(--olive-fonce);  /* fonds sombres (héro, encart d'essai) */
  --color-on-dark: var(--creme);     /* texte sur fond sombre */
  --color-card-bg: #fdfbf5;          /* fond des cartes */

  /* Typographie */
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}


html, body, main {
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

/* ------------------------------------------------------------------
 * Structure commune des pages intérieures (.page)
 * La page d'accueil garde sa mise en page propre dans accueil.css.
 * ------------------------------------------------------------------ */

.page {
  color: var(--color-text);
  line-height: 1.75;
  font-weight: 300;
  font-size: 1.0625rem;
}

.page h1,
.page h2,
.page h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.page h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page section {
  padding: 5rem 1.5rem;
}

/* Héro de page — même traitement que le héro de l'accueil */

.page-hero {
  background: var(--color-dark);
  color: var(--color-on-dark);
  text-align: center;
}

.page-hero-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--color-on-dark);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.page-hero-lead {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.375rem;
  color: var(--color-accent);
  margin: -0.5rem 0 1.5rem;
}

.page-hero-inner > p:not(.eyebrow):not(.page-hero-lead) {
  color: color-mix(in srgb, var(--color-on-dark) 82%, transparent);
  margin: 0;
}

/* Carte — motif repris des sections « raison » et « bienfait » de l'accueil */

.card {
  background: var(--color-card-bg);
  border-top: 3px solid var(--color-accent-soft);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(61, 60, 42, 0.06), 0 12px 32px -16px rgba(61, 60, 42, 0.18);
}

@media (max-width: 48rem) {
  .page section {
    padding: 3.5rem 1.25rem;
  }

  /* Dégage le bouton « Menu » flottant */
  .page .page-hero {
    padding-top: 6rem;
  }
}
