/* ============================================================
   VERHELIA — Charte graphique v3 (juillet 2026)
   Navy dominant, Petrol accent uniquement, Inter
   ============================================================ */

:root {
  --navy: #0F3A5E;
  --navy-deep: #0B2C48;
  --petrol: #0B7A6E;
  --gray-bg: #EEF1F3;
  --text: #1E2A33;
  --text-2: #60707E;
  --border: #E3E9EF;
  --white: #FFFFFF;
  --radius: 6px;
  --maxw: 1120px;
  --font: 'Inter', 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }

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

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--petrol); }

.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--petrol);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--navy-deep); color: var(--white) !important; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
  content: '';
  display: block;
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}

.burger span { top: 19px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }

.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(7px) rotate(45deg); }
.burger.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg stroke='%23FFFFFF' stroke-width='1' fill='none' opacity='0.05'%3E%3Cpath d='M40 380 L40 220 L140 120 L140 40'/%3E%3Cpath d='M110 380 L110 260 L210 160 L210 60'/%3E%3Cpath d='M300 380 L300 240 L380 160'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' opacity='0.10'%3E%3Ccircle cx='140' cy='40' r='3'/%3E%3Ccircle cx='210' cy='60' r='3'/%3E%3Ccircle cx='380' cy='160' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -40px bottom -60px;
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 760px;
}

.hero .lead {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  font-weight: 400;
}

.hero .cta-row { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: #096157; }

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }

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

/* Bandeau partenaires sous le hero */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trust-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--petrol);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 88px 0; }
.section.gray { background: var(--gray-bg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 18px;
}

/* Signature : trace de circuit terminée par un nœud */
.eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--petrol);
  border-radius: 1px;
}

.eyebrow::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--petrol);
  margin-left: -8px;
}

h2.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 720px;
}

.section-lead {
  margin-top: 18px;
  font-size: 17.5px;
  color: var(--text-2);
  max-width: 720px;
}

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.cards {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.section.gray .card { border-color: transparent; box-shadow: 0 1px 3px rgba(15, 58, 94, 0.06); }

.card:hover { border-color: var(--petrol); transform: translateY(-2px); }

.card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p { font-size: 15.5px; color: var(--text); }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--petrol);
}

.card .card-link::after { content: '→'; transition: transform 0.2s; }
.card:hover .card-link::after { transform: translateX(3px); }

/* ------------------------------------------------------------
   Méthode / étapes
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step { padding: 0 8px; }

.step .step-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.step .step-name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--petrol);
}

.step p { font-size: 15.5px; color: var(--text-2); }

/* ------------------------------------------------------------
   Bloc double (serveur : clos / connecté)
   ------------------------------------------------------------ */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.duo-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--white);
}

.duo-block.accent { border-top: 3px solid var(--navy); }
.duo-block.accent-2 { border-top: 3px solid var(--petrol); }

.duo-block h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.duo-block p { font-size: 15.5px; }

/* ------------------------------------------------------------
   Listes descriptives (agents, paliers, formats)
   ------------------------------------------------------------ */
.desc-list { margin-top: 44px; display: grid; gap: 0; }

.desc-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.desc-item:first-child { border-top: 1px solid var(--border); }

.desc-item .desc-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}

.desc-item .desc-name .sub {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--petrol);
  margin-top: 4px;
}

.desc-item p { font-size: 15.5px; color: var(--text); }

/* ------------------------------------------------------------
   Bande de conviction / citation
   ------------------------------------------------------------ */
.statement {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
}

.statement .container { max-width: 860px; }

.statement p {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.statement .attribution {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ------------------------------------------------------------
   CTA final
   ------------------------------------------------------------ */
.final-cta { padding: 88px 0; background: var(--gray-bg); text-align: center; }

.final-cta h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.final-cta p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--text-2);
  font-size: 17px;
}

.final-cta .btn { margin-top: 32px; }

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

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.team-card .role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 8px;
}

.team-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.team-card p { font-size: 15px; color: var(--text); }

/* ------------------------------------------------------------
   Contact / formulaire
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  margin-top: 48px;
}

.contact-form { display: grid; gap: 18px; }

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

.contact-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--petrol);
  outline-offset: 1px;
  border-color: var(--petrol);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-info h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.contact-info p { font-size: 15.5px; color: var(--text); margin-bottom: 24px; }
.contact-info a { color: var(--petrol); font-weight: 600; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .baseline {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-brand .motto {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-logo-white { font-weight: 700; font-size: 18px; color: var(--white); letter-spacing: 0.04em; }

/* ------------------------------------------------------------
   Reveal au scroll
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .cards.cols-3, .team, .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }

  .cards.cols-3, .cards.cols-2, .team, .steps, .duo { grid-template-columns: 1fr; }
  .desc-item { grid-template-columns: 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 28px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 58, 94, 0.08);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; font-size: 16px; }
  .main-nav .nav-cta { margin-top: 12px; text-align: center; }

  .burger { display: block; }
}


/* ------------------------------------------------------------
   Images
   ------------------------------------------------------------ */
.trust-item img { height: 34px; width: auto; display: block; }
.trust-item.pep { font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: 0.03em; text-transform: uppercase; }

.img-frame {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 58, 94, 0.10);
  background: var(--white);
}
.img-frame img { width: 100%; display: block; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.split .img-frame { margin-top: 0; }

.photo-banner {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.photo-banner img { width: 100%; display: block; max-height: 460px; object-fit: cover; }
.photo-credit {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.flag-inline { height: 26px; width: auto; display: inline-block; vertical-align: middle; margin-left: 10px; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .trust-item img { height: 26px; }
}

.trust-item .trust-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-left: 10px; }


/* ============================================================
   V4 — Refonte avant-gardiste de la home
   ============================================================ */

/* Header : logo French Tech en haut à droite */
.header-right { display: flex; align-items: center; gap: 20px; }
.header-ft { height: 46px; width: auto; display: block; }

/* Hero v2 : typographie XXL + fond animé */
.hero-v2 {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #124569 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
}

#memory-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

.hero-v2 .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--petrol);
}

.hero-v2 h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 900px;
}

.hero-rotator {
  margin-top: 26px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  min-height: 1.5em;
}
.hero-rotator .rot-prefix { color: rgba(255, 255, 255, 0.55); }
.hero-rotator .rot-word {
  color: #7FD4C9;
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-rotator .rot-word.out { opacity: 0; transform: translateY(8px); }

.hero-v2 .lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
}

.hero-v2 .cta-row { margin-top: 40px; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Bandeau confiance : logos plus grands */
.trust-bar { padding: 26px 0; }
.trust-inner { gap: 56px; }
.trust-item img { height: 44px; }
.trust-item img.ft-big { height: 64px; }

/* Constat éditorial : label à gauche, très grand texte à droite */
.editorial {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: stretch;
}
.editorial .ed-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
  padding-top: 10px;
  border-top: 2px solid var(--petrol);
}
.editorial .ed-text {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.editorial .ed-text em { font-style: normal; color: var(--petrol); }
.editorial .ed-sub {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 640px;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.bento-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.bento-tile:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,58,94,0.10); }
.bento-tile h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.bento-tile p { font-size: 15.5px; color: var(--text); }
.bento-tile .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--petrol); }
.bento-tile .card-link::after { content: '→'; transition: transform 0.2s; }
.bento-tile:hover .card-link::after { transform: translateX(3px); }

.bento-tile.b-plateforme { grid-column: span 4; grid-row: span 2; }
.bento-tile.b-cyber { grid-column: span 2; grid-row: span 2; }
.bento-tile.b-small { grid-column: span 2; padding: 26px 28px; background: var(--navy); border-color: var(--navy); }
.bento-tile.b-small h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.bento-tile.b-small p { font-size: 14px; color: rgba(255,255,255,0.72); }
.bento-tile.b-small:hover { border-color: var(--petrol); }

.bento-shot {
  margin: 26px -30px -34px;
  border-top: 1px solid var(--border);
  background: var(--gray-bg);
  flex-grow: 1;
}
.bento-shot img { width: 100%; display: block; }

/* Cadre navigateur pour les captures */
.browser-frame {
  max-width: 860px;
  margin: 56px auto 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 58, 94, 0.14);
  background: var(--white);
}
.browser-frame .bf-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--border);
}
.browser-frame .bf-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D3DCE3; }
.browser-frame img { width: 100%; display: block; }

/* Marquee */
.marquee {
  background: var(--navy);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.marquee-track .m-dot { color: var(--petrol); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Méthode v2 : parcours relié par la trace circuit */
.method-flow { margin-top: 64px; position: relative; }
.method-line {
  position: absolute;
  top: 27px; left: 0; right: 0;
  height: 2px;
}
.method-line svg { width: 100%; height: 2px; display: block; }
.method-line path { stroke: var(--border); stroke-width: 2; }
.method-line path.draw { stroke: var(--petrol); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease; }
.method-line.visible path.draw { stroke-dashoffset: 0; }

.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.m-step { padding-top: 0; }
.m-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--petrol);
  color: var(--petrol);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.m-step:hover .m-node { background: var(--petrol); color: var(--white); transform: scale(1.06); }
.m-step h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.01em; }
.m-step p { font-size: 15.5px; color: var(--text-2); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-tile.b-plateforme, .bento-tile.b-cyber { grid-column: span 2; grid-row: auto; }
  .bento-tile.b-small { grid-column: span 1; }
  .editorial { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .hero-v2 { padding: 84px 0 72px; }
  .header-ft { height: 36px; }
  .trust-inner { gap: 28px; }
  .trust-item img { height: 34px; }
  .trust-item img.ft-big { height: 48px; }
  .bento-tile.b-small { grid-column: span 2; }
  .method-line { display: none; }
  .method-steps { grid-template-columns: 1fr; }
}


/* Logo header : V + wordmark */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-v { height: 38px; width: auto; display: block; }
.logo-word { font-weight: 700; font-size: 19px; letter-spacing: 0.06em; color: var(--navy); }

/* Cadre vidéo de marque */
.brand-motion {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 58, 94, 0.15);
  border: 1px solid var(--border);
  background: var(--white);
}
.brand-motion video, .brand-motion img { width: 100%; display: block; }

.editorial.with-media { grid-template-columns: 220px 1fr 340px; }
@media (max-width: 960px) {
  .editorial.with-media { grid-template-columns: 1fr; }
  .editorial.with-media .brand-motion { max-width: 340px; }
}

/* Réseau animé : hero et ambiance de page */
.net-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}
.ambient-net {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

/* Header compact : plus de chevauchement */
.header-inner { gap: 24px; }
.logo { flex-shrink: 0; }
.logo-word { font-size: 18px; }
.main-nav { gap: 22px; flex-wrap: nowrap; }
.main-nav a { font-size: 14px; white-space: nowrap; }
.nav-cta { white-space: nowrap; }
.header-ft { flex-shrink: 0; }

/* Hero en deux colonnes : texte + badge French Tech */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}
.hero-side { display: flex; justify-content: center; }
.ft-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.ft-card img { width: 190px; height: auto; margin: 0 auto 14px; }
.ft-card span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { justify-content: flex-start; }
  .ft-card img { width: 150px; }
}

/* Preuve terrain : verticales + compteurs */
.verticals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.verticals span {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
}
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.counter strong {
  display: block;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
}
.counter span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}
.method-signature {
  margin-top: 48px;
  padding: 22px 28px;
  border-left: 3px solid var(--petrol);
  background: var(--gray-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--navy);
  max-width: 720px;
}
@media (max-width: 720px) {
  .counters { grid-template-columns: 1fr; gap: 28px; }
}

/* Micro-dialogue de la tuile plateforme */
.dialogue {
  background: var(--gray-bg);
  border-left: 3px solid var(--petrol);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 18px;
  min-height: 96px;
  transition: opacity 0.35s ease;
}
.dialogue.out { opacity: 0; }
.dialogue .dlg-q { font-weight: 600; color: var(--navy); font-size: 15.5px; margin-bottom: 6px; }
.dialogue .dlg-a { font-size: 14.5px; color: var(--text-2); }

/* Note accord de confidentialité */
.nda-note {
  margin-top: 24px;
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--petrol);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--petrol);
  background: rgba(11, 122, 110, 0.05);
}

/* ============================================================
   V5 — Embellissement : encre, laiton, profondeur, motion
   ============================================================ */
:root {
  --brass: #B08D57;
  --ink: #14324E;
}

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--petrol), #7FD4C9);
  z-index: 200;
}

/* Entrée du hero : lignes qui montent */
.hero-v2 h1 .line {
  display: block;
  overflow: hidden;
}
.hero-v2 h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-v2 h1 .line:nth-child(2) span { animation-delay: 0.12s; }
@keyframes lineUp { to { transform: translateY(0); } }

/* Reveal en cascade */
.reveal { transition-delay: calc(var(--stagger, 0) * 90ms); }

/* Ornement d'encre : coin de section, tracé fin irrégulier laiton/petrole */
.ink-corner {
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.5;
}
.ink-corner.tr { top: 24px; right: 24px; }
.ink-corner.bl { bottom: 24px; left: 24px; transform: rotate(180deg); }
.ink-corner path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ink-corner.visible path { animation: inkDraw 2.2s ease forwards; }
.ink-corner.visible path:nth-child(2) { animation-delay: 0.3s; }
.ink-corner.visible path:nth-child(3) { animation-delay: 0.6s; }
@keyframes inkDraw { to { stroke-dashoffset: 0; } }

section { position: relative; }

/* Parallaxe douce */
.parallax { will-change: transform; transition: transform 0.1s linear; }

/* Compteurs */
.counter strong { font-variant-numeric: tabular-nums; }

/* Halo au survol des tuiles bento */
.bento-tile::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--petrol), transparent 40%, transparent 60%, var(--brass));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.bento-tile:hover::before { opacity: 1; }

/* Boutons : reflet discret */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn:hover::after { left: 130%; }

/* Fondu de transition entre sections navy et claires */
.statement { position: relative; }
.statement::before, .statement::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  pointer-events: none;
}

/* Placeholder d'illustration sur mesure */
.illu-placeholder {
  border: 1.5px dashed var(--brass);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(176, 141, 87, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(11, 122, 110, 0.05), transparent 50%),
    var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
  min-height: 300px;
  gap: 12px;
}
.illu-placeholder svg { opacity: 0.7; }
.illu-placeholder .ph-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.illu-placeholder .ph-desc {
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 380px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2 h1 .line span { animation: none; transform: none; }
  .ink-corner path { animation: none !important; stroke-dashoffset: 0 !important; }
  .parallax { transform: none !important; }
  .btn::after { display: none; }
}

/* Hook en taille contenue */
.hero-v2 h1.h1-compact {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  max-width: 820px;
}

/* Features en vis-à-vis, style éditorial */
.feature.split { align-items: center; }
.feature .section-title em.accent { font-style: italic; color: var(--petrol); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips span { padding: 8px 16px; background: rgba(11, 122, 110, 0.08); border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--petrol); }
.section.gray .chips span { background: rgba(11, 122, 110, 0.1); }
@media (max-width: 720px) { .feature.split.reverse { display: flex; flex-direction: column-reverse; } }

/* Intégration WordPress : formulaire et maillage SEO conservé. */
.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
}

.form-notice.success {
  color: #0b5b52;
  background: #e5f4f1;
  border: 1px solid #b9ded8;
}

.form-notice.error {
  color: #7a2330;
  background: #fff0f1;
  border: 1px solid #efc5ca;
}

.footer-resources {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-resources nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-resources a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.45;
}

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

.footer-resources details { margin-top: 18px; }

.footer-resources summary {
  width: fit-content;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.footer-resources .footer-resources-all {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
  margin-top: 18px;
}

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

/* Les pages éditoriales historiques gardent leur contenu SEO dans la charte V2. */
.vh-seo-page .vh-container {
  width: min(calc(100% - 56px), var(--maxw));
  margin-inline: auto;
}

.vh-seo-page .vh-seo-hero {
  padding: 72px 0 64px;
  background: var(--navy);
  color: var(--white);
}

.vh-seo-page .vh-seo-hero h1 {
  max-width: 900px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.vh-seo-page .vh-seo-hero .vh-lead {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.vh-seo-page .vh-section { padding: 72px 0; }

.vh-seo-page .vh-section.alt { background: var(--gray-bg); }

.vh-seo-page .vh-section.dark {
  background: var(--navy);
  color: var(--white);
}

.vh-seo-page .vh-cta,
.vh-seo-page .vh-secondary {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--petrol);
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 720px) {
  .vh-seo-page .vh-container { width: min(calc(100% - 36px), var(--maxw)); }
}

/* Hero plus bas, réseau plus présent, hooks contenus */
.hero { padding: 64px 0 56px; }
.hero-v2 { padding: 72px 0 64px; }
.net-hero { opacity: 0.55; }
.hero h1 { font-size: clamp(27px, 3.4vw, 40px); }
.hero-v2 h1 { font-size: clamp(28px, 3.8vw, 44px); }
.hero-v2 h1.h1-compact { font-size: clamp(26px, 3.4vw, 40px); }
.hero .lead, .hero-v2 .lead { font-size: 16.5px; }

/* Cas métier : bénéfices et preuve de valeur immédiatement lisibles. */
.use-cases-section .section-lead { max-width: 760px; }

.use-case-slider {
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid rgba(19, 52, 59, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(18, 38, 43, 0.07);
}

.use-case-slider__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 8px 16px 8px 24px;
  border-bottom: 1px solid rgba(19, 52, 59, 0.1);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
}

.use-case-slider__count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-case-slider__count strong { color: var(--petrol); }

.use-case-slider__controls { display: flex; gap: 8px; }

.use-case-slider__controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(19, 52, 59, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.use-case-slider__controls button:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.use-case-slider__controls button:disabled {
  opacity: 0.32;
  cursor: default;
}

.use-case-slide__header {
  position: relative;
  padding: clamp(28px, 3.4vw, 38px);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.use-case-slide__header::after {
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 120px rgba(255, 255, 255, 0.018);
  content: '';
}

.use-case-slide__sector,
.use-case-slide__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.use-case-slide__sector { color: #8ed6ca; }

.use-case-slide__header h3 {
  position: relative;
  z-index: 1;
  max-width: 830px;
  margin-top: 12px;
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.16;
}

.use-case-slide__header p {
  position: relative;
  z-index: 1;
  max-width: 730px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15.5px;
  line-height: 1.55;
}

.use-case-slide__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(145deg, rgba(19, 52, 59, 0.025), rgba(20, 120, 111, 0.055));
}

.use-case-flip {
  min-width: 0;
  height: 252px;
  perspective: 1100px;
}

.use-case-flip__button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.use-case-flip__button:focus-visible {
  outline: 3px solid rgba(20, 120, 111, 0.4);
  outline-offset: 3px;
}

.use-case-flip__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.use-case-flip.is-flipped .use-case-flip__inner { transform: rotateY(180deg); }

.use-case-flip__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(19, 52, 59, 0.1);
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 6px 20px rgba(18, 38, 43, 0.07);
}

.use-case-flip__front {
  background: var(--white);
  color: var(--navy);
}

.use-case-flip__back {
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  transform: rotateY(180deg);
}

.use-case-slide__label {
  margin-bottom: 16px;
  color: var(--petrol);
}

.use-case-flip__back .use-case-slide__label { color: #8ed6ca; }

.use-case-flip__face > strong {
  display: block;
  font-size: 20px;
  line-height: 1.28;
}

.use-case-flip__face > span:not(.use-case-slide__label):not(.use-case-flip__hint) {
  font-size: 14.5px;
  line-height: 1.5;
}

.use-case-flip--benefit .use-case-flip__front {
  border-color: rgba(20, 120, 111, 0.24);
  background: rgba(20, 120, 111, 0.055);
}

.use-case-flip--proof .use-case-flip__front {
  border-color: var(--petrol);
  background: var(--petrol);
  color: var(--white);
}

.use-case-flip--proof .use-case-flip__front .use-case-slide__label { color: rgba(255, 255, 255, 0.72); }

.use-case-flip__metric {
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
}

.use-case-flip__metric + span { margin-top: 10px; }

.use-case-flip__hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--petrol);
  font-size: 11px;
  font-weight: 700;
}

.use-case-flip__back .use-case-flip__hint,
.use-case-flip--proof .use-case-flip__front .use-case-flip__hint { color: rgba(255, 255, 255, 0.72); }

.use-case-flip__back small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .use-case-flip:hover .use-case-flip__inner { transform: rotateY(180deg); }
}

@media (max-width: 960px) {
  .use-case-slide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-case-flip { height: 225px; }
}

@media (max-width: 720px) {
  .use-case-slider { margin-top: 28px; }
  .use-case-slider__topbar { padding-left: 20px; }
  .use-case-slide__grid { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .use-case-flip { height: 210px; }
  .use-case-flip__face { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .use-case-flip__inner { transition: none; }
}
