/* Renaissance 50+ — accueil v2
   Texte lisible 50+, photos contenues, rythme clair. */

:root {
  --linen: #f3ebe0;
  --paper: #fff8f0;
  --sand: #e8d9c6;
  --ink: #2b221b;
  --ink-soft: #5a514a;
  --clay: #c45c32;
  --clay-deep: #9a3f1f;
  --olive: #5a6748;
  --white: #fffdf9;
  --wrap: 1080px;
  --serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  padding-inline: 20px;
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--clay-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker-light { color: #f0c9b4; }

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 235, 224, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43, 34, 27, 0.08);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
}
.brand-name em { font-style: italic; font-weight: 500; color: var(--clay-deep); }

.header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  background: var(--clay);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(196, 92, 50, 0.25);
}
.btn-primary:hover { background: var(--clay-deep); }

.meta {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.meta-light { color: rgba(255, 248, 240, 0.82); }

/* Hero */
.hero { padding: 28px 0 36px; }

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.lead {
  margin-top: 18px;
  max-width: 36em;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.7;
}
.lead strong { color: var(--ink); }

.hero-actions { margin-top: 24px; }

.hero-photo {
  position: relative;
  margin: 0;
  max-width: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(43, 34, 27, 0.14);
}
.hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 16%;
}
.hero-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  background: rgba(255, 248, 240, 0.92);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  border-radius: 999px;
  text-align: center;
}

/* Faces */
.faces { padding: 0 0 48px; }

.faces-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.faces-row img {
  height: 150px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
}

.faces-note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
}

/* Cards */
.recognize { padding: 8px 0 56px; }
.recognize h2 { margin-bottom: 28px; }

.cards {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(43, 34, 27, 0.07);
}

.card img {
  height: 180px;
  object-fit: cover;
  object-position: center 20%;
}

.card-body { padding: 18px 18px 22px; }

.story-label {
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card h3 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
}

.card p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
}

/* Still */
.still { padding: 0 0 56px; }

.still-grid {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid rgba(43, 34, 27, 0.07);
}

.still-grid img {
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

.still-grid p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 38em;
}
.still-grid strong { color: var(--ink); }

/* How */
.how { padding: 0 0 56px; }

.how-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.how-photo {
  height: 280px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 18px;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--clay-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
}

.steps p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.disclaimer {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Approach */
.approach { padding: 0 0 56px; }

.approach-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.approach-grid img {
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  font-size: 1.12rem;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checks li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 0.55em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--clay);
}

/* Close */
.close {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
}

.close-bg { position: absolute; inset: 0; }
.close-bg img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.close-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 34, 27, 0.82) 12%, rgba(43, 34, 27, 0.35) 70%);
}

.close-inner {
  position: relative;
  z-index: 1;
  padding: 48px 0 44px;
  color: var(--paper);
}
.close-inner h2 { color: var(--paper); }
.close-inner > p {
  margin: 14px 0 24px;
  max-width: 32em;
  color: rgba(255, 248, 240, 0.88);
  font-size: 1.15rem;
}

.site-footer {
  padding: 24px 0 32px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-inner a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 639px) {
  .faces-row { grid-template-columns: repeat(2, 1fr); }
  .faces-row img { height: 140px; }
  .hero-photo { max-width: none; }
  .hero-photo img { height: 280px; }
  .hero-photo figcaption { font-size: 0.88rem; }
  .hero-copy h1 { max-width: none; font-size: 1.7rem; }
  .lead { font-size: 1.1rem; }
  .header-cta { font-size: 0.85rem; padding: 0 12px; }
}

@media (min-width: 760px) {
  .wrap { padding-inline: 32px; }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }

  .hero-photo { justify-self: end; }

  .cards { grid-template-columns: repeat(3, 1fr); }

  .still-grid {
    grid-template-columns: 0.85fr 1.15fr;
    padding: 28px;
    gap: 32px;
  }
  .still-grid img { height: 240px; }

  .how-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
  .how-photo { height: 320px; }

  .approach-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
  }
  .approach-grid img { height: 260px; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
