/* =========================================================
   IMPORTS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Inter:wght@400;600&display=swap');

/* =========================================================
   ROOT / VARIABLES
========================================================= */
:root {
  --primary-color: #fff647;
  --footer-color: var(--tertiary-color);
  --footer-text: var(--fourly-color);
  --navbar-size: 80px;

  --secondary-color: #f2c93a;
  --btn-color: #ffd447;

  --tertiary-color: #fffffc;
  --fourly-color: #6d1f69;

  --font-size: 16px;
  --spacing: 10px;

  --container: 1120px;

  --text:
  ;
  --muted: rgba(18, 22, 31, .72);
  --line: rgba(18, 22, 31, .10);

  --card: rgba(255, 255, 255, .72);
  --card-strong: rgba(255, 255, 255, .88);

  --shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, .08);
}


/* =========================================================
   BASE / RESET
========================================================= */
html,
body {
  background-color: rgb(85, 85, 85);
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'inter';
}

h1,
h2,
h3 {
  font-family: 'Poppins';
}

main {
  padding-top: 80px;
  padding-bottom: 80px;
}

.container-fluid {
  padding-left: 10vw;
  padding-right: 10vw;
}

@media (min-width:1024px) {
  main {
    padding-top: var(--navbar-size);
    padding-bottom: var(--navbar-size);
  }
}

/* =========================================================
   BURGER MENU 
========================================================= */
.burger {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 3000;
}

.burger span {
  height: 2px;
  width: 100%;
  background: rgb(19, 23, 32);
  transition: .3s ease;
  border-radius: 2px;
}

.shrunk .burger span {
  background: #ffffff;
}

.burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;

  /* fermé */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .35s ease, visibility 0s linear .35s;
}

/* ouvert */
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition: opacity .35s ease, visibility 0s linear 0s;
}

/* Panel fermé */
.mobile-menu__panel {
  width: min(520px, 92vw);
  text-align: center;

  transform: translateY(16px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

/* Panel ouvert */
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateY(0);
  opacity: 1;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {

  .mobile-menu,
  .mobile-menu__panel {
    transition: none !important;
  }
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu__list a {
  font-size: 28px;
  font-weight: 800;
  color: rgb(19, 23, 32);
  text-decoration: none;
}

.mobile-menu__list a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
  text-decoration-color: #FFD43B;
}

.mobile-menu__list a.cta {
  background: #FFD43B;
  padding: 14px 22px;
  border-radius: 12px;
  display: inline-block;
  font-size: 18px;
}

body.no-scroll {
  overflow: hidden;
}

@media (min-width: 1024px) {
    .mobile-menu {
    display: none !important;
  }
}

/* ============================
   FLASH MESSAGES
   ============================ */

.flash-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
}

.flash {
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  background: #111;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  animation: flashOut 4s ease forwards;
}

.flash-success {
  background: #11833b;
}

.flash-danger {
  background: #dc2626;
}

.flash-warning {
  background: #f59e0b;
  color: #111;
}

.flash-info {
  background: #2563eb;
}

@keyframes flashOut{
  0%{ opacity:0; transform: translateY(8px); }
  10%{ opacity:1; transform: translateY(0); }
  85%{ opacity:1; }
  100%{ opacity:0; transform: translateY(8px); }
}

/* ============================
   ERROR PAGES 
   ============================ */

   .error-page {
  min-height: calc(100vh - var(--header-h, 80px) - var(--footer-h, 140px));
  display: flex;
  align-items: center;
}

.error-box {
  width: 100%;
  text-align: left; /* ou center si tu veux */
  padding: 60px 0;
}

/* ============================
   PAGES LÉGALES — MOBILE FIRST
   ============================ */

.legal {
  max-width: 100%;
  margin: 0 auto;
  padding-top: 140px;
  padding-bottom: 60px;
  font-family: inherit;
  color: var(--text);
  line-height: 1.7;
}

/* ============================
   TYPOGRAPHIE
   ============================ */

/* Titre principal */
.legal h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* Titres de sections */
.legal h2 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 10px;
}

/* Paragraphes */
.legal p {
  font-size: 15px;
  color: #333;
  margin-bottom: 12px;
}

/* Listes */
.legal ul {
  padding-left: 18px;
  margin: 12px 0;
}

.legal li {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}

/* Liens */
.legal a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  opacity: 0.75;
}

/* Mise en valeur légère */
.legal strong {
  font-weight: 600;
}

/* Séparateur */
.legal hr {
  margin: 48px 0 24px;
  border: none;
  height: 1px;
  background: #e6e6e6;
}

/* Date */
.legal small {
  font-size: 13px;
  color: #777;
}

/* ============================
   DESKTOP (≥ 1024px)
   ============================ */

@media (min-width: 1024px) {
  .legal {
    padding-top: 140px;
    padding-bottom: 96px;
  }

  .legal h1 {
    font-size: 38px;
  }

  .legal p,
  .legal li {
    font-size: 16px;
  }
}


/* =========================================================
   BACKGROUNDS (MAIN PAGES)
========================================================= */
.bgmain1 {
  background-image: url('/images/1r.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bgmain2 {
  background-image: url('/images/2.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bgmain3 {
  background-image: url('/images/3r.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bgmain4 {
  background-image: url('/images/1.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 1024px) {
  .bgmain1 {
    background-image: url('/images/2.png');
    background-position: 20% top;
    background-size: cover;
    background-attachment: scroll;
  }

  .bgmain2 {
    background-position: 20% top;
    background-size: cover;
    background-attachment: scroll;
  }

  .bgmain3 {
    background-image: url('/images/2.png');
    background-position: 20% top;
    background-size: cover;
    background-attachment: scroll;
  }

  .bgmain4 {
    background-image: url('/images/2.png');
    background-position: 20% top;
    background-size: cover;
    background-attachment: scroll;
  }
}

/* =========================================================
   BUTTONS
========================================================= */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 10px;
  background-color: #ffd447;
  color: #000;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-cta:hover {
  background-color: #f2c93a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .18);
}

.btn-cta:focus-visible {
  outline: 2px solid rgba(255, 212, 71, .6);
  outline-offset: 2px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  transition: ease-in-out 0.3s;
  color: rgb(18, 22, 31);
}

.shrunk .navbar-logo {
  width: 47px;
  height: 47px;
  color: white;
  transition: ease-in-out 0.3s;
}

.navbar {
  display: flex;
  align-items: center;
  position: fixed;
  background-color: rgba(0, 0, 0, 0);
  padding-top: 22px;
  padding-bottom: 17px;
  min-height: var(--navbar-size);
  z-index: 2900;
}

.navbar ul {
  font-size: 1.4rem;
  transition: ease-in-out 0.3s;
}

.shrunk ul {
  font-size: 1.2rem;
  transition: ease-in-out 0.3s;
}

.shrunk {
  background-color: rgba(0, 0, 0, 0.705);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  transition: ease-in-out 0.3s;
}



.navbar-nav {
  position: relative;
  margin-bottom: 8;
}

.navbar-nav .nav-item {
  margin: 0 18px;
}

.nav-link {
  color: rgb(0, 0, 0);
  gap: 125px;
  padding-left: 0;
  padding-right: 0;
}

.shrunk .nav-link {
  color: rgb(255, 255, 255);
  gap: 125px;
}

/* Le rail doit être relatif pour positionner l'underline */
.nav-rail {
  position: relative;
  display: flex;
  align-items: center;
}

/* Underline premium */
.nav-underline {
  position: absolute;
  transform: translateX(0);
  will-change: transform, width;
  left: 0;
  bottom: 2px;
  height: 1.5px;
  background: #ffd447;
  border-radius: 999px;
  opacity: 0;
  transition:
    transform 260ms cubic-bezier(.4, 0, .2, 1),
    width 260ms cubic-bezier(.4, 0, .2, 1),
    opacity 160ms ease;
}

@media (min-width: 1024px) {

  .navbar {
    padding: 20px;
  }

  .shunk .navbar-logo {
    width: 52px;
    height: 52px;
  }
}


/* =========================================================
   CARDS (legacy Bootstrap-ish)
========================================================= */
.card {
  transition: 0.5s;
}

.card:hover {
  transform: translateY(-10px);
  transition: 0.5s;
}

.card-img {
  max-width: 150px;
  max-height: 150px;
}

.services-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.300);
  min-height: 300px;
  max-height: 300px;
  padding: 20px;
}

.services-img {
  width: 320px;
}

.section-services {
  max-width: 30vw;
  margin-right: 3rem;
  margin-left: 3rem;
}

.card-usage {
  transition: all 0.3s ease;
  background-color: rgb(255, 255, 255, .55);
}

.card-usage:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.card-usage .btn-cta {
  padding: 12px 20px;
  font-size: 0.95rem;
}


/* =========================================================
   SERVICES BLOCK (legacy)
========================================================= */

.section-divider {
  width: 80px;
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
  margin: 4rem auto;
  border-radius: 2px;
}


/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  padding: 56px 0 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-container {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  color: rgba(19, 23, 32, 0.90);
  margin: 0 0 28px;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 4px 0 12px;
  letter-spacing: 0.2px;
}

.footer-desc {
  margin: 0;
  color: rgba(19, 23, 32, 0.7);
  line-height: 1.6;
  max-width: 38ch;
}

.footer-desc--small {
  font-size: 0.92rem;
  margin: 0 0 16px;
  color: rgba(19, 23, 32, 0.6);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: inline-block;
  text-decoration: none;
  color: rgba(19, 23, 32, 0.7);
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(3px);
}

.btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.btn-footer:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.footer-bottom {
  width: min(1200px, 92%);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.55);
}

.footer-bottom a {
  color: rgba(19, 23, 32, 0.6);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: rgba(19, 23, 32, 0.85);
  text-decoration: underline;
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.6;
}

@media (min-width: 1024px) {

  .footer-logo {
    width: 70px;
    height: 70px;
  }

  .btn-footer {
    min-width: 240px;
  }

  .footer-nav,
  .footer-cta {
    padding-top: 14px;
    /* ajuste 6–14px selon ton ressenti */
  }


}

/* =========================================================
   G-* DESIGN SYSTEM (new UI)
========================================================= */
.g-page {
  color: var(--text);
}

.g-container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

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

/* Typo */
.g-kicker {
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(18, 22, 31, .55);
  margin-bottom: .8rem;
}

.g-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 700;
}

.g-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.6rem;
  max-width: 52ch;
}

.g-h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0 0 .6rem;
  line-height: 1.2;
  font-weight: 700;
}

.g-h3 {
  font-size: 1.15rem;
  margin: 0 0 .6rem;
  font-weight: 700;
}

.g-link {
  color: rgba(18, 22, 31, .75);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 22, 31, .22);
  padding-bottom: 2px;
}

.g-link:hover {
  color: rgba(18, 22, 31, .95);
  border-bottom-color: rgba(18, 22, 31, .45);
}


/* =========================================================
   G HERO (mobile-first)
========================================================= */

/* Base: mobile */
.g-hero {
  padding: 3.2rem 0 2.2rem;
  /* moins haut sur mobile */
}

.g-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  /* 1 colonne sur mobile */
  gap: 1.4rem;
  align-items: start;
}

.g-hero__actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.g-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

/* Badges un peu plus compacts sur mobile */
.g-badge {
  font-size: .88rem;
  padding: .42rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

/* Image: centrée et pas trop grosse sur mobile */
.g-hero__visual {
  display: flex;
  justify-content: center;
  order: 2;
  /* image après le texte */
}

.g-hero__img {
  width: min(360px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18));
}

/* Tablette: on peut agrandir un peu */
@media (min-width: 720px) {
  .g-hero {
    padding: 4rem 0 2.5rem;
  }

  .g-hero__grid {
    gap: 2rem;
  }

  .g-hero__img {
    width: min(420px, 100%);
  }
}

/* Desktop: revient en 2 colonnes comme ton design */
@media (min-width: 1024px) {
  .g-hero {
    padding: clamp(3.8rem, 6vw, 6rem) 0 2.5rem;
  }

  .g-hero__grid {
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(1.2rem, 4vw, 3rem);
    align-items: center;
  }

  .g-hero__visual {
    order: 0;
    /* image à droite */
  }

  .g-badge {
    font-size: .92rem;
    padding: .45rem .75rem;
  }
}


/* =========================================================
   G SECTIONS / CARDS
========================================================= */

.g-section {
  padding: clamp(2.2rem, 5vw, 4.2rem) 0;
}

.g-section__head {
  margin-bottom: 1.6rem;
  max-width: 70ch;
}

/* Cards grid — Mobile first */
.g-cards {
  display: grid;
  grid-template-columns: 1fr;
  /* ✅ mobile */
  gap: 1rem;
}

/* Tablet */
@media (min-width: 640px) {
  .g-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .g-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

/* Card */
.g-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

/* Compact section (si tu l'utilises) */
.g-section--compact {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

/* Hover */
.g-card,
.g-mini {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover: hover) {

  .g-card:hover,
  .g-mini:hover {
    transform: translateY(-2px);
  }
}


/* =========================================================
   GRIDS VARIANTS
========================================================= */
.g-cards--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.g-why__cards--4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .g-cards--2 {
    grid-template-columns: 1fr;
  }

  .g-why__cards--4 {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   FAQ
========================================================= */
.g-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g-faq .g-h3 {
  position: relative;
  padding-left: 18px;
}

.g-faq .g-h3::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd24a;
  font-size: 1.2em;
  line-height: 1;
}


/* =========================================================
   PROCESS TIMELINE (variant)
========================================================= */
.g-why__cards--timeline {
  position: relative;
}

.g-why__cards--timeline::before {
  left: 20px;
  background: rgba(0, 0, 0, .08);
}

.g-why__cards--timeline .g-mini {
  padding-left: 52px;
}

.g-why__cards--timeline .g-mini::before {
  left: 14px;
  top: 18px;
  width: 18px;
  height: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.g-why__cards--timeline .g-mini__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.g-why__cards--timeline .g-mini {
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .72);
  border-radius: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

@media (max-width: 1024px) {
  .g-why__cards--timeline::before {
    display: none;
  }

  .g-why__cards--timeline .g-mini {
    padding-left: 0;
  }

  .g-why__cards--timeline .g-mini::before {
    display: none;
  }
}


/* =========================================================
   SPLIT (g-why) : layout + lists
========================================================= */
.g-why {
  align-items: start;
  gap: 26px;
}

.g-why__content .g-list {
  margin-top: 14px;
}

.g-why__content {
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
  max-width: 52ch;
}

.g-list {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .4rem;
}

.g-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(18, 22, 31, .84);
}

.g-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(18, 22, 31, .85);
}


/* =========================================================
   PORTFOLIO GRID
========================================================= */
.g-grid--portfolio {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .g-grid--portfolio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .g-grid--portfolio {
    grid-template-columns: 1fr;
  }
}

.g-shot {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(18, 22, 31, .10);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
  cursor: pointer;
  outline: none;
}

.g-shot__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.g-shot:hover .g-shot__media img {
  transform: scale(1.03);
}

.g-shot__cap {
  padding: 12px 12px 14px;
}

.g-shot__capRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.g-shot__title {
  font-weight: 600;
}

.g-shot__desc {
  margin-top: 6px;
  opacity: .75;
  font-size: .95rem;
}

.g-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .04em;
  background: rgba(255, 212, 71, .18);
  border: 1px solid rgba(255, 212, 71, .35);
}


/* =========================================================
   REVEAL + LIGHTBOX
========================================================= */
.js-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-locked {
  overflow: hidden;
}

.g-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.g-lightbox.is-open {
  display: block;
}

.g-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.g-lightbox__dialog {
  position: relative;
  width: min(1100px, calc(100% - 24px));
  margin: 24px auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}

.g-lightbox__figure {
  position: relative;
}

.g-lightbox__figure img {
  width: 100%;
  height: 70vh;
  object-fit: contain;
  background: rgba(0, 0, 0, .03);
  display: block;
}

.g-lightbox__caption {
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 16px 18px;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .65),
      rgba(0, 0, 0, .25),
      transparent);
  color: #fff;
}

.g-lightbox__caption a,
.g-lightbox__caption button {
  pointer-events: auto;
}

.g-lightbox__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.g-lightbox__desc {
  font-size: .95rem;
  opacity: .9;
}

.g-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(18, 22, 31, .12);
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  z-index: 20;
}

.g-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(18, 22, 31, .12);
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  z-index: 20;
  display: grid;
  place-items: center;
}

.g-lightbox__nav--prev {
  left: 10px;
}

.g-lightbox__nav--next {
  right: 10px;
}

@media (max-width: 900px) {
  .g-lightbox__figure {
    grid-template-columns: 1fr;
  }

  .g-lightbox__figure img {
    height: 55vh;
  }
}


/* =========================================================
   TECH SECTION — Mobile first
========================================================= */

.g-soft h2 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.g-tech p,
.g-tech li {
  color: #1f2937;
}

.g-soft {
  background: none;
  padding: 0;
  border-radius: 0;
  max-width: none;
}

@media screen {}

/* ---------- Tech layout ---------- */
.g-tech {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile = 1 colonne */
  gap: 1.4rem;
}

/* Texte */
.g-tech__text {
  max-width: none;
}

/* Texte couleur */
.g-tech p,
.g-tech li {
  color: #1f2937;
}

/* Badges */
.g-tech__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  .g-soft {
    padding: 2rem 2.2rem;
    border-radius: 18px;
  }

  .g-tech__text {
    max-width: 52ch;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .g-soft {
    max-width: 1000px;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
  }

  .g-tech {
    gap: 2.2rem;
    align-items: start;
  }

  .g-tech__text {
    max-width: 52ch;
  }
}

/* =========================================================
   PROCESS (linéaire)
========================================================= */
.g-process__steps {
  position: relative;
}

.g-process__step {
  position: relative;
}

.g-process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: -10px;
  width: 2px;
  background: rgba(0, 0, 0, .07);
  border-radius: 99px;
}

.g-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.g-process__intro {
  max-width: 60ch;
}

.g-process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.g-process__step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.g-process__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffd24a;
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.g-process__content {
  padding-top: 4px;
}

.g-process__content .g-h3 {
  margin-bottom: .3rem;
}

@media (max-width: 620px) {
  .g-process__step {
    grid-template-columns: 32px 1fr;
  }

  .g-process__num {
    width: 32px;
    height: 32px;
    font-size: .95rem;
  }
}


/* =========================================================
   WHY (final version currently active)
========================================================= */
.g-why {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile */
  gap: 18px;
  align-items: start;
}

.g-why__content {
  padding: 0;
  max-width: none;
  text-align: left;
}

.g-why__content .g-muted {
  max-width: 42ch;
  font-size: 15.5px;
  line-height: 1.6;
}

.g-why__cta-btn {
  display: flex;
  justify-content: flex-start;
}

/* Cards : mobile = 1 colonne */
.g-why__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

/* Style des mini-cards (premium) */
.g-mini {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
  min-height: 110px;
}

.g-mini::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 212, 71, .95);
}

.g-mini__title {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.g-mini .g-muted {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}

/* Petit tablet : cards en 2 colonnes */
@media (min-width: 520px) {
  .g-why__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
    padding-top: 0;
  }
}

/* Desktop : retrouve ton layout “avant” (texte à gauche / cards à droite) */
@media (min-width: 1024px) {
  .g-why {
    grid-template-columns: 1.15fr 1fr;
    /* split */
    gap: 26px;
  }

  .g-why__content {
    max-width: 52ch;
    padding: 2rem;
  }

  .g-why__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 2x2 */
    gap: 16px;
    border-top: 0;
    padding-top: 0;
  }
}

/* Très petit : repasse en 1 colonne */
@media (max-width: 420px) {
  .g-why__cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FINAL CTA
========================================================= */
.g-final {
  padding: 2.6rem 0 4rem;
}

.g-final__box {
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 860px;
}


/* =========================================================
   CONTACT PAGE (mobile-first)
========================================================= */

/* ---------- HERO ---------- */
.g-contactHero {
  padding: 2.6rem 0 1.4rem;
  /* mobile */
}

.g-contactHero__wrap {
  width: min(100% - 2rem, 860px);
  margin: 0 auto;
}

.g-contactHero__head {
  padding: 1.2rem 0;
  /* mobile: pas trop "card-like" */
}

.g-contactHero__title {
  margin: .35rem 0 .75rem;
}

.g-contactHero__lead {
  margin: 0 0 1rem;
  max-width: none;
  /* mobile: pas besoin de contraindre */
}

.g-contactHero__reassurance {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .45rem;
  max-width: none;
}

.g-contactHero__reassurance li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(18, 22, 31, .82);
}

.g-contactHero__reassurance li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(18, 22, 31, .85);
}

.g-contactHero+.g-section {
  padding-top: 1.2rem;
  /* mobile */
}

/* ---------- FORM ---------- */
.g-contactForm {
  margin-top: 1.6rem;
  padding-bottom: 3rem;
  /* mobile */
}

.g-contactForm__card {
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
  padding: 1.2rem;

  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 14px;

  box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
  backdrop-filter: blur(6px);
}

.g-field {
  margin-bottom: 1.1rem;
}

.g-label {
  display: block;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: rgba(18, 22, 31, .75);
}

.g-formActions {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.g-formNote {
  font-size: .85rem;
  color: rgba(18, 22, 31, .6);
}

/* ---------- TABLET ---------- */
@media (min-width: 720px) {
  .g-contactHero {
    padding: 3.2rem 0 1.8rem;
  }

  .g-contactHero__head {
    padding: 1.6rem 0;
  }

  .g-contactHero__lead {
    max-width: 60ch;
  }

  .g-contactHero__reassurance {
    max-width: 52ch;
  }

  .g-contactHero+.g-section {
    padding-top: 1.6rem;
  }

  .g-contactForm {
    margin-top: 2rem;
    padding-bottom: 3.8rem;
  }

  .g-contactForm__card {
    padding: 1.6rem;
    border-radius: 16px;
  }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 1024px) {
  .g-contactHero {
    padding: 4.8rem 0 1.8rem;
    /* comme ton clamp */
  }

  .g-contactForm {
    padding-bottom: 4.5rem;
  }

  .g-contactForm__card {
    padding: 2rem;
    border-radius: 18px;
  }
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-links a:hover {
    transform: none;
  }

  .btn-footer {
    width: 100%;
  }
}


/* =========================================================
   GLOBAL TYPO RESPONSIVE (kept as-is, last = priority)
========================================================= */
@media (max-width: 1024px) {
  .g-h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .g-why__content .g-muted {
    font-size: 16px;
    line-height: 1.55;
  }

  .g-mini__title {
    font-size: 16px;
    line-height: 1.3;
  }

  .g-mini p {
    font-size: 15px;
    line-height: 1.55;
  }
}