/*
  FICHIER : landing/secteur.css
  PATH : /root/smq/sitewebSMQ/landing/secteur.css
  Styles communs à toutes les pages secteur (landing pages dédiées)
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #575a7b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== STICKY HEADER ========== */
.s-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8eaf0;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.s-header-logo {
    height: 36px;
    width: auto;
}

.s-header-back {
    font-size: 0.85rem;
    color: #596982;
    transition: color 0.2s;
}

.s-header-back:hover {
    color: #292dc2;
}

.s-header-cta {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(-45deg, #292dc2, #0084e9);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.s-header-cta:hover {
    box-shadow: 0 8px 20px rgba(41, 45, 194, 0.3);
    transform: translateY(-1px);
}

/* ========== HERO SECTION ========== */
.s-hero {
    background: linear-gradient(-45deg, #292dc2, #0084e9);
    color: #fff;
    padding: 64px 24px 72px;
    position: relative;
    overflow: hidden;
}

.s-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom right, transparent 49.5%, #fff 50%);
}

.s-hero .container {
    position: relative;
    z-index: 1;
}

.s-breadcrumb {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.s-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.2s;
}

.s-breadcrumb a:hover {
    opacity: 1;
}

.s-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 680px;
}

.s-hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 620px;
    opacity: 0.92;
    margin-bottom: 36px;
}

.s-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #292dc2;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========== NORMES SECTION ========== */
.s-normes {
    padding: 72px 24px 56px;
    text-align: center;
}

.s-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f194c;
    margin-bottom: 32px;
}

.s-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Badge informatif (span) — contour bleu, texte bleu */
.s-badge {
    display: inline-block;
    padding: 10px 22px;
    background: #fff;
    color: #292dc2;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid #292dc2;
    text-decoration: none;
}

/* Badge cliquable (a) — bouton bleu plein, attire l'œil */
a.s-badge {
    background: linear-gradient(-45deg, #292dc2, #0084e9);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(41, 45, 194, 0.25);
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s, opacity 0.18s;
}
a.s-badge::after {
    content: ' ↗';
    font-size: 0.75em;
    opacity: 0.85;
}
a.s-badge:hover {
    box-shadow: 0 6px 18px rgba(41, 45, 194, 0.4);
    transform: translateY(-2px);
    opacity: 0.92;
    text-decoration: none;
    color: #fff;
    animation: none;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(41, 45, 194, 0.25); }
    50% { box-shadow: 0 4px 20px rgba(41, 45, 194, 0.5); }
}

a.s-badge {
    animation: badge-pulse 2.5s ease-in-out infinite;
}

/* ========== FONCTIONNALITÉS ========== */
.s-features {
    padding: 56px 24px 72px;
    background: #f8f9fc;
}

.s-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.s-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.s-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.s-feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.s-feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f194c;
    margin-bottom: 8px;
}

.s-feature-desc {
    font-size: 0.88rem;
    color: #596982;
    line-height: 1.6;
}

/* ========== TÉMOIGNAGE ========== */
.s-testimonial {
    padding: 64px 24px;
    text-align: center;
}

.s-testimonial-card {
    max-width: 640px;
    margin: 32px auto 0;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.s-testimonial-quote {
    font-size: 2.5rem;
    color: #292dc2;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
}

.s-testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #596982;
    line-height: 1.7;
    margin-bottom: 20px;
}

.s-testimonial-author {
    font-weight: 700;
    color: #1f194c;
}

.s-testimonial-role {
    font-size: 0.85rem;
    color: #8b90a8;
}

/* ========== ENGAGEMENT ========== */
.s-engagement {
    padding: 72px 24px;
    background: #f8f9fc;
}

.s-engagement-content {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.s-engagement-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #596982;
    margin-top: 16px;
}

.s-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.s-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(-45deg, #292dc2, #0084e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.s-stat-label {
    font-size: 0.85rem;
    color: #8b90a8;
    margin-top: 4px;
}

/* ========== FORMULAIRE CONTACT ========== */
.s-contact {
    padding: 72px 24px 80px;
}

.s-contact-form {
    max-width: 600px;
    margin: 36px auto 0;
}

.s-form-group {
    margin-bottom: 20px;
}

.s-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f194c;
    margin-bottom: 6px;
}

.s-form-input,
.s-form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: #1f194c;
    background: #f8f9fc;
    border: 2px solid #e8eaf0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}

.s-form-input:focus,
.s-form-textarea:focus {
    border-color: #292dc2;
    background: #fff;
}

.s-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.s-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.s-form-submit {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(-45deg, #292dc2, #0084e9);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.s-form-submit:hover {
    box-shadow: 0 8px 24px rgba(41, 45, 194, 0.3);
    transform: translateY(-2px);
}

.s-form-reassurance {
    text-align: center;
    margin-top: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #292dc2;
}

/* ========== FOOTER ========== */
.s-footer {
    background: #1f194c;
    color: rgba(255, 255, 255, 0.65);
    padding: 40px 24px;
    text-align: center;
    font-size: 0.85rem;
}

.s-footer-logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.s-footer-brand {
    font-size: 0.8rem;
    margin-bottom: 12px;
    opacity: 0.6;
}

.s-footer-contact {
    margin-bottom: 16px;
}

.s-footer-contact span {
    margin: 0 12px;
}

.s-footer-links {
    margin-bottom: 16px;
}

.s-footer-links a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.s-footer-links a:hover {
    color: #fff;
}

.s-footer-copy {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* ========== RESPONSIVE TABLETTE ========== */
@media (max-width: 768px) {
    .s-hero h1 {
        font-size: 1.8rem;
    }

    .s-hero-sub {
        font-size: 1rem;
    }

    .s-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .s-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .s-stat-number {
        font-size: 1.8rem;
    }

    .s-section-title {
        font-size: 1.35rem;
    }

    .s-form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 480px) {
    .s-header {
        padding: 10px 16px;
    }

    .s-header-logo {
        height: 28px;
    }

    .s-header-back {
        display: none;
    }

    .s-header-cta {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .s-hero {
        padding: 40px 16px 56px;
    }

    .s-hero h1 {
        font-size: 1.45rem;
    }

    .s-hero-sub {
        font-size: 0.92rem;
    }

    .s-hero-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .s-normes, .s-features, .s-testimonial, .s-engagement, .s-contact {
        padding-left: 16px;
        padding-right: 16px;
    }

    .s-badges {
        gap: 8px;
    }

    .s-badge {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .s-testimonial-card {
        padding: 28px 24px;
    }

    .s-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .s-footer-contact span {
        display: block;
        margin: 4px 0;
    }
}
