/* =====================================================
   GSSIEP — styles.css
   Version : 3.7.0
   Date    : 2026-01-06
   Auteur  : Expert Web

BASE :
   - Repart STRICTEMENT du styles.css fourni (inchangé).
   - Desktop inchangé.

CORRECTIONS (MOBILE UNIQUEMENT) :
   - Logo visible (neutralise margin-left négatif en mobile)
   - Menu burger visible et ouvrable sur smartphones (iOS/Android)
   - Compatible avec common.js (état .nav.is-open)

Méthode :
   - Overrides en fin de fichier, ciblés par media queries.
   ===================================================== */


/* Défilement continu fluide */
@keyframes ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* SECTIONS / PAGES */
.section {
    /* fond hérité du body */
}

.section-light {
    /* variante si besoin */
}

.section-dark {
    /* variante si besoin */
}

.page-section {
    display: none;
    padding: 4.2rem 0;
    position: relative;
}

.page-section.active {
    display: block;
}

.page-section.fade-in {
    animation: sectionFade 0.35s ease-out;
}

@keyframes sectionFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */
.hero {
    position: relative;
    padding: 5.2rem 0 4.4rem;
    color: var(--color-text);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.18), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(250, 204, 21, 0.15), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.7;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.65fr) minmax(0, 1.15fr);
    gap: 2.4rem;
    align-items: start;
}

.hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--color-text-soft);
    font-size: 1rem;
    max-width: 820px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: radial-gradient(circle at top, #0b1120 0%, #020617 70%);
    border-radius: var(--radius-xl);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #f9fafb;
}

.hero-card h3 {
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.hero-card ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.hero-card li::before {
    content: "•";
    color: var(--color-accent);
    margin-right: 0.4rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.hero-card a {
    color: var(--color-accent);
    font-weight: 500;
}

.hero-card a:hover {
    text-decoration: underline;
}
/* Bloc méthode sur la home */
.hero-method {
    margin-top: 3rem;
}

.hero-method-header {
    margin-bottom: 2.1rem;
}

/* EN-TÊTES DE SECTION */
.section-header {
    text-align: center;
    margin-bottom: 2.6rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.section-header p {
    color: var(--color-muted);
    max-width: 640px;
    margin: 0 auto;
}

.section-footer-center {
    margin-top: 2rem;
    text-align: center;
}

/* GRILLES GÉNÉRALES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0.4rem 0 0.8rem;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-muted);
}

/* DIAGNOSTIC */
.diagnostic-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.diagnostic-note {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.diagnostic-group {
    margin-top: 1.4rem;
    padding: 1.05rem 1.1rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.65);
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.25), transparent 55%),
        rgba(15, 23, 42, 0.95);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
}

.diagnostic-group + .diagnostic-group {
    margin-top: 1.1rem;
}

.diagnostic-group-head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.diagnostic-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.9), transparent 55%);
    color: #0f172a;
}

.diagnostic-group-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--color-text);
}

.diagnostic-group-text {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.diagnostic-form {
    background: radial-gradient(circle at top, #111827 0%, #020617 70%);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.5rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.85);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
    font-size: 0.9rem;
}

.diagnostic-question + .diagnostic-question {
    margin-top: 0.75rem;
}

.diagnostic-question p {
    margin-bottom: 0.25rem;
    color: var(--color-text-soft);
}

.diagnostic-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.85rem;
}

.diagnostic-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.diagnostic-options input[type="radio"] {
    accent-color: var(--color-primary-soft);
}

.diagnostic-result {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.diagnostic-result-warning {
    color: #f97316;
}

.diagnostic-result-visible {
    color: #e5e7eb;
}

/* SUPPORT & OUTILS */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.support-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.support-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-soft);
    text-decoration: none;
}

.support-link:hover {
    text-decoration: underline;
}

/* PACKS (PARTICULIERS & ENTREPRISES) */
.particulier-packs,
.enterprise-packs {
    margin-top: 2.5rem;
}

/* A PROPOS */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.about-text p + p {
    margin-top: 0.75rem;
}

.about-card {
    background: radial-gradient(circle at top, #111827 0%, #020617 70%);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.8);
}

.about-card h3 {
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.15rem;
}

/* VIDEOS */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.video-card {
    background-color: var(--color-panel-soft);
    border-radius: var(--radius-xl);
    padding: 1rem 1rem 1.3rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.7);
    border: 1px solid var(--color-border);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #020617;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h3 {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.video-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.videos-cta {
    margin-top: 2rem;
    text-align: center;
}

.videos-note {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* SECTIONS LEGALES */
.legal-section .section-header p {
    color: var(--color-muted);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.legal-section p,
.legal-section ul {
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.legal-section ul {
    padding-left: 1.2rem;
    list-style: disc;
}

.legal-section a {
    color: var(--color-primary-soft);
}

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

/* CYBERSECURITE */
.cyber-top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cyber-intro {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.cyber-intro h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.cyber-threats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cyber-threat h4 {
    margin-bottom: 0.4rem;
}

.cyber-stats {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 1.5rem 1.6rem;
    margin-bottom: 2.6rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.85);
}

.cyber-stats h3 {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.cyber-stats ul {
    margin: 0.2rem 0 0.7rem;
    padding-left: 1.1rem;
    list-style: disc;
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.cyber-stats-note {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.section-subheader {
    text-align: center;
    margin: 2.4rem 0 1.5rem;
}

.section-subheader h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.section-subheader p {
    color: var(--color-muted);
}

.cyber-steps {
    margin-top: 2.8rem;
}

.cyber-steps h3 {
    text-align: center;
    margin-bottom: 1.8rem;
}

.cyber-steps-grid {
    margin-top: 0;
}

/* RESPONSIVE */

/* VISUELS MICROSOFT 365 / INTUNE --------------------------------------- */

.m365-figure,
.intune-figure {
    margin-top: 1rem;
    text-align: center;
}

.m365-figure img,
.intune-figure img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    animation: m365Float 6s ease-in-out infinite alternate;
}

.m365-figure figcaption,
.intune-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    opacity: 0.75;
}

/* Effet de flottement doux pour les visuels */
@keyframes m365Float {
    from {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    to {
        transform: translateY(-6px) scale(1.02);
        filter: brightness(1.05);
    }
}

/* PACK FORMATION & LOGOS IA -------------------------------------------- */

.ai-tools {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin: 0.25rem 0;
}

.ai-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.8rem;
    color: var(--color-text-soft);
}

.ai-tool img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* =========================================
   LOGO FLASH OVERLAY — VERSION STABLE +30%
   ========================================= */

#logo-flash-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.6),
    transparent 70%);
  opacity: 0;
  pointer-events: none; /* empêche de bloquer les clics en dessous */
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99999;
}

#logo-flash-overlay.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Conteneur du logo et du texte */
.logo-flash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: logoFlashZoom 0.6s ease-out;
}

/* ✅ Taille agrandie de 30% */
.logo-flash-content img {
  max-width: 286px; /* 220px × 1.3 = ~286px */
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
}

/* Texte sous le logo */
.logo-flash-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.05em;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

/* Animation d'apparition douce */
@keyframes logoFlashZoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* AISANCE INFORMATIQUE – ACCORDÉON */
.aisance-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto 1.75rem;
}

.aisance-accordion{
    padding: 0;
    overflow:hidden;
}
.aisance-toggle{
    width:100%;
    display:flex;
    align-items:center;
    gap:0.7rem;
    padding: 1.15rem 1.2rem;
    background: transparent;
    border: 0;
    color: #f9fafb;
    cursor:pointer;
    text-align:left;
    font-size: 1.05rem;
    font-weight: 700;
}
.aisance-toggle .aisance-icon{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: rgba(148,163,184,0.18);
    border: 1px solid rgba(148,163,184,0.4);
    font-size: 1.1rem;
    flex: 0 0 auto;
}
.aisance-toggle:focus-visible{
    outline: 2px solid var(--color-primary-soft);
    outline-offset: 3px;
    border-radius: 14px;
}
.aisance-body{
    padding: 0 1.2rem 1.2rem;
    border-top: 1px solid rgba(148,163,184,0.25);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}
.aisance-accordion.open .aisance-body{
    max-height: 1200px;
    opacity: 1;
}
.aisance-accordion.open{
    box-shadow: 0 22px 55px rgba(15,23,42,0.8);
    border-color: rgba(250,204,21,0.6);
}
.aisance-cta{
    max-width: 980px;
    margin: 0 auto;
    text-align:center;
}
.diagnostic-error{
    display:none;
    margin-bottom: 0.9rem;
    padding: 0.75rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(248,113,113,0.5);
    background: rgba(127,29,29,0.25);
    color: #fecaca;
    font-size: 0.9rem;
}
.diagnostic-error.visible{ display:block; }

/* =========================
   AÉRATION – SECTIONS LÉGALES
   (Mentions légales / Confidentialité)
   ========================= */
.legal-section{
  padding: 4.2rem 0;
}
.legal-section + .legal-section{
  margin-top: 1.2rem; /* évite l'effet "collé" entre deux sections légales */
}
.legal-section .section-header{
  margin-bottom: 3rem;
}
.legal-section .section-header h1,
.legal-section .section-header h1,
.section-header h2{
  margin-bottom: 0.9rem;
}
.legal-content h3{
  margin-top: 2.1rem;
  margin-bottom: 0.6rem;
}
.legal-content p + p{
  margin-top: 0.9rem;
}
/* =========================
   ENCADRE TARIFS – CADRE D’INTERVENTION
   (styles : .pricing-frame)
   ========================= */

/* =========================
   TÉMOIGNAGES / AVIS
   ========================= */

.home-testimonials {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

/* =====================================================
   OVERRIDE MOBILE — LOGO VISIBLE (≤ 900px)
   Neutralise le décalage du logo qui sort l’élément de l’écran en mobile.
   ===================================================== */

/* =====================================================
   OVERRIDE SMARTPHONE — MENU BURGER OUVRABLE (≤ 768px)
   IMPORTANT : corrige le display:none !important existant sur .nav-links.
   ===================================================== */

/* =====================================================
   OPTIMISATIONS 2026 — ACCESSIBILITÉ & UX MOBILE
   ===================================================== */

/* --- Animation douce du menu mobile --- */
@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bouton CTA OR – Demande de contact */
.cta-block{
  margin: 3rem auto;
  padding: 0 1rem;

  /* Apparition au scroll (base.js) */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cta-block.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.cta-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.6rem 1.35rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.cta-inner h2{ margin-bottom: 0.55rem; }
.cta-inner p{
  margin-bottom: 1rem;
  color: rgba(229,231,235,0.88);
  line-height: 1.55;
}

/* CTA : style OR cohérent (accueil + pages) */
.cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--color-gold, #d6b25e);
  background: transparent;
  color: rgba(243,230,179,0.98);

  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.cta-btn:hover{
  transform: translateY(-1px);
  background: rgba(250,204,21,0.10);
  border-color: rgba(250,204,21,0.70);
  box-shadow: 0 0 30px rgba(250,204,21,0.22);
}

/* Micro-animation subtile CTA */

@keyframes ctaPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 178, 94, 0.0);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 6px rgba(214, 178, 94, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 178, 94, 0.0);
  }
}

/* Application au CTA bas de page */
.cta-btn {
  animation: ctaPulse 3.5s ease-in-out infinite;
}

/*micro-rassurance (discret et lisible)*/
.cta-note {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #bcbcbc;
  letter-spacing: 0.2px;
}

/* Zone d'interventions*/
.hero-local {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #bcbcbc;
}
/*HIÉRARCHIE VISUELLE (CLÉ DU RENDU)*/
.zones-intervention {
  padding: 1.5rem;
}

.zones-intervention h3 {
  margin-bottom: 0.5rem;
}

.zones-intro {
  font-size: 0.95rem;
  color: #cfcfcf;
  margin-bottom: 1rem;
}

.zones-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.2rem;
}

.zones-list li {
  font-weight: 500;
}

.zones-list span {
  color: #9a9a9a;
  font-size: 0.85rem;
}

.zones-contact {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
}
/* Contact direct – lisibilité */
.zones-contact a {
  font-weight: 600;
  text-decoration: none;
}

/* Téléphone */
.zones-contact a[href^="tel"] {
  color: #ffffff;
}

/* Email (vert signature) */
.zones-contact a[href^="mailto"] {
  color: #3fd46b; /* vert lisible, proche de ta PJ */
}

/* Hover léger */
.zones-contact a:hover {
  text-decoration: underline;
}

/* ===== CENTRAGE DES BOUTONS DANS LES CARTES HUB ===== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

/* TARIFS */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    text-align: left;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.pricing-frame {
  max-width: 820px;              /* largeur maîtrisée comme en cyber */
  margin: 3rem auto 2rem;        /* centré + respiration verticale */
  padding: 1.6rem 1.8rem;

}
.pricing-frame h4 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-frame ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pricing-frame li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

.pricing-frame li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-muted);
}
/* =========================
   PACKS ACCORDÉON
   ========================= */

/* Empêche les cartes voisines de s'étirer */
.steps-grid {
  align-items: flex-start;
}

.services-grid .card {
  display: flex;
  flex-direction: column;
}

.services-grid .card p {
  flex-grow: 1;
}

.services-grid .card-footer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
/**/ 
.card-footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}


/* ======================================================
   GSSIEP — Bloc final “Votre satisfaction, notre priorité”
   Version premium dorée et centrée — 2026-01-11
   ====================================================== */

:root {
  --color-gold: #d6b25e;
  --color-gold-light: rgba(214, 178, 94, 0.25);
  --color-gold-glow: rgba(214, 178, 94, 0.4);
}

.after-steps {
  margin-top: 5rem; /* ⬅️ ESPACEMENT DEMANDÉ */
  padding: 6rem 0 5rem;
  background:
    radial-gradient(circle at 25% 40%, rgba(56, 189, 248, 0.08), transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(250, 204, 21, 0.06), transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.after-steps-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}


.after-steps-text {
  max-width: 720px;
}

.after-steps-text h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.after-steps-text p {
  color: var(--color-text-soft);
  line-height: 1.8;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

.after-steps-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

/* Boutons dorés harmonisés */
.btn-outline-gold {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #0f172a;
  box-shadow: 0 0 25px var(--color-gold-glow);
}

.after-steps-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Tarifs : illustration dans le CTA (centrage + taille identique à l'accueil) */
.cta-block .after-steps-illustration{
  width: 100%;
  margin: 1.6rem auto 0;
}

.after-steps-illustration img{
  width: min(250px, 100%);
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;

  border-radius: 0;
  box-shadow: none;
  opacity: 0.98;

  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 900ms ease, opacity 0.3s ease;
}

.after-steps-illustration img:hover{
  transform: rotateY(360deg) rotateX(12deg);
  opacity: 1;
}

/* Même rendu que l’illustration d’accueil */
.after-steps-illustration::before{
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .after-steps {
    margin-top: 4rem;
    padding: 4.5rem 1.2rem;
  }

  .after-steps-inner {
    gap: 2.2rem;
  }

  .after-steps-text h2 {
    font-size: 1.8rem;
  }

  .after-steps-text p {
    font-size: 0.95rem;
  }

  .after-steps-illustration img {
    max-width: 260px;
  }
}

/* =====================================================
   INDEX — "Votre satisfaction" : centrage + aération
   + image à droite (250px) + rotation planétaire
   (scopé sur .after-steps pour ne pas toucher le bloc CTA au-dessus)
   ===================================================== */

.after-steps{
  padding: 6rem 0 5rem;
}

/* Layout desktop : texte + image */
.after-steps .after-steps-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.8rem;

  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;

  text-align: left; /* plus pro que centré */
}

/* Texte : respiration */
.after-steps .after-steps-text{
  max-width: 72ch;
}

.after-steps .after-steps-text h2{
  margin-bottom: 1.1rem;
}

.after-steps .after-steps-text p{
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

/* Boutons alignés comme le texte */
.after-steps .after-steps-actions{
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1.4rem;
}

/* Illustration : centrée dans sa colonne */
.after-steps .after-steps-illustration{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image : 250x250 max, et rotation planétaire 50% plus lente */
.after-steps .after-steps-illustration img{
  width: min(250px, 100%);
  max-width: 250px;
  height: auto;
  display: block;
  object-fit: contain;

  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;

  transition: transform 900ms ease; /* 600 -> 900ms = 50% plus lent */
}

.after-steps .after-steps-illustration img:hover{
  transform: rotateY(360deg); /* planétaire (axe vertical) */
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce){
  .after-steps .after-steps-illustration img{ transition: none; }
  .after-steps .after-steps-illustration img:hover{ transform: none; }
}

/* Mobile : on repasse en colonne */
@media (max-width: 900px){
  .after-steps .after-steps-inner{
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }
  .after-steps .after-steps-actions{
    justify-content: center;
  }
}
