/* ===== Base ===== */
body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

.navbar-brand img {
  height: 40px;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.icon-box {
  font-size: 2rem;
  color: #d11a2a;
}

.rounded-4 {
  border-radius: 1rem !important;
}

/* ===== Hero full width ===== */
.hero-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-full .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.70),
    rgba(255, 255, 255, 0.92)
  );
  z-index: 1;
}

.hero-full .hero-content {
  position: relative;
  z-index: 2;
  color: #212529;
}

/* ===== Buttons ===== */
.btn-danger {
  background-color: #d11a2a;
  border-color: #d11a2a;
}

.btn-danger:hover {
  background-color: #b01020;
  border-color: #b01020;
}

/* ===== Cards ===== */
.card:hover {
  transform: translateY(-3px);
  transition: 0.2s ease;
}

/* ===== Footer ===== */
footer {
  background: #ffffff;
  color: #212529;
  border-top: 1px solid #e9ecef;
}

footer img {
  height: 30px;
}

footer p {
  font-size: 0.9rem;
}

/* Icône sous formulaire */
.contact-icon img {
  max-width: 260px;
  opacity: 0.02;              /* 🔥 ajuste ici : 0.25 très discret / 0.4 plus visible */
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.contact-icon img:hover {
  opacity: 0.5;
  transform: scale(1.04);
}

/* CTA Navbar - style comme l'image (pill dark) */
.cta-nav{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.6rem 1.05rem;      /* ⬆️ hauteur augmentée */
  min-height: 38px;             /* hauteur proche des nav-link Bootstrap */

  border-radius: 999px;

  background: #d11a2a;          /* noir doux */
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;            /* très proche des nav-link */
  line-height: 1;

  border: 1px solid rgba(255,255,255,0.14); /* bordure subtile */
  text-decoration: none;

  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cta-nav:hover{
  background: #b01020;           /* hover un peu plus clair */
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}

.cta-nav:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.cta-nav:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(209,26,42,0.22), 0 12px 26px rgba(0,0,0,0.22); /* halo rouge discret */
}

/* Icône dans le bouton */
.cta-nav i{
  font-size: 0.9rem;
  opacity: .85;
}

/* =========================
   Base CTA – forme harmonisée
   ========================= */
.btn,
.cta-nav {
  border-radius: 999px !important;  /* pilule */
  font-weight: 600;
  padding: 0.6rem 1.05rem;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1;
  transition: background .2s ease,
              border-color .2s ease,
              color .2s ease,
              transform .2s ease,
              box-shadow .2s ease;
}

.btn-danger,
.cta-nav {
  background-color: #d11a2a;
  border-color: #d11a2a;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(209,26,42,0.35);
}

.btn-danger:hover,
.cta-nav:hover {
  background-color: #b01020;
  border-color: #b01020;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(176,16,32,0.45);
}


.btn-dark {
  background-color: #212529;
  border-color: #212529;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.btn-dark:hover {
  background-color: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

.btn-outline-dark {
  border: 1.5px solid #212529;
  color: #212529;
  background: transparent;
}

.btn-outline-dark:hover {
  background: #212529;
  color: #ffffff;
}

.btn-outline-light {
  border: 1.5px solid #dee2e6;
  color: #ffffff;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.client-logo {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo:hover {
  transform: translateY(-2px);
  transition: 0.2s ease;
}

/* Labels en majuscules comme la capture */
.form-label-caps{
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .4rem;
}

/* Champs plus "premium" et respirants */
.form-control-lg, .form-select-lg{
  border-radius: 14px;
  padding: 0.55rem 0.75rem;   /* ⬇️ moins haut qu’avant */
  font-size: 0.9rem;         /* ⬇️ texte légèrement réduit */
  border-color: #e5e7eb;
}

/* Focus rouge discret */
.form-control:focus, .form-select:focus{
  border-color: rgba(209,26,42,0.55);
  box-shadow: 0 0 0 0.25rem rgba(209,26,42,0.12);
}

/* Bouton submit : très proche capture */
.btn-danger.btn-lg{
  padding: 0.95rem 1.05rem;
  border-radius: 14px; /* la capture est moins "pill" ici -> plus rectangle arrondi */
  font-weight: 700;
}

/* Bouton formulaire aligné avec les CTA */
.cta-submit{
  min-height: 38px;          /* même hauteur CTA */
  padding: 0.6rem 1.05rem;   /* même padding CTA */
  border-radius: 999px;      /* même forme pilule CTA */
  font-weight: 700;
}

/* ===== Clients marquee ===== */
.clients-marquee{
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}

.clients-track{
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

/* Pause au survol (UX premium) */
.clients-marquee:hover .clients-track{
  animation-play-state: paused;
}

.clients-group{
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 22px;
}

.client-item{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #eef0f2;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  min-width: 170px;
}

.client-item img{
  max-height: 34px;
  max-width: 140px;
  width: auto;
  height: auto;
  opacity: 0.9;
}

/* Défilement infini */
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Accessibilité : réduire animations */
@media (prefers-reduced-motion: reduce){
  .clients-track{ animation: none; }
}

/* Services */
.service-list {
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.service-list li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  position: relative;
}

.service-list li::marker {
  color: #d11a2a;
}

.service-meta {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

/* Icônes drapeaux */
.flag-icon {
  width: 34px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.invalid-feedback { font-size: 0.82rem; }

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: rgba(209,26,42,0.55);
}

.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(209,26,42,0.12);
}

/* ===== Cas clients ===== */
.cas-clients-intro {
  max-width: 760px;
}

.case-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08) !important;
}

.case-card-image-wrap {
  height: 240px;
  overflow: hidden;
  background: #f8f9fa;
}

.case-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-date {
  color: #495057;
}

.case-category {
  color: #5b3df5;
}

.case-title {
  font-size: 1.65rem;
  line-height: 1.3;
  font-weight: 700;
  color: #1f1f1f;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(209, 26, 42, 0.08);
  color: #d11a2a;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .case-card-image-wrap {
    height: 210px;
  }

  .case-title {
    font-size: 1.35rem;
  }
}