:root {
  --bg: #080f12;
  --bg-2: #0d171b;
  --surface: #112128;
  --text: #e4eef0;
  --muted: #8ba3a8;
  --accent: #1fb6a6;
  --accent-2: #46e0cf;
  --steel: #6f97a0;
  --border: #1d333a;
  --max: 1160px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; letter-spacing: 0.5px; line-height: 1.02; }

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

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

.center { text-align: center; }

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 600;
}
.section-eyebrow.center { display: block; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 17, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; letter-spacing: 1px; }
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f3efe9;
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(0,0,0,0.4);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand-name { line-height: 1; }
.brand-name-2 { color: var(--accent); margin-left: 6px; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* HERO */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(31, 182, 166, 0.20), transparent 60%),
    linear-gradient(160deg, #0c1a1f 0%, #04090b 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}
.hero-content { position: relative; max-width: 760px; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.4rem); margin: 14px 0 20px; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 40px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #1a1206; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 54px;
  padding-bottom: 54px;
  text-align: center;
}
.stat-num { font-family: "Bebas Neue", sans-serif; font-size: 3.4rem; color: var(--accent-2); display: block; line-height: 1; }
.stat-label { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; }

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 40px 24px 80px;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, #f6f2ec 0%, #e6ddd2 70%, #d8cdbf 100%);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 12%;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: contain; }

/* Tentacule seul, sans cadre, posé directement sur le fond de la section.
   Ratio plus haut (~1/1.65) pour l'étirer verticalement face au texte. */
.about-tentacle-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.65;
}
.about-tentacle-visual img {
  width: 82%;
  height: 100%;
  object-fit: fill;   /* remplit toute la hauteur -> effet étiré ~30% */
  filter: drop-shadow(0 0 26px rgba(70, 224, 207, 0.30));
  animation: tentacle-sway 12s ease-in-out infinite;
  transform-origin: center bottom;
}
.about-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; }
.about-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 0.95rem; }
.about-list li::before { content: "◆"; position: absolute; left: 0; color: var(--accent); font-size: 0.7rem; top: 4px; }

/* SECTION HEADINGS */
.gallery-section, .process, .contact { padding: 80px 0; }
.gallery-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gallery-section h2, .process h2, .contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 12px; }
.section-lead { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

/* FILTERS */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s;
}
.filter:hover { color: var(--text); border-color: var(--steel); }
.filter.is-active { background: var(--accent); color: #1a1206; border-color: var(--accent); }

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;   /* tuile carrée */
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* remplit la tuile, rognage centré */
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 55%);
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.gallery-more { text-align: center; margin-top: 34px; }

/* PROCESS */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}
.step-num { font-family: "Bebas Neue", sans-serif; font-size: 2.4rem; color: var(--accent); opacity: 0.7; }
.step h3 { font-size: 1.5rem; margin: 6px 0 10px; letter-spacing: 1px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* CONTACT */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.contact-text p { color: var(--muted); margin: 14px 0 20px; }
.contact-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.contact-links a { color: var(--accent-2); font-weight: 500; }
.contact-links a:hover { text-decoration: underline; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { margin-top: 12px; font-size: 0.9rem; color: var(--accent-2); min-height: 1.2em; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; gap: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f3efe9;
  object-fit: contain;
  padding: 2px;
}
.to-top:hover { color: var(--text); }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 6, 5, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-figure { max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
}
.lightbox-img img { max-width: 90vw; max-height: 78vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox-figure figcaption { color: var(--muted); margin-top: 12px; font-size: 0.9rem; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  transition: 0.2s;
}
.lightbox-close { top: 22px; right: 26px; width: 44px; height: 44px; font-size: 1.6rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); color: #1a1206; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-toggle { display: flex; }
  .about, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-list { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TECHNIQUES PAGE ===== */
.nav-links a.is-current { color: var(--accent); }

/* Sub-nav */
.sub-nav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(28, 24, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.sub-nav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-link {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 30px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.sub-link:hover { color: var(--text); border-color: var(--steel); }
.sub-link.active { color: var(--accent); border-color: var(--accent); }

/* Page hero */
.page-hero {
  padding: 70px 0 50px;
  background:
    radial-gradient(1000px 500px at 75% -20%, rgba(31, 182, 166, 0.18), transparent 60%),
    linear-gradient(160deg, #0c1a1f 0%, #04090b 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin: 12px 0 16px; }
.page-hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; }

/* Tech sections */
.tech-section { padding: 70px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 130px; }
.tech-section.alt { background: var(--bg-2); }
.tech-grid { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.tech-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.35;
}
/* Texte à gauche, média à droite aligné en haut — uniquement si la section a un média */
.tech-content:has(.tech-media) {
  display: grid;
  grid-template-columns: 1fr 320px;
  column-gap: 34px;
  align-items: start;
}
/* Tout le texte (titre, eyebrow, paragraphes, liste) reste dans la colonne de gauche */
.tech-content > .section-eyebrow,
.tech-content > h2,
.tech-content > p,
.tech-content > .tech-details { grid-column: 1; }
/* Le média occupe la colonne de droite, en haut, sur toute la hauteur du bloc */
.tech-content > .tech-media { grid-column: 2; grid-row: 1 / 999; }
.tech-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 18px; }
.tech-content p { color: var(--muted); margin-bottom: 16px; }
.tech-details {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
.tech-details li { color: var(--text); font-size: 0.95rem; }
.tech-details strong { color: var(--accent-2); font-weight: 600; }

/* Tech CTA */
.tech-cta { padding: 80px 0; text-align: center; }
.tech-cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.tech-cta p { color: var(--muted); }

@media (max-width: 760px) {
  .sub-nav { top: 68px; }
  .tech-grid { grid-template-columns: 1fr; gap: 8px; }
  .tech-number { font-size: 3rem; }
  .tech-content { grid-template-columns: 1fr; }
  .tech-content > .tech-media { grid-column: 1; grid-row: auto; }
  .tech-media {
    width: 100%;
    max-width: 420px;
    margin: 22px auto 0;
  }
}

/* Média illustratif dans une section technique — colonne de droite, aligné en haut */
.tech-media {
  width: 100%;
  margin: 8px 0 0;
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0b0a;
  box-shadow: var(--shadow);
}
.tech-media img,
.tech-media video {
  display: block;
  width: 100%;
  height: auto;
}
.tech-media figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

/* Section processus : étapes à gauche, vidéo à droite */
.process-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: start;
  margin-top: 40px;
}
.process-layout .steps { margin-top: 0; grid-template-columns: 1fr 1fr; }

/* Vidéo illustrant le processus (page d'accueil) */
.process-media {
  margin: 0;
  width: 320px;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0b0a;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.process-media video { display: block; width: 100%; height: auto; }
.process-media figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (max-width: 980px) {
  .process-layout { grid-template-columns: 1fr; gap: 28px; }
  .process-media { width: 100%; max-width: 410px; margin: 0 auto; position: static; }
}

/* ===================================================================
   ESTHÉTIQUE KRAKEN — tentacules filigranes, profondeurs, vagues
   =================================================================== */

/* Fond « profondeurs » + rais de lumière dans le hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(70, 224, 207, 0.10) 0%, transparent 22%),
    linear-gradient(80deg, transparent 60%, rgba(111, 151, 160, 0.10) 78%, transparent 92%),
    radial-gradient(900px 700px at 20% 120%, rgba(12, 45, 55, 0.65), transparent 70%);
  z-index: 0;
}

/* Grand tentacule filigrane dans le hero (côté droit) — vrai tentacule teinté */
.hero-tentacle {
  position: absolute;
  right: -30px;
  bottom: -30px;
  height: 108%;
  width: 380px;
  background: url("images/tentacules/t1-teal.png") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 22px rgba(70, 224, 207, 0.4));
  animation: tentacle-sway 12s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes tentacle-sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50%      { transform: rotate(-2.5deg) translateY(-8px); }
}
.hero-content { position: relative; z-index: 1; }

/* Tentacule fantôme dans le pied de page */
.site-footer { position: relative; overflow: hidden; }
.footer-tentacle {
  position: absolute;
  left: -40px;
  bottom: -50px;
  height: 200%;
  width: 300px;
  background: url("images/tentacules/t6-teal.png") no-repeat center / contain;
  opacity: 0.28;
  transform: scaleX(-1);       /* miroir pour varier du hero */
  pointer-events: none;
  z-index: 0;
}
.footer-inner { position: relative; z-index: 1; }

/* Séparateurs en vagues entre les grandes sections */
.gallery-section,
.contact { position: relative; }
.gallery-section::before,
.contact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 26px;
  transform: translateY(-100%);
  background: var(--bg-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 20 6 40 6 60 16 C 80 26 100 26 120 10 L120 26 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 26px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 20 6 40 6 60 16 C 80 26 100 26 120 10 L120 26 Z'/%3E%3C/svg%3E") repeat-x bottom / 120px 26px;
  pointer-events: none;
}

/* Remous (ondes) discrets en fond de la barre de stats */
.stats { position: relative; }
.stats::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 260px;
  height: 60px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, transparent 68%, rgba(138,145,153,0.18) 70%, transparent 72%),
    radial-gradient(closest-side, transparent 78%, rgba(138,145,153,0.12) 80%, transparent 82%);
  pointer-events: none;
}

/* Sur mobile, on allège les décors pour rester lisible */
@media (max-width: 760px) {
  .hero-tentacle { opacity: 0.30; right: -60px; height: 90%; }
  .footer-tentacle { display: none; }
}

/* ===================================================================
   TENTACULES EN FILIGRANE DANS LE FOND DE PLUSIEURS SECTIONS
   (réutilise images/tentacule-bg.svg, cadrés/pivotés différemment)
   =================================================================== */

/* Chaque section concernée devient un contexte de positionnement.
   overflow: clip masque le débordement horizontal SANS couper le
   séparateur en vagues qui dépasse vers le haut (contrairement à hidden). */
.about,
.gallery-section,
.process,
.contact { position: relative; overflow-x: clip; }

/* Le contenu de ces sections doit passer au-dessus des tentacules */
.about > *,
.gallery-section > .container,
.process > .container,
.contact > .container { position: relative; z-index: 1; }

/* Motif commun : le PNG du tentacule sert de MASQUE, rempli en vert d'eau.
   Cela teinte exactement le trait sans afficher de rectangle. */
.about::after,
.gallery-section::after,
.process::after,
.contact::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* À propos : tentacule en forme de 8 (t4), en bas à droite */
.about::after {
  width: 300px; height: 400px;
  right: -60px; bottom: -80px;
  opacity: 0.3;
  transform: rotate(12deg);
  background-image: url("images/tentacules/t4-teal.png");
}

/* Galerie : tentacule spiralé (t2), en haut à gauche, en miroir */
.gallery-section::after {
  width: 260px; height: 350px;
  left: -70px; top: -50px;
  opacity: 0.28;
  transform: scaleX(-1) rotate(-8deg);
  background-image: url("images/tentacules/t2-teal.png");
}

/* Processus : grand tentacule enroulé (t8), côté droit */
.process::after {
  width: 330px; height: 450px;
  right: -100px; top: 30px;
  opacity: 0.28;
  transform: rotate(-4deg);
  background-image: url("images/tentacules/t8-teal.png");
}

/* Contact : tentacule courbe (t9), en bas à gauche, en miroir */
.contact::after {
  width: 300px; height: 400px;
  left: -80px; bottom: -90px;
  opacity: 0.3;
  transform: scaleX(-1) rotate(8deg);
  background-image: url("images/tentacules/t9-teal.png");
}

/* Sur petit écran, on réduit / masque pour rester lisible */
@media (max-width: 760px) {
  .about::after,
  .process::after { display: none; }
  .gallery-section::after,
  .contact::after { opacity: 0.08; width: 200px; height: 270px; }
}

/* Diaporama (fondu enchaîné) dans un média de section technique */
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;   /* hauteur cohérente entre les 2 photos */
}
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.slideshow img.is-active {
  opacity: 1;
}
