:root {
  --erizo-cyan: #00d2ff;
  --erizo-cyan-soft: #b8f3ff;
  --erizo-violet: #3a0ca3;
  --erizo-violet-medium: #6d28d9;
  --erizo-violet-deep: #24046b;
  --erizo-header: #2d047e;
  --erizo-ink: #0f1028;
  --erizo-graphite: #475569;
  --erizo-brume: #f8fafc;
  --erizo-white: #ffffff;
  --header-height: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--erizo-white);
  background: var(--erizo-ink);
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

section {
  scroll-margin-top: var(--header-height);
}

/* ─── HEADER ─── */

.site-header {
  background: var(--erizo-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.header-scrolled {
  background: rgba(45, 4, 126, 0.98);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.navbar {
  min-height: var(--header-height);
  padding: 8px 0;
}

.header-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 22px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.navbar-brand:hover .header-logo {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.45));
}

.navbar-nav {
  align-items: center;
  gap: 34px;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--erizo-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.75);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--erizo-white);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Focus visible clavier — accessibilité */
.navbar-nav .nav-link:focus-visible {
  outline: 2px solid var(--erizo-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-support {
  min-width: 178px;
  padding: 10px 22px;
  color: var(--erizo-white);
  background: transparent;
  border: 1.4px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-support:hover {
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  border-color: var(--erizo-cyan);
  transform: translateY(-2px);
}

.btn-support:focus-visible {
  outline: 2px solid var(--erizo-cyan);
  outline-offset: 3px;
}

.custom-toggler {
  border-color: rgba(255, 255, 255, 0.48);
}

.custom-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(0, 210, 255, 0.25);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ─── HERO ─── */

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-image: url("../assets/images/hero/hero-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 32, 0.05) 0%, rgba(8, 10, 32, 0.08) 40%, rgba(8, 10, 32, 0.16) 100%),
    linear-gradient(90deg, rgba(36, 4, 107, 0.10) 0%, rgba(8, 10, 32, 0.02) 50%, rgba(0, 50, 140, 0.08) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 112px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 820px;
  min-height: calc(100vh - 112px);
  margin: 0 auto;
}

.hero-top {
  width: 100%;
}

.hero-title {
  margin: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-title-top {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.45rem, 2.4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-title-main {
  display: block;
  color: var(--erizo-cyan);
  font-size: clamp(5.2rem, 9vw, 9.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px rgba(0, 210, 255, 0.16), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-slogan {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--erizo-cyan-soft);
  font-size: clamp(.95rem, 1.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.hero-slogan span {
  color: rgba(255, 255, 255, 0.62);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
  margin-bottom: 36px;
}

.hero-subtitle {
  margin: 0;
  color: var(--erizo-white);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.72), 0 0 18px rgba(15, 16, 40, 0.72);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
}

.btn-primary-erizo,
.btn-secondary-erizo {
  min-width: 190px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary-erizo {
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  border: 1px solid var(--erizo-cyan);
  box-shadow: 0 12px 28px rgba(0, 210, 255, 0.22);
}

.btn-primary-erizo:hover {
  color: var(--erizo-violet-deep);
  background: var(--erizo-white);
  border-color: var(--erizo-white);
  transform: translateY(-2px);
}

.btn-secondary-erizo {
  color: var(--erizo-white);
  background: transparent;
  border: 1.4px solid rgba(255, 255, 255, 0.72);
}

.btn-secondary-erizo:hover {
  color: var(--erizo-white);
  background: rgba(45, 4, 126, 0.82);
  border-color: var(--erizo-cyan);
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.16);
  transform: translateY(-2px);
}

/* ─── ABOUT ─── */

.about-section {
  position: relative;
  min-height: 100vh;
  margin-top: -1px;
  padding: 112px 0 100px;
  overflow: hidden;
  color: var(--erizo-ink);
  background-image: url("../assets/images/apropos/apropos-background-claire.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.about-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -72px;
  left: -5%;
  width: 110%;
  height: 118px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -14px 30px rgba(15, 16, 40, 0.06);
}

.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.87) 50%, rgba(255, 255, 255, 0.84) 100%);
}

.about-container {
  position: relative;
  z-index: 2;
}

.about-introduction {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--erizo-violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-introduction h2,
.about-help h2 {
  margin-bottom: 18px;
  color: var(--erizo-violet-deep);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
}

.about-introduction p,
.about-help p {
  margin-bottom: 12px;
  color: var(--erizo-graphite);
  font-size: 1rem;
  line-height: 1.8;
}

.about-help {
  max-width: 920px;
  margin: 42px auto 0;
}

.about-help h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

/* ─── GRILLE SERVICES ─── */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1120px;
  margin: 62px auto 0;
  gap: 18px;
}

.expertise-item {
  position: relative;
  min-height: 220px;
  padding: 30px 26px 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(58, 12, 163, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(15, 16, 40, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.expertise-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--item-color-a, var(--erizo-violet)), var(--item-color-b, var(--erizo-cyan)));
}

.expertise-item:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.82);
  /* F2 — Fallback rgba avant color-mix */
  box-shadow: 0 26px 54px rgba(15, 16, 40, 0.13), 0 0 24px rgba(0, 210, 255, 0.18);
  box-shadow: 0 26px 54px rgba(15, 16, 40, 0.13), 0 0 24px color-mix(in srgb, var(--item-color-b, var(--erizo-cyan)) 18%, transparent);
}

.expertise-item-assistance { --item-color-a: #3a0ca3; --item-color-b: #00d2ff; }
.expertise-item-managed    { --item-color-a: #4f46e5; --item-color-b: #38bdf8; }
.expertise-item-network    { --item-color-a: #6d28d9; --item-color-b: #22d3ee; }
.expertise-item-cloud      { --item-color-a: #2563eb; --item-color-b: #00d2ff; }
.expertise-item-security   { --item-color-a: #3a0ca3; --item-color-b: #0ea5e9; }
.expertise-item-backup     { --item-color-a: #5b21b6; --item-color-b: #06b6d4; }

.expertise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  color: var(--item-color-a, var(--erizo-violet));
  background: linear-gradient(145deg, rgba(230, 250, 255, 0.96), rgba(243, 240, 255, 0.96));
  /* F2 — Fallback pour color-mix sur l'icône */
  border: 1px solid rgba(0, 210, 255, 0.36);
  border: 1px solid color-mix(in srgb, var(--item-color-b, var(--erizo-cyan)) 36%, white);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0, 210, 255, 0.06), 0 12px 28px rgba(58, 12, 163, 0.10);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.expertise-icon i {
  font-size: 1.8rem;
}

.expertise-item:hover .expertise-icon {
  transform: translateY(-4px) scale(1.06);
  color: var(--item-color-b, var(--erizo-cyan));
  box-shadow: 0 0 0 9px rgba(0, 210, 255, 0.08), 0 16px 34px rgba(58, 12, 163, 0.16);
}

.expertise-number {
  display: block;
  margin-bottom: 7px;
  color: var(--item-color-b, var(--erizo-cyan));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.expertise-item h3 {
  margin: 0 0 10px;
  color: var(--erizo-violet-deep);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.expertise-item p {
  margin: 0;
  color: var(--erizo-graphite);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ─── BOUTON ÉVALUATION ─── */

.evaluation-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.btn-evaluation {
  min-width: 430px;
  padding: 15px 34px;
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  border: 1px solid var(--erizo-cyan);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 15px 35px rgba(0, 210, 255, 0.24);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-evaluation:hover {
  color: var(--erizo-violet-deep);
  background: var(--erizo-white);
  border-color: var(--erizo-white);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 210, 255, 0.24);
}

/* ─── RESPONSIVE GÉNÉRAL ─── */

@media (max-width: 991px) {
  :root { --header-height: 72px; }

  .header-wrapper { padding-inline: 18px; }
  .header-logo { width: 48px; height: 48px; }

  .navbar-collapse {
    margin-top: 12px;
    padding: 18px;
    background: var(--erizo-header);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
  }

  .navbar-nav { align-items: flex-start; gap: 6px; }
  .navbar-nav .nav-link { padding: 10px 0; }
  .btn-support { width: 100%; margin-top: 12px; text-align: center; }

  .hero-container { padding-top: 105px; }
  .hero-content { max-width: 92%; min-height: calc(100vh - 105px); }
  .hero-bottom { margin-bottom: 32px; }

  .about-section { padding: 96px 0 85px; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
}

@media (max-width: 767px) {
  .hero-section { min-height: 100svh; }
  .header-logo { width: 46px; height: 46px; }
  .hero-container { min-height: 100svh; padding-top: 102px; }
  .hero-content { max-width: 94%; min-height: calc(100svh - 102px); }
  .hero-title-top { font-size: 1.35rem; letter-spacing: 0.10em; }
  .hero-title-main { font-size: 3.55rem; }
  .hero-slogan { max-width: 96%; margin-top: 18px; gap: 6px; font-size: 0.72rem; line-height: 1.55; }
  .hero-bottom { margin-bottom: 24px; }
  .hero-subtitle { max-width: 94%; font-size: 0.96rem; }
  .hero-actions { flex-direction: column; width: 92%; margin-top: 16px; }
  .btn-primary-erizo, .btn-secondary-erizo { width: 100%; min-width: 0; padding: 12px 18px; }

  .about-section { padding: 86px 0 75px; background-position: center top; }
  .about-section::before { top: -48px; height: 82px; }
  .about-introduction, .about-help { padding-inline: 8px; }
  .about-introduction h2, .about-help h2 { font-size: 1.8rem; }
  .about-introduction p, .about-help p { font-size: 0.92rem; line-height: 1.7; }
  .about-help { margin-top: 34px; }

  .expertise-grid { grid-template-columns: 1fr; margin-top: 45px; max-width: 620px; }
  .expertise-item { min-height: auto; padding: 28px 24px; }

  .btn-evaluation { width: 100%; min-width: 0; padding: 14px 20px; font-size: 0.82rem; }
}

@media (max-width: 430px) {
  .hero-container { padding-top: 94px; }
  .hero-content { min-height: calc(100svh - 94px); }
  .hero-title-top { font-size: 1.18rem; }
  .hero-title-main { font-size: 3.15rem; }
  .hero-slogan { row-gap: 2px; column-gap: 10px; }
  .hero-slogan span { display: none; }
  .hero-subtitle { font-size: 0.88rem; }
  .hero-bottom { margin-bottom: 18px; }
}

/* ─── SECTION CONTACT ─── */

.contact-section {
  position: relative;
  min-height: 100vh;
  padding: 105px 0 90px;
  overflow: hidden;
  color: var(--erizo-white);
  background-image: url("../assets/images/contact/contact-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 40%, rgba(109, 40, 217, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(15, 16, 40, 0.12), rgba(15, 16, 40, 0.22), rgba(15, 16, 40, 0.30));
}

.contact-container {
  position: relative;
  z-index: 2;
}

.contact-heading {
  max-width: 920px;
  margin: 0 auto 52px;
}

.contact-section-label {
  color: var(--erizo-cyan);
}

.contact-heading h2 {
  margin-bottom: 18px;
  color: var(--erizo-white);
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.8;
}

/* Panneau du formulaire */

.contact-form-panel-light {
  padding: 38px;
  background: rgba(248, 250, 252, 0.97);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 28px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.27),
    0 0 36px rgba(0, 210, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(36, 4, 107, 0.12);
}

.contact-form-title span {
  display: block;
  color: var(--erizo-violet);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-form-title h3 {
  margin: 5px 0 0;
  color: var(--erizo-violet-deep);
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
}

.contact-form-title > i {
  color: var(--erizo-cyan);
  font-size: 2.1rem;
}

.contact-form .form-label {
  margin-bottom: 8px;
  color: var(--erizo-violet-deep);
  font-size: 0.79rem;
  font-weight: 700;
}

.contact-form .input-group-text {
  min-width: 48px;
  justify-content: center;
  color: var(--erizo-violet);
  background: #eef2ff;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 13px 0 0 13px;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 52px;
  color: var(--erizo-ink);
  background: var(--erizo-white);
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  font-size: 0.85rem;
}

.contact-form .input-group .form-control,
.contact-form .input-group .form-select {
  border-radius: 0 13px 13px 0;
}

.contact-form .form-control::placeholder {
  color: #94a3b8;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  color: var(--erizo-ink);
  background: var(--erizo-white);
  border-color: var(--erizo-cyan);
  box-shadow: 0 0 0 0.2rem rgba(0, 210, 255, 0.15);
  outline: none;
}

.contact-form .input-group:focus-within .input-group-text {
  color: var(--erizo-violet);
  background: #e0f7ff;
  border-color: var(--erizo-cyan);
}

.contact-form .form-select option {
  color: var(--erizo-ink);
  background: var(--erizo-white);
}

.contact-message {
  min-height: 170px;
  padding: 16px;
  resize: vertical;
}

.contact-form .invalid-feedback {
  color: #dc2626;
  font-size: 0.7rem;
}

.message-counter {
  margin-top: 7px;
  color: #64748b;
  font-size: 0.69rem;
  text-align: right;
}

.message-limit-reached {
  color: #dc2626;
  font-weight: 700;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 54px;
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  border: 1px solid var(--erizo-cyan);
  border-radius: 999px;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(0, 210, 255, 0.23);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-contact-submit:hover {
  color: var(--erizo-white);
  background: var(--erizo-violet);
  border-color: var(--erizo-violet);
  box-shadow: 0 18px 40px rgba(58, 12, 163, 0.25);
  transform: translateY(-2px);
}

.btn-contact-submit:focus-visible {
  outline: 2px solid var(--erizo-cyan);
  outline-offset: 3px;
}

.btn-contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

/* Ligne captcha + bouton envoi — M2 : règle consolidée */

.contact-submit-row {
  display: grid;
  grid-template-columns: minmax(300px, auto) minmax(260px, 1fr);
  align-items: end;
  gap: 22px;
}

.captcha-block {
  min-width: 0;
}

.captcha-label {
  display: block;
  margin-bottom: 8px;
  color: var(--erizo-violet-deep);
  font-size: 0.79rem;
  font-weight: 700;
}

/* ─── ASSISTANCE À DISTANCE ─── */

.remote-support-section {
  margin-top: 55px;
  padding: 30px 34px;
  background:
    linear-gradient(
      100deg,
      rgba(45, 4, 126, 0.92),
      rgba(58, 12, 163, 0.76),
      rgba(15, 16, 40, 0.90)
    );
  border: 1px solid rgba(0, 210, 255, 0.20);
  border-radius: 25px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.remote-support-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--erizo-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.remote-support-content h3 {
  margin-bottom: 12px;
  color: var(--erizo-white);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
}

.remote-support-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.remote-support-action {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 19px;
}

.remote-support-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--erizo-cyan);
  background: rgba(15, 16, 40, 0.55);
  border: 1px solid rgba(0, 210, 255, 0.34);
  border-radius: 17px;
}

.remote-support-icon i {
  font-size: 1.55rem;
}

.remote-support-action span,
.remote-support-action strong {
  display: block;
}

.remote-support-action span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
}

.remote-support-action strong {
  color: var(--erizo-white);
  font-size: 0.9rem;
}

.btn-remote-support {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 5px;
  padding: 12px 20px;
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  border: 1px solid var(--erizo-cyan);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn-remote-support:hover {
  color: var(--erizo-violet-deep);
  background: var(--erizo-white);
  border-color: var(--erizo-white);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE CONTACT ─── */

@media (max-width: 991px) {
  .contact-section { padding: 90px 0 80px; }
  .contact-heading { margin-bottom: 42px; }
  .remote-support-section { padding: 28px; }
}

@media (max-width: 767px) {
  .contact-section { min-height: auto; padding: 75px 0 65px; }
  .contact-heading h2 { font-size: 2rem; }

  .contact-form-panel-light {
    padding: 25px 19px;
    border-radius: 22px;
  }

  .contact-form-title h3 { font-size: 1.45rem; }

  /* M2 — Règle unique consolidée pour mobile */
  .contact-submit-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 16px;
  }

  .contact-submit-row .btn-contact-submit {
    min-height: 54px;
  }

  .remote-support-section {
    margin-top: 40px;
    padding: 24px 19px;
    border-radius: 21px;
  }
}

/* ─── MESSAGES SERVEUR (PHP) ─── */

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-server-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-server-alert:not(.d-none) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-server-alert.is-success {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.form-server-alert.is-error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.form-server-alert i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 1.1rem;
}

/* ─── FOOTER ─── */

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--erizo-ink);
  background-image: url("../assets/images/footer/footer-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.92));
}

.footer-container {
  position: relative;
  z-index: 2;
  padding-top: 78px;
  padding-bottom: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--erizo-violet-deep);
}

.footer-brand:hover { color: var(--erizo-violet); }

.footer-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 16px; }

.footer-brand span,
.footer-brand strong,
.footer-brand small { display: block; }

.footer-brand strong { font-size: 1.08rem; font-weight: 800; }
.footer-brand small  { margin-top: 3px; color: var(--erizo-graphite); font-size: .68rem; line-height: 1.45; }

.footer-brand-block > p,
.footer-newsletter > p { color: var(--erizo-graphite); font-size: .82rem; line-height: 1.75; }

.footer-contact-list { display: grid; gap: 11px; margin-top: 23px; }
.footer-contact-list a { display: flex; align-items: flex-start; gap: 11px; color: var(--erizo-graphite); font-size: .78rem; line-height: 1.55; }
.footer-contact-list a:hover { color: var(--erizo-violet); }
.footer-contact-list i { flex: 0 0 auto; margin-top: 2px; color: var(--erizo-cyan); font-size: 1rem; }

.footer-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--erizo-violet);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* F1 — Titres de colonnes footer en h3 dans le HTML; styles conservés */
.footer-newsletter h2,
.footer-newsletter h3,
.footer-links-block h2,
.footer-links-block h3 {
  margin: 0 0 14px;
  color: var(--erizo-violet-deep);
  font-size: 1.15rem;
  font-weight: 800;
}

.newsletter-form { margin-top: 20px; }

.newsletter-form .input-group { position: relative; }

.newsletter-form .input-group-text {
  color: var(--erizo-violet);
  background: var(--erizo-white);
  border: 1px solid rgba(58, 12, 163, 0.16);
  border-right: 0;
  border-radius: 14px 0 0 14px;
}

.newsletter-form .form-control {
  min-height: 49px;
  color: var(--erizo-ink);
  background: var(--erizo-white);
  border: 1px solid rgba(58, 12, 163, 0.16);
  border-left: 0;
  border-right: 0;
  font-size: .8rem;
  box-shadow: none;
}

.newsletter-form .form-control:focus {
  border-color: var(--erizo-cyan);
  box-shadow: 0 0 0 .18rem rgba(0, 210, 255, 0.13);
  outline: none;
}

.btn-newsletter {
  min-width: 50px;
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  border: 1px solid var(--erizo-cyan);
  border-radius: 0 14px 14px 0;
}

.btn-newsletter:hover {
  color: var(--erizo-white);
  background: var(--erizo-violet);
  border-color: var(--erizo-violet);
}

.newsletter-form .invalid-feedback {
  position: absolute;
  top: 100%;
  left: 0;
  color: #dc2626;
  font-size: .67rem;
}

.newsletter-note { margin: 12px 0 0; color: #64748b !important; font-size: .65rem !important; }
.newsletter-note.is-success { color: #15803d !important; font-weight: 700; }

.footer-links-block ul { list-style: none; margin: 0; padding: 0; }
.footer-links-block li + li { margin-top: 10px; }

.footer-links-block a {
  position: relative;
  color: var(--erizo-graphite);
  font-size: .78rem;
  transition: color .22s ease, padding-left .22s ease;
}

.footer-links-block a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--erizo-cyan);
  transform: translateY(-50%);
  transition: width .22s ease;
}

.footer-links-block a:hover { padding-left: 15px; color: var(--erizo-violet); }
.footer-links-block a:hover::before { width: 9px; }

.footer-divider {
  height: 1px;
  margin: 52px 0 20px;
  background: linear-gradient(90deg, transparent, rgba(58, 12, 163, 0.22), rgba(0, 210, 255, 0.34), transparent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p { margin: 0; color: #64748b; font-size: .72rem; }

.footer-social { display: flex; align-items: center; gap: 9px; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--erizo-white);
  background: var(--erizo-violet-deep);
  border: 1px solid rgba(58, 12, 163, 0.15);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(36, 4, 107, 0.16);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.footer-social a:hover {
  color: var(--erizo-ink);
  background: var(--erizo-cyan);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 210, 255, 0.22);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--erizo-cyan);
  outline-offset: 3px;
}

/* ─── RESPONSIVE FOOTER ─── */

@media (max-width: 991px) {
  .footer-container { padding-top: 65px; }
}

@media (max-width: 767px) {
  .footer-container { padding-top: 55px; }
  .footer-divider { margin-top: 38px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-social { justify-content: center; }
}

/* ─── FOOTER TEXTE SANS LOGO ─── */

.footer-brand-text {
  display: inline-block;
  padding: 0;
}

.footer-brand-text strong {
  color: var(--erizo-violet-deep);
  font-size: 1.22rem;
}

.footer-brand-text small {
  margin-top: 6px;
}


/* Ajustement de marque demandé — héro d’accueil */
@media (max-width: 991.98px) {
  .hero-title-main { font-size: clamp(4.7rem, 13vw, 7rem); }
  .hero-slogan { max-width: 100%; font-size: clamp(.86rem, 2.4vw, 1.08rem); gap: 8px 10px; }
}

@media (max-width: 575.98px) {
  .hero-title-main { font-size: clamp(4rem, 20vw, 5.8rem); }
  .hero-slogan { font-size: .86rem; line-height: 1.6; }
}

/* =========================================================
   AJUSTEMENTS HERO — V4
   ========================================================= */
.hero-slogan {
  font-size: clamp(.78rem, 1.05vw, 1rem);
  margin-top: 14px;
  gap: 7px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2.05vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 4px 18px rgba(0,0,0,.5);
}

.contact-submit-row-stacked {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
}

.contact-submit-row-stacked .hold-submit-help {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 767.98px) {
  .hero-slogan { font-size: .72rem; line-height: 1.55; }
  .hero-subtitle { font-size: 1.18rem; }
}

/* Correctif lisibilité — consentement du formulaire d’accueil */
.contact-form-panel-light .form-check,
.contact-form-panel-light .form-check-label {
  color: #334155 !important;
}

.contact-form-panel-light .form-check-label {
  font-size: 0.78rem;
  line-height: 1.65;
  font-weight: 500;
}

.contact-form-panel-light .form-check-input {
  border-color: #64748b;
  background-color: #ffffff;
}

.contact-form-panel-light .form-check-input:checked {
  background-color: var(--erizo-violet);
  border-color: var(--erizo-violet);
}
