/* ═══════════════════════════════════════
   AVR Capital — styles.css
   Design system + full responsive layout
═══════════════════════════════════════ */

/* ── Font face ── */
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 300;
  font-style: normal;
  src: local('Neue Haas Grotesk Display Pro 45 Light'),
       local('NeueHaasGroteskDisplayPro-45Light'),
       url('fonts/NeueHaasGroteskDisplayPro-45Light.otf');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  font-style: normal;
  src: local('Neue Haas Grotesk Display Pro 55 Roman'),
       local('NeueHaasGroteskDisplayPro-55Roman'),
       url('fonts/NeueHaasGroteskDisplayPro-55Roman.otf');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 500;
  font-style: normal;
  src: local('Neue Haas Grotesk Display Pro 65 Medium'),
       local('NeueHaasGroteskDisplayPro-65Medium'),
       url('fonts/NeueHaasGroteskDisplayPro-65Medium');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 700;
  font-style: normal;
  src: local('Neue Haas Grotesk Display Pro 75 Bold'),
       local('NeueHaasGroteskDisplayPro-75Bold'),
       url('fonts/NeueHaasGroteskDisplayPro-75Bold');
}

/* ── CSS variables ── */
:root {
  --blue:        #012169;
  --blue-alpha:  rgba(0, 25, 80, 0.8);
  --white:       #ffffff;
  --grey-light:  #f4f4f4;
  --grey:        #e6e6e6;
  --green-alpha: rgba(38, 72, 9, 0.85);
  --green:       #264809;
  --green-light: #f4f8f0;
  --text-light:  #f0f0f0;

  --max-w:       1120px;
  --section-py:  100px;
  --header-h:    115px;
  --font:        'Neue Haas Grotesk Display Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
address { font-style: normal; }

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--blue);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.wrapper {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Section content stacks */
.section-stack    { display: flex; flex-direction: column; gap: 100px; }
.section-stack-sm { display: flex; flex-direction: column; gap: 60px; }
.subheading-block { display: flex; flex-direction: column; gap: 10px; }
.subsection-block { display: flex; flex-direction: column; gap: 20px; }
.subsection-center { align-items: center; }

.text-center { text-align: center; }

/* ═══════════════════════════════════════
   LOGO — three-part absolute composition
═══════════════════════════════════════ */
.logo {
  position: relative;
  width: 150px;
  height: 75px;
  flex-shrink: 0;
  display: block;
}
.logo--footer {
  width: 150px;
  height: 75px;
}
.logo-vector,
.logo-group,
.logo-group2 {
  position: absolute;
}
.logo-vector {
  top: 0; bottom: 0;
  left: 0; right: 50%;
}
.logo-group {
  top: 33.84%; bottom: 33.83%;
  left: 2.78%; right: 52.22%;
}
.logo-group2 {
  top: 68.47%; bottom: 0.01%;
  left: 52.95%; right: 0;
}
.logo-vector img,
.logo-group img,
.logo-group2 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 160px;
  transition: box-shadow 0.25s ease;
}
.header--scrolled {
  box-shadow: 0 2px 20px rgba(1, 33, 105, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
}
.header-right {
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-items {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  font-size: 18px;
  font-weight: 300;
  color: var(--blue);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  border-bottom: 1px solid var(--white);
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(13, 27, 110, 0.12);
  border-radius: 8px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item--open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 300;
  color: var(--blue);
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--grey-light, #f4f5f8);
}
.nav-item:hover { 
  border-bottom: 1px solid var(--blue); 
}
.nav-item .chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-item .chevron img {
  width: 100%;
  height: auto;
  display: block;
}
.btn-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  text-decoration: none;
  padding: 8px 8px;
  border: 1px solid var(--blue);
  border-radius: 25px;
  font-size: 18px;
  font-weight: 300;
  color: var(--blue);
  background: var(--white);
  transition: background 0.15s, color 0.15s;
}
.btn-lang:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.btn-cta.primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}
.btn-cta.secondary {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-cta.secondary:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-cta.secondary:hover .arrow-icon img { filter: brightness(0) invert(1); }
.arrow-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.arrow-icon img { width: 100%; height: auto; display: block; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   MOBILE NAV OVERLAY
═══════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 0 16px 40px;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  flex-shrink: 0;
}
.mobile-nav__close {
  font-size: 24px;
  color: var(--blue);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  flex: 1;
}
.mobile-nav__item {
  display: block;
  font-size: 28px;
  font-weight: 500;
  color: var(--blue);
  padding: 18px 0;
  border-bottom: 1px solid var(--grey);
}
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  align-items: flex-start;
}

/* ═══════════════════════════════════════
   SECTIONS — base
═══════════════════════════════════════ */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-py) 160px;
  width: 100%;
}
.section.bg-white { background: var(--white); }
.section.bg-grey  { background: var(--grey-light); }
.section.bg-green-light { background: var(--green); padding-top: 64px; padding-bottom: 64px; }
#esg .centred-text p { color: var(--white); }
#esg .h2-standalone { color: var(--white); }
#esg .concept-card { background: rgba(255,255,255,0.08); }
#esg .concept-card .concept-card__title,
#esg .concept-card .concept-card__line { color: var(--white); }
#esg .concept-card:hover { background: var(--white); }
#esg .concept-card:hover .concept-card__title,
#esg .concept-card:hover .concept-card__line { color: var(--green); }
.citation-section { padding-top: 80px; padding-bottom: 0; }

/* Espace de respiration au-dessus des sections ciblées par une ancre,
   pour que le titre ne soit pas masqué par le header collant */
.section[id] {
  scroll-margin-top: calc(var(--header-h) + 0px);
}

/* ═══════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════ */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.section-heading h2 {
  font-size: 50px;
  font-weight: 500;
  color: var(--blue);
}
.section-heading .subtitle {
  font-size: 34px;
  font-weight: 300;
  line-height: 44.2px;
  color: var(--blue);
}
.h2-standalone {
  font-size: 50px;
  font-weight: 500;
  color: var(--blue);
  width: 100%;
}
.h3-text {
  font-size: 34px;
  font-weight: 300;
  line-height: 44.2px;
  color: var(--blue);
  width: 100%;
}
/* ═══════════════════════════════════════
   LEGAL CONTENT (Politique de confidentialité / CGU)
═══════════════════════════════════════ */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 860px;
  width: 100%;
}
.legal-content .legal-updated {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light);
}
.legal-content h2.legal-h3 {
  font-size: 21px;
  font-weight: 500;
  color: var(--blue);
  width: 100%;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--blue);
}
.legal-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 22px;
}
.legal-content strong { font-weight: 500; }
.legal-content a { color: var(--blue); text-decoration: underline; }

@media (max-width: 768px) {
  .legal-content { gap: 28px; }
  .legal-content h2.legal-h3 { font-size: 18px; }
  .legal-content p,
  .legal-content li { font-size: 14px; line-height: 1.5; }
}

.txt-bold-blue {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--blue);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.hero-wrapper {
  display: flex;
  align-items: center;
  isolation: isolate;
  width: 100%;
  max-width: var(--max-w);
}
.hero-card.hero-card--office {
  background:
    linear-gradient(var(--blue-alpha), var(--blue-alpha)),
    url('img/office.jpg') center 30% / cover no-repeat;
}
.hero-card {
  background: var(--blue-alpha);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  border-radius: 20px;
  width: 550px;
  height: 550px;
  flex-shrink: 0;
  margin-right: -170px;
  position: relative;
  z-index: 2;
}
.hero-card h1 {
  font-size: 74px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}
.hero-image {
  width: 740px;
  height: 740px;
  border-radius: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  pointer-events: none;
}

/* Quote block inside hero card */
.hero-quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-quote .icon-quote,
.citation-card .icon-quote {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.hero-quote .icon-quote img,
.citation-card .icon-quote img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-quote blockquote {
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: var(--white);
  font-style: italic;
}
.hero-quote .attribution {
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  text-align: right;
}

/* ═══════════════════════════════════════
   CITATION BLOCK
═══════════════════════════════════════ */
.citation-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  width: 100%;
  position: relative;
}
.citation-bg {
  height: 400px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: -60px;
  position: relative;
  flex-shrink: 0;
}
.citation-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.citation-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 10px 10px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  pointer-events: none;
}
.citation-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 40px;
  border-radius: 20px;
  width: 930px;
  position: relative;
  z-index: 1;
}
.citation-card.blue  { background: var(--blue-alpha); }
.citation-card.green { background: var(--green-alpha); }
.citation-card blockquote {
  font-size: 28px;
  font-weight: 300;
  line-height: 44.2px;
  color: var(--text-light);
  white-space: pre-line;
}
.citation-card .attribution {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-light);
  text-align: right;
  width: 100%;
}

/* ═══════════════════════════════════════
   TWO-COLUMN LIST
═══════════════════════════════════════ */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  align-items: start;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  transition: background 0.2s ease;
}
.list-card.card-centered {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
}
.list-card p {
  font-size: 22px;
  font-weight: 300;
  line-height: 32px;
  color: var(--blue);
  transition: color 0.2s ease;
}
.list-card p strong { font-weight: 700; }
.list-card.grey       { background: var(--grey); }
.list-card.grey-light { background: var(--grey-light); }
.list-card.grey:hover , .list-card.grey-light:hover      { background: var(--blue); }
.list-card.grey:hover p, .list-card.grey-light:hover p      { color: var(--white); }

/* ═══════════════════════════════════════
   CENTRED TEXT BLOCK
═══════════════════════════════════════ */
.centred-text {
  padding: 0 95px;
  width: 100%;
}
.centred-text p {
  font-size: 34px;
  font-weight: 300;
  line-height: 44.2px;
  color: var(--blue);
}
.centred-text.multiline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.centred-text--compact p {
  font-size: 22px;
  line-height: 32px;
}

/* ═══════════════════════════════════════
   PHILOSOPHY CIRCLES
═══════════════════════════════════════ */
.circles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  justify-content: start;
}
.circle {
  width: 100%;
  max-width: 265px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 12px solid var(--blue);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.circle p {
  grid-area: 1 / 1;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue);
  transition: opacity 0.25s ease, color 0.25s ease;
}
.circle .circle__def {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--white);
  opacity: 0;
}
.circle:hover {
  background: var(--blue);
}
.circle:hover .circle__label { opacity: 0; }
.circle:hover .circle__def   { opacity: 1; }

/* ═══════════════════════════════════════
   CONCEPT CARDS — titre gras + une ligne
═══════════════════════════════════════ */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  align-items: stretch;
}
.concept-grid--3 { grid-template-columns: repeat(3, 1fr); }
.concept-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--grey-light);
  transition: background 0.25s ease;
}
.concept-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue);
  transition: color 0.25s ease;
}
.concept-card__line {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--blue);
  transition: color 0.25s ease;
}
.concept-card:hover { background: var(--blue); }
.concept-card:hover .concept-card__title,
.concept-card:hover .concept-card__line { color: var(--white); }

/* ═══════════════════════════════════════
   À FAIRE / À ÉVITER — une seule colonne, bascule au survol
═══════════════════════════════════════ */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}
.flip-card {
  display: grid;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue);
  transition: background 0.25s ease;
  min-height: 190px;
}
.flip-card:hover { background: var(--grey-light); }
.flip-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  transition: opacity 0.25s ease;
}
.flip-face--dont { opacity: 0; }
.flip-card:hover .flip-face--do   { opacity: 0; }
.flip-card:hover .flip-face--dont { opacity: 1; }
.flip-kicker {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.flip-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.flip-line {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}
.flip-face--do   .flip-kicker { color: rgba(255,255,255,0.7); }
.flip-face--do   .flip-title,
.flip-face--do   .flip-line   { color: var(--white); }
.flip-face--dont .flip-kicker { color: rgba(1,33,105,0.6); }
.flip-face--dont .flip-title,
.flip-face--dont .flip-line   { color: var(--blue); }

/* ═══════════════════════════════════════
   TEAM GRID
═══════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.team-card {
  background: var(--grey-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card .portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.team-card .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card .member-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 30px;
}
.team-card .member-name {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--blue);
}
.team-card .member-role {
  font-size: 18px;
  font-weight: 300;
  color: var(--blue);
}
.team-card .member-links {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.linkedin-icon {
  display: block;
  width: 20px;
  height: 20px;
}
.linkedin-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ═══════════════════════════════════════
   À FAIRE / À ÉVITER
═══════════════════════════════════════ */
.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.do-col, .dont-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 20px;
  border-radius: 20px;
}
.do-col   { background: var(--blue); }
.dont-col { background: var(--grey-light); }
.col-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}
.do-col .col-title   { color: var(--white); }
.dont-col .col-title { color: var(--blue); }
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dot-wrap {
  padding-top: 11px;
  flex-shrink: 0;
}
.dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.do-col .dot   { background: var(--white); }
.dont-col .dot { background: var(--blue); }
.bullet-item p {
  font-size: 22px;
  font-weight: 300;
  line-height: 32px;
}
.do-col .bullet-item p   { color: var(--white); }
.dont-col .bullet-item p { color: var(--blue); }

/* ═══════════════════════════════════════
   THREE-COLUMN INFO CARDS
═══════════════════════════════════════ */
.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.info-card {
  padding: 20px;
  border-radius: 20px;
  background: var(--grey-light);
  transition: background 0.2s ease;
}
.info-card p {
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  color: var(--blue);
  transition: color 0.2s ease;
}
.info-card p strong {
  font-weight: 700;
}
.info-card:hover {
  background: var(--blue);
}
.info-card:hover p {
  color: var(--white);
}

/* Centred full-width cards (max 930px) */
.centred-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 930px;
}
.info-card-full {
  padding: 20px;
  border-radius: 20px;
  background: var(--grey-light);
  transition: background 0.2s ease;
}
.info-card-full p strong {
  font-weight: 700;
}
.info-card-full:hover {
  background: var(--blue);
}
.info-card-full:hover p {
  color: var(--white);
}
.info-card-full p {
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  transition: color 0.2s ease;
  color: var(--blue);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--blue);
  padding: 60px 160px 35px;
  width: 100%;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col.right { align-items: flex-end; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a,
.footer-nav span {
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  line-height: normal;
}
.footer-nav span.muted { opacity: 0.5; }
.footer-nav a:hover { text-decoration: underline; }

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}
.footer-address .company-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.addr-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addr-block p {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-legal a,
.footer-legal span {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-light);
  white-space: nowrap;
}
.footer-legal a:hover { text-decoration: underline; }

.footer-copy {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}
.footer-copy p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
}

/* ═══════════════════════════════════════
   RESPONSIVE — mobile breakpoint ≤768px
═══════════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --section-py: 40px;
    --header-h:   80px;
  }

  /* Header */
  .header {
    padding: 0 16px;
    height: var(--header-h);
  }
  .logo {
    width: 120px;
    height: 60px;
  }
  .header-right { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav logo size */
  .mobile-nav__header .logo {
    width: 120px;
    height: 60px;
  }

  /* Sections */
  .section {
    padding: var(--section-py) 16px;
  }
  .citation-section {
    padding-top: 0;
    padding-bottom: 0;
  }
  .section-stack    { gap: 40px; }
  .section-stack-sm { gap: 32px; }

  /* Typography */
  .section-heading h2,
  .h2-standalone {
    font-size: 28px;
  }
  .section-heading .subtitle,
  .h3-text {
    font-size: 24px;
    line-height: 1.4;
  }
  .txt-bold-blue { font-size: 16px; line-height: 1.5; }

  /* Hero — stacked mobile layout */
  .hero-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-wrapper {
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .hero-image {
    width: 100%;
    max-width: 355px;
    height: 250px;
    margin-right: 0;
    border-radius: 20px;
    align-self: flex-start;
  }
  /* Contact : carte Google Maps dans le hero */
  .hero-image #google-maps { width: 100%; height: 100%; }
  .hero-card--office + .hero-image { height: 320px; max-width: 100%; }

  .hero-card {
    width: 100%;
    max-width: 315px;
    height: auto;
    margin-right: 0;
    margin-top: -60px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    z-index: 2;
    position: relative;
  }
  .hero-card h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .hero-quote blockquote { font-size: 16px; line-height: 1.5; }
  .hero-quote .attribution { font-size: 12px; }

  /* Two-column → single column */
  .two-cols {
    grid-template-columns: 1fr;
  }

  /* Citation card */
  .citation-bg { height: 250px; }
  .citation-card {
    width: 100%;
    max-width: 315px;
    padding: 16px 20px;
  }
  .citation-card blockquote {
    font-size: 24px;
    line-height: 1.4;
  }
  .citation-card .attribution { font-size: 14px; }

  /* Centred text */
  .centred-text { padding: 0; }
  .centred-text p { font-size: 16px; line-height: 1.6; }

  /* Circles: 2 colonnes */
  .circles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-content: center;
  }
  .circle {
    max-width: 100%;
    border-width: 6px;
    padding: 12px;
  }
  .circle p { font-size: 15px; line-height: 1.25; }
  .circle .circle__def { font-size: 12px; }

  /* Concept cards + flip cards → une colonne */
  .concept-grid,
  .concept-grid--3,
  .flip-grid { grid-template-columns: 1fr; }
  .concept-card { padding: 20px; }
  .concept-card__title { font-size: 20px; }
  .concept-card__line  { font-size: 16px; }
  .flip-card { min-height: 0; }
  .flip-face { padding: 20px; }
  .flip-title { font-size: 20px; }
  .flip-line  { font-size: 16px; }
  .home-service-card__label { font-size: 22px; }

  /* Team grid → single column */
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card .member-name { font-size: 18px; }
  .team-card .member-role { font-size: 14px; }

  /* Do/Don't → stacked */
  .do-dont {
    grid-template-columns: 1fr;
  }
  .home-intro { padding: 32px 16px; }
  .bullet-item p { font-size: 14px; line-height: 1.1; }
  .col-title { font-size: 18px; }

  /* Three cols → single */
  .three-cols {
    grid-template-columns: 1fr;
  }
  .info-card p,
  .info-card-full p { font-size: 16px; line-height: 1.5; }

  /* centred-cards */
  .centred-cards { max-width: 100%; }

  /* List cards */
  .list-card p { font-size: 16px; line-height: 1.5; }
  .list-card.card-centered { min-height: auto; }

  /* Footer */
  .footer {
    padding: 40px 16px 24px;
  }
  .footer-wrapper { gap: 32px; }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col.right { align-items: flex-start; }
  .footer-address { text-align: left; }
  .addr-block { align-items: flex-start; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-legal span { display: none; }
  .footer-copy {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-copy p.right { text-align: center; }

  /* Logo in footer */
  .logo--footer { width: 100px; height: 50px; }

  /* Nav */
  .header-right { display: none; }
}

/* ═══════════════════════════════════════
   MEDIUM BREAKPOINT — avoid layout breaks
   between 769px and 1080px
═══════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1100px) {
  .header { padding: 0 40px; }
  .section { padding-left: 40px; padding-right: 40px; }
  .footer  { padding-left: 40px; padding-right: 40px; }

  .hero-wrapper { max-width: 100%; }
  .hero-card { width: 440px; height: 440px; }
  .hero-image { width: 600px; height: 600px; }

  .circles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .circle { width: 100%; height: auto; aspect-ratio: 1/1; }

  .citation-card { width: 100%; }
  .centred-cards { max-width: 100%; }
  .info-card-full { width: 100%; }
}

/* ═══════════════════════════════════════
   HOME PAGE — HERO
═══════════════════════════════════════ */
.home-hero {
  position: relative;
  width: 100%;
  height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(1, 33, 105, 0.18) 100%
  );
}
.home-hero__card {
  position: absolute  ;
  z-index: 2;
  background: var(--blue-alpha);
  border-radius: 16px;
  padding: 36px 44px;
  left: 50%;
  top: 50%;
  max-width: 600px;
}
.home-hero__card h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}

/* ═══════════════════════════════════════
   HOME PAGE — INTRO
═══════════════════════════════════════ */
.home-intro {
  display: block;
  background: var(--grey-light);
  width: 100%;
  padding: 44px 160px;
  transition: background 0.2s ease;
}
.home-intro:hover { background: var(--grey); }
.home-intro__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 540px;
}
.home-intro__inner p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--blue);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border: 1px solid var(--blue);
  border-radius: 25px;
  font-size: 16px;
  font-weight: 300;
  color: var(--blue);
  background: transparent;
  transition: background 0.15s, color 0.15s;
  align-self: flex-start;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* ═══════════════════════════════════════
   HOME PAGE — STATS BAR
═══════════════════════════════════════ */
.home-stats {
  background: var(--blue);
  width: 100%;
  padding: 52px 160px;
}
.home-stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.home-stats__inner--four {
  grid-template-columns: repeat(4, 1fr);
}
.home-stats__inner--five {
  grid-template-columns: repeat(5, 1fr);
}
.home-stat--logo {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.home-stat--logo .home-stat__label {
  flex: 1;
}
.home-stat__num {
  font-size: 64px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.home-stat__label {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}
.home-stat__sofit {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.home-stat__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.home-stat__badges .home-stat__sofit {
  height: 40px;
}

/* Bloc certifications : tout est aligné sur le S de SO-FIT,
   le logo déborde donc à gauche de la largeur de son pictogramme
   (le « S » commence à 31,2 % de la largeur de l'image). */
.home-stat--certif {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  --sofit-h: 40px;
}
.home-stat--certif .home-stat__sofit {
  height: var(--sofit-h);
  margin-left: calc(var(--sofit-h) * -0.948);
  margin-bottom: 2px;
}
.home-stat--certif .home-stat__finma {
  /* calé sur la hauteur du mot SO-FIT du logo */
  font-size: calc(var(--sofit-h) * 0.6);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1;
}
.home-stat--certif .home-stat__label {
  line-height: 1.5;
}
.home-stat__finma {
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}

/* ═══════════════════════════════════════
   HOME PAGE — NOS SERVICES
═══════════════════════════════════════ */
.home-services {
  background: var(--white);
  width: 100%;
  padding: 80px 160px;
}
.home-services__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.home-services__title {
  font-size: 50px;
  font-weight: 500;
  color: var(--blue);
}
.home-services__intro {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--blue);
  text-align: justify;
}
.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
}
.home-service-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}
.home-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.home-service-card:hover .home-service-card__img img {
  transform: scale(1.04);
}
.home-service-card__label {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
}
.home-service-card__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text, #4a4a4a);
}

/* ═══════════════════════════════════════
   HOME PAGE — CITATION
═══════════════════════════════════════ */
.home-citation {
  position: relative;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.home-citation__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-citation__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-citation__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
}
.home-citation__card {
  position: relative;
  z-index: 2;
  background: var(--blue-alpha);
  border-radius: 16px;
  padding: 32px 44px 36px;
  margin: 0 0 44px 160px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-citation__qmark {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  opacity: 0.8;
}
.home-citation__card blockquote {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--white);
  font-style: normal;
}
.home-citation__attribution {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
}

.address-box {
  color: white;
  font-size: 25px;
}
.address-box p {
  margin-bottom: 25px;
}
.address-box p strong {
  font-size: 30px;
}

/* ═══════════════════════════════════════
   HOME PAGE — RESPONSIVE ≤768px
═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .home-hero {
    height: 340px;
    align-items: flex-end;
  }
  .home-hero__card {
    margin: 0 16px 24px;
    padding: 22px 24px;
    max-width: 100%;
  }
  .home-hero__card h1 {
    font-size: 26px;
  }

  /* Intro */
  .home-intro {
    padding: 44px 16px;
  }
  .home-intro__inner {
    max-width: 100%;
  }
  .home-intro__inner p {
    font-size: 17px;
  }

  /* Stats */
  .home-stats {
    padding: 40px 16px;
  }
  .home-stats__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-stat--logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  /* le logo déborde à gauche : on décale le bloc pour rester dans la marge */
  .home-stat--certif { padding-left: calc(var(--sofit-h) * 0.948); }
  .home-stat__num {
    font-size: 48px;
  }

  /* Services */
  .home-services {
    padding: 56px 16px;
  }
  .home-services__title {
    font-size: 32px;
  }
  .home-services__intro {
    font-size: 16px;
  }
  .home-services__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Citation */
  .home-citation {
    min-height: 280px;
  }
  .home-citation__card {
    margin: 0 16px 28px;
    padding: 22px 22px 28px;
    max-width: 100%;
  }
  .home-citation__card blockquote {
    font-size: 18px;
  }
  .home-citation__qmark {
    font-size: 38px;
  }
}


/* ═══════════════════════════════════════
   HOME PAGE — RESPONSIVE 769–1100px
═══════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1100px) {
  .home-hero__card  { margin-left: 40px; }
  .home-intro       { padding: 60px 40px; }
  .home-stats       { padding: 48px 40px; }
  .home-services    { padding: 70px 40px; }
  .home-citation__card { margin-left: 40px; }
}
/* ═══════════════════════════════════════
   TACTILE (pas de survol) — on affiche les deux états
═══════════════════════════════════════ */
@media (hover: none) {
  .circle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  .circle p { grid-area: auto; }
  .circle .circle__label { font-size: 16px; }
  .circle .circle__def {
    opacity: 1;
    color: var(--blue);
    font-size: 12px;
  }
  .circle:hover { background: transparent; }
  .circle:hover .circle__label { opacity: 1; color: var(--blue); }

  .flip-card { background: var(--blue); }
  .flip-face { grid-area: auto; }
  .flip-face--dont {
    opacity: 1;
    background: var(--grey-light);
  }
  .flip-card:hover { background: var(--blue); }
  .flip-card:hover .flip-face--do { opacity: 1; }

  .concept-card:hover { background: var(--grey-light); }
  .concept-card:hover .concept-card__title,
  .concept-card:hover .concept-card__line { color: var(--blue); }
}
