/* =========================================================
   PHARO PATRIMOINE — Feuille de style principale
   Palette reprise du logo : bleu marine profond + or/beige
   ========================================================= */

:root {
  /* Couleurs */
  --navy-950: #08131f;
  --navy-900: #0c1c2e;
  --navy-800: #122a42;
  --navy-700: #1c3c59;
  --navy-600: #2a5578;

  --gold-300: #ecdcb8;
  --gold-400: #d9bd8b;
  --gold-500: #c6a26a;
  --gold-600: #a8824a;

  --cream-50: #faf8f4;
  --cream-100: #f3eee3;
  --cream-200: #ece3d1;

  --ink-900: #1b2430;
  --ink-700: #3d4753;
  --ink-500: #6b7480;

  --white: #ffffff;

  --placeholder-bg: rgba(198, 162, 106, 0.1);
  --placeholder-border: rgba(198, 162, 106, 0.55);

  /* Typo */
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Divers */
  --container-w: 1180px;
  --header-h: 140px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Justification du texte courant (activée page par page via body.text-justified) */
body.text-justified .lead,
body.text-justified .topic-body p,
body.text-justified .solution-card p,
body.text-justified .team-bio {
  text-align: justify;
  text-align-last: left;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy-900);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Utilitaires ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--alt {
  background: var(--cream-100);
}

.section--navy {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  color: var(--cream-50);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin: 0 0 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Les titres restent centrés ; les paragraphes forment un bloc centré, texte justifié */
.section-head.center p {
  text-align: justify;
  text-align-last: left;
}

.section-head p {
  color: var(--ink-500);
  font-size: 1.05rem;
}

.section--navy .section-head p {
  color: var(--cream-200);
}

hr.divider {
  border: none;
  border-top: 1px solid var(--placeholder-border);
  width: 64px;
  margin: 18px 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--gold-400);
}

.btn-outline-light {
  border-color: rgba(250, 248, 244, 0.55);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(250, 248, 244, 0.12);
  border-color: var(--white);
}

.btn-outline-navy {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.btn-outline-navy:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Placeholders de texte à compléter ---------- */
.placeholder-text {
  position: relative;
  display: block;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  border-radius: 4px;
  padding: 18px 20px 16px;
  color: var(--ink-700);
  font-style: italic;
}

.placeholder-text .placeholder-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--cream-50);
  border: 1px solid var(--placeholder-border);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.section--navy .placeholder-text {
  background: rgba(236, 220, 184, 0.08);
  border-color: rgba(236, 220, 184, 0.4);
  color: var(--cream-100);
}

.section--navy .placeholder-text .placeholder-tag {
  background: transparent;
  color: var(--gold-300);
}

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: repeating-linear-gradient(
    135deg,
    var(--cream-200),
    var(--cream-200) 10px,
    var(--cream-100) 10px,
    var(--cream-100) 20px
  );
  border: 1px dashed var(--placeholder-border);
  color: var(--gold-600);
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.placeholder-img svg {
  width: 34px;
  height: 34px;
  opacity: 0.6;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8, 19, 31, 0.65), rgba(8, 19, 31, 0));
  transition: background var(--transition), height var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(8, 19, 31, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.site-header .container {
  position: relative;
  /* Au-dessus du panneau du menu mobile (z-index 999), qui est un enfant du
     header : le logo et le bouton de fermeture restent visibles et
     cliquables quand le menu est ouvert. */
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1460px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 125px;
  width: auto;
  transition: height var(--transition);
}

.site-header.is-scrolled .brand img {
  height: 54px;
}

.brand-name {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  flex-shrink: 1;
  min-width: 0;
}

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream-100);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-300);
  border-color: var(--gold-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 12px 26px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
}

/* ==========================================================
   HERO — Accueil
   ========================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  /* Réserve la hauteur du header fixe : sur un écran peu haut (portable,
     fenêtre réduite), le contenu du hero ne peut plus remonter sous le
     logo et se superposer à lui. */
  padding-top: calc(var(--header-h) + 24px);
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/hero-pharo-night.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.35) 0%, rgba(8, 19, 31, 0.55) 55%, rgba(8, 19, 31, 0.92) 100%);
}

/* Assombrit puis efface progressivement la photo de fond au scroll */
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--navy-950);
  opacity: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* margin-top:auto plutôt que align-items:flex-end seul : le contenu reste
     collé en bas quand il y a de la place, mais ne déborde jamais vers le
     haut (sous le header) quand l'écran est trop court. */
  margin-top: auto;
  padding-bottom: 110px;
}

.hero-content .eyebrow {
  color: var(--gold-300);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  max-width: 780px;
  margin-bottom: 22px;
}

.hero-content .lead {
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--cream-100);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(250, 248, 244, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Petit chevron doré pointant vers le bas : deux filets de 1px assemblés
   en angle droit, puis pivotés de 45°. Même épaisseur de trait que les
   autres filets dorés du site. */
.hero-scroll-cue::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 2px;
  border-right: 1px solid var(--gold-400);
  border-bottom: 1px solid var(--gold-400);
  transform: rotate(45deg);
}

/* ---------- Bandeau hero (sous-pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 74px;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg::after {
  background: linear-gradient(155deg, rgba(8, 19, 31, 0.55), rgba(12, 28, 46, 0.88));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(217, 189, 139, 0.18);
  border-radius: 50%;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  color: var(--gold-300);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 700px;
  margin-bottom: 16px;
  position: relative;
}

.page-hero .lead {
  max-width: 620px;
  color: var(--cream-200);
  font-size: 1.05rem;
  margin: 0;
  position: relative;
}

/* ==========================================================
   PRÉSENTATION CABINET / VALEURS
   ========================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  padding: 34px 28px;
  border-radius: 4px;
}

.value-card .value-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--gold-600);
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 6px;
  padding: 30px;
}

.team-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
  flex-shrink: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 4px;
}

.team-photo svg {
  width: 42px;
  height: 42px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--cream-200);
  color: var(--navy-700);
  background: var(--white);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.team-linkedin:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.team-role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* ==========================================================
   ACCRÉDITATIONS
   ========================================================== */
.accred-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.accred-card {
  flex: 0 1 260px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 6px;
  padding: 30px 20px;
}

.accred-card .accred-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}

.accred-card .accred-mark--logo {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
}

.accred-card .accred-mark--logo img {
  display: block;
  max-width: 170px;
  height: auto;
}

.accred-card h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.accred-card .accred-ref {
  font-size: 0.8rem;
  color: var(--ink-500);
  font-style: italic;
}

/* ==========================================================
   CONTACT CTA
   ========================================================== */
.contact-cta {
  text-align: center;
}

.contact-cta .section-head {
  margin-left: auto;
  margin-right: auto;
}

.contact-cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  gap: 28px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(236, 220, 184, 0.2);
}

.contact-info-item {
  text-align: center;
}

.contact-info-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.contact-info-item .value {
  font-size: 1rem;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--cream-100);
  padding: 76px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(236, 220, 184, 0.14);
}

.footer-brand img {
  height: 64px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(243, 238, 227, 0.65);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(243, 238, 227, 0.8);
  transition: color var(--transition);
}

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

.footer-col .footer-link-pending {
  font-size: 0.92rem;
  color: rgba(243, 238, 227, 0.35);
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link-pending::after {
  content: "à venir";
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(243, 238, 227, 0.25);
  border-radius: 20px;
  padding: 2px 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 30px;
  font-size: 0.8rem;
  color: rgba(243, 238, 227, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================
   FORMULAIRE CONTACT
   ========================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 6px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--cream-200);
  background: var(--cream-50);
  border-radius: 3px;
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 14px;
}

.form-success {
  display: none;
  background: rgba(198, 162, 106, 0.12);
  border: 1px solid var(--placeholder-border);
  color: var(--navy-900);
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 0.92rem;
  margin-top: 18px;
}

.form-success.is-visible {
  display: block;
}

.contact-side .accred-card,
.contact-side-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 22px;
  text-align: center;
}

.contact-side-card h4 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.contact-map-placeholder {
  height: 220px;
  border-radius: 6px;
}

/* ==========================================================
   BLOCS THÉMATIQUES (Anticiper / Investir)
   ========================================================== */
.topic-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 42px 0;
  border-bottom: 1px solid var(--cream-200);
  align-items: start;
}

.topic-row:first-child {
  padding-top: 0;
}

.topic-index {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-400);
}

.topic-row h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.topic-row .topic-body {
  color: var(--ink-700);
}

.topic-row .btn {
  margin-top: 18px;
  padding: 11px 22px;
}

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

.solution-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 6px;
  overflow: hidden;
}

.solution-card .solution-media {
  height: 150px;
  overflow: hidden;
}

.solution-card .solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card .solution-body {
  padding: 26px;
}

.solution-card .eyebrow {
  font-size: 0.68rem;
  margin-bottom: 10px;
}

.solution-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.solution-card p {
  color: var(--ink-500);
  font-size: 0.92rem;
}

/* ---------- Bandeau CTA générique ---------- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: 8px;
  padding: 44px 48px;
}

.cta-banner h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.cta-banner p {
  color: var(--cream-200);
  margin: 0;
}

/* ==========================================================
   PARTENAIRES
   ========================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.partners-grid .partner-logo {
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 6px;
}

.partners-grid .partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ==========================================================
   ACTUALITÉS (posts LinkedIn republiés)
   ========================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-embed {
  width: 100%;
  min-height: 460px;
  background: var(--cream-100);
}

.news-embed.placeholder-img {
  min-height: 320px;
}

.news-embed iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--cream-200);
}

.news-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
}

.news-date {
  font-size: 0.78rem;
  color: var(--ink-500);
}

/* ==========================================================
   MENTIONS LÉGALES / CONTENU JURIDIQUE
   ========================================================== */
.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content ul {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1em;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content .legal-note {
  font-size: 0.85rem;
  color: var(--ink-500);
  font-style: italic;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 980px) {
  .team-grid,
  .value-grid,
  .accred-grid,
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 1250px) {
  .main-nav,
  .header-actions .btn-outline-light {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  :root {
    --header-h: 96px;
  }

  .brand img {
    height: 68px;
  }

  .site-header.is-scrolled {
    height: 60px;
  }

  .site-header.is-scrolled .brand img {
    height: 44px;
  }

  .site-header.nav-open,
  .site-header.is-scrolled.nav-open {
    background: var(--navy-950);
    /* IMPORTANT : pas de backdrop-filter quand le menu est ouvert. Un filtre
       sur le header en ferait le bloc conteneur du menu (position: fixed) :
       le fond bleu se réduirait à la hauteur du header et les liens blancs
       s'afficheraient sur le fond blanc de la page. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    /* Le panneau couvre tout l'écran et se glisse sous le header (z-index
       1000) : plus aucun filet blanc entre les deux, quelle que soit la
       hauteur du header (normale ou réduite après défilement). */
    background: var(--navy-950);
    z-index: 999;
    padding: calc(var(--header-h) + 30px) 28px 40px;
    display: none;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .mobile-nav a {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(236, 220, 184, 0.14);
  }

  .mobile-nav .btn {
    margin-top: 24px;
  }
}

@media (max-width: 720px) {
  .team-card {
    grid-template-columns: 120px 1fr;
    padding: 22px;
  }

  .value-grid,
  .accred-grid,
  .solution-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 56px;
  }

  .brand img {
    height: 40px;
  }

  .site-header.is-scrolled {
    height: 48px;
  }

  .site-header.is-scrolled .brand img {
    height: 32px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding-bottom: 60px;
  }

  .hero-content .lead,
  .hero-content p.placeholder-text {
    font-size: 0.88rem;
  }

  .hero-scroll-cue {
    display: none;
  }

  .mobile-nav .btn {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    padding: 15px 18px;
  }
}
