﻿:root {
  --bleu: #0e2a4a;
  --bleu-vif: #1a4f8a;
  --bleu-doux: #4a6f93;
  --rouge: #c62828;
  --ivoire: #f6f3ee;
  --brume: #e8eef5;
  --texte: #1a2433;
  --mute: #5a6b7d;
  --ligne: rgba(14, 42, 74, 0.12);
  --blanc: #ffffff;
  --ombre: 0 18px 50px rgba(14, 42, 74, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 72rem;
  --header-h: 4.25rem;
  --radius: 0;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--texte);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 79, 138, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 40, 40, 0.05), transparent 45%),
    linear-gradient(180deg, #fbfaf8 0%, var(--brume) 40%, #f7f5f1 100%);
  min-height: 100vh;
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--bleu-vif);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 248, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
}

.header-inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.lang-switch a {
  color: var(--bleu-doux);
  padding: 0.25rem 0.15rem;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--bleu);
}

.lang-switch a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 2.4vw, 1.05rem);
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--bleu);
  line-height: 1.15;
}

.brand-name .fr { color: var(--bleu); }
.brand-name .intl { color: var(--bleu-doux); }
.brand-name .biz { color: var(--rouge); }

.brand-short {
  display: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--bleu);
}

.brand-short .biz { color: var(--rouge); }

@media (max-width: 520px) {
  .brand-name { display: none; }
  .brand-short { display: inline; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--ligne);
  background: var(--blanc);
  color: var(--bleu);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 0.95rem 0.25rem;
  color: var(--bleu-doux);
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ligne);
}

.nav a:hover,
.nav a.active {
  color: var(--bleu);
}

.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--blanc);
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--ligne);
  box-shadow: var(--ombre);
  animation: drop 0.28s ease;
}

@keyframes drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--blanc);
  overflow: hidden;
  background: var(--bleu) center / cover no-repeat;
  background-image:
    linear-gradient(180deg, rgba(8, 24, 44, 0.25) 0%, rgba(8, 24, 44, 0.45) 42%, rgba(8, 24, 44, 0.9) 100%),
    url("../assets/hero-fib.jpg");
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(2.5rem, 8vh, 4.5rem);
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 12ch;
  animation: rise 0.9s ease both;
}

.hero-brand .dot {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.hero-brand .biz {
  color: #ff8a80;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.95);
  animation: rise 0.9s ease 0.1s both;
}

.hero p {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  animation: rise 0.9s ease 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.26s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--blanc);
  color: var(--bleu);
}

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

.btn-ghost {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-solid {
  background: var(--bleu);
  color: var(--blanc);
}

.btn-solid:hover {
  background: var(--bleu-vif);
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(232, 238, 245, 0.7));
}

.section-ink {
  background: var(--bleu);
  color: var(--blanc);
}

.section-ink h2,
.section-ink .lead {
  color: var(--blanc);
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rouge);
}

.section h2,
.page-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bleu);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1rem;
  color: var(--mute);
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  max-width: 40rem;
}

.lead:last-child {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.center .lead,
.center .roles {
  margin-inline: auto;
}

.roles {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 36rem;
  display: grid;
  gap: 0.85rem;
}

.roles li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.1rem;
  border-top: 1px solid var(--ligne);
  color: var(--texte);
  font-size: 1.02rem;
}

.roles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--rouge);
}

/* —— Axis blocks —— */
.axis {
  display: grid;
  gap: 1.25rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.axis-media {
  overflow: hidden;
  background: #cfd8e3;
  min-height: 14rem;
}

.axis-media img,
.project-media img,
.news-item img,
.team-shot img,
.mosaic img {
  image-rendering: auto;
}

.axis-media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  max-height: 28rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.axis:hover .axis-media img {
  transform: scale(1.03);
}

.axis h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  color: var(--bleu);
}

.axis p {
  margin: 0;
  color: var(--mute);
  max-width: 36rem;
}

/* —— Pillars —— */
.pillars {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.pillar {
  padding-top: 1.25rem;
  border-top: 2px solid var(--bleu);
}

.pillar h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bleu);
}

.pillar p {
  margin: 0;
  color: var(--mute);
}

/* —— Band CTA —— */
.band {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--blanc);
  padding: 3.5rem 1.25rem;
  background: var(--bleu) center / cover no-repeat;
  background-image:
    linear-gradient(rgba(8, 24, 44, 0.62), rgba(8, 24, 44, 0.72)),
    url("../assets/terrain-fib.jpg");
}

.band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--blanc);
}

.band p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 28rem;
}

/* —— Quotes —— */
.quotes {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote {
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--rouge);
}

.quote p {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--bleu);
  line-height: 1.45;
}

.quote span {
  color: var(--mute);
  font-size: 0.92rem;
  font-weight: 500;
}

.quote-hero {
  min-height: 20rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
  color: var(--blanc);
  background: var(--bleu) center / cover no-repeat;
  background-image:
    linear-gradient(rgba(10, 30, 55, 0.68), rgba(10, 30, 55, 0.78)),
    url("../assets/education-fib.jpg");
}

.quote-hero blockquote {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.3;
}

.quote-hero cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* —— Contact —— */
.contact {
  text-align: center;
}

.contact-list {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list a,
.contact-list span {
  display: block;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  color: var(--bleu);
  font-weight: 500;
  word-break: break-word;
}

.contact-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* —— Footer —— */
.footer {
  padding: 1.75rem 0;
  background: #0a1a2e;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

/* —— Inner pages —— */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(2.5rem, 6vw, 3.5rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14, 42, 74, 0.94), rgba(26, 79, 138, 0.85)),
    url("../assets/panel-fib.jpg") center / cover;
  color: var(--blanc);
}

.kicker.light {
  color: #ffb4ae;
}

.page-hero h1 {
  color: var(--blanc);
  margin-bottom: 0.65rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.page-hero.tone-news {
  background:
    linear-gradient(135deg, rgba(14, 42, 74, 0.92), rgba(14, 42, 74, 0.7)),
    url("../assets/terrain-fib.jpg") center / cover;
}

.page-hero.tone-projets {
  background:
    linear-gradient(135deg, rgba(14, 42, 74, 0.92), rgba(26, 79, 138, 0.75)),
    url("../assets/panel-fib.jpg") center / cover;
}

.page-hero.tone-direction {
  background:
    linear-gradient(135deg, rgba(14, 42, 74, 0.93), rgba(14, 42, 74, 0.75)),
    url("../assets/photo-equipe.jpg") center / cover;
}

.fib-mark {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.5rem;
}

.fib-mark .f { color: #8ec0ff; }
.fib-mark .i { color: rgba(255, 255, 255, 0.55); }
.fib-mark .b { color: #ff8a80; }

.slogan {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.8rem);
  color: var(--blanc);
}

.project {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--ligne);
}

.project:last-child {
  border-bottom: 0;
}

.project h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--bleu);
}

.project p {
  margin: 0 0 1.25rem;
  color: var(--mute);
}

.project-media {
  overflow: hidden;
  background: #d7dee8;
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mosaic {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.mosaic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aide-mosaic {
  grid-template-columns: 1fr 1fr;
  margin: 1.75rem 0 1.25rem;
}

.aide-note {
  margin-top: 0.5rem;
}

.dual-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.dual-card h3 {
  margin: 1rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bleu);
}

.dual-card p {
  margin: 0;
  color: var(--mute);
}

.dual-card .axis-media,
.dual-card .axis-media img {
  min-height: 14rem;
  max-height: 18rem;
}

.news-list {
  display: grid;
  gap: 2.25rem;
}

.news-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0.9rem;
  background: #d7dee8;
}

.news-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--bleu);
}

.news-item p {
  margin: 0;
  color: var(--mute);
}

.team-shot {
  margin-top: 1.5rem;
}

.team-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 20%;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: rise 0.75s ease both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-brand,
  .hero h1,
  .hero p,
  .hero-actions,
  .nav.open,
  .axis-media img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* —— Desktop —— */
@media (min-width: 840px) {
  body {
    font-size: 1.075rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    position: static;
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
    flex-direction: row;
  }

  .nav a {
    padding: 0.45rem 0.7rem;
    border: 0;
    font-size: 0.95rem;
  }

  .nav li:not(:last-child) a {
    border-right: 1px solid var(--ligne);
  }

  .hero {
    align-items: center;
  }

  .hero-inner {
    padding-block: 5rem;
  }

  .hero-brand {
    max-width: none;
  }

  .axis {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }

  .axis.reverse {
    grid-template-columns: 1fr 1.15fr;
  }

  .axis.reverse .axis-media {
    order: 2;
  }

  .axis-media,
  .axis-media img {
    min-height: 22rem;
    max-height: 26rem;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .quotes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .quote {
    padding-left: 1.1rem;
  }

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

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

  .aide-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .dual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .project-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
  }

  .news-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .hero-brand {
    font-size: 4.25rem;
  }
}


/* —— Content articles —— */
.article-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card h3 {
  margin: 0.9rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bleu);
}

.article-card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
}

.article-card .axis-media,
.article-card .axis-media img {
  min-height: 12rem;
  max-height: 16rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  border-top: 2px solid var(--bleu);
  background: rgba(255, 255, 255, 0.55);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rouge);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bleu);
}

.step p {
  margin: 0;
  color: var(--mute);
}

.long-text p {
  margin: 0 0 1rem;
  color: var(--mute);
  max-width: 46rem;
}

.long-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 840px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

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

  .step {
    padding-left: 1.25rem;
    padding-top: 3.2rem;
  }

  .step::before {
    left: 1.25rem;
    top: 1rem;
  }
}


/* —— Presentation video —— */
.video-block {
  margin-top: 1.75rem;
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0e2a4a;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0e2a4a;
}

.video-caption {
  margin: 0.85rem 0 0;
  color: var(--mute);
  font-size: 0.95rem;
  max-width: 40rem;
}

.video-teaser {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
}

.video-teaser-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0e2a4a;
}

.video-teaser-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-teaser-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 42, 74, 0.55));
  pointer-events: none;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(14, 42, 74, 0.35);
}

@media (min-width: 840px) {
  .video-teaser {
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
  }
}


/* —— Contact buttons —— */
.contact-list {
  gap: 0.75rem;
}

.contact-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.1rem;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #fff !important;
  border: none;
}

.contact-wa { background: #128c7e; }
.contact-wa:hover { background: #0e6e63; color: #fff !important; }

.contact-mail { background: var(--bleu); }
.contact-mail:hover { background: #0a2340; color: #fff !important; }

.contact-yt { background: #c4302b; }
.contact-yt:hover { background: #9e2420; color: #fff !important; }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}

.social-row a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.92rem;
}

.social-row a:hover { color: #fff; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(14, 42, 74, 0.28);
  border-radius: 999px;
}

.wa-float:hover {
  background: #1ebe57;
  color: #fff !important;
}

/* Team / founder */
.founder-card {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
  align-items: center;
}

.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
}

.founder-card h3 {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--bleu);
}

.founder-card > div > p:not(.kicker) {
  margin: 0 0 1rem;
  color: var(--mute);
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.team-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.team-card {
  padding: 1.1rem 1.15rem;
  border-top: 2px solid var(--bleu);
  background: rgba(255, 255, 255, 0.55);
}

.team-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bleu);
}

.team-card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}

@media (min-width: 840px) {
  .founder-card {
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
  }

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


.team-card-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 0.85rem;
  background: #e8eef5;
}

.team-grid-photos {
  margin-top: 2rem;
}

@media (min-width: 840px) {
  .team-grid-photos {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 839px) {
  .team-grid-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}


.news-item .news-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.9rem;
  background: #0e2a4a;
  overflow: hidden;
}

.news-item .news-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--mute);
}

.news-item .news-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--rouge);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-yt-head {
  margin-bottom: 0.25rem;
}

.yt-fallback[hidden] {
  display: none !important;
}

.yt-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  background: linear-gradient(135deg, #0e2a4a, #1a4f8a 55%, #c41e3a);
}


.yt-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.9rem;
  overflow: hidden;
  background: #0e2a4a;
  text-decoration: none !important;
}

.yt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  margin: 0 !important;
  transition: transform 0.35s ease;
}

.yt-card:hover img {
  transform: scale(1.03);
}

.yt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 42, 74, 0.45));
  pointer-events: none;
}

.yt-card .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}
