/* ============================
   ERASIIA - Site Vitrine
   Palette : #1a1a2e, #0066ff, #fff, #f5f5f7
   ============================ */

/* --- Self-hosted Inter font --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-800.woff2') format('woff2');
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* --- Skip link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #0066ff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- Focus visible --- */
:focus-visible {
  outline: 2px solid #0066ff;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: #0066ff;
  color: #fff;
}

.btn--primary:hover {
  background: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

/* --- Section titles --- */
.section__title,
.hero__title,
h1, h2, h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  text-align: center;
  color: #4a4a4a;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   HEADER
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1a1a2e;
}

.header__logo-img {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.header__logo span {
  line-height: 1;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a4a4a;
  transition: color 0.2s;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0066ff;
  transition: width 0.3s;
}

.header__link:hover {
  color: #0066ff;
}

.header__link:hover::after {
  width: 100%;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ============================
   BREADCRUMB
   ============================ */
.breadcrumb {
  padding: 90px 0 0;
  font-size: 0.85rem;
  color: #767676;
}

.breadcrumb a {
  color: #0066ff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  margin: 0 6px;
  color: #ccc;
}

/* ============================
   HERO
   ============================ */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  text-align: center;
}

.hero__tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.4);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6db3ff;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__sep {
  color: #0066ff;
  margin: 0 4px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__cta {
  font-size: 1.05rem;
  padding: 16px 40px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 36px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__stats strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: #6db3ff;
  line-height: 1;
}

.hero__stats span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ============================
   SERVICES
   ============================ */
.services {
  padding: 100px 0;
  background: #f5f5f7;
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card--accent {
  background: #1a1a2e;
  color: #fff;
  border-color: transparent;
}

.service-card--accent .service-card__desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card--accent .service-card__list li {
  color: rgba(255, 255, 255, 0.8);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 102, 255, 0.1);
  color: #0066ff;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.service-card--accent .service-card__badge {
  background: rgba(109, 179, 255, 0.15);
  color: #6db3ff;
}

.service-card--industry {
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.service-card--industry .service-card__desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card--industry .service-card__list li {
  color: rgba(255, 255, 255, 0.8);
}

.service-card--industry .service-card__badge {
  background: rgba(255, 180, 50, 0.15);
  color: #ffb432;
}

.service-card__desc {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  font-size: 0.9rem;
  color: #4a4a4a;
}

/* ============================
   AVANTAGES
   ============================ */
.avantages {
  padding: 100px 0;
  background: #fff;
}

.avantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.avantage-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.avantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.avantage-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.avantage-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.avantage-card__desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================
   PROCESS
   ============================ */
.process {
  padding: 100px 0;
  background: #f5f5f7;
}

.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: process;
}

.process__step {
  position: relative;
  padding: 40px 32px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.process__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.process__num {
  position: absolute;
  top: -20px;
  left: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff 0%, #4d94ff 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.3);
}

.process__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.process__desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.process__cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================
   OFFRE DE LANCEMENT (legacy)
   ============================ */
.offre {
  padding: 80px 0;
  background: #f5f5f7;
}

.offre__card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offre__card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.offre__badge {
  display: inline-block;
  padding: 6px 20px;
  background: #0066ff;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.offre__title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.offre__subtitle {
  font-size: 1.15rem;
  color: #6db3ff;
  margin-bottom: 20px;
  font-weight: 500;
}

.offre__desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================
   CONTACT
   ============================ */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact__form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a2e;
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: #1a1a2e;
  background: #f9f9fb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.contact__field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__consent {
  margin-top: 4px;
}

.contact__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.4;
  cursor: pointer;
}

.contact__checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #0066ff;
  cursor: pointer;
}

.contact__checkbox-label a {
  color: #0066ff;
  text-decoration: underline;
}

.contact__submit {
  align-self: flex-start;
  font-family: inherit;
}

.contact__email {
  text-align: center;
  margin-top: 32px;
  color: #888;
  font-size: 0.95rem;
}

/* ============================
   CONTACT HERO SPLIT (titre + formulaire above the fold)
   ============================ */
.contact-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 120px 0 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
}

.contact-hero__intro {
  padding-top: 8px;
}

.contact-hero__intro .hero__tag {
  margin-bottom: 24px;
}

.contact-hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.contact-hero__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
}

.contact-hero__bullets li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero__bullets li:first-child {
  border-top: none;
}

.contact-hero__bullets strong {
  color: #6db3ff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  min-width: 80px;
}

.contact-hero__or {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.contact-hero__or a {
  color: #6db3ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(109, 179, 255, 0.4);
  transition: border-color 0.2s;
}

.contact-hero__or a:hover {
  border-bottom-color: #6db3ff;
}

.contact-hero__card {
  background: #fff;
  color: #1a1a2e;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-hero__card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a1a2e;
}

.contact-hero__card-sub {
  font-size: 0.9rem;
  color: #6B7280;
  margin: 0 0 22px;
}

.contact-hero__card .contact__form {
  max-width: none;
  margin: 0;
  gap: 12px;
}

.contact-hero__card .contact__field input,
.contact-hero__card .contact__field textarea,
.contact-hero__card .contact__field select {
  padding: 10px 14px;
}

.contact-hero__card .contact__field textarea {
  min-height: 90px;
}

.contact-hero__card .contact__submit {
  align-self: stretch;
  margin-top: 4px;
}

.contact-hero__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .contact-hero__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .contact-hero {
    min-height: 0;
    padding: 100px 0 50px;
  }
  .contact-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-hero__title {
    font-size: 2.1rem;
  }
  .contact-hero__card {
    padding: 28px 22px;
  }
}

/* ============================
   PAGE-BRANCHE
   ============================ */
.hero--branch {
  padding: 140px 0 80px;
}

.hero--branch .hero__title {
  max-width: 860px;
}

.branch-intro {
  padding: 80px 0;
  background: #fff;
}

.branch-intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.branch-intro__text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.branch-intro__text p strong {
  color: #1a1a2e;
}

.branch-intro__text .section__title {
  text-align: left;
  margin-bottom: 24px;
}

.branch-intro__stats {
  list-style: none;
  padding: 36px 28px;
  margin: 0;
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2fb 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.branch-intro__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 3px solid #0066ff;
}

.branch-intro__stats strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1a1a2e;
}

.branch-intro__stats span {
  font-size: 0.85rem;
  color: #666;
}

.deliverables {
  padding: 100px 0;
  background: #f5f5f7;
}

.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.deliverable-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.deliverable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.deliverable-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.deliverable-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.deliverable-card__desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.deliverable-card__meta {
  font-size: 0.82rem;
  color: #0066ff;
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.deliverable-card__meta em {
  font-style: normal;
  color: #888;
  font-weight: 500;
}

.branch-agents {
  padding: 100px 0;
  background: #fff;
}

.branch-agents__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.agent-card {
  background: #f8f9fc;
  border-radius: 12px;
  padding: 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s, background 0.2s;
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.12);
  background: #fff;
}

.agent-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0066ff;
  margin-bottom: 4px;
}

.agent-card__role {
  font-size: 0.85rem;
  color: #1a1a2e;
  font-weight: 600;
  margin-bottom: 10px;
}

.agent-card__desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 12px;
}

.agent-card__link {
  font-size: 0.82rem;
  color: #0066ff;
  font-weight: 600;
}

.agent-card__link:hover {
  text-decoration: underline;
}

.branch-faq {
  padding: 100px 0;
  background: #f5f5f7;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item__q {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item__q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: #0066ff;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  content: '\2212';
}

.faq-item__a {
  margin-top: 14px;
  color: #555;
  line-height: 1.65;
  font-size: 0.95rem;
}

.branch-cta {
  padding: 80px 0;
  background: #fff;
}

.branch-cta__card {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.branch-cta__card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.branch-cta__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}

.branch-cta__desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.branch-cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 960px) {
  .branch-intro__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .branch-agents__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .branch-agents__grid {
    grid-template-columns: 1fr;
  }

  .branch-cta__card {
    padding: 40px 28px;
  }

  .branch-cta__title {
    font-size: 1.6rem;
  }
}

.contact__email a {
  color: #0066ff;
  font-weight: 600;
}

.contact__email a:hover {
  text-decoration: underline;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.footer__brand {
  text-align: center;
}

.footer__nap {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  line-height: 1.55;
}

.footer__nap a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer__nap a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__siret {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
}

/* ============================
   LEGAL PAGES
   ============================ */
.legal-page {
  padding: 140px 0 80px;
  background: #fff;
}

.legal-page__title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #1a1a2e;
}

.legal-page__content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.legal-page__content p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page__content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-page__content ul li {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-page__content a {
  color: #0066ff;
  font-weight: 500;
}

.legal-page__content a:hover {
  text-decoration: underline;
}

/* ============================
   FOOTER LEGAL LINKS
   ============================ */
.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: #fff;
}

/* ============================
   COOKIE BANNER
   ============================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  padding: 16px 0;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.cookie-banner__text a {
  color: #6db3ff;
  text-decoration: underline;
}

.cookie-banner__btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================
   BLOG HERO (compact)
   ============================ */
#blog-hero {
  padding: 110px 0 40px;
}

#blog-hero .hero__title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

#blog-hero .hero__subtitle {
  margin-bottom: 0;
  font-size: 1rem;
}

/* ============================
   BLOG LISTING
   ============================ */
.blog-listing {
  padding: 50px 0;
}

.blog-listing {
  padding: 80px 0;
  background: #f5f5f7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.blog-card__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 16px;
}

.blog-card__tag--digital {
  background: rgba(0, 102, 255, 0.1);
  color: #0066ff;
}

.blog-card__tag--ia {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.blog-card__tag--hse {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.blog-card__tag--conformite {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.blog-card__tag--commercial {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}

.blog-card__tag--rh {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

.blog-card__tag--compta {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: #1a1a2e;
}

.blog-card__desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card__date {
  font-size: 0.85rem;
  color: #767676;
}

.blog-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066ff;
  transition: color 0.2s;
}

.blog-card__link:hover {
  color: #0052cc;
}

/* ============================
   ARTICLE PAGE
   ============================ */
.article-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  text-align: center;
}

.article-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.article-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-hero__meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.article-hero__sep {
  color: #0066ff;
}

.article__author {
  font-size: 0.9rem;
  color: #767676;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-body {
  padding: 60px 0;
  background: #fff;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #1a1a2e;
  padding: 20px 24px;
  background: #f5f5f7;
  border-left: 4px solid #0066ff;
  border-radius: 8px;
  margin-bottom: 40px;
}

.article-content ul.article-list,
.article-content ol.article-list {
  margin-bottom: 24px;
}

.article-content ul.article-list li,
.article-content ol.article-list li {
  margin-bottom: 12px;
}

.article-content .faq-list {
  margin-top: 24px;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: #1a1a2e;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.article-content p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid #0066ff;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f5f5f7;
  border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
  color: #333;
  margin-bottom: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.article-content thead {
  background: #1a1a2e;
  color: #fff;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.article-content th {
  font-weight: 600;
  border-color: #2a2a4e;
}

.article-content tbody tr:nth-child(even) {
  background: #f9f9fb;
}

.article-content a {
  color: #0066ff;
  font-weight: 500;
}

.article-content a:hover {
  text-decoration: underline;
}

/* ARTICLE CTA */
.article-cta {
  padding: 60px 0 80px;
  background: #f5f5f7;
}

.article-cta__card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.article-cta__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.article-cta__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ============================
   ARTICLES CONNEXES
   ============================ */
.articles-connexes {
  padding: 60px 0;
  background: #f5f5f7;
}

.articles-connexes h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 28px;
}

.articles-connexes .blog-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ============================
   BLOG PREVIEW (homepage)
   ============================ */
.blog-preview {
  padding: 80px 0;
  background: #f5f5f7;
}

.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

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

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .section__title {
    font-size: 1.85rem;
  }

  .offre__title {
    font-size: 2rem;
  }

  .article-hero__title {
    font-size: 2rem;
  }

  .blog-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav .header__link {
    font-size: 1.15rem;
  }

  .header__burger {
    display: flex;
  }

  .hero {
    padding: 130px 0 70px;
  }

  #blog-hero {
    padding: 100px 0 30px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

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

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

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

  .hero__stats strong {
    font-size: 1.6rem;
  }

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

  .blog-preview__grid {
    grid-template-columns: 1fr;
  }

  .articles-connexes .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-hero {
    padding: 130px 0 40px;
  }

  .article-hero__title {
    font-size: 1.65rem;
  }

  .article-cta__card {
    padding: 32px 24px;
  }

  .offre__card {
    padding: 40px 24px;
  }

  .offre__title {
    font-size: 1.75rem;
  }

  .contact__submit {
    width: 100%;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.65rem;
  }

  .section__title {
    font-size: 1.5rem;
  }
}
