/* ============================================================
   ARES NC — Page d'accueil « dark high-tech »
   Feuille dédiée à index.html (les autres pages gardent style.css)
   ============================================================ */

:root {
  --bg: #070d18;
  --bg-2: #0a1322;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --txt: #e8eefb;
  --muted: #9fb0ca;
  --blue: #4da3ff;
  --blue-deep: #1a56a0;
  --orange: #ff8a00;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* overflow-x retiré : cassait position:sticky (aucun débordement horizontal, vérifié) */
body {
  margin: 0;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 500px at 85% -5%, rgba(26, 86, 160, 0.35), transparent 60%),
    radial-gradient(800px 420px at -10% 30%, rgba(255, 138, 0, 0.10), transparent 55%),
    var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #7cbcff; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 2000; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 13, 24, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-shield { height: 30px; width: auto; }
.brand-texte { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .2px; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.main-nav a {
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  padding: 8px 11px; border-radius: 999px; white-space: nowrap; transition: .18s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.main-nav .nav-cta {
  background: none;
  color: var(--orange) !important; font-weight: 700;
  box-shadow: none;
}
.main-nav .nav-cta:hover { color: #ffa64d !important; background: none; }
.mobile-menu {
  display: none; margin-left: auto;
  background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.theme-toggle { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, #2f7fe0, var(--blue-deep)); color: #fff;
  box-shadow: 0 10px 30px rgba(47, 127, 224, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; filter: brightness(1.1); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: translateY(-2px); }
.btn-demande {
  background: linear-gradient(135deg, var(--orange), #ff6a00); border: none;
  box-shadow: 0 10px 30px rgba(255, 138, 0, 0.35);
}
.btn-demande:hover { filter: brightness(1.08); }

/* ---------- Structure ---------- */
main { display: block; }
.section { max-width: 1240px; margin: 0 auto; padding: 84px 22px 10px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; font-family: 'Jost', 'Satoshi', sans-serif; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- Héro ---------- */
.hero-wrap { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(100deg, rgba(7, 13, 24, 0.93) 16%, rgba(7, 13, 24, 0.55) 46%, rgba(7, 13, 24, 0.08) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero-bg img { object-position: right center; }
.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 120px 22px 90px; width: 100%; }
.hero-inner h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; max-width: none;
  background: linear-gradient(90deg, #ffffff, #bcd8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { max-width: 560px; color: #c6d4ea; font-size: 1.12rem; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 54px;
}
.hero-stats article {
  background: rgba(10, 19, 34, 0.72); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 22px; min-width: 150px; flex: 0 1 auto;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-stats b { display: block; font-size: 1.7rem; color: #fff; letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ---------- Cartes génériques ---------- */
.glass {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card-pad { padding: 28px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 9px; color: #c6d4ea; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
}

/* ---------- Maintenance ---------- */
.audit-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.audit-figure::before {
  content: ''; position: absolute; top: -40%; left: -20%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(77, 163, 255, 0.18), transparent); pointer-events: none;
}

/* ---------- Parcours ---------- */
.founder-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.founder-grid .large { grid-row: span 2; }
.founder-card { padding: 28px; }
.founder-card h3 { color: #fff; }
.founder-card p { color: var(--muted); margin: 0; }

/* ---------- Expertises ---------- */
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.expertise-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.expertise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.expertise-photo { position: relative; height: 190px; overflow: hidden; }
.expertise-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.expertise-card:hover .expertise-photo img { transform: scale(1.06); }
.expertise-photo .num {
  position: absolute; top: 14px; left: 14px; background: rgba(7, 13, 24, 0.78); color: var(--orange);
  border: 1px solid var(--line); font-weight: 700; font-size: 13px;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .1em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.expertise-photo::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background: linear-gradient(0deg, rgba(7, 13, 24, 0.85), transparent);
}
.expertise-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.expertise-body p { color: var(--muted); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 12px; font-weight: 600; color: #bcd8ff;
  background: rgba(77, 163, 255, 0.12); border: 1px solid rgba(77, 163, 255, 0.25);
  padding: 4px 11px; border-radius: 999px;
}
.seo-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.seo-links a {
  font-size: 12.5px; color: var(--muted); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px; transition: .15s; background: rgba(255,255,255,0.02);
}
.seo-links a:hover { color: #fff; border-color: var(--blue); background: rgba(77, 163, 255, 0.12); }
.expertise-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.expertise-intro p { color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- Solutions phares (tuiles photos) ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.showcase-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  height: 300px; display: flex; align-items: flex-end; transition: transform .25s, box-shadow .25s;
}
.showcase-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.showcase-tile img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.showcase-tile:hover img { transform: scale(1.07); }
.showcase-tile::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(7, 13, 24, 0.92) 8%, rgba(7, 13, 24, 0.25) 55%, transparent);
}
.showcase-tile figcaption { position: relative; z-index: 2; padding: 18px; }
.showcase-tile b { color: #fff; font-size: 1.05rem; display: block; }
.showcase-tile span { color: var(--muted); font-size: 13px; }
.showcase-tile .go {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- Méthode ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: etape; }
.process-step { padding: 26px 24px; position: relative; counter-increment: etape; }
.process-step::before {
  content: '0' counter(etape);
  display: block; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px;
}
.process-step h3 { color: #fff; }
.process-step p { color: var(--muted); margin: 0; }

/* ---------- Marques ---------- */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px; }
.brand-cloud span {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.025); transition: .15s;
}
.brand-cloud span:hover { color: #fff; border-color: var(--blue); }
.brands-note { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* ---------- Engagements ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-card { padding: 30px; }
.trust-card h3 { color: #fff; }
.trust-card > p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; }
.contact-card { padding: 30px; }
.contact-card h3 { color: #fff; font-size: 1.35rem; }
.contact-card > p { color: var(--muted); }
.contact-line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-line span { color: var(--muted); font-size: 13.5px; }
.contact-line a, .contact-line strong { color: #fff; font-weight: 600; text-align: right; }
.contact-logo { margin-top: 26px; opacity: .9; }
.contact-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }

.contact-form .field { margin-bottom: 14px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; color: #c6d4ea; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 15px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form select option { color: #000; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.2);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.challenge { display: flex; align-items: flex-end; gap: 14px; margin: 6px 0 18px; }
.challenge p { margin: 0; color: var(--muted); }
.challenge strong { color: var(--orange); }
.challenge .field { margin: 0; width: 120px; }
.trap { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.form-status.is-error { color: #ff9d9d; }
.form-status.is-success { color: #8fe3a8; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 90px; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 30px 22px; color: var(--muted); font-size: 13.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Apparition au défilement (app.js ajoute .is-visible) ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Mobile : lecture en colonne unique, de haut en bas
   ============================================================ */
@media (max-width: 980px) {
  .expertise-grid, .showcase-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .founder-grid .large { grid-row: auto; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(7, 13, 24, 0.97); border-bottom: 1px solid var(--line); padding: 12px 16px 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 15px; }
  .mobile-menu { display: block; }
  .brand-texte { font-size: 14px; }
  .section { padding: 56px 16px 6px; }
  .hero-inner { padding: 90px 16px 60px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 10px; }
  .hero-stats article { flex: 1 1 calc(50% - 10px); min-width: 0; padding: 13px 16px; }
  .expertise-grid, .showcase-grid, .process-grid, .form-row { grid-template-columns: 1fr; }
  .showcase-tile { height: 230px; }
  .challenge { flex-wrap: wrap; }
  img, video, iframe { max-width: 100%; }
}

/* ==== Boutons « Demande d'intervention » : effet lumineux + texte jaune fluo ==== */
@keyframes lueurOrange {
  from { box-shadow: 0 0 10px rgba(255,138,0,.55), 0 0 26px rgba(255,138,0,.30); }
  to   { box-shadow: 0 0 18px rgba(255,138,0,.95), 0 0 52px rgba(255,138,0,.5); }
}
.btn-demande {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255,255,255,.75), 0 0 18px rgba(255,255,255,.35);
  animation: lueurOrange 1.8s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .btn-demande { animation: none; }
}


/* ==== Liens de contenu : immédiatement identifiables ==== */
main p a:not(.btn), main li a:not(.btn) {
  color: #7cbcff; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1.5px; font-weight: 600;
}
.seo-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ==== Cadre visuel en attente (fournir l'image du numéro indiqué) ==== */
.cadre-image {
  border: 2px dashed rgba(255,255,255,.28); border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 260px; text-align: center; padding: 24px; height: 100%;
}
.cadre-image .num { font-size: 2.6rem; font-weight: 700; color: var(--blue); font-family: 'Jost', sans-serif; }
.cadre-image span { color: var(--muted); font-size: 14px; max-width: 34ch; }
figcaption.legende, .legende { color: var(--muted); font-size: 16px; margin-top: 10px; text-align: center; font-style: italic; }

/* Bannière de présentation ARES sous le bandeau */
.bandeau-presentation { background: #e9e9e9; }
.bandeau-presentation img { display: block; width: 100%; max-width: 1680px; height: auto; margin: 0 auto; }
