/* ============================================================
   AUDIT GRATUIT
   ============================================================ */
   
/* --- UTILITAIRE --- */
.container{width:100%;max-width:1150px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem}

/* --- HERO --- */
.services-hero { position: relative; padding-top: 10rem; padding-bottom: 2rem; overflow: hidden; text-align: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px -6px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}
.badge-dot-wrapper { position: relative; display: flex; width: 0.5rem; height: 0.5rem; }
.badge-dot { width: 100%; height: 100%; border-radius: 50%; background-color: var(--cpw-primary); }
.badge-dot-green { background-color: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.5), 0 0 20px rgba(34, 197, 94, 0.2); }
.badge-text { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cpw-text); }
.hero-title { font-size: 2.25rem; font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--cpw-text); position: relative; z-index: 1; }
.text-gradient { background: linear-gradient(135deg, var(--cpw-primary), #60a5fa); -webkit-background-clip: text; color: transparent; display: inline-block; }
.hero-subtitle { font-size: 1.0625rem; color: var(--cpw-text); opacity: 0.75; line-height: 1.8; max-width: 48rem; margin: 0 auto; font-weight: 400; position: relative; z-index: 1; }

/* --- BLOC AUDIT --- */
.audit-section { padding: 3rem 0 6rem; position: relative; overflow-x: hidden; width: 100%; }
.audit-card {
    position: relative; border-radius: 2.5rem; overflow: hidden;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.05) 0%, rgba(168, 85, 247, 0.04) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15); padding: 4rem 2.5rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}
.audit-glow {
    position: absolute; top: -6rem; right: -6rem; width: 28rem; height: 28rem;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0;
}
.audit-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3.5rem; }
.audit-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 9999px;
    background-color: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.75rem; font-weight: 800; color: var(--cpw-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; width: fit-content;
}
.audit-title { font-size: 2.25rem; font-weight: 800; line-height: 1.2; color: var(--cpw-text); letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.audit-desc { font-size: 1.0625rem; color: var(--cpw-text); opacity: 0.75; line-height: 1.7; margin-bottom: 2rem; max-width: 38rem; }
.audit-perks { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; padding: 0; }
.audit-perks li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--cpw-text); }
.audit-perks li i { color: #22c55e; font-size: 1rem; flex-shrink: 0; }
.audit-form-wrapper { background: none; border: none; padding: 0; box-shadow: none; }
.audit-form { display: flex; flex-direction: column; gap: 1.5rem; }
.audit-form-group { display: flex; flex-direction: column; gap: 0.6rem; }
.audit-label { font-size: 0.875rem; font-weight: 700; color: var(--cpw-text); opacity: 0.85; letter-spacing: 0.01em; }
.audit-input-wrapper { position: relative; display: flex; align-items: center; }
.audit-input-wrapper i { position: absolute; left: 1.25rem; color: var(--cpw-muted); font-size: 0.9375rem; pointer-events: none; }
.audit-input {
    width: 100%; padding: 1rem 1.25rem 1rem 3rem; border-radius: 9999px;
    border: 1px solid rgba(150, 150, 150, 0.25); background-color: var(--cpw-bg); color: var(--cpw-text);
    font-size: 0.9375rem; font-family: inherit; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.audit-input:focus { border-color: var(--cpw-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.audit-submit {
    display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 1.125rem 1.5rem;
    border-radius: 9999px; background: linear-gradient(135deg, var(--cpw-primary), #1d4ed8);
    color: #fff; font-weight: 700; font-size: 1.0625rem; font-family: inherit; border: none; cursor: pointer;
    box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.4); transition: all 0.3s ease; margin-top: 0.5rem;
}
.audit-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.5); }
.audit-success { display: flex; align-items: center; gap: 0.625rem; padding: 1rem 1.5rem; border-radius: 9999px; background-color: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #16a34a; font-weight: 700; font-size: 0.9375rem; }
.audit-note { font-size: 0.8125rem; color: var(--cpw-muted); text-align: center; margin-top: 0.5rem; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media(min-width: 768px){
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .audit-card { padding: 4rem; }
    .audit-inner { flex-direction: row; align-items: center; gap: 4rem; }
    .audit-content { flex: 1; }
    .audit-form-wrapper { flex: 1; min-width: 0; }
    .audit-title { font-size: 2.75rem; }
}
@media(min-width: 1024px){
    .services-hero { padding-top: 10rem; padding-bottom: 1rem; }
    .hero-title { font-size: 3.75rem; }
}
@media(max-width: 639px){
    .hero-title { font-size: 1.8rem; line-height: 1.2; }
    .audit-title { font-size: 1.8rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; }
    .audit-desc { font-size: 0.9375rem; }
    .audit-card { padding: 2rem 1.25rem; border-radius: 1.5rem; }
    .audit-inner { gap: 2rem; }
}
@media(min-width: 640px) and (max-width: 767px){
    .hero-title { font-size: 2rem; }
    .audit-title { font-size: 2rem; }
}

/* HONEYPOT */
.anti-spam-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0;
    overflow: hidden;
}

/* AUDIT NOTE — icône cadenas */
.audit-note i {
    margin-right: 0.25rem;
    color: var(--cpw-primary);
    opacity: 0.7;
}

/* AUDIT SUCCESS — display:flex explicite quand hidden est retiré */
.audit-success:not(.hidden) {
    display: flex;
}

/* RECAPTCHA — masquage du badge flottant */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -1 !important;
}

.recaptcha-notice {
    font-size: 0.6875rem;
    color: var(--cpw-muted);
    text-align: center;
    line-height: 1.6;
    margin: 0;
    opacity: 0.75;
}
.recaptcha-notice a {
    color: var(--cpw-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 1;
}
.recaptcha-notice a:hover {
    opacity: 0.8;
}

/* ============================================================
   CORRECTIF RESPONSIVE — ANTI-DÉBORDEMENT HORIZONTAL
   ============================================================ */

/* Empêche tout débordement horizontal au niveau racine */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Conteneur de la section : isolation du contexte de débordement */
.audit-section {
    overflow: hidden;
}

/* Le glow doit rester strictement à l'intérieur de sa carte */
.audit-card {
    overflow: hidden;
    contain: layout;
}

/* Honeypot : évite le scroll horizontal en forçant un clip */
.anti-spam-hp {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Sécurité globale : aucun enfant direct du body ne déborde */
.services-hero,
.audit-section {
    max-width: 100vw;
    overflow-x: hidden;
}


