/* =========================================================
   SRC Consulting : finition visuelle (05/11/2026)
   Chargée en dernier. Pour revenir en arrière : retirer le <link> vers ce fichier.
   ========================================================= */

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

/* ---------- Typographie : une voix éditoriale pour les titres ---------- */
.hero h1,
.section h2,
.metiers-head h2,
.parcours h2,
.contact-copy h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
.hero h1 { line-height: 1.06; font-size: clamp(36px, 5vw, 62px); }
.hero h1 .accent { font-weight: 600; font-style: normal; color: var(--navy); }
.hero-bullets strong { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em; }
.section h2, .metiers-head h2 { line-height: 1.12; }
.case-head h3 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.005em; }

/* ---------- Moins de « chrome » de gabarit ---------- */
/* Numéros de section : la page n'est pas une séquence */
.section-num { display: none; }

/* Surtitres : casse normale, sans pastille */
.eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 600;
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--orange);
}
.eyebrow-light { background: none; color: var(--orange-soft); }

.contact-meta span,
.footer-cols h5,
.team-card .team-role,
.case-tag {
  text-transform: none;
  letter-spacing: 0;
}
.contact-meta span { font-size: 13px; }
.footer-cols h5 { font-size: 15px; }
.team-card .team-role, .case-tag { font-size: 13px; }

/* Liens d'action : soulignement plutôt que flèche ajoutée */
.audience-link::after { content: none; }
.audience-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(30, 42, 94, .35);
  transition: text-decoration-color .16s ease, color .16s ease;
}
.audience-link:hover { text-decoration-color: currentColor; }

/* Cas client : pas de liseré latéral */
.case-card {
  border-left: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ---------- Interactions (principes Emil Kowalski) ---------- */
/* Propriétés précises, courbe ferme, retour au clic */
.btn {
  transition:
    background-color .16s ease,
    color .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s var(--ease-out);
}
.btn-primary:hover { transform: none; }
.btn:active, .nav-cta:active { transform: scale(0.97); }

/* Cartes : plus de soulèvement à chaque survol, un simple changement de bordure */
.pillar:hover, .service:hover, .situation:hover, .reason:hover,
.testimonial:hover, .deliverable:hover, .audience:hover, .method-steps li:hover {
  transform: none;
}
.pillar, .service, .situation, .reason, .testimonial, .deliverable, .audience {
  transition: border-color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover, .service:hover, .situation:hover, .reason:hover,
  .testimonial:hover, .deliverable:hover, .audience:hover {
    box-shadow: var(--shadow-md);
  }
}
@media not ((hover: hover) and (pointer: fine)) {
  .pillar:hover, .service:hover, .situation:hover, .reason:hover,
  .testimonial:hover, .deliverable:hover, .audience:hover { box-shadow: var(--shadow-sm); }
}

/* Focus clavier visible */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* FAQ : ouverture lisible */
.faq details[open] > p { animation: faq-in .22s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Un seul moment orchestré : l'arrivée sur la page ---------- */
.hero-copy > * { animation: hero-in .52s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy > *:nth-child(2) { animation-delay: 60ms; }
.hero-copy > *:nth-child(3) { animation-delay: 120ms; }
.hero-copy > *:nth-child(4) { animation-delay: 180ms; }
.hero-copy > *:nth-child(5) { animation-delay: 240ms; }
.hero-copy > *:nth-child(6) { animation-delay: 300ms; }
.hero-art { animation: hero-art-in .7s var(--ease-out) .12s both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes hero-art-in { from { opacity: 0; transform: scale(0.97); } }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-art { animation: hero-fade .3s ease both; }
  .faq details[open] > p { animation: none; }
  .btn:active, .nav-cta:active { transform: none; }
  @keyframes hero-fade { from { opacity: 0; } }
}

/* Cartes « situations » : pas de liseré latéral */
.situation, .situation:hover { border-left: 1px solid var(--line); }
.situation { border: 1px solid var(--line); }

/* ---------- Illustration du haut de page (remplace la photo) ---------- */
.hero-art.hero-art--illu {
  background: var(--navy-deep);
  background-image:
    radial-gradient(520px 300px at 100% 0%, rgba(238, 120, 33, .18), transparent 65%),
    radial-gradient(420px 300px at 0% 100%, rgba(255, 255, 255, .06), transparent 60%);
  color: #fff;
  height: auto;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-illu-art { width: 100%; max-width: 440px; margin: 0 auto; }
.hero-illu-art .st, .hero-illu-art .ac { stroke-width: 2.2; }
.hero-steps {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  position: relative;
}
.hero-steps li { display: flex; flex-direction: column; gap: 2px; }
.hero-steps strong { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.hero-steps small { color: rgba(255, 255, 255, .62); font-size: 13px; }
.hs-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; margin: -27px 0 12px; box-shadow: 0 0 0 4px var(--navy-deep); }
.hs-dot--accent { background: var(--orange); }
@media (max-width: 900px) {
  .hero-art.hero-art--illu { height: auto; padding: 26px 20px 22px; }
}
@media (max-width: 480px) {
  .hero-steps { grid-template-columns: 1fr; gap: 14px; border-top: 0; padding-top: 0; }
  .hs-dot { margin: 0 0 6px; }
}

/* ---------- Icônes Promesse et Périmètre : même trait que les métiers ---------- */
.pillar-icon, .service-icon {
  width: 76px;
  height: 76px;
  background: none;
  border-radius: 0;
  color: var(--navy);
  margin-left: -8px;
}
.pillar-icon svg, .service-icon svg { width: 76px; height: 76px; }
.pillar-icon .st, .pillar-icon .ac, .service-icon .st, .service-icon .ac { stroke-width: 3; }

/* ---------- Accompagnement en 4 temps ---------- */
.pillar-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .pillar-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillar-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Résultats chiffrés ---------- */
.section-results { background: var(--navy-deep); color: #fff; }
.section-results .section-head h2 { color: #fff; }
.results-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.results-grid li {
  padding: 28px 24px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.results-grid li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.results-grid strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
}
.results-grid li:nth-child(2) strong { color: var(--orange-soft); }
.results-grid span { color: rgba(255, 255, 255, .74); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .results-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .results-grid li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
  .results-grid { grid-template-columns: 1fr; }
  .results-grid li, .results-grid li + li { padding: 22px 0 6px; border-left: 0; }
  .results-grid li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* Bouton de réservation dans le bloc contact : action principale visible sur fond bleu */
.contact-ctas .btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.contact-ctas .btn-primary:hover { background: #fff; color: var(--navy); border-color: #fff; }
