/* ========================================
   COMPONENTS.CSS — PRIMSO
   Fidèle à la maquette wp.primso.fr
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.primso-hero {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(201,227,145,0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201,227,145,0.35) 0%, transparent 45%),
        linear-gradient(175deg, #0C241F 0%, #0f2e25 25%, #15433a 45%, #2a6e4a 65%, #7cb870 82%, #C9E391 100%);
    background-color: #0C241F;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: -30px;
    padding: 100px 20px 140px;
    isolation: isolate;
}

/* Background check-validation en haut à gauche */
.primso-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -100px;
    width: 800px;
    height: 800px;
    background: url('/assets/images/check-validation-fond-section-1.png') no-repeat center;
    background-size: contain;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* Vague en bas — z-index 3 pour être AU-DESSUS de l'illustration */
.primso-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,64 C360,120 720,0 1080,64 C1260,96 1380,80 1440,64 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    z-index: 3;
}

.hero-content {
    position: relative;
    /* PAS de z-index ici pour ne pas créer de stacking context */
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    line-height: 1.15;
    margin-bottom: 25px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    position: relative;
    z-index: 5;
}

.hero-title .highlight {
    color: var(--color-accent-green);
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    line-height: 1.65;
    margin-bottom: 40px;
    text-align: center;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    position: relative;
    z-index: 5;
}

.hero-description strong {
    font-weight: 700;
    color: white;
}

.hero-description strong.green {
    color: var(--color-accent-green);
    font-weight: 700;
}

.hero-description .shelby {
    font-family: 'shelby', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: var(--color-accent-green);
    line-height: normal;
    display: inline-block;
    margin-top: 5px;
}

/* Advantages Grid — Cards blanches style maquette */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-bottom: 30px;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: slideUp 0.8s ease 0.5s forwards;
    position: relative;
    z-index: 5;
}

.advantage-card {
    background: white;
    color: var(--color-primary);
    padding: 15px 18px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Badge icone bleu en haut à droite */
.advantage-icon-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: url('/assets/images/ICONE-LOGO-BLEU.png') no-repeat center;
    background-size: calc(100% - 8px);
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.advantage-title {
    font-size: 20px;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    color: var(--color-primary);
    line-height: 1.25;
    margin: 0;
}

.advantage-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 0;
}

.advantage-card.active .advantage-content {
    max-height: 300px;
    opacity: 1;
}

.advantage-content p {
    font-size: 15px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    color: #555;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Dropdown toggle — Bouton bleu rond en bas */
.dropdown-toggle {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--color-primary) !important;
    border: none !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(43, 117, 187, 0.5);
    padding: 0 !important;
}

.dropdown-toggle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -3px;
}

.advantage-card.active .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-toggle:hover {
    background: #1a5a9e !important;
    box-shadow: 0 6px 16px rgba(43, 117, 187, 0.6);
}

/* Hero Bottom (CTA + Illustration) */
.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    width: 100%;
    margin: 10px auto 0;
    /* PAS de z-index ici pour permettre aux enfants d'avoir des z-index
       indépendants dans le stacking context de .primso-hero */
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    position: relative;
    z-index: 5;
    align-self: center;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--color-primary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: 6px 6px 12px rgba(43, 117, 187, 0.3);
    white-space: nowrap;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 16px rgba(43, 117, 187, 0.4);
    color: white;
}

.btn-hero-cta svg {
    width: 18px;
    height: 18px;
}

.hero-illustration {
    position: relative;
    opacity: 0;
    animation: fadeInRight 0.8s ease 0.4s forwards;
    align-self: flex-end;
    justify-self: flex-end;
    margin-bottom: -60px;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-illustration img {
    max-width: 100%;
    height: 250px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   SECTION TRAVAUX ÉLIGIBLES
   ======================================== */
.primso-eligible {
    padding-top: 20px;
    padding-bottom: 50px;
    background:
        radial-gradient(circle at 40% 55%, rgba(201, 227, 145, 0.20) 0%, transparent 45%),
        radial-gradient(circle at 60% 45%, rgba(190, 215, 235, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 50% 65%, rgba(244, 211, 94, 0.18) 0%, transparent 35%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 3%, black 94%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 3%, black 94%, transparent 100%);
    overflow: hidden;
    width: 100%;
}

.eligible-header {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 60px;
}

.eligible-header h2 {
    font-size: 36px;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.eligible-header h2 strong { font-weight: 900; }

.eligible-header p {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.eligible-header p strong { font-weight: 700; color: var(--color-text-dark); }

.eligible-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 60px;
}

.eligible-card {
    background: white;
    padding: 40px 30px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: var(--transition-base);
    position: relative;
}

.eligible-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.eligible-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eligible-logo img {
    max-width: 150px;
    width: 100%;
    height: auto;
}

.eligible-details {
    width: 100%;
    color: var(--color-text-dark);
    text-align: left;
}

.eligible-details p {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.eligible-details ul {
    list-style: disc;
    padding-left: 18px;
}

.eligible-details li {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-gray);
    margin: 6px 0;
}

/* Bouton Découvrir — style maquette, à l'intérieur de la card */
.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: #2B75BB;
    color: white;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition-base);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(43, 117, 187, 0.3);
    margin-top: auto;
}

.btn-discover:hover {
    background: #1a5a9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 117, 187, 0.4);
    color: white;
}

/* Couleurs spécifiques par card eligible — fidèle maquette */
.eligible-card:nth-child(1) .btn-discover {
    background: #b5d66f;
    color: white;
    box-shadow: 0 4px 12px rgba(181, 214, 111, 0.4);
}
.eligible-card:nth-child(1) .btn-discover:hover {
    background: #a3c85e;
    color: white;
    box-shadow: 0 6px 16px rgba(181, 214, 111, 0.5);
}
.eligible-card:nth-child(2) .btn-discover {
    background: var(--color-accent-yellow);
    color: white;
    box-shadow: 0 4px 12px rgba(244, 211, 94, 0.4);
}
.eligible-card:nth-child(2) .btn-discover:hover {
    background: #e5c34e;
    color: white;
    box-shadow: 0 6px 16px rgba(244, 211, 94, 0.5);
}
.eligible-card:nth-child(3) .btn-discover {
    background: #2B75BB;
    color: white;
    box-shadow: 0 4px 12px rgba(43, 117, 187, 0.3);
}
.eligible-card:nth-child(3) .btn-discover:hover {
    background: #1a5a9e;
    color: white;
    box-shadow: 0 6px 16px rgba(43, 117, 187, 0.4);
}

.eligible-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.eligible-logos img {
    max-width: 400px;
    width: 100%;
    height: 70px;
    object-fit: contain;
}

/* ========================================
   SECTION INTRO
   ======================================== */
.primso-intro {
    padding-top: 60px;
    background: white;
    text-align: center;
    width: 100%;
}

.intro-header {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 60px;
}

.intro-header h2 {
    font-size: 36px;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-header h2 .brand { color: var(--color-primary); font-weight: 900; }
.intro-header h2 strong { font-weight: 900; }

.intro-header p {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.intro-header p strong { font-weight: 700; color: var(--color-text-dark); }
.intro-header p .brand-name { font-weight: 700; color: var(--color-primary); }

/* ========================================
   SECTION CIBLES / TARGETS — Sticky cards
   ======================================== */
.primso-targets {
    padding: 0 20px 80px;
    background: white;
    overflow: visible;
    width: 100%;
    position: relative;
}

.primso-targets.animate-in {
    background:
        radial-gradient(circle at 35% 50%, rgba(214, 236, 165, 0.55) 0%, rgba(214, 236, 165, 0) 70%),
        radial-gradient(circle at 65% 50%, rgba(190, 215, 235, 0.55) 0%, rgba(190, 215, 235, 0) 70%),
        #ffffff;
}

.targets-grid {
    display: block;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.target-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 18px 40px rgba(201, 227, 145, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: sticky;
    top: 100px;
    width: 100%;
    margin-bottom: 80px;
}

.target-card:nth-child(1) { z-index: 1; padding-top: 20px; }
.target-card:nth-child(2) { z-index: 2; top: 105px; padding-top: 20px; }
.target-card:nth-child(3) { z-index: 3; top: 110px; padding-top: 20px; }
.target-card:nth-child(4) { z-index: 4; top: 115px; padding-top: 20px; }
.target-card:nth-child(5) { z-index: 5; top: 120px; padding-top: 20px; }
.target-card:last-child { margin-bottom: 0; }

.target-card:nth-child(even) { direction: rtl; }
.target-card:nth-child(even) > * { direction: ltr; }

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.target-tag {
    background: #c9e39124;
    color: #b1cb82;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.target-badges {
    display: flex;
    max-width: 800px;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.target-mini-badge {
    background: var(--color-dark-green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.target-mini-badge-icon { font-size: 14px; }

.targets-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 60px;
}

.targets-footer .target-badges {
    justify-content: center;
    margin-bottom: 0;
}

.target-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.target-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 40px;
    aspect-ratio: 350 / 200;
}

.target-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.target-card:hover .target-image-container img { transform: scale(1.08); }

.target-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.target-title {
    font-size: 26px;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    color: var(--color-text-dark);
    margin: 0 0 15px;
    line-height: 1.3;
}

.target-title .highlight { color: var(--color-primary); font-weight: 800; }
.target-title .normal { color: var(--color-text-dark); font-weight: 800; }

.target-description {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.target-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    box-shadow: 6px 6px 12px rgba(43, 117, 187, 0.3);
    transition: var(--transition-base);
}

.target-link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    color: white;
}

.target-link svg { width: 18px; height: 18px; }

/* ========================================
   SECTION PARCOURS / ÉTAPES
   ======================================== */
.primso-steps {
    padding: 80px 20px;
    background: var(--color-dark-green);
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.primso-steps::before {
    content: '';
    position: absolute;
    top: 280px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 260px;
    background: radial-gradient(ellipse at center, rgba(244, 211, 94, 0.32) 0%, rgba(244, 211, 94, 0) 70%);
    filter: blur(12px);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.primso-steps .primso-container { position: relative; z-index: 1; }

.steps-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.steps-hero-text h2 {
    font-size: 38px;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
    margin-bottom: 15px;
}

.steps-hero-text h2 .highlight { color: var(--color-accent-green); font-weight: 900; }
.steps-hero-text h2 .bold { font-weight: 900; }

.steps-hero-text p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
}

.steps-hero-illustration { display: flex; justify-content: flex-end; }
.steps-hero-illustration img { width: 300px; max-width: 100%; height: auto; }

.steps-row-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.steps-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.step-card {
    background: white;
    color: var(--color-text-dark);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), 0 20px 45px rgba(244, 211, 94, 0.28);
    position: relative;
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 26px 60px rgba(244, 211, 94, 0.32);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(43, 117, 187, 0.3);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--color-primary);
    margin: 25px 0 10px;
}

.step-card p {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.6;
}

.steps-stats {
    background: var(--color-accent-green);
    color: var(--color-anthracite);
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 100%;
}

.stat-item { text-align: center; width: 100%; }
.stat-value { font-size: 40px; font-weight: 900; color: var(--color-text-dark); margin-bottom: 5px; }
.stat-label { font-size: 13px; font-weight: 700; color: var(--color-text-dark); }

.steps-cta { text-align: center; max-width: 1200px; margin: 0 auto; }

/* ========================================
   SECTION ARTISANS CHOISISSENT PRIMSO
   ======================================== */
.primso-why-choose {
    padding: 80px 20px;
    background: var(--color-bg-light);
    width: 100%;
}

.why-choose-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.why-choose-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.why-choose-header h2 .brand { color: var(--color-primary); }

.why-choose-header p {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.why-choose-header p strong { font-weight: 700; color: var(--color-text-dark); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 25px;
}

.benefit-card {
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 14px 32px rgba(43, 117, 187, 0.35);
    font-size: 36px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.benefit-description {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
}

.why-choose-cta {
    text-align: center;
    margin-top: 10px;
}

.why-choose-cta .btn-primary {
    margin-top: 0;
}

/* ========================================
   SECTION OUTILS & SERVICES
   ======================================== */
.primso-tools-services {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4A90C8 0%, var(--color-primary) 100%);
    color: white;
    overflow: hidden;
    width: 100%;
}

.tools-services-hero {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.tools-services-illustration img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.tools-services-text h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
}

.tools-services-text h2 strong { font-weight: 900; }

.tools-services-text p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.7;
}

.tools-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(74, 144, 200, 0.22), 0 8px 16px rgba(0, 0, 0, 0.35);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px 30px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(74, 144, 200, 0.25);
}

.service-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img { transform: scale(1.03); }

.service-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0 0 20px;
    text-align: center;
}

.service-description {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    text-align: center;
    flex: 1;
    margin: 0 0 25px;
}

.btn-service {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    padding: 10px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    background: var(--color-accent-green);
    color: var(--color-primary);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-service:hover {
    background: #cce670;
    transform: translate(-50%, 50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 251, 159, 0.5);
    color: var(--color-primary);
}

/* ========================================
   SECTION PARTENAIRES — Carousel auto
   ======================================== */
.primso-partners {
    padding: 80px 20px;
    overflow: hidden;
    width: 100%;
}

.partners-title {
    font-size: 38px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 60px;
    color: var(--color-text-dark);
}

.partners-title strong { font-weight: 900; }

/* Carousel infini */
.partners-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: partnersScroll 30s linear infinite;
    width: max-content;
}

.partners-track img {
    max-width: 140px;
    width: auto;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.partners-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ancien style partenaires (fallback) */
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-logos img {
    max-width: 140px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ========================================
   SECTION FAQ
   ======================================== */
.primso-faq {
    padding: 40px 20px 80px;
    background: var(--color-bg-light);
    width: 100%;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.3;
}

.faq-title strong { font-weight: 900; }

.faq-description {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.faq-help-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.faq-help-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 15px;
}

.faq-help-card h3 strong { font-weight: 900; color: var(--color-primary); }

.faq-help-card p {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin: 0 0 20px;
}

.faq-help-card .btn {
    width: 60%;
    background: var(--color-accent-green);
    color: var(--color-text-dark);
    margin-top: 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #2b75bb;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question:hover { background: transparent; }

.faq-question span {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.5;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(43, 117, 187, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.7;
    margin: 0 0 10px;
}

.faq-answer p:last-child { margin-bottom: 0; }

/* ========================================
   SECTION CARROUSEL PHOTOS
   ======================================== */
.primso-carousel {
    padding-top: 0px;
    background: var(--color-bg-light);
    overflow: hidden;
    width: 100%;
}

.carousel-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    will-change: transform;
}

/* Les animations CSS sont remplacées par JS (requestAnimationFrame) */

.carousel-slide {
    flex-shrink: 0;
    width: 400px;
    max-width: 90vw;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   BOUTON CONTACT FIXE
   ======================================== */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(43, 117, 187, 0.4);
    transition: var(--transition-base);
    z-index: 9999;
    text-decoration: none;
}

.floating-contact-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(43, 117, 187, 0.5);
    background: var(--color-primary-dark);
}

.floating-contact-btn svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

/* ========================================
   PAGES INTERNES — STYLES GLOBAUX
   ======================================== */

/* Page header interne */
.page-hero {
    background: linear-gradient(180deg, #2B75BB 0%, #1e5a94 100%);
    color: white;
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    z-index: 1;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero .highlight { color: var(--color-accent-green); }
