/* css/footer.css — every page: CTA band, site footer, legal/story legacy blocks, .page--histoire / .page--turpe. */
/* CTA + footer — dark navy band */
.site-footer .cta-footer {
  padding: 64px 20px 48px;
  background: var(--navy);
}

.cta-footer-inner {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
}

.cta-card {
  background: transparent;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  min-height: 320px;
  max-height: 460px;
}

.cta-content {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.cta-content h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  color: #ffffff;
  font-weight: 800;
  max-width: 420px;
}

.cta-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  max-width: 400px;
}

.cta-image {
  position: relative;
  min-height: 300px;
  max-height: 460px;
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 460px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.cta-content .btn {
  width: 240px;
  justify-content: center;
  padding: 12px 18px;
  align-self: center;
}

.cta-content .btn-dark {
  background: #ffffff;
  color: var(--color-section-heading);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cta-content .btn-dark:hover {
  background: #f3f4f6;
  color: var(--color-section-heading);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* § FOOTER — navy band, CTA card, links */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 0 20px 32px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: none;
}

.site-footer .footer-inner {
  padding-top: 32px;
}

.footer-inner {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo .brand-mark {
  background: #ffffff;
}

.footer-logo .footer-logo-img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: var(--white-logo-filter);
}

.footer-linkedin {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.95;
  transition: opacity 0.2s, color 0.2s;
  align-self: flex-start;
  flex-shrink: 0;
}

.footer-linkedin:hover {
  opacity: 1;
  color: var(--color-primary);
}

.footer-columns {
  display: flex;
  gap: 64px;
  margin-left: auto;
  padding-left: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-linkedin-row {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 12px;
}

.footer-bottom {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom span:last-child {
  margin-left: auto;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 24px 16px 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
    gap: 24px;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-linkedin-row {
    justify-content: center;
  }

  .footer-linkedin {
    align-self: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom span:last-child {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .cta-card {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .cta-content {
    padding: 36px;
  }

  .cta-image {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .cta-footer {
    padding: 48px 12px 32px;
  }

  .cta-content {
    padding: 28px 20px;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .cta-content p {
    font-size: 14px;
  }

  .cta-content .btn {
    width: 100%;
  }

  .cta-image {
    min-height: 180px;
  }

  .cta-image img {
    min-height: 180px;
  }
}

.story-hero {
  padding: 70px 20px 30px;
  text-align: center;
}

.story-hero h1 {
  margin: 12px 0 6px;
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-hero-h1);
  font-weight: 800;
}

.story-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}


.story-section {
  padding: 20px 20px 30px;
  display: flex;
  justify-content: center;
}

.story-inner {
  width: 960px;
  color: #354153;
  font-size: 15px;
  line-height: 1.7;
}

.story-inner p {
  margin: 0 0 14px;
}

.story-list {
  margin: 6px 0 16px;
  padding-left: 18px;
  color: var(--primary-dark);
  font-weight: 700;
}

.story-list--dots {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 16px;
  border-left: 2px solid #e2e8f0;
  padding-left: 16px;
}

.story-list--dots li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.story-list--dots li:last-child {
  margin-bottom: 0;
}

.story-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-dark);
  flex-shrink: 0;
}

.story-list--dots span {
  font-weight: 700;
  color: var(--primary-dark);
}

.story-why-italic {
  font-style: italic;
  opacity: 0.85;
  font-size: 14px;
  color: #5b6573;
  margin: 0;
}

.story-why {
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-why-inner {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 900px) {
  .story-why-inner {
    grid-template-columns: 1fr;
  }

  .story-why-media {
    min-height: 280px;
  }

  .story-why-media img {
    min-height: 280px;
  }
}

.story-why-text {
  text-align: left;
}

.story-why-text h2 {
  margin: 14px 0 12px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--primary-dark);
}

.story-why-text p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #5b6573;
}

.story-why-media {
  min-height: 400px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #dfe4ea, #c5cdd8);
}

.story-why-media img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}



.values {
  padding: 20px 20px 80px;
  display: flex;
  justify-content: center;
}

.values h2 {
  margin: 0 0 22px;
  font-size: 40px;
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .values-grid,
  .values-grid--dark {
    grid-template-columns: 1fr;
  }

  .values h2 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .values h2 {
    font-size: 24px;
  }

  .value-card {
    padding: 20px;
  }
}

.value-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--primary-dark);
  font-weight: 800;
}

.value-card p {
  margin: 0;
  font-size: 14px;
  color: #5b6573;
  line-height: 1.5;
}

/* Notre histoire – values section (two-column + accordion) */
.values--story {
  padding: 60px 20px 80px;
  background: #f8fafc;
  border-radius: 3rem;
  margin: 0 20px;
}

.values-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.values-story-media {
  position: relative;
  height: 520px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.values-story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.values-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 50%, transparent 100%);
  pointer-events: none;
}

.values-story-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: #fff;
}

.values-story-caption-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.values-story-caption-text {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.values-story-content h2 {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: left;
}

.values-story-intro {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.6;
  color: #5b6573;
  max-width: 28em;
}

.value-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-accordion-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.value-item {
  border: var(--glass-border);
  border-radius: 1rem;
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.value-item:hover {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset, var(--glass-shadow-hover);
}

.value-item:has(.value-accordion-input:checked) {
  border-color: rgba(7, 38, 77, 0.2);
  background: var(--glass-bg);
  box-shadow: var(--glass-highlight), var(--glass-shadow-hover);
}

.value-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.value-item-header .value-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item-header .value-item-icon svg {
  width: 24px;
  height: 24px;
}

.value-item:has(.value-accordion-input:checked) .value-item-icon {
  background: var(--primary-dark);
  color: #fff;
}

.value-item-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  flex: 1;
}

.value-item-caret {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.value-item-caret svg {
  width: 24px;
  height: 24px;
}

.value-item:has(.value-accordion-input:checked) .value-item-caret {
  transform: rotate(180deg);
  color: var(--primary-dark);
}

.value-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.value-item:has(.value-accordion-input:checked) .value-accordion-content {
  max-height: 280px;
}

.value-accordion-content p {
  margin: 0;
  padding-top: 16px;
  padding-left: 64px;
  font-size: 15px;
  line-height: 1.6;
  color: #5b6573;
}

@media (max-width: 900px) {
  .values-story-inner {
    grid-template-columns: 1fr;
  }

  .values-story-media {
    order: 1;
    min-height: 400px;
    height: 400px;
  }

  .values-story-content {
    order: 2;
  }
}

/* Set on <html> via inline script on index.html when localStorage says dismissed (no flash on return visit). */
html.solfair-announcement-skip #announcement-overlay {
  display: none !important;
  pointer-events: none;
}

.announcement-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.announcement-overlay.is-hidden {
  display: none;
}

.announcement-card {
  width: min(720px, 94vw);
  max-height: 90vh;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  border: var(--glass-border);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  position: relative;
}

.announcement-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #677386;
  cursor: pointer;
}

.announcement-header {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.announcement-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: inline-block;
  position: relative;
}

.announcement-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--color-primary);
  clip-path: polygon(35% 0, 60% 0, 45% 35%, 70% 35%, 30% 100%, 45% 60%, 25% 60%);
}

.announcement-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--primary-dark);
  font-weight: 800;
}

.announcement-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.announcement-body {
  margin: 0 0 40px;
}

.announcement-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 480px) {
  .announcement-card {
    padding: 24px 20px 20px;
    margin: 16px;
  }

  .announcement-header {
    grid-template-columns: 1fr;
  }

  .announcement-actions {
    flex-direction: column;
  }

  .announcement-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.values--dark {
  padding: 40px 20px 80px;
  background: var(--navy);
}

.values--dark h2 {
  color: #ffffff;
  text-align: center;
}

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

.value-card--dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.value-card--dark h3 {
  color: #ffffff;
}

.value-card--dark p {
  color: #cfd8e5;
}
/* Notre histoire / TURPE: full-bleed shell (nav + footer visible) */
.page--histoire {
  padding-top: 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Story page refinements (grid, cards, media) — follows .story-change above */
.story-change-header h2 {
  margin-bottom: 30px;
  font-size: 24px;
}

.story-change-grid {
  gap: 28px;
}

.story-change-cards {
  border-top: 1px solid #edf1f6;
  border-left: 1px solid #edf1f6;
  gap: 0;
}

.story-change-card {
  padding: 20px 22px;
  border-right: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.story-change-card h3 {
  font-size: 14px;
}

.story-change-card p {
  font-size: 13px;
  line-height: 1.6;
}

.story-change-media {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.story-change-media img {
  border-radius: 14px;
  transform: none;
  filter: none;
  box-shadow: none;
}

.story-values {
  background: #f8fafc;
  padding: 96px 24px 110px;
}

.story-values-kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-section-heading);
  margin-bottom: 10px;
}

.story-values h2 {
  font-family: Lora, Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 14px;
}

.story-values-intro {
  font-size: 14px;
  line-height: 1.7;
  max-width: 640px;
}

.story-values-grid {
  gap: 24px;
}

.story-values-card {
  padding: 26px 28px;
  border: 1px solid #edf1f6;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.story-values-card--full {
  padding: 26px 28px;
}

.story-values-closing {
  margin-top: 22px;
  color: #475569;
}

/* ── History page: mission / team / changes / values (Playfair + DM Sans) ── */
.page--histoire .mission,
.page--histoire .team,
.page--histoire .changes,
.page--histoire .values {
  --hist-navy: var(--navy);
  --hist-navylight: var(--navy);
  --hist-cream: #ffffff;
  --hist-white: #ffffff;
  --hist-text: #2c2c2c;
  --hist-muted: #6b7280;
  --hist-border: #e5e3dd;
  --hist-accent: var(--navy);
  font-family: "DM Sans", sans-serif;
  color: var(--hist-text);
}

.page--histoire .mission {
  background: var(--hist-white);
  text-align: center;
  padding: 140px 40px 100px;
}

.page--histoire .eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hist-muted);
  margin-bottom: 20px;
}

.page--histoire .mission h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--color-hero-h1);
  line-height: 1.18;
  max-width: 560px;
  margin: 0 auto 28px;
}

.page--histoire .mission p {
  font-size: 15px;
  color: var(--hist-muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
  font-weight: 300;
}

.page--histoire .features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.page--histoire .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hist-navy);
}

.page--histoire .feature-item::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hist-navy);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page--histoire .changes {
  padding: 80px 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page--histoire .changes h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--hist-navy);
  margin-bottom: 40px;
}

.page--histoire .grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.page--histoire .grid-cell {
  padding: 32px;
  border-right: 1px solid var(--hist-border);
  border-bottom: 1px solid var(--hist-border);
}

.page--histoire .grid-cell:nth-child(2n) {
  border-right: none;
}

.page--histoire .grid-cell:nth-child(3),
.page--histoire .grid-cell:nth-child(4) {
  border-bottom: none;
}

.page--histoire .grid-cell h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--hist-navy);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.page--histoire .grid-cell p {
  font-size: 13px;
  color: var(--hist-muted);
  line-height: 1.65;
  font-weight: 300;
}

.page--histoire .values {
  background: var(--hist-cream);
  padding: 80px 40px;
}

.page--histoire .values-inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page--histoire .values .eyebrow {
  color: var(--hist-muted);
}

.page--histoire .values h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--hist-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.page--histoire .values > .values-inner > p {
  font-size: 14px;
  color: var(--hist-muted);
  margin-bottom: 48px;
  font-weight: 300;
}

.page--histoire .values-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.page--histoire .value-card {
  background: var(--hist-white);
  border: 1px solid var(--hist-border);
  border-radius: 12px;
  padding: 28px;
}

.page--histoire .value-card.full {
  grid-column: 1 / -1;
}

.page--histoire .value-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--hist-navy);
  margin-bottom: 8px;
}

.page--histoire .value-card p {
  font-size: 13px;
  color: var(--hist-muted);
  line-height: 1.65;
  font-weight: 300;
}

.page--histoire .values-tagline {
  font-size: 13px;
  color: var(--hist-muted);
  margin-top: 32px;
  font-style: italic;
}

.page--histoire .team {
  padding: 80px 40px 100px;
  background: var(--hist-cream);
}

.page--histoire .team-inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page--histoire .team .eyebrow {
  color: var(--hist-muted);
  margin-bottom: 12px;
}

.page--histoire .team h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--hist-navy);
  margin-bottom: 56px;
  line-height: 1.25;
}

.page--histoire .team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.page--histoire .team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.page--histoire .avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--hist-cream);
  border: 1px solid var(--hist-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page--histoire .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page--histoire .avatar svg {
  width: 44px;
  height: 44px;
  opacity: 0.3;
}

.page--histoire .team-name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hist-navy);
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page--histoire .team-linkedin {
  display: inline-flex;
  align-items: center;
  color: #0a66c2;
  transition: opacity 0.2s, transform 0.2s;
}

.page--histoire .team-linkedin:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.page--histoire .team-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hist-accent);
  margin-bottom: 16px;
}

.page--histoire .team-quote {
  font-size: 14px;
  color: var(--hist-muted);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
  border-left: 2px solid var(--hist-border);
  padding-left: 14px;
}

@media (max-width: 600px) {
  .page--histoire .grid-2x2,
  .page--histoire .values-cards,
  .page--histoire .team-cards {
    grid-template-columns: 1fr;
  }
  .page--histoire .value-card.full {
    grid-column: auto;
  }
  .page--histoire .grid-cell:nth-child(2n) {
    border-right: 1px solid var(--hist-border);
  }
  .page--histoire .grid-cell:nth-child(3) {
    border-bottom: 1px solid var(--hist-border);
  }
}

/* TURPE page: same color pattern as history (white / cream / navy) */
.page--turpe {
  --turpe-navy: var(--navy);
  --turpe-cream: #ffffff;
  --turpe-white: #ffffff;
  --turpe-muted: #6b7280;
  --turpe-border: #e5e3dd;
}

.page--turpe .story-hero--new {
  background: var(--turpe-white);
  color: var(--turpe-navy);
}

.page--turpe .story-hero-kicker {
  color: var(--turpe-muted);
}

.page--turpe .story-hero-subtitle {
  color: var(--turpe-muted);
}

.page--turpe .story-change {
  background: var(--turpe-cream);
}

.page--turpe .story-change-header h2 {
  color: var(--turpe-navy);
}

.page--turpe .story-change-card {
  border-color: var(--turpe-border);
}

.page--turpe .story-change-card h3 {
  color: var(--turpe-navy);
}

.page--turpe .story-change-card p {
  color: var(--turpe-muted);
}

.page--turpe .story-change-media {
  background: var(--turpe-white);
  border-color: var(--turpe-border);
}

.page--turpe .story-values {
  background: var(--turpe-cream);
}

.page--turpe .story-values-kicker {
  color: var(--turpe-muted);
}

.page--turpe .story-values h2 {
  color: var(--turpe-navy);
  font-family: "Playfair Display", Lora, Georgia, serif;
}

.page--turpe .story-values-intro {
  color: var(--turpe-muted);
}

.page--turpe .story-values-card {
  border-color: var(--turpe-border);
}

.page--turpe .story-values-card h3 {
  color: var(--turpe-navy);
}

.page--turpe .story-values-card p {
  color: var(--turpe-muted);
}

.page--turpe .story-values-closing {
  color: var(--turpe-muted);
}
