/* ============================================================
   CONNEC'TIC V2 — Styles pour pages secondaires
   (services, à propos, mentions légales, etc.)
   ============================================================ */

/* ---------- Sections internes : padding compact ---------- */
/* Cible uniquement les sections après un page-hero (pages internes, pas la homepage) */
.page-hero ~ .section {
  padding: 4rem 0;
}
@media (max-width: 1024px) {
  .page-hero ~ .section {
    padding: 3rem 0;
  }
}
@media (max-width: 640px) {
  .page-hero ~ .section {
    padding: 2.5rem 0;
  }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}
.breadcrumb a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}
.breadcrumb__sep {
  margin: 0 0.5rem;
  color: var(--color-text-light);
}

/* ---------- Hero secondaire (pages internes) ---------- */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-primary-deeper) 0%, var(--color-primary) 60%, var(--color-secondary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(125, 195, 240, 0.08);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(37, 139, 199, 0.06);
  pointer-events: none;
}
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.page-hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.page-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}
.page-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-hero__tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

@media (max-width: 1024px) {
  .page-hero {
    padding: 7rem 0 3rem;
  }
  .page-hero__title {
    font-size: 2.2rem;
  }
}
@media (max-width: 640px) {
  .page-hero {
    padding: 6.5rem 0 2.5rem;
  }
  .page-hero__title {
    font-size: 1.8rem;
  }
  .page-hero__subtitle {
    font-size: 1rem;
  }
}

/* ---------- Problem cards sur fond clair (pages services) ---------- */
.section--light .problems-grid,
.section--light .problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.section--light .problem-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: none;
  transition: all 0.3s;
}
.section--light .problem-card:hover {
  background: var(--color-bg-white);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.section--light .problem-card__icon {
  color: var(--color-secondary);
  background: linear-gradient(135deg, rgba(37, 139, 199, 0.1), rgba(125, 195, 240, 0.08));
}
.section--light .problem-card h3 {
  color: var(--color-text);
}
.section--light .problem-card p {
  color: var(--color-text-secondary);
}
@media (max-width: 640px) {
  .section--light .problems-grid,
  .section--light .problems__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contenu page service ---------- */
.service-detail {
  /* padding geré par .section parent */
}
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.service-detail__content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.service-detail__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
.service-detail__content p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.service-detail__content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.service-detail__content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.service-detail__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
}

@media (max-width: 1024px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---------- Deliverables / checklist ---------- */
.deliverables {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border-light);
}
.deliverables__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.deliverables__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliverables__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--color-text-secondary);
  line-height: 1.5;
  border-bottom: 1px solid var(--color-border-light);
}
.deliverables__list li:last-child {
  border-bottom: none;
}
.deliverables__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.deliverables__check svg {
  width: 12px;
  height: 12px;
}

/* ---------- Pour qui (audience) ---------- */
.audience {
  /* padding geré par .section parent */
  background: var(--color-bg);
}
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.audience-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border-light);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.audience-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
}
.audience-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}
.audience-card__text {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .audience__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .audience__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cas client (avant / action / resultat) ---------- */
.case-study {
  /* padding geré par .section parent */
}
.case-study__card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  max-width: 800px;
  margin: 2rem auto 0;
}
.case-study__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.case-study__tag {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.case-study__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}
.case-study__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  margin-top: 1.5rem;
}
.case-study__step {
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}
.case-study__step + .case-study__step {
  border-top: 1px solid var(--color-border-light);
}
.case-study__step:nth-child(1) {
  background: rgba(239, 68, 68, 0.06);
}
.case-study__step:nth-child(2) {
  background: transparent;
}
.case-study__step:nth-child(3) {
  background: rgba(16, 185, 129, 0.12);
}
.case-study__step-label,
.case-study__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.case-study__step-label::before,
.case-study__label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
.case-study__step-label--before,
.case-study__step:nth-child(1) .case-study__label {
  color: #DC2626;
}
.case-study__step-label--before::before,
.case-study__step:nth-child(1) .case-study__label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}
.case-study__step-label--action,
.case-study__step:nth-child(2) .case-study__label {
  color: var(--color-primary);
}
.case-study__step-label--action::before,
.case-study__step:nth-child(2) .case-study__label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E65A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}
.case-study__step-label--result,
.case-study__step:nth-child(3) .case-study__label {
  color: #059669;
}
.case-study__step-label--result::before,
.case-study__step:nth-child(3) .case-study__label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}
.case-study__step p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}
/* Flèches entre les étapes */
.case-study__step:nth-child(1)::after,
.case-study__step:nth-child(2)::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  z-index: 1;
}

@media (max-width: 768px) {
  .case-study__card {
    padding: 1.75rem;
  }
}

/* ---------- FAQ Accordeon (native <details>/<summary>) ---------- */
.faq {
  max-width: 760px;
  margin: 2rem auto 0;
}
.faq__list {
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.faq__item {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq__item:hover {
  box-shadow: var(--shadow-sm);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  font-family: inherit;
  line-height: 1.4;
  gap: 1rem;
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::marker {
  display: none;
  content: '';
}
.faq__question::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq__item[open] .faq__question::after {
  content: '−';
  transform: none;
  background: var(--color-secondary);
  color: #fff;
}
.faq__question:hover {
  color: var(--color-secondary);
}
.faq__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}
.faq__answer p {
  margin: 0;
}
/* Fallback for div-based FAQ (with JS toggle) */
.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.faq__item.open .faq__icon {
  transform: rotate(45deg);
  background: var(--color-secondary);
  color: #fff;
}
.faq__answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ---------- CTA page service ---------- */
.page-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-primary-deeper) 0%, var(--color-primary) 100%);
  color: #fff;
  text-align: center;
}
.page-cta__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-cta__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Section partenaires ---------- */
.partners {
  padding: 4rem 0;
  background: var(--color-bg);
  text-align: center;
}
.partners__title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}
.partners__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-light);
  opacity: 0.6;
  transition: opacity 0.3s;
  text-decoration: none;
}
.partner-logo:hover {
  opacity: 1;
}
.partner-logo svg {
  width: 32px;
  height: 32px;
}

/* ---------- Page A propos ---------- */
.about-intro {
  padding: 4rem 0;
}
.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro__content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.about-intro__content p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-photo {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 1024px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Chiffres cles ---------- */
.key-figures {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-primary-deeper) 0%, var(--color-primary) 100%);
  color: #fff;
}
.key-figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.key-figure {
  padding: 1.5rem;
}
.key-figure__number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.key-figure__label {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 500;
}

@media (max-width: 768px) {
  .key-figures__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .key-figures__grid {
    grid-template-columns: 1fr;
  }
  .key-figure__number {
    font-size: 2.2rem;
  }
}

/* ---------- Zone d'intervention ---------- */
.zone {
  padding: 4rem 0;
  background: var(--color-bg);
}
.zone__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.zone__content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.zone__content p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.zone__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.zone__city {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color 0.2s, color 0.2s;
}
.zone__city:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* ---------- Pages legales ---------- */
.legal {
  padding: 8rem 0 var(--section-pad);
}
.legal__content {
  max-width: 760px;
  margin: 0 auto;
}
.legal__content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.legal__content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border-light);
}
.legal__content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal__content p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal__content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal__content ul li {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}
.legal__content a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.legal__content a:hover {
  color: var(--color-primary);
}
.legal__updated {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}
.legal__contact-box {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border-light);
}
.legal__contact-box p {
  margin-bottom: 0.25rem;
}

/* ---------- Realisations ameliorees (avant/action/resultat sur home) ---------- */
.project-card {
  display: flex;
  flex-direction: column;
}
.project-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.project-card__details {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}
.project-card__detail {
  padding: 0.8rem 0.7rem 0.7rem;
  font-size: 0.78rem;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}
.project-card__detail + .project-card__detail {
  border-top: 1px solid var(--color-border-light);
}
.project-card__detail--before {
  background: rgba(239, 68, 68, 0.06);
}
.project-card__detail--action {
  background: transparent;
}
.project-card__detail--result {
  background: rgba(16, 185, 129, 0.12);
}
.project-card__detail-label {
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.project-card__detail--before .project-card__detail-label {
  color: #DC2626;
}
.project-card__detail--action .project-card__detail-label {
  color: var(--color-primary);
}
.project-card__detail--result .project-card__detail-label {
  color: #059669;
}
.project-card__detail-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
.project-card__detail--before .project-card__detail-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}
.project-card__detail--action .project-card__detail-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E65A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}
.project-card__detail--result .project-card__detail-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}
.project-card__detail-text {
  color: var(--color-text-secondary);
  font-size: 0.76rem;
}

/* Flèche entre les étapes */
.project-card__detail--before::after,
.project-card__detail--action::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  z-index: 1;
}

/* ---------- Header dropdown services (desktop) ---------- */
.header__nav-item {
  position: relative;
}
.header__nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  padding: 0.75rem;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  z-index: 1000;
}
.header__nav-item:hover .header__nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.header__nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.header__nav-dropdown a:hover {
  background: var(--color-bg);
  color: var(--color-secondary);
}
.header__nav-dropdown__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .header__nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: auto;
    background: transparent;
  }
  .header__nav-dropdown a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ---------- Bouton mobile fixe ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(30, 101, 168, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  gap: 0.5rem;
  align-items: center;
}
.mobile-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 28px rgba(30, 101, 168, 0.45);
}
.mobile-cta svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: inline-flex;
  }
}

/* ---------- Service nav (liens entre services) ---------- */
.services-nav {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
}
.services-nav__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  text-align: center;
}
.services-nav__grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.services-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.services-nav__link:hover,
.services-nav__link--active {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(37, 139, 199, 0.05);
}
