/*
Theme Name: Helisyo
Theme URI: https://helisyo.fr
Author: Helisyo
Description: Thème WordPress sur mesure pour Helisyo — cabinet de conseil IA B2B
Version: 1.0
License: Proprietary
Text Domain: helisyo
*/

/* ====== VARIABLES ====== */
:root {
  --navy: #1B2A6B;
  --navy-deep: #131e4d;
  --blue: #2979D4;
  --cyan: #2ABFBF;
  --cyan-deep: #1ea9a9;
  --ink: #0e1330;
  --muted: #5b6280;
  --line: #e6e8ef;
  --line-strong: #d3d7e2;
  --paper: #ffffff;
  --paper-tint: #f6f7fb;
  --paper-warm: #fbfbf8;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.mono { font-family: "DM Mono", ui-monospace, monospace; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* ====== LAYOUT ====== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ====== NAV ====== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 64px; width: auto;
  display: grid; place-items: center;
}
.custom-logo-link img,
.brand-mark img {
  height: 64px !important;
  width: auto !important;
  max-width: 200px;
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name {
  font-weight: 600; letter-spacing: -0.01em; font-size: 19px;
  color: var(--navy);
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14.5px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: var(--ink); opacity: 0.78; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy); font-weight: 500; font-size: 14.5px;
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--navy); color: white; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 15.5px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--cyan); color: #06302f;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 10px 24px -10px rgba(42,191,191,0.55);
}
.btn-primary:hover { background: var(--cyan-deep); transform: translateY(-1px); color: #06302f; }
.btn-primary .arr {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #06302f; color: var(--cyan);
}
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy); }
.cta-row {
  display: flex; gap: 14px; align-items: center; margin-top: 36px;
  flex-wrap: wrap;
}

/* ====== SECTION HEADS ====== */
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px; margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 500;
  margin: 12px 0 0; max-width: 640px;
}
.kicker {
  font-family: "DM Mono", monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
}
.section-head .side {
  font-size: 15px; color: var(--muted); max-width: 320px;
}

/* ====== HERO ====== */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 3px rgba(42,191,191,0.18);
}
.h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 22px 0 22px;
  color: var(--ink);
}
.h1 .accent {
  color: var(--navy);
  font-style: italic;
  font-weight: 500;
}
.h1 .accent-cyan {
  background: linear-gradient(transparent 62%, rgba(42,191,191,0.28) 62%);
  padding: 0 2px;
}
.sub {
  font-size: 18px; line-height: 1.55; color: var(--muted);
  max-width: 540px;
}
.hero-meta {
  display: flex; gap: 28px; margin-top: 40px;
  font-size: 13.5px; color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .tick {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(42,191,191,0.16);
  color: var(--cyan-deep);
  display: inline-grid; place-items: center;
  font-size: 10px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
}

/* ====== TRUST STRIP ====== */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-tint);
}
.trust-inner {
  display: flex; align-items: center; gap: 48px;
  padding: 22px 0;
  flex-wrap: wrap;
}
.trust-label {
  font-family: "DM Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.trust-logos {
  display: flex; gap: 44px; align-items: center;
  flex-wrap: wrap;
}
.trust-logo {
  font-weight: 600; letter-spacing: 0.02em; font-size: 17px;
  color: #6a7088;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ====== STATS ====== */
.stats { padding: 96px 0 80px; }
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 36px 0 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stat + .stat { padding-left: 36px; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 36px; bottom: 8px;
  width: 1px; background: var(--line);
}
.stat .num {
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1; letter-spacing: -0.04em;
  font-weight: 500; color: var(--navy);
}
.stat .num .unit { color: var(--cyan); font-size: 0.65em; margin-left: 4px; }
.stat .lbl {
  margin-top: 18px; font-size: 15.5px; color: var(--ink);
  max-width: 280px;
}
.stat .src {
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted); margin-top: 12px;
  text-transform: uppercase;
}

/* ====== SERVICES ====== */
.services {
  padding: 96px 0;
  background: var(--navy);
  color: white;
  position: relative; overflow: hidden;
}
.services::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
}
.services .section-head h2 { color: white; }
.services .section-head .kicker { color: var(--cyan); }
.services .section-head .side { color: rgba(255,255,255,0.7); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  transition: background .2s, border-color .2s, transform .2s;
}
.svc:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(42,191,191,0.45);
  transform: translateY(-2px);
}
.svc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.svc-num {
  font-family: "DM Mono", monospace;
  font-size: 12px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
.svc-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(42,191,191,0.12);
  color: var(--cyan);
  display: grid; place-items: center;
  border: 1px solid rgba(42,191,191,0.25);
}
.svc h3 {
  font-size: 22px; line-height: 1.2;
  font-weight: 500; margin: 0 0 14px;
  color: white;
}
.svc p {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0 0 24px; flex: 1;
}
.svc ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.svc li {
  font-size: 14px; color: rgba(255,255,255,0.85);
  display: flex; gap: 10px; align-items: flex-start;
}
.svc li::before {
  content: ""; flex: 0 0 5px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--cyan); margin-top: 9px;
}
.svc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.14);
  font-size: 13.5px;
}
.svc-foot .dur {
  font-family: "DM Mono", monospace; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55); font-size: 12px;
}
.svc-foot .lnk {
  color: var(--cyan); display: inline-flex; align-items: center; gap: 6px;
}
.svc-foot .lnk:hover { color: white; }

/* ====== REASSURANCE ====== */
.reas { padding: 112px 0; background: var(--paper-warm); }
.reas-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 88px; align-items: start;
}
.reas h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 500; margin: 14px 0 24px;
}
.reas .lead {
  font-size: 17px; color: var(--muted); line-height: 1.55;
  max-width: 460px;
}
.reas-stamp {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: white;
}
.reas-stamp .av { display: flex; }
.reas-stamp .av span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid white;
  background: linear-gradient(135deg, #cdd3e7, #aab2cf);
}
.reas-stamp .av span + span { margin-left: -10px; }
.reas-stamp .av span:nth-child(2) { background: linear-gradient(135deg, #d3e7e6, #95c9c8); }
.reas-stamp .av span:nth-child(3) { background: linear-gradient(135deg, #cfd8ee, #889bcf); }
.reas-stamp .txt { font-size: 13.5px; line-height: 1.4; }
.reas-stamp .txt b { font-weight: 600; color: var(--ink); }
.reas-stamp .txt em { font-style: normal; color: var(--muted); display: block; }
.reas-list { display: grid; gap: 0; }
.reas-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 28px 0;
  border-top: 1px solid var(--line);
}
.reas-item:last-child { border-bottom: 1px solid var(--line); }
.reas-item .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: white; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--navy);
}
.reas-item h4 { margin: 4px 0 8px; font-size: 18px; font-weight: 500; }
.reas-item p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ====== CTA STRIP ====== */
.ctastrip { padding: 80px 0; background: var(--paper); }
.ctastrip-inner {
  background: linear-gradient(135deg, #15225a 0%, #1B2A6B 60%, #1c4396 100%);
  color: white;
  border-radius: 28px;
  padding: 56px;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.ctastrip-inner::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42,191,191,0.35), transparent 70%);
  pointer-events: none;
}
.ctastrip h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12; letter-spacing: -0.02em;
  font-weight: 500; margin: 0 0 14px; color: white;
}
.ctastrip p { font-size: 16px; color: rgba(255,255,255,0.75); margin: 0; }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.85);
  padding: 72px 0 0;
}
.foot-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand .brand-name { color: white; }
.foot-brand p {
  font-size: 14.5px; color: rgba(255,255,255,0.55);
  line-height: 1.6; margin-top: 16px; max-width: 280px;
}
.foot-col h5 {
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 20px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col li a {
  font-size: 14.5px; color: rgba(255,255,255,0.7);
  transition: color .15s;
}
.foot-col li a:hover { color: white; }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 13px; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 12px;
}
.foot-bot .legal { display: flex; gap: 24px; }
.foot-bot .legal a { color: rgba(255,255,255,0.35); transition: color .15s; }
.foot-bot .legal a:hover { color: rgba(255,255,255,0.7); }

/* ====== PAGE INTÉRIEURE ====== */
.page-hero {
  background: var(--navy);
  padding: 80px 0 72px;
  color: white;
}
.page-hero .kicker { color: var(--cyan); margin-bottom: 16px; display: block; }
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.06; letter-spacing: -0.025em;
  font-weight: 500; color: white; margin: 0 0 20px;
  max-width: 720px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.75);
  max-width: 580px; line-height: 1.55;
}
.page-content { padding: 80px 0; }

/* ====== CAS D'USAGE ====== */
.cas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
}
.cas-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  background: var(--paper);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cas-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(42,191,191,0.2);
}
.cas-tag {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(41,121,212,0.08);
  border: 1px solid rgba(41,121,212,0.18);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 20px;
}
.cas-card h3 {
  font-size: 20px; font-weight: 500; line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 12px;
  color: var(--ink);
}
.cas-problem {
  font-size: 14.5px; color: var(--muted);
  margin: 0 0 20px; line-height: 1.55;
}
.cas-result {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(42,191,191,0.07);
  border: 1px solid rgba(42,191,191,0.2);
  border-radius: 12px;
  margin-top: auto;
}
.cas-result .num {
  font-size: 28px; font-weight: 500;
  color: var(--navy); line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.cas-result .desc {
  font-size: 13.5px; color: var(--muted); line-height: 1.4;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .reas-grid { grid-template-columns: 1fr; gap: 48px; }
  .cas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; }
  .ctastrip-inner { grid-template-columns: 1fr; padding: 40px 32px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cas-grid { grid-template-columns: 1fr; }
}

/* ====== JUSTIFICATION TEXTES PAGE ACCUEIL ====== */
.sub,
.lead,
.stat .lbl,
.svc p,
.svc li,
.reas-item p,
.ctastrip p,
.foot-brand p,
p, .hero-copy p {
  text-align: justify !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}
