/* ============================================================
   CERFACIL — Couche thème & animations (Phase 2)
   Charge APRÈS le CSS de page : embellit sans casser la mise en page.
   Palette de marque : #5D6FFF / #4A40FF (indigo) + #ff6b9e (rose)
   Inspiration animations : CV2 — Inspiration visuelle : filiz.io
   ============================================================ */

:root {
    --cf-primary: #5D6FFF;
    --cf-primary-dark: #4A40FF;
    --cf-accent: #ff6b9e;
    --cf-gradient: linear-gradient(135deg, #ff6b9e 0%, #5D6FFF 100%);
    --cf-gradient-soft: linear-gradient(135deg, #E3E7FF 0%, #FDE2E4 100%);
    --cf-ink: #1a1c2e;
    --cf-text: #4b5066;
    --cf-muted: #6b7280;
    --cf-bg-soft: #f4f7fa;
    --cf-border: rgba(93, 111, 255, 0.14);
    --cf-radius: 18px;
    --cf-radius-sm: 12px;
    --cf-shadow-sm: 0 4px 16px rgba(28, 30, 60, 0.06);
    --cf-shadow: 0 14px 40px rgba(74, 64, 255, 0.12);
    --cf-shadow-lg: 0 24px 60px rgba(74, 64, 255, 0.18);
    --cf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
::selection { background: rgba(93, 111, 255, 0.22); color: var(--cf-ink); }

/* ---------- Barre de progression de scroll ---------- */
#scrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--cf-gradient);
    z-index: 2000;
    transition: width 0.1s linear;
}

/* ---------- Navbar : sticky (toujours visible) + ombre au scroll ---------- */
.navbar {
    position: sticky !important;
    top: 12px;
    z-index: 600;
    transition: box-shadow 0.35s var(--cf-ease), background-color 0.35s var(--cf-ease), top 0.35s var(--cf-ease);
}
.navbar.scrolled {
    top: 8px;
    box-shadow: 0 10px 34px rgba(28, 30, 60, 0.14) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(160%) blur(10px);
}
/* ============================================================
   HEADER / NAVBAR — mise en page responsive unifiée.
   Chargé sur TOUTES les pages (theme.css est inclus en dernier),
   donc fait autorité sur les copies dupliquées des CSS de page.
   Préfixe « .navbar » partout = spécificité (0,2,x) qui l'emporte.
   Le burger et le bouton sont des éléments flex (jamais en
   position:absolute) : ils ne peuvent donc pas sortir du header.
   ============================================================ */
.navbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 14px 40px; background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08); border-radius: 50px;
    margin: 20px auto; max-width: 1100px; width: calc(100% - 40px);
}
.navbar .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar .logo img { width: 40px; margin: 0; }
.navbar .logo span { font-weight: 700; font-size: 20px; color: #1a1c2e; margin: 0; opacity: 1; }

.navbar .menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.navbar .menu > li { position: relative; width: auto; border: 0; }
.navbar .menu a { text-decoration: none; color: #1a1c2e; font-weight: 600; font-size: 15px; white-space: nowrap; }
.navbar .menu a:hover, .navbar .menu .navbaract { color: #4A40FF; }

.navbar .dropdown-arrow { display: inline-block; transform: rotate(270deg); font-size: 11px; opacity: .6; margin-left: 4px; transition: transform .3s; }
.navbar .menu > li:hover .dropdown-arrow { transform: rotate(90deg); }

.navbar .submenu {
    position: absolute; top: 100%; left: 0; min-width: 190px;
    background: #fff; list-style: none; margin: 0; padding: 8px 0;
    box-shadow: 0 8px 24px rgba(15,23,42,.15); border-radius: 12px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s; z-index: 1000;
}
/* Pont transparent qui comble l'espace entre le lien parent et le sous-menu,
   pour que le survol reste continu quand la souris descend vers le sous-menu. */
.navbar .submenu::before {
    content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.navbar .menu > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.navbar .submenu li { width: 100%; }
.navbar .submenu a { display: block; padding: 10px 16px; font-weight: 500; white-space: nowrap; }
.navbar .submenu a:hover { background: #f3f4ff; }

.navbar #connect-btn, .navbar .btn {
    flex-shrink: 0; background: #4A40FF; color: #fff; padding: 10px 22px;
    border-radius: 24px; text-decoration: none; font-weight: 700; white-space: nowrap; margin: 0;
}
.navbar #connect-btn:hover, .navbar .btn:hover { background: #3a30e0; }

.navbar .hamburger-icon { display: none; position: static; font-size: 26px; line-height: 1; cursor: pointer; color: #1a1c2e; }

/* ---- Tablette / mobile : le menu se replie sous le burger ---- */
@media (max-width: 992px) {
    .navbar { position: relative !important; flex-wrap: wrap; padding: 12px 20px; max-width: none; width: calc(100% - 24px); margin: 16px auto; }
    .navbar .logo { order: 1; flex: 1; }
    .navbar .hamburger-icon { display: block; order: 2; margin-left: auto; }

    .navbar .menu {
        order: 3; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch;
        gap: 0; display: none; margin-top: 10px; border-top: 1px solid #eee;
    }
    .navbar .menu.active { display: flex; }
    .navbar .menu > li { width: 100%; border-bottom: 1px solid #f0f0f5; }
    .navbar .menu > li:last-child { border-bottom: 0; }
    .navbar .menu a { display: block; padding: 14px 4px; }

    .navbar .submenu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border-radius: 0; padding: 0 0 6px 16px; min-width: 0; display: none;
    }
    .navbar .submenu.active { display: block; }
    .navbar .menu > li:hover .submenu { display: none; }      /* pas de survol sur tactile */
    .navbar .menu > li:hover .submenu.active { display: block; }
    .navbar .dropdown-arrow { float: right; transform: rotate(0); }
    .navbar .dropdown-arrow.active { transform: rotate(90deg); }

    .navbar #connect-btn, .navbar .btn { order: 4; flex-basis: 100%; width: 100%; display: none; text-align: center; margin-top: 10px; }
    .navbar #connect-btn.active, .navbar .btn.active { display: block; }
}

/* ---------- Boutons : relief + dégradé ---------- */
.btn-primary, .primary-btn, .submit-button, button[type="submit"] {
    transition: transform 0.25s var(--cf-ease), box-shadow 0.25s var(--cf-ease), filter 0.25s var(--cf-ease) !important;
}
.btn-primary:hover, .primary-btn:hover, .submit-button:hover, button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--cf-shadow);
    filter: brightness(1.03);
}
.btn-secondary, .secondary-btn, .learn-more {
    transition: transform 0.25s var(--cf-ease), color 0.25s var(--cf-ease), background-color 0.25s var(--cf-ease);
}
.btn-secondary:hover, .secondary-btn:hover, .learn-more:hover {
    transform: translateY(-2px);
}

/* ---------- Cartes / cadres : survol + transitions ---------- */
.card, .difference-card, .feature-item, .stat-item, .testimonial-card,
.pricing-card, .tarif-card, .faq-item, .booking-container {
    transition: transform 0.35s var(--cf-ease), box-shadow 0.35s var(--cf-ease) !important;
}
.card:hover, .difference-card:hover, .feature-item:hover, .testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cf-shadow) !important;
}

/* ---------- Animations d'apparition au scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--cf-ease), transform 0.7s var(--cf-ease);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.reveal-left  { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-zoom  { transform: scale(0.94); }
.reveal.reveal-left.visible,
.reveal.reveal-right.visible,
.reveal.reveal-zoom.visible { transform: none; }

/* Légère animation flottante (badges, illustrations) */
@keyframes cf-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.cf-float { animation: cf-float 5s ease-in-out infinite; }

/* ---------- Modals : backdrop flouté + entrée animée ---------- */
.modal:not(.hidden) {
    background-color: rgba(20, 22, 45, 0.55) !important;
    backdrop-filter: blur(6px);
    animation: cf-fade 0.3s var(--cf-ease);
}
.modal:not(.hidden) .modal-content {
    border-radius: var(--cf-radius) !important;
    box-shadow: var(--cf-shadow-lg) !important;
    border: 1px solid var(--cf-border) !important;
    animation: cf-pop 0.4s var(--cf-ease);
}
.modal-content.valid { border-top: 4px solid #2bd576 !important; }
.modal-content.error { border-top: 4px solid #ff5c7a !important; }
.close-modal { transition: transform 0.2s var(--cf-ease), color 0.2s var(--cf-ease); }
.close-modal:hover { transform: rotate(90deg); color: var(--cf-accent); }

@keyframes cf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cf-pop {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Modal de réservation : version soignée ---------- */
.modal:not(.hidden) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.cf-modal {
    margin: 0 !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 40px 34px 32px !important;
    text-align: center;
    border: none !important;
    border-top: none !important;
    overflow: visible;
}
.cf-modal h2 {
    font-size: 23px !important;
    font-weight: 800;
    color: var(--cf-ink) !important;
    letter-spacing: -0.02em;
    margin: 0 0 10px !important;
}
.cf-modal__lead {
    text-align: center !important;
    font-size: 15px;
    color: var(--cf-text) !important;
    line-height: 1.6;
    margin: 0 auto 22px !important;
    max-width: 340px;
}
/* Pastille d'icône animée */
.cf-modal__icon {
    width: 72px; height: 72px; margin: 0 auto 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #fff;
    background: linear-gradient(140deg, #2bd576, #14b85f);
    box-shadow: 0 10px 26px rgba(43, 213, 118, 0.4);
    animation: cf-modal-pop 0.45s cubic-bezier(0.18, 1.25, 0.4, 1) 0.05s both;
}
.cf-modal__icon--error {
    background: linear-gradient(140deg, #ff6b7d, #ff3b5c);
    box-shadow: 0 10px 26px rgba(255, 59, 92, 0.38);
}
@keyframes cf-modal-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); opacity: 1; }
}
/* Détails du rendez-vous : liste à puces avec icônes */
.cf-modal__details {
    list-style: none; margin: 0 0 24px !important; padding: 0;
    text-align: left; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--cf-border);
    background: var(--cf-gradient-soft);
}
.cf-modal__details li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 13px 18px; font-size: 14.5px; color: var(--cf-ink);
    border-bottom: 1px solid rgba(93, 111, 255, 0.1);
}
.cf-modal__details li:last-child { border-bottom: none; }
.cf-modal__details li i {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--cf-primary); font-size: 14px;
    box-shadow: 0 2px 8px rgba(74, 64, 255, 0.1);
}
.cf-modal__details li strong { color: var(--cf-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.cf-modal__details li span { line-height: 1.45; }
/* Bouton */
.cf-modal__btn {
    background: var(--cf-gradient) !important;
    border: none !important; border-radius: 50px !important;
    color: #fff !important; font-weight: 600; font-size: 15px;
    padding: 13px 20px !important; width: 100%; cursor: pointer;
    box-shadow: 0 8px 20px rgba(74, 64, 255, 0.25);
    transition: transform 0.2s var(--cf-ease), box-shadow 0.2s var(--cf-ease);
}
.cf-modal__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(74, 64, 255, 0.32); }
.cf-modal .close-modal {
    top: 16px; right: 18px; color: var(--cf-muted); font-size: 26px; line-height: 1;
}
.cf-modal .close-modal:hover { color: var(--cf-accent); }
@media (max-width: 480px) {
    .cf-modal { padding: 32px 22px 26px !important; }
}

/* ---------- Alerts ---------- */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--cf-radius-sm);
    font-size: 15px;
    margin: 14px 0;
    border: 1px solid transparent;
    animation: cf-pop 0.4s var(--cf-ease);
}
.alert i { font-size: 18px; }
.alert-success { background: #e9fbf1; color: #128a4f; border-color: #b6f0cf; }
.alert-error   { background: #ffeef1; color: #c4304f; border-color: #ffc9d4; }
.alert-info    { background: #eef1ff; color: #3d46c4; border-color: #cdd3ff; }
.alert-warning { background: #fff7e6; color: #9a6700; border-color: #ffe0a3; }

/* ---------- Champs de formulaire : focus soigné ---------- */
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"], input[type="email"], input[type="tel"], textarea {
    transition: border-color 0.25s var(--cf-ease), box-shadow 0.25s var(--cf-ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    outline: none;
    border-color: var(--cf-primary) !important;
    box-shadow: 0 0 0 4px rgba(93, 111, 255, 0.14);
}

/* État de chargement des boutons */
.btn-loading { opacity: 0.85; cursor: progress; }

/* ---------- Conteneurs d'animations Lottie ---------- */
.feature-lottie {
    width: 112px;
    height: 112px;
    margin: 0 auto 6px;
}
.feature-lottie svg { display: block; }

/* ---------- Hub d'intégrations (section "connexion à vos outils") ---------- */
.cf-hub {
    position: relative;
    width: 360px;
    height: 360px;
    max-width: 100%;
    margin: 0 auto;
}
.cf-hub__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cf-hub__links line { stroke: rgba(93, 111, 255, 0.28); stroke-width: 2; stroke-dasharray: 5 6; }
/* Anneau pointillé qui tourne lentement */
.cf-hub__ring {
    position: absolute; top: 50%; left: 50%;
    width: 300px; height: 300px;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(93, 111, 255, 0.35);
    border-radius: 50%;
    animation: cf-spin 26s linear infinite;
}
@keyframes cf-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* Nœud central : logo CerFacil */
.cf-hub__center {
    position: absolute; top: 50%; left: 50%;
    width: 104px; height: 104px;
    transform: translate(-50%, -50%);
    background: var(--cf-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 16px 40px rgba(74, 64, 255, 0.4);
    z-index: 3;
    animation: cf-hub-pulse 3.4s var(--cf-ease) infinite;
}
.cf-hub__center i { font-size: 44px; color: #fff; }
@keyframes cf-hub-pulse {
    0%, 100% { box-shadow: 0 16px 40px rgba(74, 64, 255, 0.4); }
    50% { box-shadow: 0 16px 54px rgba(74, 64, 255, 0.6); }
}
/* Satellites : icônes d'outils positionnées sur le cercle */
.cf-hub__node {
    position: absolute; top: 50%; left: 50%;
    width: 60px; height: 60px;
    margin: -30px 0 0 -30px;
    background: #fff;
    border: 1px solid rgba(93, 111, 255, 0.16);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--cf-primary-dark);
    box-shadow: 0 10px 26px rgba(20, 22, 60, 0.12);
    z-index: 2;
    transform: rotate(var(--a)) translateY(-150px) rotate(calc(-1 * var(--a)));
    animation: cf-hub-float 4s var(--cf-ease) infinite;
}
.cf-hub__node:nth-child(odd) { animation-delay: -2s; }
@keyframes cf-hub-float {
    0%, 100% { margin-top: -30px; }
    50% { margin-top: -36px; }
}
@media (max-width: 520px) {
    .cf-hub { width: 280px; height: 280px; }
    .cf-hub__ring { width: 232px; height: 232px; }
    .cf-hub__node { transform: rotate(var(--a)) translateY(-116px) rotate(calc(-1 * var(--a))); }
    .cf-hub__center { width: 84px; height: 84px; }
    .cf-hub__center i { font-size: 36px; }
}

/* Section statistiques : espacement maîtrisé + tuiles contrastées */
.stats-section { padding: 2.4rem 0 !important; }
.stats-container {
    gap: clamp(40px, 10vw, 130px) !important;
    flex-wrap: wrap !important;
    max-width: 980px !important;
}
.stat-item { gap: 4px; }

/* Lottie des statistiques : tuile blanche pour ressortir sur le fond indigo */
.stat-lottie {
    width: 150px;
    height: 150px;
    margin: 0 auto 0.85rem;
    background: #fff;
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(20, 22, 60, 0.22);
}
.stat-lottie svg { display: block; }
.stat-item .stat-number { font-size: 1.7rem; }
@media (max-width: 600px) {
    .stat-lottie { width: 120px; height: 120px; border-radius: 22px; padding: 12px; }
    .stats-container { gap: 32px !important; }
}

/* ============================================================
   HÉRO DE PAGE RÉUTILISABLE (style "solutions") — global
   ============================================================ */
/* Neutralise le fond coloré hérité de l'ancien .main-p1 des sous-pages */
.main-p1--plain {
    background: #fbfbfe !important;
    background-image: radial-gradient(circle, #e6e9ff 1.2px, transparent 1.2px) !important;
    background-size: 26px 26px !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    padding-bottom: 10px !important;
}

.page-hero { padding: 26px 6% 48px; }
.page-hero-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; gap: 48px;
}
.page-hero-text { flex: 1; min-width: 0; }
.page-hero-text h1 {
    font-size: clamp(30px, 4.4vw, 48px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.025em; color: var(--cf-ink);
    margin: 0 0 18px;
}
.page-hero-accent {
    background: var(--cf-gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero-text p {
    font-size: 16.5px; color: var(--cf-text); line-height: 1.7;
    max-width: 540px; margin: 0 0 28px;
}
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    padding: 13px 26px; border-radius: 50px; border: none; cursor: pointer;
    color: #fff; background: var(--cf-gradient);
    transition: transform 0.25s var(--cf-ease), box-shadow 0.25s var(--cf-ease);
}
.page-hero-btn:hover { transform: translateY(-2px); box-shadow: var(--cf-shadow); }
.page-hero-btn--ghost {
    color: var(--cf-primary-dark); background: #fff;
    border: 1.5px solid var(--cf-border);
}
.page-hero-btn--ghost:hover { border-color: var(--cf-primary); box-shadow: var(--cf-shadow-sm); }
.page-hero-visual { flex: 0 0 auto; width: min(400px, 40%); }
.hero-lottie { width: 100%; max-width: 400px; margin: 0 auto; }
.hero-lottie--lg { max-width: 460px; }
.page-hero-visual:has(.hero-lottie--lg) { width: min(480px, 46%); }

@media (max-width: 860px) {
    .page-hero-inner { flex-direction: column-reverse; text-align: center; gap: 24px; }
    .page-hero-text p { margin-left: auto; margin-right: auto; }
    .page-hero-actions { justify-content: center; }
    .page-hero-visual { width: min(260px, 70%); }
}

/* ---------- Bouton retour en haut ---------- */
#backToTop {
    position: fixed;
    left: 24px; bottom: 24px;
    width: 48px; height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--cf-gradient);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--cf-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s var(--cf-ease), transform 0.3s var(--cf-ease);
    z-index: 1500;
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { transform: translateY(-3px); box-shadow: var(--cf-shadow-lg); }

/* ============================================================
   CAROUSEL DE LOGOS ("Ils nous font confiance")
   ============================================================ */
.cf-marquee-section { padding: 8px 0 26px; }
.cf-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cf-marquee__track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: cf-scroll 34s linear infinite;
}
.cf-marquee:hover .cf-marquee__track { animation-play-state: paused; }
.cf-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    flex: 0 0 auto;
    opacity: 0.8;
    filter: grayscale(15%);
    transition: opacity 0.25s var(--cf-ease), filter 0.25s var(--cf-ease);
}
.cf-logo:hover { opacity: 1; filter: none; }
@keyframes cf-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   FOOTER MODERNE (surcharge)
   ============================================================ */
.footer {
    background: linear-gradient(135deg, #1d2147 0%, #14162e 100%) !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    padding: 28px 6% 14px !important;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute; top: 0; left: 10%; right: 10%; height: 3px;
    background: var(--cf-gradient);
    border-radius: 3px;
    opacity: 0.9;
}
.footer-container {
    display: grid !important;
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1.5fr !important;
    gap: 16px 30px !important;
    align-items: start;
    max-width: 1160px !important;
}
.footer-brand { max-width: 260px; }
.footer-brand img {
    margin: 0 0 8px !important;
    width: 64px !important; height: 64px !important;
    object-fit: cover; border-radius: 14px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.footer-brand p { color: #b7bbe0 !important; font-size: 12.5px !important; line-height: 1.5; margin-bottom: 8px !important; }
.footer-column h3 {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px !important;
    margin-bottom: 9px !important;
    opacity: 0.95;
}
.footer-column ul li { margin-bottom: 5px !important; }
.footer-column ul li a { font-size: 13px !important; }
/* La newsletter occupe la 4e colonne ; on regroupe Ressources + Entreprise */
.footer-container > .footer-column:nth-child(3),
.footer-container > .footer-column:nth-child(4) { }
#newsletter-form { gap: 8px !important; }
@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
    .footer-container { grid-template-columns: 1fr !important; }
    .footer { padding: 32px 7% 18px !important; }
}
.footer-column ul li a,
.social-links a { color: #b7bbe0 !important; transition: color 0.2s var(--cf-ease); text-decoration: none !important; }
.footer-column ul li a:hover { color: #fff !important; }
.social-links { display: inline-flex !important; flex-direction: row !important; justify-content: flex-start; gap: 8px; margin-top: 8px; flex-wrap: nowrap !important; width: auto !important; }
.social-links a {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 !important;
    background: rgba(255,255,255,0.07);
    padding: 6px 12px; border-radius: 50px; font-size: 12.5px;
}
.social-links a:hover { background: rgba(255,255,255,0.16); color: #fff !important; }
#newsletter-form input {
    border-radius: 50px !important;
    padding: 10px 15px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.06) !important;
    color: #fff !important;
}
#newsletter-form input::placeholder { color: #8b8fc0; }
#newsletter-form button {
    border-radius: 50px !important;
    background: var(--cf-gradient) !important;
    border: none !important; color: #fff !important;
    padding: 10px 16px !important; font-weight: 600; cursor: pointer; font-size: 13px;
    transition: transform 0.2s var(--cf-ease), box-shadow 0.2s var(--cf-ease);
}
#newsletter-form button:hover { transform: translateY(-2px); box-shadow: var(--cf-shadow); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 16px; padding-top: 12px;
    color: #8b8fc0; font-size: 12.5px;
}
.footer-bottom ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b7bbe0 !important; }
.footer-bottom a:hover { color: #fff !important; }
.footer-by {
    font-weight: 700;
    background: var(--cf-gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-by:hover { -webkit-text-fill-color: #fff; }
.new-tag { background: var(--cf-gradient) !important; color: #fff !important; }

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .cf-float { animation: none; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
