:root {
    --ruban-height: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: var(--navbar-height);
    font-family: Arial, sans-serif;
}

/* ===== HERO SECTEUR ===== */
.ruban {
    width: 100%;
    height: var(--ruban-height);
    background-color: #006ba1;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.ruban .title {
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
    margin-left: 20%;
}

.sector-hero {
    position: relative;
    min-height: 45svh;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.sector-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 1.5rem;
    text-align: center;
    color: white;
}

.sector-hero-content h1 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.sector-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== CONTEXTE ===== */
.sector-context {
    padding: 5rem 1.5rem;
    background-color: #ffffff;
}

.sector-context-container {
    max-width: 900px;
    margin: 0 auto;
}

.sector-context h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #266d95;
    margin-bottom: 1.5rem;
}

.sector-context p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #58585b;
}

/* ===== SERVICES ===== */
.sector-services {
    padding: 5rem 1.5rem;
    background-color: #f5f7f9;
    text-align: center;
}

.sector-services h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #266d95;
    margin-bottom: 3rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: white;
    padding: 2.2rem 2rem;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    cursor: pointer;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #266d95;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #58585b;
}

/* ===== METHODE ===== */
.sector-method {
    padding: 5rem 1.5rem;
    background-color: #ffffff;
}

.sector-method h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: #266d95;
    margin-bottom: 3rem;
}

/* METHOD STEPS CENTRÉES */
.method-steps {
    max-width: 800px;
    margin: 2rem auto;
    list-style: none;
    counter-reset: step;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.method-steps li {
    counter-increment: step;

    width: 100%;
    max-width: 620px;

    display: flex;
    align-items: center;
    gap: 1.2rem;

    background: #f8fafc;
    padding: 1.2rem 1.6rem;
    border-radius: 14px;

    font-size: 1.05rem;
    color: #58585b;
}

.method-steps li::before {
    content: counter(step);
    min-width: 36px;
    height: 36px;
    border-radius: 50%;

    background: linear-gradient(135deg,#266d95,#0f4c75);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== CTA ===== */
.sector-cta {
    padding: 5rem 1.5rem;
    background-color: #006ba1;
    text-align: center;
    color: white;
}

.sector-cta h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background-color: white;
    color: #006ba1;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
}

.method-content {
    display: none;
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.service-card.active {
    border: 2px solid #266d95;
}
