/* ============================================================
   NEXISTEM — Feuille de style principale
   Couleurs : blanc #FFFFFF | noir #0A0A0A | rouge #CC0000 | gris argenté
   Style : minimaliste, aéré, mobile-first
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white:   #FFFFFF;
  --black:   #0A0A0A;
  --red:     #CC0000;
  --silver:  #A8A8A8;
  --silver-light: #E8E8E8;
  --silver-bg:    #F5F5F5;
  --font:    'Inter', system-ui, -apple-system, sans-serif;
  --radius:  12px;
  --max-w:   1100px;
  --nav-h:   72px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

ul {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1.05rem;
  color: #3a3a3a;
  line-height: 1.75;
}

.text-red   { color: var(--red); }
.text-silver { color: var(--silver); }

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--gray {
  background: var(--silver-bg);
}

.text-center { text-align: center; }

/* ---------- BUTTON ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: #aa0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.25);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--silver-light);
  display: flex;
  align-items: center;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar__logo img {
  height: 65px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  position: relative;
  transition: color var(--transition);
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.navbar__links a:hover { color: var(--red); }
.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }
.navbar__links a.active { color: var(--red); }

.navbar__cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__burger.open span:nth-child(2) {
  opacity: 0;
}
.navbar__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.navbar__mobile.open {
  display: flex;
}
.navbar__mobile a {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: color var(--transition);
}
.navbar__mobile a:hover { color: var(--red); }
.navbar__mobile .btn {
  margin-top: 8px;
}
.navbar__mobile .btn--primary {
  color: var(--white);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
}

.footer__brand p {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col ul li a {
  color: #cccccc;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid #1f1f1f;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__bottom p {
  color: var(--silver);
  font-size: 0.85rem;
}
.footer__bottom a {
  color: var(--silver);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--white); }

/* ============================================================
   PAGE ACCUEIL — index.html
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0A0A0A;
}

/* Vidéo de fond */
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

/* Voile sombre — modifier rgba(0,0,0,X) pour ajuster l'opacité */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Contenu texte au-dessus de la vidéo et du voile */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 96px;
}

.hero__logo {
  margin-bottom: 48px;
}
.hero__logo img {
  height: 130px;
  width: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 24px;
  color: #ffffff;
}

.hero h1 span { color: var(--red); }

.hero__sub {
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Bouton blanc sur fond sombre */
.btn--white {
  background: #ffffff;
  color: var(--black);
  border: 2px solid #ffffff;
}
.btn--white:hover {
  background: transparent;
  color: #ffffff;
}

.home-services {
  padding: 80px 0;
}

.home-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.home-service-card {
  background: var(--silver-bg);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.home-service-card:hover {
  border-color: var(--silver-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}

.home-service-card__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.home-service-card h3 { margin-bottom: 4px; }

.home-service-card p {
  font-size: 0.95rem;
  color: #666;
  flex: 1;
}

.home-service-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: gap var(--transition);
}
.home-service-card a:hover { gap: 10px; }

/* Section "Pourquoi nous" */
.why-section {
  text-align: center;
}

.why-section__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.why-section h2 {
  max-width: 700px;
  margin: 0 auto 16px;
}

.why-section__sub {
  max-width: 540px;
  margin: 0 auto 56px;
  color: #666;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  text-align: left;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: var(--radius);
}

.why-card__icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.why-card h4 { margin-bottom: 8px; }
.why-card p  { font-size: 0.9rem; color: #666; }

.why-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.why-buttons .btn {
  font-size: 1rem;
  padding: 18px 32px;
}

@media (max-width: 600px) {
  .why-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .why-buttons .btn {
    text-align: center;
    justify-content: center;
  }
}

/* Cartes "Pourquoi choisir Nexistem" */
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  align-items: stretch;
}

.why-card-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.why-card-new {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card-link:hover .why-card-new {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.why-card-new__icon {
  width: 28px;
  height: 28px;
  color: var(--black);
}

.why-card-new__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.why-card-new__text {
  font-size: 0.975rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.why-card-new__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 4px;
  transition: text-decoration var(--transition);
}
.why-card-link:hover .why-card-new__link {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .why-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE SERVICES — services.html
   ============================================================ */
.page-header {
  padding: 80px 0 56px;
  text-align: center;
}
.page-header__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.page-header p {
  max-width: 560px;
  margin: 16px auto 0;
  color: #666;
  font-size: 1.05rem;
}

.service-block {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.service-block--reverse {
  direction: rtl;
}
.service-block--reverse > * {
  direction: ltr;
}

.service-block__number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.service-block__content h2 {
  margin-bottom: 32px;
}

.service-block__content p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.service-block__content p:last-of-type {
  margin-bottom: 32px;
}

.service-block__visual {
  background: var(--silver-bg);
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.service-divider {
  width: 100%;
  height: 1px;
  background: var(--silver-light);
}

/* ============================================================
   PAGE TARIFS — tarifs.html
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pricing-card {
  border: 1px solid var(--silver-light);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}

/* Card mise en avant (pack) */
.pricing-card--featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  scale: 1.03;
}
.pricing-card--featured p {
  color: #aaa;
}
.pricing-card--featured .pricing-card__market,
.pricing-card--featured .pricing-card__subtitle {
  color: #888;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  width: fit-content;
}

.pricing-card__name {
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-card__launch {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 8px 0 2px;
}
.pricing-card--featured .pricing-card__launch {
  color: var(--white);
}

.pricing-card__prices {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.pricing-card__normal {
  font-size: 1rem;
  color: var(--silver);
  text-decoration: line-through;
}

.pricing-card__subtitle {
  font-size: 0.85rem;
  color: var(--silver);
}

.pricing-card__market {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 4px;
}
.pricing-card__market strong {
  color: var(--silver);
}

.pricing-card__divider {
  width: 100%;
  height: 1px;
  background: var(--silver-light);
  margin: 8px 0;
}
.pricing-card--featured .pricing-card__divider {
  background: #333;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}
.pricing-card--featured .pricing-card__features li {
  color: #ccc;
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-launch-banner {
  margin-top: 56px;
  background: #fff5f5;
  border: 1px solid #ffcece;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.pricing-launch-banner__icon {
  flex-shrink: 0;
  color: var(--red);
}
.pricing-launch-banner h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
  color: var(--red);
}
.pricing-launch-banner p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

.pricing-enterprise-banner {
  margin-top: 24px;
  background: #0A0A0A;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.pricing-enterprise-banner__icon {
  flex-shrink: 0;
  color: #d0d0d0;
}
.pricing-enterprise-banner__icon .lucide { width: 28px; height: 28px; }
.pricing-enterprise-banner h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #ffffff;
}
.pricing-enterprise-banner p {
  font-size: 0.95rem;
  color: #aaaaaa;
  margin: 0 0 16px 0;
}
.pricing-enterprise-banner__btn {
  display: inline-block;
  background: #ffffff;
  color: #0A0A0A;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.pricing-enterprise-banner__btn:hover {
  background: #e8e8e8;
}

/* ============================================================
   PAGE À PROPOS — a-propos.html
   ============================================================ */
.about-hero {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-hero__photo {
  position: relative;
}
.about-hero__photo img {
  width: 80%;
  max-width: 360px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}
.about-hero__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--silver-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--silver-light);
  flex-direction: column;
  gap: 12px;
  color: var(--silver);
  font-size: 0.85rem;
  text-align: center;
}
.about-hero__photo-placeholder span:first-child {
  font-size: 3rem;
}

.about-hero__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.about-hero__content h1 {
  margin-bottom: 8px;
}
.about-hero__content .subtitle {
  font-size: 1rem;
  color: var(--silver);
  margin-bottom: 32px;
  font-weight: 500;
}

.about-hero__content p {
  margin-bottom: 16px;
}

/* BDD Section */
.bdd-section { }

.bdd-intro {
  max-width: 720px;
  margin-bottom: 48px;
}
.bdd-intro p { margin-bottom: 12px; }

/* Logos placeholders */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-card__img-wrap {
  width: 120px;
  height: 120px;
  background: #F8F8F8;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: box-shadow var(--transition);
}
.logo-card:hover .logo-card__img-wrap {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.logo-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-card__name {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

/* Experience cards */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.exp-card {
  background: var(--silver-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.exp-card:hover {
  border-color: var(--silver-light);
  transform: translateY(-3px);
}

.exp-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.exp-card__logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.exp-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0;
}
.exp-card h3 { margin-top: 16px; margin-bottom: 12px; }
.exp-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* Why cheaper */
.why-cheaper {
  background: var(--black);
  border-radius: 20px;
  padding: 56px;
  color: var(--white);
}
.why-cheaper h2 {
  color: var(--white);
  margin-bottom: 32px;
  max-width: 480px;
}
.why-cheaper p {
  color: #bbb;
  max-width: 640px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.why-cheaper p:last-of-type { margin-bottom: 0; }

/* ============================================================
   PAGE AVIS — avis.html
   ============================================================ */
.reviews-empty {
  text-align: center;
  padding: 80px 0;
}
.reviews-empty__icon {
  margin-bottom: 24px;
  color: var(--silver);
}
.reviews-empty h2 {
  margin-bottom: 16px;
}
.reviews-empty p {
  color: #666;
  max-width: 440px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.review-card {
  border: 1px solid var(--silver-light);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Placeholder card */
.review-card--placeholder {
  background: var(--silver-bg);
  border-style: dashed;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--silver);
  overflow: hidden;
  flex-shrink: 0;
}
.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}
.review-card__meta span {
  font-size: 0.8rem;
  color: var(--silver);
}

.review-card__stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
}
.review-card--placeholder .review-card__text {
  color: var(--silver);
}

/* ============================================================
   PAGE CONTACT — contact.html
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.contact-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.contact-info > p {
  color: #666;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-detail__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--silver-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail__text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-detail__text a,
.contact-detail__text span {
  font-size: 0.95rem;
  color: var(--black);
  transition: color var(--transition);
}
.contact-detail__text a:hover { color: var(--red); }

.contact-response {
  background: var(--silver-bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-response span:first-child { font-size: 1.5rem; }
.contact-response p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: 20px;
  padding: 48px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--silver-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font);
  background: var(--silver-bg);
  color: var(--black);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row .form-group {
  margin-bottom: 0;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.form-note {
  font-size: 0.8rem;
  color: var(--silver);
}

/* Form success / error states */
.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status.success {
  background: #f0faf0;
  border: 1px solid #b8e6b8;
  color: #2d6a2d;
  display: block;
}
.form-status.error {
  background: #fff5f5;
  border: 1px solid #ffcece;
  color: var(--red);
  display: block;
}

/* ============================================================
   LUCIDE ICONS — styles globaux
   ============================================================ */

/* Base : toutes les icônes générées par Lucide */
.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* Tailles */
.icon-sm   { width: 16px; height: 16px; }
.icon-md   { width: 20px; height: 20px; }
.icon-lg   { width: 24px; height: 24px; }
.icon-xl   { width: 32px; height: 32px; }
.icon-hero { width: 80px; height: 80px; }

/* Couleurs */
.icon-red    { color: var(--red); }
.icon-white  { color: var(--white); }
.icon-silver { color: var(--silver); }

/* Contextes spécifiques */
.home-service-card__icon .lucide { width: 30px; height: 30px; }
.why-card__icon .lucide          { width: 22px; height: 22px; }
.service-block__visual .lucide   { width: 80px; height: 80px; color: var(--silver); }
.pricing-launch-banner__icon .lucide { width: 28px; height: 28px; }
.reviews-empty__icon .lucide     { width: 48px; height: 48px; }
.contact-detail__icon .lucide    { width: 20px; height: 20px; }
.contact-response .lucide        { width: 22px; height: 22px; flex-shrink: 0; }

/* ============================================================
   BARRE DE PROGRESSION SCROLL
   ============================================================ */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 1001;
  transition: width 0.08s linear;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* --- Keyframes --- */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Révélation du titre hero : expansion typographique + montée */
@keyframes heroTitle {
  from {
    opacity: 0;
    transform: translateY(40px);
    letter-spacing: 0.06em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.02em;
  }
}

/* --- Reveal au scroll --- */

.fade-in {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Cascade dans les grilles (jusqu'à 8 enfants) */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }
.fade-in:nth-child(7) { transition-delay: 0.48s; }
.fade-in:nth-child(8) { transition-delay: 0.56s; }

/* --- Hero — cascade après le fade-in de la page (0.45s) --- */

.hero__content h1 {
  animation: heroTitle 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
  opacity: 0;
}
.hero__content .hero__sub {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
  opacity: 0;
}
.hero__content .btn {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
  opacity: 0;
}

/* --- Navbar — renforcement visuel au scroll --- */

.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
  border-bottom-color: transparent;
}

/* --- Stagger — enfants de blocs texte --- */

.stagger-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reveal clip — label + titre services (slide depuis le bas du masque) --- */

.svc-clip {
  clip-path: inset(0 0 110% 0);
  transform: translateY(16px);
  transition: clip-path 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-clip.visible {
  clip-path: inset(0 0 -10% 0);
  transform: translateY(0);
}

/* --- Fade bloc — paragraphes et boutons services (groupe, pas individuel) --- */

.svc-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Rideau qui se lève — clip-path pur, aucun fond, aucun mouvement de l'image --- */

.clip-reveal {
  clip-path: inset(100% 0 0 0 round 16px);
  transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.clip-reveal.visible {
  clip-path: inset(0% 0 0 0 round 16px);
}

/* --- Ligne par ligne — le texte surgit depuis le bas de son masque --- */

.line-wrap {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.line-wrap.visible .line-inner {
  transform: translateY(0);
}

/* --- Affiche qui se déplie — overlay recule vers le bas, image tombe dans son cadre --- */

.img-unfold {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* Rideau noir : ancré en bas, se rétracte vers le bas → révèle le haut en premier */
.img-unfold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 2;
  transform-origin: bottom center;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-unfold.visible::before {
  transform: scaleY(0);
}

/* Image : part légèrement haute (affiche encore repliée), descend dans son cadre */
.img-unfold .service-img {
  transform: scale(1.08) translateY(-6%);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-unfold.visible .service-img {
  transform: scale(1) translateY(0);
}
.img-unfold.visible:hover .service-img {
  transform: scale(1.03);
}

/* --- Photo profil — révélation circulaire depuis le centre --- */

.about-photo-reveal {
  opacity: 0;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.9s cubic-bezier(0.34, 1.15, 0.64, 1), opacity 0.4s ease;
}
.about-photo-reveal.visible {
  opacity: 1;
  clip-path: circle(60% at 50% 50%);
}

/* --- Images de service — hover (fallback sans sweep) --- */

.service-img-col:not(.img-unfold) {
  overflow: hidden;
  border-radius: 16px;
}
.service-img-col:not(.img-unfold) .service-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-img-col:not(.img-unfold):hover .service-img {
  transform: scale(1.04);
}

/* --- Hover boutons complémentaires --- */

.btn--outline:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}
.pricing-enterprise-banner__btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   PAGE CONTACT — animations CSS au chargement (aucun JS)
   ========================================================= */

@keyframes contactReveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Gauche : titre et infos de contact */
.contact-info h1                    { animation: contactReveal 0.5s ease-out 0s    both; }
.contact-detail__item:nth-child(1)  { animation: contactReveal 0.5s ease-out 0.1s  both; }
.contact-detail__item:nth-child(2)  { animation: contactReveal 0.5s ease-out 0.2s  both; }
.contact-detail__item:nth-child(3)  { animation: contactReveal 0.5s ease-out 0.3s  both; }
.contact-response                   { animation: contactReveal 0.5s ease-out 0.4s  both; }

/* Droite : champs du formulaire */
.contact-form .form-group:has(#name)      { animation: contactReveal 0.5s ease-out 0.2s  both; }
.contact-form .form-group:has(#email)     { animation: contactReveal 0.5s ease-out 0.35s both; }
.contact-form .form-group:has(#telephone) { animation: contactReveal 0.5s ease-out 0.5s  both; }
.contact-form .form-group:has(#sujet)     { animation: contactReveal 0.5s ease-out 0.65s both; }
.contact-form .form-group:has(#message)   { animation: contactReveal 0.5s ease-out 0.8s  both; }
.contact-form .form-submit                { animation: contactReveal 0.5s ease-out 0.95s both; }

/* --- Accessibilité --- */

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1 !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .fade-in-left, .fade-in-right, .stagger-item, .svc-clip, .svc-fade {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }
  .img-unfold::before { display: none; }
  .img-unfold .service-img { transform: none !important; }
  .clip-reveal { clip-path: none !important; transition: none !important; }
  .line-inner { transform: none !important; transition: none !important; }
  .about-photo-reveal { clip-path: none !important; opacity: 1 !important; }
  .contact-info h1,
  .contact-detail__item,
  .contact-response,
  .contact-form .form-group,
  .contact-form .form-submit {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #scroll-progress { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile-first breakpoints
   ============================================================ */

/* Tablette */
@media (max-width: 900px) {
  .navbar__links,
  .navbar__cta { display: none; }
  .navbar__burger { display: flex; }

  .home-services__grid { grid-template-columns: 1fr; }
  .why-grid            { grid-template-columns: 1fr 1fr; }
  .pricing-grid        { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card--featured { scale: 1; }

  .service-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-block--reverse { direction: ltr; }
  .service-block__visual { position: static; aspect-ratio: 16/9; }

  .about-hero         { grid-template-columns: 1fr; }
  .about-hero__photo  { max-width: 360px; margin: 0 auto; }
  .logos-grid         { grid-template-columns: repeat(2, 1fr); }
  .exp-grid           { grid-template-columns: 1fr; }
  .why-cheaper        { padding: 40px; }

  .reviews-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-form   { padding: 32px 24px; }
  .form-row       { grid-template-columns: 1fr; }

  .footer__inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .navbar__logo img { height: 44px; }
  .section { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-launch-banner { flex-direction: column; text-align: center; }
  .pricing-enterprise-banner { flex-direction: column; text-align: center; }
  .form-submit { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero__content { padding-top: 56px; padding-bottom: 72px; }
  .hero__logo img { height: 80px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .why-cheaper { padding: 32px 24px; }
}
