/* CHARTE GRAPHIQUE SITRACOM CONFIGURATION */
:root {
    --blue-sitracom: #0E438F;
    --cyan-sitracom: #29A1DE;
    --text-main: #2C3E50;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
}

/* STRUCTURATION DE PAGE */
.section-container {
    padding: 80px max(20px, calc((100% - 1200px) / 2));
}
.bg-white { background-color: var(--paper, #ffffff); }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-title {
    font-size: 2.2rem;
    color: var(--blue-sitracom);
    margin-bottom: 10px;
    font-weight: 700;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* HERO BANNER ACCUEIL */
.sitracom-hero {
    background: linear-gradient(135deg, var(--blue-sitracom), var(--cyan-sitracom));
    color: #ffffff;
    padding: 100px max(20px, calc((100% - 1200px) / 2));
    text-align: left;
}
.hero-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.sitracom-hero h1 {
    font-size: 2.8rem;
    margin: 20px 0 10px 0;
    line-height: 1.2;
}

/* GRILLE DOUBLE (PRESENTATION) */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
}
.intro-visual {
    background: #CBD5E1 url('../img/shipping-placeholder.jpg') center/cover no-repeat;
    height: 400px;
    border-radius: 12px;
    position: relative;
}
.badge-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--orange, #F39C12);
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
}
.badge-experience .number { font-size: 2rem; font-weight: bold; display: block; }
.badge-experience .text { font-size: 0.85rem; text-transform: uppercase; }

.bullet-list {
    list-style: none;
    padding: 0;
}
.bullet-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 30px;
}
.bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2x;
    color: var(--cyan-sitracom);
    font-weight: bold;
    font-size: 1.2rem;
}

/* GRILLE DES CARTES DE PRESTATIONS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--blue-sitracom);
    transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-5px); }
.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.service-icon { font-size: 2rem; }
.service-card h3 { color: var(--blue-sitracom); margin: 0; font-size: 1.3rem; }

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.card-list li {
    font-size: 0.9rem;
    padding: 8px 0;
    color: var(--text-main);
    border-bottom: 1px dashed #F1F5F9;
}
.card-list li:last-child { border-bottom: none; }

/* INDICATEURS DE REUSSITE (POURQUOI NOUS) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.feature-item {
    text-align: left;
    padding: 20px;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.feature-item h4 {
    font-size: 1.15rem;
    color: var(--blue-sitracom);
    margin: 0 0 10px 0;
}
.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* SECTION LOGOS PARTENAIRES */
.logos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.logo-placeholder {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 15px 25px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.2s ease;
}
.logo-placeholder:hover {
    filter: grayscale(0);
    opacity: 1;
    border-color: var(--cyan-sitracom);
}

/* BAS DE PAGE (CONTACT) */
.sitracom-footer {
    background-color: #1E293B;
    color: #F8FAFC;
    padding: 60px max(20px, calc((100% - 1200px) / 2));
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.footer-info, .footer-contact {
    flex: 1;
    min-width: 280px;
}
.sitracom-footer h3 {
    color: var(--cyan-sitracom);
    margin-top: 0;
    margin-bottom: 20px;
}
.sitracom-footer a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid var(--cyan-sitracom);
}

/* RESPONSIVE DESIGN RAPIDE */
@media (max-width: 768px) {
    .sitracom-hero h1 { font-size: 2rem; }
    .badge-experience { position: static; margin-top: 20px; display: inline-block; }
    .section-container { padding: 40px 20px; }
}
/* ==========================================================================
   apropos.css — vient EN COMPLÉMENT de index.css (charger les deux).
   Ne redéfinit aucune couleur/police : réutilise les variables de :root
   déjà déclarées dans index.css.
   ========================================================================== */

/* ==========================================================================
   ABOUT HERO & VIDÉO — PRODUCTION CORRIGÉE
   ========================================================================== */
.about-hero {
    position: relative;
    background: linear-gradient(180deg, var(--navy-deep) 0%, #061222 100%);
    color: var(--paper);
    padding: 100px 32px 80px; /* Padding augmenté pour détacher l'image du bas */
    text-align: center; /* Force l'alignement centré global */
    overflow: hidden;
}

.about-hero-inner {
    max-width: 850px;
    margin: 0 auto 56px; /* Donne de l'air avant l'illustration/vidéo */
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligne verticalement tous les enfants au centre */
}

/* Correction du badge décalé à gauche sur la capture */
.about-hero-badge {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--orange, #E2672E);
    text-transform: uppercase;
    margin-bottom: 24px; /* Espace augmenté sous le badge */
    background: rgba(226, 103, 46, 0.12);
    padding: 6px 18px;
    border-radius: 20px;
    width: fit-content; /* Empêche le badge de s'étirer sur toute la largeur */
}

.about-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem); /* Rajeuni et agrandi pour l'impact */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0 0 16px 0; /* Nettoyage des marges par défaut */
}

/* Correction du Slogan vert (Espace et structure) */
.about-hero h1 .hero-slogan {
    display: block;
    font-size: clamp(1.3rem, 3.2vw, 1.9rem);
    color: #2AA362; /* Votre vert logistique extrait du logo */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    margin-top: 20px; /* Crée la rupture visuelle indispensable sous SITRACOM */
    line-height: 1.3;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    color: var(--sand, #F7F4EE);
    opacity: 0.85;
    max-width: 580px;
    margin: 16px auto 0; /* Crée l'espace au-dessus du sous-titre */
    line-height: 1.5;
}

/* Conteneur de l'image ou de la vidéo principale */
.about-video-frame {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16 / 9;
}


/* ==========================================================================
   QUI SOMMES-NOUS (MISSIONS & VALEURS CORRIGÉES)
   ========================================================================== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 40px;
}

/* Effet Radar Cinétique sur le cercle d'années */
.exp-badge {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.exp-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(18, 24, 31, 0.3);
    animation: aboutBadgeSpin 30s linear infinite;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .exp-badge::before { animation: none; }
}

.exp-badge .number {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 3.8rem;
    color: var(--orange-dim);
    line-height: 1;
    position: relative;
    z-index: 2;
}

.exp-badge .text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--steel);
    text-transform: uppercase;
    margin-top: 8px;
    text-align: center;
    max-width: 120px;
    position: relative;
    z-index: 2;
}

.section-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--navy-deep);
    font-weight: 500;
    margin-bottom: 36px;
}

.block-sub-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--navy-deep);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    border-left: 3px solid #2AA362;
    padding-left: 12px;
}

/* Liste des Missions Officielle */
.about-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin-bottom: 40px;
}

.about-bullet-list li {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3a4652;
}

/* Puces géométriques en flèches vertes */
.about-bullet-list li::before {
    content: "";
    flex-shrink: 0;
    width: 6px; height: 6px;
    border-top: 2px solid #2AA362;
    border-right: 2px solid #2AA362;
    transform: rotate(45deg);
    margin-top: 8px;
}

.about-bullet-list strong {
    color: var(--ink);
    font-weight: 600;
}

/* Grille des Valeurs Officielles (Style cartes premium sur fond blanc) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.value-card {
    background: #ffffff;
    border: 1px solid rgba(18, 24, 31, 0.08);
    border-radius: 6px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(10, 34, 64, 0.02);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    border-color: #2AA362;
}

.value-card strong {
    font-size: 0.95rem;
    color: var(--ink);
}

.value-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.value-dot.orange { background: var(--orange); }
.value-dot.green { background: #2AA362; }

/* KEYFRAMES */
@keyframes aboutBadgeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-hero h1 { font-size: 2.2rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Frise chronologique (réutilise l'esprit de .tl-step) ---------- */
.about-timeline{
    display:flex;
    flex-direction:column;
    gap:0;
    max-width:720px;
    margin:0 auto;
}
.timeline-step{
    display:flex;
    gap:26px; /* Espace augmenté pour laisser respirer */
    padding:24px 12px; /* Ajout d'un padding horizontal pour l'effet de survol */
    position:relative;
    border-radius:6px;
    transition: background 0.25s ease, transform 0.2s ease;
}

/* Effet au survol : met en valeur le jalon historique lu par l'utilisateur */
.timeline-step:hover {
    background: rgba(18, 24, 31, 0.02);
    transform: translateX(4px);
}

.timeline-step::before{
    content:"";
    position:absolute;
    left:19px; top:46px; bottom:-6px; /* Ajusté par rapport au nouveau centrage */
    width:2px; /* Ligne épaissie à 2px pour plus de solidité */
    background:rgba(18,24,31,0.1);
    transition: background 0.25s ease;
}
.timeline-step:hover::before {
    background: rgba(42, 163, 98, 0.3); /* La ligne s'illumine discrètement au survol */
}
.timeline-step:last-child::before{display:none;}

.timeline-dot{
    width:15px; height:15px;
    border-radius:50%;
    background:#ffffff;
    border: 3px solid #2AA362; /* Les jalons passés s'habillent du vert corporate */
    flex-shrink:0;
    margin-top:4px;
    position: relative;
    z-index: 2;
    transition: background 0.25s ease, transform 0.25s ease;
}
.timeline-step:hover .timeline-dot {
    background: #2AA362; /* Le point se remplit au survol */
    transform: scale(1.15);
}

/* Style spécifique pour le jalon final "Aujourd'hui" */
.timeline-step:last-child .timeline-dot {
    border-color: var(--orange);
    background: var(--orange);
}

/* EFFET DE PULSATION CONTINU SUR L'ÉTAPE ACTUELLE */
.timeline-step:last-child .timeline-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    animation: timelinePulse 2s infinite ease-in-out;
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    .timeline-step:last-child .timeline-dot::after { animation: none; }
}

.timeline-year{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.8rem;
    color: #2AA362; /* Vert de croissance pour les années */
    font-weight:700;
    letter-spacing:0.04em;
    margin-bottom:4px;
}
/* Le jalon "Aujourd'hui" conserve sa couleur orange distinctive */
.timeline-step:last-child .timeline-year {
    color: var(--orange-dim);
}

.timeline-title{
    font-family:'Oswald', sans-serif;
    text-transform:uppercase;
    font-size:1.05rem;
    letter-spacing:0.02em;
    margin-bottom:4px;
    color: var(--ink);
}
.timeline-desc{
    font-size:0.88rem;
    color:#3a4652;
    line-height: 1.5;
}

/* ANIMATION DE PULSATION (ONDE DE CHOC) */
@keyframes timelinePulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Ajustement pour les petits smartphones */
@media (max-width: 560px) {
    .timeline-step {
        padding: 20px 4px;
        gap: 16px;
    }
    .timeline-step::before {
        left: 11px;
    }
    .timeline-step:hover {
        transform: none; /* Désactivé sur mobile pour le confort tactile */
    }
}
/* ---------- Services (icônes au repos, révélation premium au survol) ---------- */
.service-icon-circle{
    width:64px; height:64px;
    border-radius:50%;
    background:var(--sand);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.service-icon-circle svg{
    width:30px; height:30px;
    stroke:var(--orange-dim);
    transition: stroke 0.35s ease, transform 0.35s ease;
}
.service-card-list{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:14px;
    padding: 0;
}
.service-card-list li{
    font-size:0.86rem;
    color:#3a4652;
    padding-left:16px;
    position:relative;
    line-height:1.5;
    transition: color 0.35s ease;
}
/* Remplacement du tiret brut par un repère géométrique Vert Corporate */
.service-card-list li::before{
    content:"";
    position:absolute;
    left:0; top:9px;
    width: 6px; height: 2px;
    background: #2AA362; /* Votre vert d'identité */
    border-radius: 1px;
    transition: background 0.35s ease;
}

/* ---------- Révélation photo au survol (Nos prestations) ---------- */
.service-card-photo{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    /* On hérite de la structure de carte flottante que nous avons créée sur l'index */
    border: 1px solid rgba(18, 24, 31, 0.06);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(10, 34, 64, 0.03);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card-photo::before{
    content:"";
    position:absolute;
    inset:0;
    /* Renforcement du filtre dégradé bas pour garantir un contraste 100% lisible pour les textes blancs */
    background-image: linear-gradient(180deg, rgba(11, 25, 44, 0.4) 0%, rgba(11, 25, 44, 0.95) 100%), var(--bg-photo);
    background-size:cover;
    background-position:top center;
    background-repeat:no-repeat;
    opacity:0;
    /* Ajout du transform scale pour préparer l'effet cinétique de profondeur */
    transform: scale(1.08);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index:0;
}

/* INTERACTIVITÉ COMPLÈTE DE LA CARTE AU SURVOL */
.service-card-photo:hover,
.service-card-photo:focus-within {
    transform: translateY(-4px);
    border-color: #2AA362;
    box-shadow: 0 16px 36px rgba(11, 25, 44, 0.1);
}

/* Déclenchement de l'effet d'optique sur la photo */
.service-card-photo:hover::before,
.service-card-photo:focus-within::before{
    opacity:1;
    transform: scale(1); /* La photo reprend sa taille normale, créant un effet d'aspiration */
}

.service-card-photo > *{
    position:relative;
    z-index:1;
    transition:color 0.35s ease;
}

/* Animation de l'icône : s'élève et pivote très légèrement */
.service-card-photo:hover .service-icon-circle,
.service-card-photo:focus-within .service-icon-circle{
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.service-card-photo:hover .service-icon-circle svg,
.service-card-photo:focus-within .service-icon-circle svg{
    stroke:#fff;
    transform: rotate(-5deg) scale(1.02);
}

/* Bascule des couleurs de textes pour le mode sombre au survol */
.service-card-photo:hover h3,
.service-card-photo:hover .service-card-list li,
.service-card-photo:focus-within h3,
.service-card-photo:focus-within .service-card-list li{
    color:#fff;
}

/* Les petites puces passent du vert au blanc opale pour s'accorder au fond photo */
.service-card-photo:hover .service-card-list li::before,
.service-card-photo:focus-within .service-card-list li::before{
    background: rgba(255, 255, 255, 0.7);
}
/* ---------- Pourquoi nous (features) ---------- */
#pourquoi-nous {
    /* Sécurisation du fond pour un contraste parfait avec les nouvelles cartes */
    background: var(--sand) !important;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:28px; /* Léger ajustement pour l'équilibre des boîtes */
}

.feature-item{
    text-align:left;
    background: #ffffff; /* Les blocs deviennent des cartes blanc pur */
    padding: 28px 24px;
    border-radius: 8px;
    border: 1px solid rgba(18, 24, 31, 0.05);
    /* Ombre très douce adaptée au fond sable */
    box-shadow: 0 8px 24px rgba(18, 24, 31, 0.02);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Effet interactif : élévation de l'argument et liseré vert corporate */
.feature-item:hover {
    transform: translateY(-5px);
    border-color: #2AA362; /* Votre vert d'identité */
    box-shadow: 0 16px 36px rgba(18, 24, 31, 0.06);
}

.feature-icon-circle{
    width:52px; height:52px;
    border-radius:50%;
    background: #F4F7F5; /* Fond micro-teinté vert opale */
    border:1px solid rgba(42, 163, 98, 0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* L'icône passe au VERT corporate pour symboliser les garanties et la confiance */
.feature-icon-circle svg{
    width:24px; height:24px;
    stroke: #2AA362;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

/* Micro-interaction sur l'icône au survol de la boîte */
.feature-item:hover .feature-icon-circle {
    background: #2AA362;
}
.feature-item:hover .feature-icon-circle svg {
    stroke: #ffffff;
    transform: scale(1.05);
}

.feature-item h4{
    font-family:'Oswald', sans-serif;
    text-transform:uppercase;
    font-size:0.95rem;
    letter-spacing:0.02em;
    margin-bottom:8px;
    color: var(--navy-deep);
    font-weight: 700;
}
.feature-item p{
    font-size:0.86rem;
    color:#4a5562; /* Légèrement assombri pour une lecture reposante */
    line-height:1.6;
}

@media (max-width:960px){
    .features-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width:560px){
    .features-grid{grid-template-columns:1fr; gap: 20px;}
    .feature-item:hover { transform: none; } /* Désactivé sur mobile */
}

/* ---------- Distinction (bandeau unique) ---------- */
.about-award-banner{
    border-radius:8px;
    overflow:hidden;
    border:1px solid rgba(18,24,31,0.08);
    /* Ombre portée premium pour donner un effet cadre de tableau de valeur */
    box-shadow: 0 20px 48px rgba(8, 47, 102, 0.1);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

/* Effet de reflet de lumière "Glossy" ultra-premium qui balaie l'image au survol */
.about-award-banner::after {
    content: "";
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.about-award-banner:hover {
    transform: scale(1.015); /* Micro-zoom d'exposition noble */
    box-shadow: 0 28px 64px rgba(8, 47, 102, 0.16);
}

.about-award-banner:hover::after {
    left: 150%; /* Déclenchement du balayage lumineux */
}

.about-award-banner img{
    width:100%;
    height:auto;
    display:block;
    transition: filter 0.4s ease;
}
