/* =========================================================
   SG²STACK — Feuille de style
   Version adaptée au nouvel index.html
   ========================================================= */

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Polices hébergées localement */

@font-face {
  font-family: "Orbitron";
  src: url("./fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 52px;
    height: 52px;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(111,0,255,0.9),
            rgba(0,194,255,0.9)
        );

    background-repeat: no-repeat;

    color: white;
    font-size: 1.5rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;

    box-shadow:
        0 0 20px rgba(111,0,255,0.3);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    text-decoration: none;
    pointer-events: auto;
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 30px rgba(0,194,255,0.5);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #0a0a0a;
  color: #f7f7f7;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(0, 194, 255, 0.28);
}

/* ---------- Variables ---------- */

:root {
  --dark: #0a0a0a;
  --dark-2: #101015;
  --dark-3: #15151c;

  --text: #f7f7f7;
  --muted: rgba(247, 247, 247, 0.74);
  --muted-2: rgba(247, 247, 247, 0.56);

  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);

  --violet: #6f00ff;
  --violet-light: #8a2cff;
  --blue: #008cff;
  --cyan: #00c2ff;

  --gradient: linear-gradient(
    90deg,
    #6f00ff 0%,
    #008cff 70%,
    #00c2ff 100%
  );
  --gradient-soft: linear-gradient(
    135deg,
    rgba(111, 0, 255, 0.14),
    rgba(0, 194, 255, 0.08)
  );

  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 14px 38px rgba(0, 0, 0, 0.28);
  --glow-violet: 0 0 28px rgba(111, 0, 255, 0.3);
  --glow-cyan: 0 0 28px rgba(0, 194, 255, 0.24);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --container: 1180px;
  --pad: 24px;

  --font-title: "Orbitron", system-ui, sans-serif;
}

/* ---------- Utilitaires ---------- */

.section {
  position: relative;
  padding: 96px 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section--highlight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section__head,
.about-grid,
.custom-offer {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.section__head {
  margin-bottom: 34px;
}

.section__eyebrow,
.hero__eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__head h2,
.about-grid h2,
.custom-offer h2 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.section__lead {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.muted {
  color: var(--muted);
}

strong {
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- Fond décoratif ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.44;
}

.orb--blue {
  top: -180px;
  left: -170px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 194, 255, 0.82),
    transparent 62%
  );
}

.orb--violet {
  top: -190px;
  right: -170px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(111, 0, 255, 0.82),
    transparent 62%
  );
}

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 16%, #000 0%, transparent 72%);
}
.maintenance-grid {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 450px));
  justify-content: center;

  gap: 24px;
  align-items: stretch;
}

.maintenance-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/*
@media (max-width: 1000px) {
  .maintenance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 */

@media (max-width: 700px) {
  .maintenance-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;

  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  min-height: 92px;
  margin-inline: auto;
  padding: 14px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.logo-main {
  width: 275px;
  max-width: 70vw;
}
.brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.brand__tagline {
    margin: 0;
    margin-left: 8px;
    max-width: 260px;

    font-size: .82rem;
    line-height: 1.4;
    letter-spacing: 0.02em;

    background: linear-gradient(
        90deg,
        #00c2ff,
        #008cff,
        #00c2ff
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 3px rgba(0,194,255,.4))
        drop-shadow(0 0 8px rgba(0,194,255,.15));

    animation: taglineFlow 8s ease-in-out infinite;
}

@keyframes taglineFlow {
    0% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }

    100% {
        background-position: 0%;
    }
}

@media (max-width: 680px) {

    .brand__tagline {
        font-size: 0.7rem;
        max-width: 220px;
    }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav a {
  padding: 10px 9px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.nav__cta {
  margin-left: 5px;
  margin-right: 15px;
  padding: 11px 14px !important;
  color: #fff !important;
  background: var(--gradient);
  background-repeat: no-repeat;
  box-shadow: 0 0 22px rgba(111, 0, 255, 0.28);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.35);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: rgba(247, 247, 247, 0.9);
  transition: transform 180ms ease, opacity 180ms ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.btn--primary {
  color: #fff;
  background: var(--gradient);
  background-repeat: no-repeat;
  box-shadow: 0 0 24px rgba(111, 0, 255, 0.34);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 194, 255, 0.42);
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 194, 255, 0.38);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.12);
}

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

.hero {
    position: relative;
    overflow: hidden;

    width: min(var(--container), calc(100% - (var(--pad) * 2)));
    min-height: calc(100vh - 92px);

    margin-inline: auto;
    padding: 90px 50px 88px;

    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 54px;
    align-items: center;

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;

    background: rgba(255,255,255,0.035);

    box-shadow:
        var(--shadow-card),
        0 0 80px rgba(111,0,255,0.05);
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      600px 300px at 10% 10%,
      rgba(111,0,255,0.08),
      transparent 70%
    ),
    radial-gradient(
      600px 300px at 90% 20%,
      rgba(0,194,255,0.06),
      transparent 70%
    );

  pointer-events: none;
}

.hero__content h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.6vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: 0.012em;
}

.hero__content h1 span {
  display: block;
  margin-top: 7px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0, 194, 255, 0.12);
}

.hero__lead {
  max-width: 68ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__trust {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat {
  min-height: 132px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.033);
}

.stat__n {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-size: clamp(0.93rem, 1.2vw, 1.08rem);
  line-height: 1.3;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__l {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Aperçu des deux solutions dans le hero */

.hero__solutions {
  display: grid;
  gap: 18px;
}

.solution-preview {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: flex-start;
  gap: 18px;

  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;

   cursor:pointer;
}

.solution-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px 180px at 0% 0%,
    rgba(111, 0, 255, 0.12),
    transparent 60%
  );
  pointer-events: none;
}

.solution-preview:nth-child(2)::before {
  background: radial-gradient(
    500px 180px at 0% 0%,
    rgba(0, 194, 255, 0.11),
    transparent 60%
  );
}

.solution-preview > * {
  position: relative;
  z-index: 1;
}

.solution-preview:hover {
  transform: translateY(-4px);
}

.solution-preview__icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border-radius: 15px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 0 22px rgba(111, 0, 255, 0.28);

  font-family: var(--font-title);
  font-size: 0.9rem;
}

.solution-preview h2 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.08rem;
  line-height: 1.35;
}

.solution-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}


.solution-preview:focus-visible {
  outline: 2px solid #00b7ff;
  outline-offset: 4px;
}

/* Indication de défilement */

.scrollhint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);

  width: 34px;
  height: 52px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.scrollhint span {
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: rgba(247, 247, 247, 0.54);
  animation: scrollDot 1.4s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(-6px);
    opacity: 0.35;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.95;
  }

  100% {
    transform: translateY(-6px);
    opacity: 0.35;
  }
}

/* ---------- Grilles principales ---------- */

.cards3,
.grid2,
.solutions-grid,
.audience-grid,
.process-grid,
.contactGrid {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

/* ---------- Cartes génériques ---------- */

.card,
.project,
.solution-card,
.audience-card,
.process-card,
.stat,
.solution-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow: var(--shadow-card);

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.card,
.project {
  padding: 22px;
}

.card::before,
.project::before,
.solution-card::before,
.audience-card::before,
.process-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      520px 190px at 15% 0%,
      rgba(111, 0, 255, 0.1),
      transparent 62%
    ),
    radial-gradient(
      520px 190px at 85% 15%,
      rgba(0, 194, 255, 0.07),
      transparent 62%
    );
  pointer-events: none;
}

.card > *,
.project > *,
.solution-card > *,
.audience-card > *,
.process-card > * {
  position: relative;
  z-index: 1;
}

.card,
.project,
.solution-card,
.audience-card,
.process-card {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.card:hover,
.project:hover,
.solution-card:hover,
.audience-card:hover,
.process-card:hover,
.stat:hover,
.solution-preview:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 255, 0.3);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.035)
    );

  box-shadow:
    0 0 26px rgba(0, 194, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.4);
}

/* Couleurs spécifiques des cartes du Hero */

.solution-preview--web:hover {
  border-color: rgba(0, 194, 255, 0.8);

  box-shadow:
    0 0 28px rgba(0, 194, 255, 0.3),
    0 18px 44px rgba(0, 0, 0, 0.4);
}

.solution-preview--digital:hover {
  border-color: rgba(111, 0, 255, 0.8);

  box-shadow:
    0 0 28px rgba(111, 0, 255, 0.32),
    0 18px 44px rgba(0, 0, 0, 0.4);
}

.card h3,
.project h3,
.solution-card h3,
.audience-card h3,
.process-card h3,
.solution-preview h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.card p,
.project p,
.solution-card p,
.audience-card p,
.process-card p,
.solution-preview p,
.stat__l {
  color: var(--muted);
}

/* ---------- Grandes cartes Solutions ---------- */

.solution-card {
  min-height: 100%;
  padding: 30px;
  scroll-margin-top: 110px;
}
/* Animation commune */

.solution-card.is-highlighted {
  animation: highlight-card 1.6s ease;
}

.solution-card.is-highlighted .project__link {
  animation: highlight-link 1.6s ease;
}

/* Carte 01 : bleu */

.solution-card.is-highlighted--web {
  --highlight-primary: rgba(0, 183, 255, 0.95);
  --highlight-soft: rgba(0, 183, 255, 0.38);
  --highlight-secondary: rgba(0, 140, 255, 0.24);
}

/* Carte 02 : violet */

.solution-card.is-highlighted--digital {
  --highlight-primary: rgba(111, 0, 255, 0.95);
  --highlight-soft: rgba(111, 0, 255, 0.4);
  --highlight-secondary: rgba(0, 183, 255, 0.2);
}

@keyframes highlight-card {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.025);
    border-color: var(--highlight-primary);

    box-shadow:
      0 0 24px var(--highlight-soft),
      0 0 48px var(--highlight-secondary);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes highlight-link {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.06);
    color: #fff;

    background: linear-gradient(
      90deg,
      var(--highlight-primary),
      #00b7ff
    );

    box-shadow:
      0 0 18px var(--highlight-soft);
  }
}

.solution-card--featured {
  border-color: rgba(0, 194, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(0, 194, 255, 0.055), rgba(111, 0, 255, 0.045));
}

.solution-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;

  display: grid;
  place-items: center;

  border-radius: 15px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 0 22px rgba(111, 0, 255, 0.26);

  font-family: var(--font-title);
  font-size: 0.9rem;
}

.solution-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.solution-card p {
  margin: 0 0 18px;
}

/* ---------- Cartes de publics ---------- */

.audience-card {
  min-height: 210px;
  padding: 22px;
}

.audience-card p {
  margin: 0;
}

/* ---------- Méthode ---------- */

.process-card {
  min-height: 220px;
  padding: 20px;
}

.process-card__number {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--font-title);
  font-size: 0.88rem;
  color: var(--cyan);
}

.process-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* ---------- Offres et réalisations ---------- */

.project {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;

  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;

  color: rgba(247, 247, 247, 0.78);
  background: rgba(255, 255, 255, 0.04);

  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project h3 {
  margin-top: 16px;
}

.project p {
  margin: 0 0 12px;
}

.project--featured {
  border-color: rgba(111, 0, 255, 0.28);
  box-shadow:
    0 0 30px rgba(111, 0, 255, 0.1),
    var(--shadow-card);
}

.project__tech {
  margin-top: auto !important;
  padding-top: 14px;
  color: var(--muted-2) !important;
  font-size: 0.83rem;
}

.bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.bullets li {
  margin: 7px 0;
}

.bullets li::marker {
  color: var(--cyan);
}

.project__link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: var(--cyan);
  font-weight: 600;
}

.project__link:hover,
.project__link:focus-visible {
  text-decoration: underline;
}

/* ---------- Bloc offre métier ---------- */

.custom-offer {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;

  padding: 42px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(111, 0, 255, 0.11), rgba(0, 194, 255, 0.07));
  box-shadow: var(--shadow-soft);
}

.custom-offer::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(111, 0, 255, 0.13);
  filter: blur(55px);
  pointer-events: none;
}

.custom-offer > * {
  position: relative;
  z-index: 1;
}

.custom-offer p {
  max-width: 72ch;
  color: var(--muted);
}

/* ---------- Présentation de la fondatrice ---------- */

.about-founder {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin: 0 auto 42px;

  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}

.about-founder__visual {
  position: relative;
}

.about-founder__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 34px rgba(111, 0, 255, 0.12),
    var(--shadow-soft);
    transition: transform .35s ease;
}

.about-founder__photo:hover {
    transform: scale(1.02);
}


.about-founder__identity {
  position: relative;
  width: calc(100% - 50px);
  margin: -3px auto 0;
  padding: 17px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(15, 15, 20, 0.94);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.about-founder__name {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: #fff;
}

.about-founder__role {
  margin: 10px 0 14px;
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 700;
}

.about-founder__skills {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.about-founder__content h2 {
  margin: 0 0 22px;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.about-founder__content > p:not(.section__eyebrow) {
  margin: 0 0 16px;
  color: var(--muted);
}

.about-founder__conviction {
  padding: 20px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(0, 194, 255, 0.045);
}

.about-founder__quote {
  margin: 28px 0 0;
  padding: 22px 24px;

  border: 1px solid rgba(111, 0, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(
      135deg,
      rgba(111, 0, 255, 0.09),
      rgba(0, 194, 255, 0.05)
    );

  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
}

.about-values {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-values .card {
  min-height: 190px;
}


/* ---------- Formulaire ---------- */

.contactGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 18px;
  align-items: start;
}

.form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.form label span {
  color: var(--muted);
  font-size: 0.9rem;
}

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;

  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;

  color: var(--text);
  background: rgba(255, 255, 255, 0.045);

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form select option {
  color: #111;
  background: #fff;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(0, 194, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.12);
}

.form__hint {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.contactList {
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.contactList li {
  margin: 9px 0;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.1);
}

.form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.footer {
  padding: 34px var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.8);
  text-align: center;
}

.footer p {
  margin: 0;
  color: rgba(247, 247, 247, 0.65);
  font-size: 0.9rem;
}
.footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.footer__links span {
    color: rgba(255,255,255,0.4);
}
/* ---------- Accessibilité ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .header {
    gap: 18px;
  }

  .logo-main {
    width: 240px;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding-inline: 7px;
    font-size: 0.82rem;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Menu hamburger sur tablette et petits écrans */

@media (max-width: 1050px) {
  .header {
    width: 100%;
    min-height: 78px;
    padding: 12px 20px;
  }

  .logo-main {
  width: 210px;
  }

  .burger {
    display: block;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;

    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(13, 13, 18, 0.97);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  .nav__cta {
    margin: 4px 0 0;
    text-align: center;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 90px;
  }



  .hero {
    min-height: auto;
    padding: 64px 24px 90px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__solutions {
    transform: translateY(-30px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solutions-grid,
  .about-grid,
  .contactGrid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 30px;
  }

  .about-founder {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-founder__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-offer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .custom-offer .btn {
    justify-self: start;
  }

  .cards3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --pad: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 52px 24px 70px;
  }

  .hero__content h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero__actions,
  .hero__solutions,
  .stats,
  .grid2,
  .audience-grid,
  .process-grid,
  .about-values {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .stats {
    display: grid;
  }

  .stat {
    min-height: auto;
  }

  .solution-preview {
    padding: 21px;
  }

  .solution-card,
  .custom-offer {
    padding: 26px;
  }

  .audience-card,
  .process-card {
    min-height: auto;
  }

  .about-founder {
    gap: 30px;
  }

  .about-founder__identity {
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: -3px auto 0;
    padding: 16px 18px;
    text-align: center;
  }

  .about-founder__name {
    font-size: 1rem;
  }

  .about-founder__role {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    line-height: 1.4;
    margin: 10px 0;
  }

  .about-founder__skills {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .about-founder__quote {
    padding: 19px;
    font-size: 0.96rem;
  }

  .about-values .card {
    min-height: auto;
  }

  .scrollhint {
    display: none;
  }
}

@media (max-width: 430px) {
  .logo-main {
    width: 175px;
  }

  .header {
    min-height: 72px;
  }

  .hero__eyebrow,
  .section__eyebrow {
    font-size: 0.74rem;
  }

  .solution-preview {
    display: grid;
  }

  .solution-preview__icon {
    width: 48px;
    height: 48px;
  }

  .card,
  .project {
    padding: 19px;
  }

  .solution-card,
  .custom-offer {
    padding: 22px;
  }
}

/* ---------- Réduction des animations ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.pricing-note {
    max-width: 850px;
    margin: 32px auto 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: .85rem;
}
/* ---------- Pages juridiques ---------- */

.legal-main {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px 100px;
    box-sizing: border-box;
}

.legal-header {
    margin-bottom: 50px;
    text-align: center;
}

.legal-header h1 {
    margin: 0 0 16px;
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.legal-header p {
    color: var(--muted);
}

.legal-back {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--cyan);
}

.legal-card {
    margin-bottom: 24px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-card);
}

.legal-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: var(--font-title);
    font-size: 1.2rem;
}

.legal-card p,
.legal-card li {
    color: var(--muted);
}

.legal-card ul,
.legal-card ol {
    padding-left: 22px;
}

.legal-alert {
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 187, 0, 0.3);
    background: rgba(255, 187, 0, 0.08);
    color: #ffe8a3;
}

.legal-placeholder {
    color: #ffd45c;
    font-weight: 600;
}
@media (max-width: 680px) {

    .legal-main {
        padding: 50px 20px 80px;
    }

    .legal-card {
        padding: 24px;
    }
}
.email-reveal {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.email-reveal:hover {
    opacity: 0.8;
}


/* Messages du formulaire de contact */

.form__feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form__feedback--success {
  color: #18794e;
}

.form__feedback--error {
  color: #b42318;
}

.form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
