/* ============================================================
   Nath's Cakes — Pages CMS (À propos, CGV, Mentions, Privacy)
   ============================================================ */

/* === Page À propos pixel-perfect (id=4) === */
.nc-about-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink) center/cover no-repeat;
  background-image: url('https://images.unsplash.com/photo-1486427944299-d1955d23e34d?auto=format&fit=crop&w=2400&q=85');
}
.nc-about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,37,34,0.45) 0%, rgba(43,37,34,0.25) 50%, rgba(43,37,34,0.6) 100%);
}
.nc-about-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--ivory);
  text-align: center;
}
.nc-about-hero-content h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.01em;
  color: var(--ivory);
}

/* Wrap interne pages À propos */
.nc-about-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

/* Bloc photo + texte alterné */
.nc-about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}
.nc-about-block:last-child { margin-bottom: 0; }
.nc-about-block:nth-child(even) > div:first-child { order: 2; }
.nc-about-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.nc-about-photo-inner {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 60ms linear;
}
.nc-about-block .eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.25rem;
}
.nc-about-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.nc-about-block p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

/* Quote section */
.nc-about-quote {
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--blush-light);
  margin: 6rem 0;
}
.nc-about-quote-dots {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: center;
  margin: 0 auto 2rem;
  width: fit-content;
}
.nc-about-quote-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-deep);
}
.nc-about-quote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto;
  border: none;
  padding: 0;
}
.nc-about-signature {
  font-family: var(--script, 'Allura', cursive);
  font-size: 2.5rem;
  color: var(--gold-deep);
  margin: 1.5rem 0 0;
}

/* Timeline */
.nc-about-timeline-head {
  text-align: center;
  margin-bottom: 3rem;
}
.nc-about-timeline-head .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.nc-about-timeline-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0;
  color: var(--ink);
}
.nc-about-timeline {
  max-width: 880px;
  margin: 0 auto;
}
.nc-about-tl-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.nc-about-tl-row:last-child { border-bottom: none; }
.nc-about-tl-year {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--gold-deep);
  line-height: 1;
}
.nc-about-tl-row h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.625rem;
  color: var(--ink);
  margin: 0 0 .75rem;
}
.nc-about-tl-row p {
  font-family: var(--sans);
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 1024px) {
  .nc-about-block { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .nc-about-block:nth-child(even) > div:first-child { order: 0; }
  .nc-about-tl-row { grid-template-columns: 1fr; gap: .5rem; padding: 2rem 0; }
  .nc-about-tl-year { font-size: 2rem; }
  .nc-about-quote { padding: 3rem 1.5rem; }
}

body#cms,
body#page-cms,
body[id^="cms-"] { background: var(--ivory); }

/* === Hero CMS === */
.nc-cms-hero {
  position: relative;
  padding: 8rem 1.5rem 4rem;
  background: var(--blush-light);
  border-bottom: 1px solid var(--line);
}
.nc-cms-hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.nc-cms-hero-content .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.nc-cms-hero-content h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.nc-cms-hero-content .lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Corps page CMS / Legal === */
.nc-cms-body {
  padding: 5rem 1.5rem;
}
.nc-legal-content {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.nc-legal-content .updated {
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}
.nc-legal-content h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.25rem;
  margin: 2.5rem 0 1.25rem;
  color: var(--ink);
}
.nc-legal-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 3rem 0 1rem;
  color: var(--ink);
}
.nc-legal-content h2:first-child { margin-top: 0; }
.nc-legal-content h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 2.25rem 0 .75rem;
}
.nc-legal-content h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  margin: 1.5rem 0 .75rem;
  color: var(--ink);
}
.nc-legal-content p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
.nc-legal-content ul,
.nc-legal-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
}
.nc-legal-content li {
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.nc-legal-content strong,
.nc-legal-content b {
  color: var(--ink);
  font-weight: 500;
}
.nc-legal-content em,
.nc-legal-content i {
  font-style: italic;
}
.nc-legal-content a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  transition: color 250ms, border-color 250ms;
}
.nc-legal-content a:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.nc-legal-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--blush-light);
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}
.nc-legal-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}
.nc-legal-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}
.nc-legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.nc-legal-content th,
.nc-legal-content td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.nc-legal-content th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--blush-light);
}
