/* ========================================================================
   PAGE PRÉSENTATION ULTRA-MODERNE - SAPRESSI
   Charte: Bleu #003087, Rouge #E30613, Blanc #FFFFFF
   Design aligné sur la nouvelle page d'accueil
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700;800;900&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ========================================================================
   VARIABLES CSS
   ======================================================================== */

:root {
    --sapressi-blue: #003087;
    --sapressi-red: #E30613;
    --sapressi-red-light: #FF3D4A;
    --sapressi-red-soft: rgba(227, 6, 19, 0.12);
    --sapressi-white: #FFFFFF;
    --sapressi-blue-light: #0055CC;
    --sapressi-blue-dark: #001A4D;
    --sapressi-blue-ultra-light: rgba(0, 48, 135, 0.08);
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --transition-base: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================================
   SECTION PRINCIPALE
   ======================================================================== */

.presentation-moderne-section {
    font-family: 'Barlow', sans-serif;
    font-size: 1.055rem;
    background: linear-gradient(135deg, #F0F4FF 0%, #E8EFFF 100%);
    min-height: 100vh;
}

/* ========================================================================
   HERO BANNER
   ======================================================================== */

.hero-banner-presentation {
    position: relative;
    min-height: 650px;
    background: linear-gradient(135deg, var(--sapressi-blue) 0%, var(--sapressi-blue-light) 50%, rgba(227, 6, 19, 0.25) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-banner-presentation.hero-banner--short {
    min-height: 320px;
}
.hero-banner-presentation.hero-banner--short .hero-content-wrapper {
    padding: 80px 0 60px;
}

/* Image de fond optionnelle du hero (pages métier) */
.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-banner--with-image .hero-overlay-animate {
    background: rgba(0, 0, 0, 0.28);
    animation: none;
}

.hero-overlay-animate {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(227, 6, 19, 0.15) 0%, transparent 50%);
    animation: overlayPulse 15s ease-in-out infinite;
}

/* Particules / formes flottantes dans le hero */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.hero-particles .particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: particleFloat 12s ease-in-out infinite;
}
.hero-particles .particle--red {
    background: var(--sapressi-red);
    opacity: 0.1;
    animation-duration: 14s;
}
.hero-particles .particle--circle:not(.particle--red) {
    background: rgba(255, 255, 255, 0.2);
}
.hero-particles .particle--0 { animation-delay: 0s; }
.hero-particles .particle--1 { animation-delay: 1.5s; }
.hero-particles .particle--2 { animation-delay: 3s; }
@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.08; }
    25% { transform: translate(15px, -20px) scale(1.05); opacity: 0.12; }
    50% { transform: translate(-10px, 15px) scale(0.95); opacity: 0.06; }
    75% { transform: translate(-20px, -10px) scale(1.02); opacity: 0.1; }
}
.hero-particles .particle--red.particle--1,
.hero-particles .particle--red.particle--2 { animation-name: particleFloatRed; }
@keyframes particleFloatRed {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-15px, 15px) scale(1.1); }
    66% { transform: translate(10px, -15px) scale(0.9); }
}

@keyframes overlayPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-left: 4px solid var(--sapressi-red);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--transition-base) 0.3s forwards;
    box-shadow: 0 0 20px rgba(227, 6, 19, 0.2);
}

.badge-icon {
    display: flex;
    color: var(--sapressi-white);
}

.badge-text {
    color: var(--sapressi-white);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title-presentation {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: var(--sapressi-white);
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--transition-base) 0.5s forwards;
}

.title-highlight {
    background: linear-gradient(135deg, #FFDD00 0%, var(--sapressi-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero : le segment en emphase (.title-highlight) ressort (connexion, génie civil, etc.) */
.hero-banner-presentation .hero-title-presentation .title-highlight {
    display: inline-block;
    font-size: 1.22em;
    line-height: 1.05;
}

.hero-subtitle-presentation {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 50px 0;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--transition-base) 0.7s forwards;
}

/* Présentation de SAPRESSI : ajustements “Home-like” */
.presentation_de_sapressi--hero .hero-banner-bg {
    /* petit flottement de la photo en arrière-plan */
    transform: translateY(-14px) scale(1.06);
}

.presentation_de_sapressi--hero .hero-badge {
    /* plus “home”, typographie + spacing */
    letter-spacing: 0.12em;
}

.presentation_de_sapressi--hero .hero-title-presentation {
    /* rapprochement visuel avec le hero home */
    /* "Présentation de" doit rester discret (on réduit la taille globale du H1) */
    font-size: clamp(1.5rem, 3.7vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.presentation_de_sapressi--hero .hero-title-presentation .title-highlight {
    /* "SAPRESSI" doit dominer visuellement */
    display: inline-block;
    font-size: clamp(3rem, 7.1vw, 6rem);
    line-height: 1.05;
    background: none;
    -webkit-text-fill-color: var(--sapressi-blue-light);
    color: var(--sapressi-blue-light);
    text-shadow: 0 2px 12px rgba(0, 26, 77, 0.28);
}

.presentation_de_sapressi--hero .hero-subtitle-presentation {
    /* style plus proche de la home (uppercase + letter spacing) */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    max-width: 650px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats-row {
    display: flex;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--transition-base) 0.9s forwards;
}

.hero-stat-item {
    text-align: left;
    position: relative;
    padding-left: 20px;
}
.hero-stat-item:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 8px;
    height: 8px;
    background: var(--sapressi-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--sapressi-red);
    animation: statPulse 2s ease-in-out infinite;
}

.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--sapressi-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================================================
   SECTION CONTENU
   ======================================================================== */

.section-contenu-moderne {
    padding: 100px 0;
}

.carte-identite-wrapper,
.activites-wrapper,
.agrements-wrapper,
.vision-wrapper {
    margin-bottom: 120px;
    /* Toujours visible (évitait l’invisibilité si le JS de reveal ne tournait pas) */
    opacity: 1;
    transform: none;
    transition: all 0.8s var(--transition-base);
}

/* ========================================================================
   HEADER DE SECTION
   ======================================================================== */

.section-header-moderne {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.section-header-moderne.centered {
    justify-content: center;
    text-align: center;
}

.section-header-moderne.centered .section-titles {
    text-align: center;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--sapressi-blue) 0%, var(--sapressi-blue-light) 70%, var(--sapressi-red) 100%);
    color: var(--sapressi-white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 800;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.3), 0 0 0 2px rgba(227, 6, 19, 0.2);
    transition: transform 0.3s var(--transition-base), box-shadow 0.3s var(--transition-base);
    animation: sectionNumberPulse 4s ease-in-out infinite;
}

.section-number:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 48, 135, 0.4), 0 0 25px rgba(227, 6, 19, 0.3);
}

.section-title-principale {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 10px 0;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}
.section-title-principale::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--sapressi-red) 0%, var(--sapressi-red-light) 100%);
    border-radius: 2px;
    transition: width 0.4s var(--transition-base);
}
.section-header-moderne:hover .section-title-principale::after {
    width: 100px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin: 0;
}

/* ========================================================================
   CARTE D'IDENTITÉ
   ======================================================================== */

.contenu-grid-2cols {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.texte-intro-large {
    font-size: 20px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 40px;
}

.caracteristiques-liste {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.caracteristique-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--sapressi-white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--transition-base);
}

.caracteristique-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.caracteristique-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--sapressi-blue-ultra-light);
    color: var(--sapressi-blue);
    border-radius: 14px;
    transition: all 0.3s var(--transition-base);
}

.caracteristique-icon.award {
    background: rgba(255, 193, 7, 0.1);
    color: #FFA000;
}

.caracteristique-icon.certified {
    background: rgba(76, 175, 80, 0.1);
    color: #388E3C;
}

.caracteristique-item:hover .caracteristique-icon {
    transform: scale(1.1) rotate(5deg);
}

.caracteristique-contenu h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 8px 0;
}

.caracteristique-contenu p {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ========================================================================
   ZONE INFO VISUELLE
   ======================================================================== */

.image-zone-decorative {
    position: sticky;
    top: 120px;
}

.carte-info-visuelle {
    background: var(--sapressi-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--sapressi-red);
    position: relative;
    overflow: hidden;
}
.carte-info-visuelle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--sapressi-red);
    border-radius: 0 2px 2px 0;
    animation: lineGlow 3s ease-in-out infinite;
}

.info-visuelle-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 2px solid var(--gray-100);
}

.info-visuelle-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-visuelle-item:first-child {
    padding-top: 0;
}

.info-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--sapressi-blue) 0%, var(--sapressi-blue-light) 100%);
    color: var(--sapressi-white);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.3);
}

.info-details h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 8px 0;
}

.info-details p {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ========================================================================
   ACTIVITÉS
   ======================================================================== */

.activites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.activite-card {
    background: var(--sapressi-white);
    border-radius: 24px;
    padding: 40px;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.activite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--sapressi-blue) 0%, var(--sapressi-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-base);
}

.activite-card:hover::before {
    transform: scaleX(1);
}

.activite-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activite-icon-wrapper {
    margin-bottom: 25px;
}

.activite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--sapressi-blue-ultra-light);
    color: var(--sapressi-blue);
    transition: all 0.4s var(--transition-base);
}

.activite-icon.cnd {
    background: linear-gradient(135deg, rgba(0, 48, 135, 0.1) 0%, rgba(0, 85, 204, 0.1) 100%);
}

.activite-icon.ctr {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1) 0%, rgba(255, 26, 44, 0.1) 100%);
    color: var(--sapressi-red);
}

.activite-icon.formation {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 160, 0, 0.1) 100%);
    color: #FFA000;
}

.activite-card:hover .activite-icon {
    transform: scale(1.1) rotate(5deg);
}

.activite-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.activite-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.activite-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--sapressi-blue-ultra-light);
    color: var(--sapressi-blue);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--transition-base);
}
.activite-card:nth-child(2) .activite-badge {
    background: var(--sapressi-red-soft);
    color: var(--sapressi-red);
    border: 1px solid rgba(227, 6, 19, 0.3);
}

/* ========================================================================
   AGRÉMENTS
   ======================================================================== */

.agrements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.agrement-card {
    background: var(--sapressi-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.agrement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.agrement-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--sapressi-blue) 0%, var(--sapressi-blue-light) 100%);
    color: var(--sapressi-white);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 48, 135, 0.3);
    transition: all 0.3s var(--transition-base);
}

.agrement-card:hover .agrement-icon-large {
    transform: scale(1.1) rotate(10deg);
}
.agrement-card:nth-child(2) .agrement-icon-large,
.agrement-card:nth-child(4) .agrement-icon-large {
    background: linear-gradient(135deg, var(--sapressi-red) 0%, var(--sapressi-red-light) 100%);
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.35);
}
.agrement-card:nth-child(2):hover .agrement-icon-large,
.agrement-card:nth-child(4):hover .agrement-icon-large {
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.5);
}

.agrement-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 10px 0;
}

.agrement-detail {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ========================================================================
   VISION
   ======================================================================== */

.vision-content-card {
    background: var(--sapressi-white);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.home-map__wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    background: #fff;
}

.home-map__frame {
    width: 100%;
    border: 0;
    display: block;
}

.vision-intro {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--gray-100);
}

.vision-texte-principal {
    font-size: 22px;
    line-height: 1.8;
    color: var(--gray-700);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.engagements-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 15px 0;
    text-align: center;
}

.engagements-intro {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.engagement-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.engagement-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--sapressi-blue) 0%, var(--sapressi-blue-light) 100%);
    color: var(--sapressi-white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(0, 48, 135, 0.3);
}

.engagement-contenu h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 8px 0;
}

.engagement-contenu p {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.vision-cta {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid var(--gray-100);
}

.btn-vision-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--sapressi-red) 0%, var(--sapressi-red-light) 100%);
    color: var(--sapressi-white);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.35);
    transition: all 0.3s var(--transition-base);
    position: relative;
    overflow: hidden;
}
.btn-vision-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: btnShimmer 3s ease-in-out infinite;
}
.btn-vision-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 6, 19, 0.5);
    color: var(--sapressi-white);
}

/* ========================================================================
   CTA FINAL
   ======================================================================== */

.cta-final-section {
    background: linear-gradient(135deg, var(--sapressi-blue) 0%, var(--sapressi-blue-light) 50%, rgba(227, 6, 19, 0.4) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
}

.cta-final-content {
    position: relative;
    z-index: 2;
}

.cta-final-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--sapressi-white);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.cta-final-texte {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 50px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s var(--transition-base);
}

.btn-cta-primary {
    background: var(--sapressi-red);
    color: var(--sapressi-white);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnShimmer 2.5s ease-in-out infinite;
}
.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 6, 19, 0.5);
    background: var(--sapressi-red-light);
    color: var(--sapressi-white);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--sapressi-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: var(--sapressi-white);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1024px) {
    .hero-title-presentation {
        font-size: 56px;
    }

    .contenu-grid-2cols {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .image-zone-decorative {
        position: relative;
        top: 0;
    }

    .activites-grid,
    .engagements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agrements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================================================
   PAGE CONTACT - MISE EN FORME MODERNE
   ======================================================================== */

.page-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: flex-start;
}

.page-contact-intro {
    padding-right: 20px;
}

.page-contact-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin-bottom: 15px;
}

.page-contact-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-contact-infos {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    font-size: 16px;
    color: var(--gray-700);
}

.page-contact-infos li + li {
    margin-top: 6px;
}

.page-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.btn-cta-secondary-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--sapressi-blue);
    text-decoration: none;
    position: relative;
}

.btn-cta-secondary-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--sapressi-blue) 0%, var(--sapressi-red) 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s var(--transition-base);
}

.btn-cta-secondary-link:hover::after {
    transform: scaleX(1);
}

/* Demandes d'offre / devis : texte plus lisible (intro + formulaire) */
.presentation-moderne-section.page-demande-offre-devis .page-contact-title {
    font-size: 40px;
}

.presentation-moderne-section.page-demande-offre-devis .page-contact-text {
    font-size: 18px;
}

.presentation-moderne-section.page-demande-offre-devis .page-contact-infos {
    font-size: 18px;
    line-height: 1.65;
}

.presentation-moderne-section.page-demande-offre-devis .page-contact-infos li + li {
    margin-top: 10px;
}

.presentation-moderne-section.page-demande-offre-devis .btn-cta-secondary-link {
    font-size: 18px;
}

.presentation-moderne-section.page-demande-offre-devis .page-contact-note {
    font-size: 17px;
}

.presentation-moderne-section.page-demande-offre-devis .form-field label {
    font-size: 17px;
}

.presentation-moderne-section.page-demande-offre-devis .form-field input,
.presentation-moderne-section.page-demande-offre-devis .form-field textarea {
    font-size: 17px;
    padding: 12px 14px;
}

.presentation-moderne-section.page-demande-offre-devis .form-actions .btn-cta-primary {
    font-size: 18px;
    padding: 16px 36px;
}

.presentation-moderne-section.page-demande-offre-devis .form-page-illustration img {
    max-width: 100%;
}

/* Même page en layout historique (login-form-grids) */
.presentation-moderne-section.page-demande-offre-devis .section-contenu-moderne > .container > h3 {
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

.presentation-moderne-section.page-demande-offre-devis .est {
    font-size: 18px;
}

.presentation-moderne-section.page-demande-offre-devis .login-form-grids h5,
.presentation-moderne-section.page-demande-offre-devis .login-form-grids h6 {
    font-size: 22px;
}

.presentation-moderne-section.page-demande-offre-devis .login-form-grids label,
.presentation-moderne-section.page-demande-offre-devis .login-form-grids .test-info {
    font-size: 17px;
}

.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="text"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="email"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="password"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="tel"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="number"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="file"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids select,
.presentation-moderne-section.page-demande-offre-devis .login-form-grids textarea {
    font-size: 17px;
    padding: 11px 13px;
}

.presentation-moderne-section.page-demande-offre-devis .login-form-grids input[type="submit"],
.presentation-moderne-section.page-demande-offre-devis .login-form-grids button[type="submit"] {
    font-size: 17px;
    padding: 14px 28px;
}

.presentation-moderne-section.page-demande-offre-devis .section-contenu-moderne > .container > h4 {
    font-size: 1.25rem;
}

.presentation-moderne-section.page-demande-offre-devis .section-contenu-moderne > .container > p {
    font-size: 17px;
    line-height: 1.65;
}

.page-contact-form-card {
    background: var(--sapressi-white);
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.page-contact-note {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 18px;
}

.page-contact-note span {
    color: var(--sapressi-red);
    font-weight: 700;
}

.page-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-field label span {
    color: var(--sapressi-red);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    color: var(--gray-800);
    transition: border-color 0.2s var(--transition-base), box-shadow 0.2s var(--transition-base), transform 0.1s ease-in-out;
}

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

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--sapressi-blue);
    box-shadow: 0 0 0 1px rgba(0, 48, 135, 0.2);
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: var(--gray-300);
}

.form-actions {
    margin-top: 10px;
}

.form-actions .btn-cta-primary {
    border: none;
    cursor: pointer;
}

/* ========================================================================
   Modal devis formations (page formations.php)
   ======================================================================== */
.devis-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}
.devis-modal-backdrop.open {
    display: flex;
}
.devis-modal {
    background: #ffffff;
    border-radius: 18px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    padding: 24px 24px 20px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.35);
    overflow-y: auto;
}
.devis-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.devis-modal-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--sap-blue);
}
.devis-modal-close {
    border: none;
    background: transparent;
    font-size: 1.3rem;
    cursor: pointer;
    color: #6b7280;
}
.devis-modal-close:hover {
    color: var(--sapressi-red);
}
.devis-modal-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
.devis-modal-form .form-row > .form-field {
    flex: 1;
}
.devis-modal-footer {
    margin-top: 16px;
    text-align: right;
    position: sticky;
    bottom: -1px;
    background: #fff;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    z-index: 2;
}
.devis-modal-footer .btn-inscrire {
    max-width: 320px;
    width: 100%;
    margin-left: auto;
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 48px;
}
/* Page "Nous contacter" : texte agrandi */
.presentation-moderne-section.page-contact-form-card .section-title-principale {
    font-size: clamp(2.25rem, 3.5vw, 3.1rem);
}

.presentation-moderne-section.page-contact-form-card .page-contact-note {
    font-size: 19px;
    line-height: 1.65;
}

.presentation-moderne-section.page-contact-form-card .caracteristiques-liste li {
    font-size: 19px;
}

.presentation-moderne-section.page-contact-form-card .form-field label {
    font-size: 19px;
}

.presentation-moderne-section.page-contact-form-card .form-field input,
.presentation-moderne-section.page-contact-form-card .form-field textarea {
    font-size: 19px;
    padding: 13px 15px;
}

.presentation-moderne-section.page-contact-form-card .form-actions .btn-cta-primary {
    font-size: 20px;
    padding: 15px 32px;
}

@media (max-width: 992px) {
    .page-contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-contact-intro {
        padding-right: 0;
    }
}

/* ========================================================================
   FORMULAIRES HISTORIQUES (login-form-grids) - STYLE MODERNE UNIFIÉ
   ======================================================================== */

.login-form-grids {
    background: var(--sapressi-white);
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    margin-top: 20px;
}

.login-form-grids h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin-bottom: 16px;
}

.login-form-grids label,
.login-form-grids .test-info {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 8px 0 4px 0;
}

.login-form-grids label span,
.login-form-grids .test-info span {
    color: var(--sapressi-red);
}

.login-form-grids input[type="text"],
.login-form-grids input[type="email"],
.login-form-grids input[type="password"],
.login-form-grids input[type="tel"],
.login-form-grids input[type="number"],
.login-form-grids input[type="file"],
.login-form-grids select,
.login-form-grids textarea {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    color: var(--gray-800);
    transition: border-color 0.2s var(--transition-base),
                box-shadow 0.2s var(--transition-base),
                transform 0.08s ease-in-out;
    background-color: #FDFDFD;
}

.login-form-grids textarea {
    min-height: 110px;
    resize: vertical;
}

.login-form-grids input[type="text"]:focus,
.login-form-grids input[type="email"]:focus,
.login-form-grids input[type="password"]:focus,
.login-form-grids input[type="tel"]:focus,
.login-form-grids input[type="number"]:focus,
.login-form-grids input[type="file"]:focus,
.login-form-grids select:focus,
.login-form-grids textarea:focus {
    outline: none;
    border-color: var(--sapressi-blue);
    box-shadow: 0 0 0 1px rgba(0, 48, 135, 0.15);
    background-color: #FFFFFF;
}

.login-form-grids input[type="text"]:hover,
.login-form-grids input[type="email"]:hover,
.login-form-grids input[type="password"]:hover,
.login-form-grids input[type="tel"]:hover,
.login-form-grids input[type="number"]:hover,
.login-form-grids input[type="file"]:hover,
.login-form-grids select:hover,
.login-form-grids textarea:hover {
    border-color: var(--gray-300);
}

.login-form-grids input[type="submit"],
.login-form-grids button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 26px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--sapressi-red) 0%, var(--sapressi-red-light) 100%);
    color: var(--sapressi-white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
    transition: transform 0.1s ease-out,
                box-shadow 0.2s ease-out,
                filter 0.2s ease-out;
}

.login-form-grids input[type="submit"]:hover,
.login-form-grids button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(227, 6, 19, 0.45);
    filter: brightness(1.03);
}

.login-form-grids input[type="submit"]:active,
.login-form-grids button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.3);
}

.login-form-grids .clearfix {
    height: 0;
    clear: both;
}


@media (max-width: 768px) {
    .hero-banner-presentation {
        min-height: 550px;
    }

    .hero-title-presentation {
        font-size: 44px;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 30px;
    }

    .section-header-moderne {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-header-moderne.centered {
        align-items: center;
    }

    .section-title-principale {
        font-size: 36px;
    }

    .activites-grid,
    .agrements-grid,
    .engagements-grid {
        grid-template-columns: 1fr;
    }

    .vision-content-card {
        padding: 40px 30px;
    }

    .cta-final-titre {
        font-size: 40px;
    }

    .cta-final-actions {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: 80px 0 60px;
    }

    .hero-title-presentation {
        font-size: 36px;
    }

    .hero-subtitle-presentation {
        font-size: 18px;
    }

    .section-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .section-title-principale {
        font-size: 32px;
    }

    .vision-content-card,
    .carte-info-visuelle {
        padding: 30px 20px;
    }
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */

@keyframes statPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 15px var(--sapressi-red); }
    50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 25px var(--sapressi-red); }
}

@keyframes sectionNumberPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 48, 135, 0.3), 0 0 0 2px rgba(227, 6, 19, 0.2); }
    50% { box-shadow: 0 12px 35px rgba(0, 48, 135, 0.35), 0 0 0 3px rgba(227, 6, 19, 0.35); }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.5; }
}

@keyframes btnShimmer {
    0% { left: -100%; }
    60%, 100% { left: 100%; }
}

/* [data-reveal] : contenu toujours visible.
   (Auparavant opacity:0 jusqu’à .revealed → page blanche si JS absent, erreur, ou conflit de règles.) */
[data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--transition-base), transform 0.5s var(--transition-base);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* Délais en escalier pour effet stagger (utilisés par JS ou data-reveal-delay) */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Stagger (optional) : les cartes restent visibles sans dépendre de .revealed */
.activites-wrapper .activite-card {
    opacity: 1;
    transform: none;
    transition: all 0.5s var(--transition-base);
}
.activites-wrapper.revealed .activite-card:nth-child(1) { transition-delay: 0.1s; }
.activites-wrapper.revealed .activite-card:nth-child(2) { transition-delay: 0.25s; }
.activites-wrapper.revealed .activite-card:nth-child(3) { transition-delay: 0.4s; }

.agrements-wrapper .agrement-card {
    opacity: 1;
    transform: none;
    transition: all 0.5s var(--transition-base);
}
.agrements-wrapper.revealed .agrement-card:nth-child(1) { transition-delay: 0.05s; }
.agrements-wrapper.revealed .agrement-card:nth-child(2) { transition-delay: 0.2s; }
.agrements-wrapper.revealed .agrement-card:nth-child(3) { transition-delay: 0.35s; }
.agrements-wrapper.revealed .agrement-card:nth-child(4) { transition-delay: 0.5s; }

.vision-wrapper .engagement-item {
    opacity: 1;
    transform: none;
}
.vision-wrapper.revealed .engagement-item:nth-child(1) { animation: slideInLeft 0.5s var(--transition-base) 0.1s both; }
.vision-wrapper.revealed .engagement-item:nth-child(2) { animation: slideInLeft 0.5s var(--transition-base) 0.25s both; }
.vision-wrapper.revealed .engagement-item:nth-child(3) { animation: slideInLeft 0.5s var(--transition-base) 0.4s both; }
@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* Flottement léger sur les stats du hero */
.hero-stat-item {
    animation: floatStat 6s ease-in-out infinite;
}
.hero-stat-item:nth-child(1) { animation-delay: 0s; }
.hero-stat-item:nth-child(2) { animation-delay: 0.2s; }
.hero-stat-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes floatStat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ========================================================================
   ACCESSIBILITÉ
   ======================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal],
    .hero-badge,
    .hero-title-presentation,
    .hero-subtitle-presentation,
    .hero-stats-row {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================================================
   BOUTON CTA "NOUS CONTACTER" (identique page d'accueil)
   ======================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s var(--transition-base), box-shadow 0.2s var(--transition-base), background 0.2s var(--transition-base), border-color 0.2s var(--transition-base);
}
.btn i { font-size: 0.8rem; transition: transform 0.2s var(--transition-base); }
.btn:hover i { transform: translateX(4px); }

.btn--primary {
    background: var(--sapressi-blue);
    color: var(--sapressi-white);
    border-color: var(--sapressi-blue);
}
.btn--primary:hover {
    background: var(--sapressi-blue-light);
    border-color: var(--sapressi-blue-light);
    box-shadow: 0 4px 14px rgba(0, 48, 135, 0.35);
    transform: translateY(-2px);
}

.floating-cta {
    position: fixed;
    right: 1.5rem;
    bottom: 5.5rem;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #E30613;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(227, 6, 19, 0.35);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseCTA 3s ease-in-out infinite;
}
.floating-cta i { font-size: 0.9rem; }
.floating-cta span { max-width: 0; overflow: hidden; transition: max-width 0.3s ease; white-space: nowrap; }
.floating-cta:hover {
    background: #ff1a2a;
    transform: translateY(-3px);
    box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.15), 0 8px 30px rgba(227, 6, 19, 0.35);
}
.floating-cta:hover span { max-width: 120px; }
@keyframes pulseCTA {
    0%, 100% { box-shadow: 0 8px 30px rgba(227, 6, 19, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.15), 0 8px 30px rgba(227, 6, 19, 0.35); }
}

/* ========================================================================
   BLOC CONNEXION / AUTHENTIFICATION
   ======================================================================== */

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 60px;
    align-items: flex-start;
}

.auth-side-info {
    max-width: 520px;
}

.auth-side-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 16px 0;
}

.auth-side-text {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.auth-side-text.secondary {
    font-size: 15px;
    color: var(--gray-600);
}

.auth-side-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 24px 0;
}

.auth-side-list li {
    display: flex;
    gap: 8px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 6px;
}

.auth-side-list li span:first-child {
    color: var(--sapressi-red);
    font-weight: 700;
}

.auth-card {
    background: var(--sapressi-white);
    border-radius: 24px;
    padding: 40px 36px 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    max-width: 420px;
    margin-left: auto;
}

.auth-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sapressi-blue);
    margin: 0 0 8px 0;
}

.auth-card-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.auth-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    outline: none;
    transition: border-color 0.2s var(--transition-base), box-shadow 0.2s var(--transition-base), background-color 0.2s var(--transition-base);
}

.auth-input:focus {
    border-color: var(--sapressi-blue);
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.15);
    background-color: #F9FBFF;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.auth-links {
    margin-top: 18px;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--gray-600);
}

.auth-links a {
    color: var(--sapressi-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links-separator {
    opacity: 0.5;
}

@media (max-width: 991px) {
    .auth-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .auth-card {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .auth-card {
        padding: 30px 22px 26px;
    }
}

/* ========================================================================
   LISTINGS : tableaux larges (scroll horizontal, évite le “tableau coupé”)
   Chargé après sapressi-new : renforce l’ordre de cascade sur les pages listing.
   ======================================================================== */
.presentation-moderne-section .section-contenu-moderne > .container {
    min-width: 0;
    max-width: 100%;
}
.presentation-moderne-section .sapressi-listing-table-outer,
.presentation-moderne-section .login-form-grids-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
}
.presentation-moderne-section .sapressi-listing-table-outer::-webkit-scrollbar,
.presentation-moderne-section .login-form-grids-table::-webkit-scrollbar {
    height: 10px;
}
.presentation-moderne-section .sapressi-listing-table-outer::-webkit-scrollbar-thumb,
.presentation-moderne-section .login-form-grids-table::-webkit-scrollbar-thumb {
    background: #b9c9ea;
    border-radius: 99px;
}
