/* ==========================================================================
   TREND7 — feuille de style unique (v3)
   Titres : Plus Jakarta Sans · Texte : Public Sans
   Palette : bleu / corail, sur fond marine et blanc
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --ink:      #0A1A2F;
  --ink-2:    #071322;
  --paper:    #FFFFFF;
  --soft:     #F1F5FA;
  --muted:    #56637A;
  --line:     #E1E7EF;

  --blue:     #1B4DFF;
  --blue-ink: #133ACC;
  --blue-soft:#EEF2FF;
  --coral:    #FF4B2B;
  --coral-ink:#DE3616;
  --coral-soft:#FFF0ED;

  --shadow-sm: 0 1px 2px rgba(10, 26, 47, .05);
  --shadow-md: 0 10px 28px rgba(10, 26, 47, .08);
  --shadow-lg: 0 22px 52px rgba(10, 26, 47, .14);

  --wide: 1200px;
  --text: 740px;

  --display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 28px; }

.skip-link { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 300; }
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo-link img { height: 28px; width: auto; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--blue); }
.nav .cta { background: var(--coral); color: #fff; border: none; border-radius: 999px; padding: 11px 20px; font-size: 14.5px; font-weight: 600; transition: background .18s ease, transform .18s ease; }
.nav .cta:hover { background: var(--coral-ink); transform: translateY(-1px); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }

.mobile-nav { display: none; flex-direction: column; padding: 10px 28px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--display); font-size: 19px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: none; color: var(--coral); }

@media (max-width: 1060px) { .nav { display: none; } .burger { display: inline-flex; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; color: #fff; padding: 108px 0 92px; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-image: url('assets/img/hero.jpg'); background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7,19,34,.95) 0%, rgba(7,19,34,.88) 45%, rgba(27,77,255,.5) 100%); }

.hero .baseline-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 16px 7px 12px; margin-bottom: 28px; }
.hero .baseline-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.hero h1 .hl { color: #8FACFF; }

.hero .sub { margin-top: 26px; max-width: 58ch; font-size: clamp(17px, 1.5vw, 19px); color: rgba(255,255,255,.82); }
.hero .sub + .sub { margin-top: 10px; }

.hero .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; border-radius: 999px; font-size: 16px; font-weight: 600; padding: 15px 28px; transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease; }
.btn-solid { background: var(--coral); color: #fff; }
.btn-solid:hover { background: var(--coral-ink); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

.hero-strip { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: flex; gap: 36px; flex-wrap: wrap; font-size: 14.5px; color: rgba(255,255,255,.7); }
.hero-strip b { display: block; color: #fff; font-family: var(--display); font-size: 21px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Rythme des sections
   -------------------------------------------------------------------------- */

.band { padding: 96px 0; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--ink); color: #fff; }

.band-head { max-width: var(--text); margin-bottom: 50px; }
.band-head .tag { display: inline-block; font-family: var(--display); font-size: 12.5px; font-weight: 800; color: var(--blue); margin-bottom: 16px; }
.band-dark .band-head .tag { color: #8FACFF; }
.band-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.band-head p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 64ch; }
.band-dark .band-head p { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   Grille de cartes — réutilisée pour Digital, Human et Finance
   -------------------------------------------------------------------------- */

.card-grid { display: grid; gap: 18px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: color-mix(in srgb, var(--c, var(--blue)) 40%, var(--line)); }

.svc-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--c, var(--blue)) 10%, white);
  color: var(--c, var(--blue));
  display: grid; place-items: center; margin-bottom: 18px;
}
.svc-card .icon svg { width: 22px; height: 22px; }

.svc-card h3 { font-size: 17px; margin-bottom: 9px; }
.svc-card p { color: var(--muted); font-size: 14.5px; }

.svc-card.on-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.svc-card.on-dark .icon { background: rgba(255,75,43,.16); color: #FF9C87; }
.svc-card.on-dark h3 { color: #fff; }
.svc-card.on-dark p { color: rgba(255,255,255,.7); }

/* variante 2 colonnes : carte plus large, icône et texte côte à côte */
.card-grid.cols-2 .svc-card { display: flex; gap: 20px; align-items: flex-start; padding: 30px 28px; }
.card-grid.cols-2 .svc-card .icon { margin-bottom: 0; flex: none; }

.section-intro { max-width: 68ch; font-size: 17px; color: var(--muted); margin-top: -22px; margin-bottom: 40px; }
.band-dark .section-intro { color: rgba(255,255,255,.75); }

@media (max-width: 980px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid.cols-4, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Références — mur de logos
   -------------------------------------------------------------------------- */

.logo-wall { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); 
  gap: 16px; 
}

.logo-wall .tile { 
  background: #fff; 
  border: 1px solid var(--line); 
  border-radius: 16px; 
  aspect-ratio: 1 / 1; 
  width: 100%;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 12px; 
  text-align: center; 
  box-shadow: var(--shadow-sm); 
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; 
}

.logo-wall .tile:hover { 
  box-shadow: var(--shadow-md); 
  transform: translateY(-4px); 
  border-color: var(--blue); 
}

.logo-wall .tile span { 
  font-family: var(--display); 
  font-weight: 600; 
  font-size: 14.5px; 
}

.logo-wall .tile img { 
  max-width: 90%; 
  max-height: 90%; 
  width: auto; 
  height: auto; 
  object-fit: contain;
  filter: grayscale(1); 
  opacity: .8; 
  transition: filter .22s ease, opacity .22s ease, transform .22s ease; 
}

.logo-wall .tile:hover img { 
  filter: none; 
  opacity: 1; 
  transform: scale(1.05);
}

.wall-note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Trend7 Human — groupes de cartes
   -------------------------------------------------------------------------- */

.human-group { margin-top: 44px; }
.human-group:first-of-type { margin-top: 0; }
.human-group .side-tag { font-family: var(--display); font-size: 12.5px; font-weight: 800; color: var(--coral); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; display: block; }
.human-group h3 { font-size: 21px; color: #fff; margin-bottom: 10px; }
.human-group > p { color: rgba(255,255,255,.72); font-size: 15.5px; max-width: 68ch; margin-bottom: 22px; }

.human-cta { margin-top: 48px; }

/* --------------------------------------------------------------------------
   Questions fréquentes
   -------------------------------------------------------------------------- */

.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: baseline; gap: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .fn { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--blue); flex: none; padding-top: 3px; }
.faq summary .ft { font-family: var(--display); font-size: 19px; font-weight: 600; flex: 1; }
.faq summary .fx { font-size: 26px; font-weight: 400; color: var(--blue); line-height: 1; flex: none; transition: transform .2s ease; }
.faq details[open] summary .fx { transform: rotate(45deg); }
.faq details p { margin-top: 14px; margin-left: 34px; color: var(--muted); max-width: 68ch; }

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */

.founder { display: grid; grid-template-columns: 250px 1fr; gap: 46px; align-items: start; }
.portrait { aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; background: var(--soft); border: 1px dashed #C9D2DF; display: grid; place-items: center; text-align: center; padding: 18px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 25px; }
.founder .role { color: var(--blue); font-size: 14.5px; font-weight: 600; margin: 7px 0 20px; }
.founder p { color: var(--muted); max-width: 62ch; margin-bottom: 14px; }

@media (max-width: 820px) { .founder { grid-template-columns: 1fr; gap: 24px; } .portrait { max-width: 200px; } }

/* --------------------------------------------------------------------------
   Contact & pied de page
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.mail { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; border-bottom: 3px solid var(--coral); padding-bottom: 4px; display: inline-block; }
.mail:hover { color: var(--coral); }
.tel { display: block; margin-top: 16px; font-size: 17px; color: var(--muted); }
.office h4 { font-size: 15px; margin-bottom: 8px; }
.office p { color: var(--muted); font-size: 15.5px; }

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 26px; } }

.site-footer { background: var(--ink-2); color: rgba(255,255,255,.55); padding: 26px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a, .site-footer button { color: rgba(255,255,255,.72); background: none; border: none; font: inherit; cursor: pointer; padding: 0; }
.site-footer a:hover, .site-footer button:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Modales légales
   -------------------------------------------------------------------------- */

.modal { position: fixed; inset: 0; background: #fff; z-index: 300; overflow-y: auto; display: none; }
.modal.open { display: block; }
.modal .modal-bar { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; justify-content: flex-end; padding: 16px 28px; }
.modal .close { background: var(--ink); color: #fff; border: none; border-radius: 999px; padding: 10px 22px; font: 600 14.5px var(--body); cursor: pointer; }
.modal .close:hover { background: var(--coral); }
.modal-body { max-width: var(--text); margin: 0 auto; padding: 40px 28px 90px; }
.modal-body h1 { font-size: 32px; margin-bottom: 26px; }
.modal-body h2 { font-size: 18px; margin: 34px 0 10px; }
.modal-body p, .modal-body li { color: var(--muted); font-size: 16px; }
.modal-body ul { padding-left: 20px; }
.modal-body li { margin-bottom: 6px; }
.modal-body strong { color: var(--ink); font-weight: 600; }
.todo { color: var(--coral-ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.68,.3,1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}