/* =========================================
   STYLE HOMEPAGE - VERSION PREMIUM (DREAM)
   ========================================= */

/* --- 0. CONFIGURATION GLOBALE (TYPOGRAPHIE & COULEURS) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --it-orange: #f36f2b;
    --it-orange-hover: #ff8547;
    --it-blue: #007cc2;
    --it-dark: #002b45;
    --it-black: #111111;
    --it-grey-light: #f4f7f9;
    --text-color: #4a4a4a;
}

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

body {
    background-color: #fff;
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8; /* Espace luxe entre les lignes */
    overflow-x: hidden; /* Empêche le scroll horizontal */
    width: 100%;
}

h1, h2, h3, h4, .stat-number, .logo-text, .section-title-left {
    font-family: 'Montserrat', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* UTILS */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   1. HERO BANNER (Haut de page)
   ========================================= */
.hero-banner {
    /* Assurez-vous que l'image est bien dans votre dossier img */
    background-image: url('../img/site photos-04.png'); 
    background-size: cover;
    background-position: center;
    min-height: 650px; /* Grande hauteur pour l'impact */
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

/* Voile sombre pour lisibilité */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 30, 50, 0.5); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 124, 194, 0.9); /* Bleu semi-transparent */
    backdrop-filter: blur(8px); /* Effet verre dépoli moderne */
    color: white;
    padding: 50px;
    width: 90%;
    max-width: 750px;
    margin-left: 5%; /* Décalé vers la droite */
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5); /* Grosse ombre */
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-title {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #eef8ff;
    border-left: 4px solid var(--it-orange);
    padding-left: 15px;
}

.hero-desc {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: var(--it-orange);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.btn-cta:hover { 
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: #d65a1c;
}

/* =========================================
   2. CONTENU PRINCIPAL
   ========================================= */
.page-content-wrapper {
    background-color: var(--it-grey-light);
    padding: 80px 0;
}

/* --- SECTION PRÉSENTATION --- */
.presentation-section { padding-bottom: 60px; }

.pres-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.pres-text-col { flex: 1; min-width: 300px; }

.section-title-left {
    color: var(--it-dark);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.section-title-left::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 60px;
    height: 4px;
    background: var(--it-orange);
}

.pres-description p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05rem;
    color: #555;
}

.pres-map-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.map-placeholder-img {
    width: 100%;
    max-width: 450px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
    border-radius: 20px;
    background: white;
}

/* Grille Icônes (Clean Cards) */
.icons-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    text-align: center;
}

.icon-item { 
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-item:hover { 
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.icon-title {
    color: var(--it-dark);
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.icon-circle-blue {
    font-size: 3.5rem;
    color: var(--it-blue);
    margin-bottom: 20px;
}

/* Boutons Orange Globaux */
.center-btn-wrapper { text-align: center; margin-bottom: 80px; }

.btn-orange-fill {
    background: linear-gradient(90deg, var(--it-orange) 0%, #ff5e00 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(243, 111, 43, 0.3);
    text-align: center;
    border: none;
    letter-spacing: 1px;
}
.btn-orange-fill:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 15px 35px rgba(243, 111, 43, 0.5);
}

/* CTA Intermédiaire */
.middle-cta { text-align: center; margin-bottom: 100px; }
.cta-question {
    font-size: 1.4rem;
    color: var(--it-dark);
    font-weight: 800;
    margin-bottom: 30px;
    display: inline-block;
    padding: 25px 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}


/* --- SECTION EXPERTISE --- */
.expert-header { text-align: center; margin-bottom: 70px; }
.blue-main-title {
    color: var(--it-blue);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.blue-sub-title {
    color: var(--it-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}
.keywords-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--it-orange);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Intro Portage */
.portage-intro-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.pi-image { flex: 1; min-width: 300px; }
.pi-image img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.pi-text { flex: 1; min-width: 300px; }

.blue-upper-title {
    color: var(--it-blue);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.clean-list { list-style: none; padding: 0; }
.clean-list li {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}
.clean-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--it-orange);
    position: absolute;
    left: 0;
}

/* Modèle ITBELSYS */
.model-section { margin-bottom: 100px; text-align: center; }
.model-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.m-box {
    border-top: 5px solid var(--it-blue);
    border-radius: 15px;
    background: white;
    width: 260px;
    padding: 40px 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.m-box:hover { transform: translateY(-5px); }
.orange-label {
    color: var(--it-orange);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.icon-dia { font-size: 3rem; color: var(--it-blue); margin-bottom: 20px; }
.m-box p { font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: #555; }
.m-arrow { color: var(--it-blue); font-size: 2rem; opacity: 0.5; }

/* Comparatif Cartes */
.comparison-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 100px; 
    flex-wrap: wrap;
    align-items: stretch;
}
.comp-col { flex: 1; min-width: 320px; display: flex; flex-direction: column; }
.peach-card {
    background-color: #fff5f0; /* Pêche très très clair */
    padding: 40px;
    border-radius: 20px;
    flex: 1; 
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(243, 111, 43, 0.08);
    border: 1px solid rgba(243, 111, 43, 0.1);
    transition: transform 0.3s;
}
.peach-card:hover { transform: translateY(-5px); }

.bullet-list { margin: 25px 0; padding-left: 20px; }
.bullet-list li { margin-bottom: 10px; font-weight: 600; list-style-type: disc; color: #444; }
.btn-bottom { margin-top: auto; text-align: center; padding-top: 30px; }
.small { font-size: 0.8rem; padding: 12px 25px; }

/* Footer Text */
.text-footer-center {
    text-align: center;
    max-width: 900px;
    margin: 80px auto 0 auto;
    z-index: 10;
    position: relative;
}
.text-footer-center p {
    font-weight: 800;
    color: var(--it-dark);
    margin-bottom: 30px;
    font-size: 1.2rem;
}


/* =========================================
   4. SECTION CONSULTING
   ========================================= */
.consulting-section { padding: 40px 0; }
.consulting-intro-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.ci-image { flex: 1; min-width: 300px; }
.ci-image img {
    width: 100%;
    border-radius: 20px 0 20px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.ci-text { flex: 1; min-width: 300px; }

.bold-list { list-style: none; padding: 0; margin-top: 30px; }
.bold-list li {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--it-dark);
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}
.bold-list li::before {
    content: "•";
    color: var(--it-orange);
    position: absolute;
    left: 0;
    font-size: 2rem;
    top: 0;
    line-height: 1.2rem;
}

/* Modèle Consulting Spécifique */
.m-box.large-box { width: 300px; min-height: 320px; padding: 30px; }
.blue-hr { width: 50%; border: 0; border-top: 3px solid var(--it-blue); margin: 20px 0; }
.orange-tagline {
    color: var(--it-orange);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 900;
    margin-top: 50px;
    letter-spacing: 1px;
}

/* Pourquoi ITBELSYS (Bloc blanc) */
.why-us-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    margin-top: 100px;
    background-color: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}
.why-text { flex: 1; min-width: 300px; }
.big-quote {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--it-dark);
    line-height: 1.6;
    margin-bottom: 40px;
    font-style: italic;
}
.why-image { flex: 1; min-width: 300px; }
.why-image img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }


/* =========================================
   5. WEB, TELECOM, VALEURS
   ========================================= */
.web-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.web-image { flex: 1; min-width: 300px; }
.web-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    /* Petit effet 3D */
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s;
}
.web-image:hover img { transform: rotateY(0deg); }
.web-text { flex: 1; min-width: 300px; }
.web-subtitle { font-size: 1.4rem; color: var(--it-dark); font-weight: 800; margin-bottom: 25px; }

.slogan-box { text-align: center; margin: 100px 0; }
.slogan-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 40px; line-height: 1.4; color: var(--it-dark); }

/* Telecom Card Gradient */
.telecom-blue-card {
    background: linear-gradient(135deg, #29abe2 0%, #007cc2 100%);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(41, 171, 226, 0.25);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}
.telecom-img { flex: 1; min-width: 350px; }
.telecom-img img { height: 100%; object-fit: cover; min-height: 300px; }
.telecom-content { flex: 1; padding: 60px; min-width: 350px; }
.white-title { font-size: 1.8rem; }
.border-white { border: 2px solid white !important; background: transparent; box-shadow: none; }
.border-white:hover { background: white; color: var(--it-blue); }

.values-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}
.icon-value { font-size: 3.5rem; margin-bottom: 20px; color: var(--it-orange); text-shadow: 0 5px 15px rgba(243, 111, 43, 0.2); }
.val-title { font-size: 1.4rem; color: var(--it-dark); margin-bottom: 10px; }


/* =========================================
   12. SECTION ACTUALITÉS & INSIGHTS (STYLE FIXÉ & PREMIUM)
   ========================================= */
.news-section { 
    padding: 80px 0 100px 0;
    background-color: #fff;
}

.news-intro { text-align: center; max-width: 800px; margin: 0 auto 60px auto; }
.news-intro p:last-child { font-size: 1.1rem; color: #555; line-height: 1.6; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 10px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }

.news-img-placeholder {
    height: 220px;
    width: 100%;
    background: linear-gradient(135deg, var(--it-orange) 0%, #ff9a66 100%);
    position: relative;
}
.news-img-placeholder::after {
    content: 'INSIGHT';
    position: absolute;
    bottom: 15px; left: 20px;
    background-color: white; color: var(--it-orange);
    padding: 6px 15px; border-radius: 30px;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
}

.news-content { padding: 30px; flex-grow: 1; }
.dummy-text {
    font-size: 1rem; color: var(--text-color); font-weight: 600; line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.news-footer {
    padding: 15px 30px; border-top: 1px solid #f0f0f0; background-color: #fafafa;
    display: flex; justify-content: space-between; color: #888; font-size: 0.85rem; font-weight: 600;
}
.news-footer span { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.news-footer i { color: var(--it-blue); }


/* =========================================
   FINALE & BANNIÈRE BASSE
   ========================================= */
.why-choose-row {
    background: white; border-radius: 30px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); display: flex; flex-wrap: wrap;
}
.why-choose-img { flex: 1; min-width: 350px; }
.why-choose-img img { height: 100%; object-fit: cover; }
.why-choose-text { flex: 1; padding: 60px; background-color: #f1f8fc; min-width: 350px; }
.clean-list-dash li { font-weight: 600; font-size: 1.1rem; color: var(--it-dark); margin-bottom: 15px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stat-number { font-size: 3rem; color: var(--it-orange); font-weight: 900; }

.partners-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.partner-box { width: 120px; height: 120px; background: var(--it-blue); border-radius: 10px; opacity: 0.8; }

.jobs-row { background: white; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); display: flex; flex-wrap: wrap; overflow: hidden; }
.jobs-image { flex: 1; min-width: 350px; }
.jobs-text { flex: 1; padding: 50px; min-width: 350px; }

.final-contact-section { padding-bottom: 100px; text-align: center; }
.big-dark-title { font-size: 2rem; font-weight: 900; color: var(--it-dark); margin-bottom: 40px; }

.ambitions-banner {
    background-color: #307ecc; padding: 80px 0; margin-top: 80px; color: white; position: relative; overflow: hidden;
}
.ambitions-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.amb-text-col { flex: 1; min-width: 300px; }
.amb-title { font-size: 2.2rem; font-weight: 900; margin-bottom: 15px; }
.amb-img-col { flex: 0 0 250px; position: relative; height: 200px; display: flex; justify-content: center; }
.big-q { font-size: 10rem; position: absolute; right: 0; top: -30px; -webkit-text-stroke: 4px rgba(255,255,255,0.4); color: transparent; }
.bulb-icon { font-size: 6rem; color: white; position: relative; z-index: 2; text-shadow: 0 0 30px rgba(255,255,255,0.8); }
.bulb-container { position: absolute; right: 50px; top: 30px; }


/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 900px) {
    .hero-banner { min-height: auto; padding: 100px 0; }
    .hero-content { margin: 0 auto; width: 95%; text-align: center; }
    
    .pres-top-row, .portage-intro-row, .comparison-grid, .consulting-intro-row, .why-us-row, .web-row, .why-choose-row, .ambitions-row {
        flex-direction: column;
    }
    
    .pres-map-col, .pi-image, .pi-text, .ci-image, .ci-text, .web-image, .web-text, .why-image, .why-text, .why-choose-img, .why-choose-text {
        min-width: 100%;
    }
    
    .amb-img-col { display: none; } /* Cache le graphisme complexe sur mobile */
    .amb-text-col { text-align: center; }
    
    .m-arrow { transform: rotate(90deg); margin: 20px 0; }
    .m-box { width: 100%; }
}