/* --- VARIABLES & RESET --- */
:root {
    /* Couleurs issues directement du logo */
    --primary-yellow: #F5B800;         /* Jaune Solaire */
    --primary-yellow-hover: #D9A200;   /* Jaune au survol */
    
    --secondary-blue: #0052B4;         /* Bleu Royal (droite) */
    --secondary-blue-hover: #003F8A;   /* Bleu Royal foncé au survol */
    
    --accent-cyan: #40C9E8;            /* Bleu Cyan / Turquoise (gauche) */
    
    --dark-text: #1A1D20;              /* Noir doux principal */
    --body-text: #4A5568;              /* Gris corps de texte */
    --subtle-gray: #555555;             /* Gris anthracite du sous-titre */
    --bg-white: #FFFFFF;               /* Fond principal */
    --bg-light: #F8FAFC;              /* Fond secondaire très clair */
    --border-light: #E2E8F0;           /* Bordures fines */
    
    /* Dégradé signature du texte du logo */
    --brand-gradient: linear-gradient(90deg, #40C9E8 0%, #0052B4 100%);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--body-text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TYPOGRAPHY & BUTTONS --- */
h1, h2, h3, h4 {
    color: var(--dark-text);
    font-weight: 800;
    line-height: 1.15;
}

.highlight {
    color: var(--primary-yellow);
}

.title-underline {
    width: 40px;
    height: 4px;
    background-color: var(--primary-yellow);
    margin: 12px 0 20px;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-yellow);
    color: var(--dark-text);
}

.btn-secondary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
}

.btn-video {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--primary-yellow);
    padding: 10px 22px;
}

.btn-video .play-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--dark-text);
}

.btn-video:hover {
    background-color: rgba(245, 184, 0, 0.1);
}

.btn-dark {
    background-color: var(--dark-text);
    color: var(--bg-white);
    padding: 14px 28px;
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-outline-arrow {
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--dark-text);
    font-weight: 600;
}

.btn-outline-arrow:hover {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    background-color: var(--bg-light);
}

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
}

/* Dégradé signature du logo appliqué sur la seconde partie du nom */
.logo span strong {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-yellow);
    border-radius: 2px;
}

.dot {
    color: var(--border-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--secondary-blue);
    background-color: rgba(64, 201, 232, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.badge-tag i {
    color: var(--primary-yellow);
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.stat-item i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-shape {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    border-left: 8px solid var(--primary-yellow);
    box-shadow: var(--shadow-soft);
}

.hero-image-shape img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* --- SOLUTIONS & CLIENTS SECTION --- */
.solutions-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.solutions-grid-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
}

.solutions-left h2 {
    font-size: 2.2rem;
}

.solutions-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.solution-card {
    background: var(--bg-white);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.card-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-yellow);
    color: var(--dark-text);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-img-holder {
    width: 100%;
    height: 120px;
    margin: 30px 0 15px;
    border-radius: 8px;
    overflow: hidden;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--body-text);
}

/* Logos Clients */
.clients-block {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.clients-header {
    margin-bottom: 20px;
}

.clients-header h4 {
    font-size: 1.1rem;
    color: var(--subtle-gray);
}

.mini-underline {
    width: 30px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin-top: 5px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.client-placeholder {
    border: 1px dashed var(--border-light);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #A0AEC0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background-color: #FAFAFA;
}

.client-placeholder i {
    font-size: 1.2rem;
    color: var(--secondary-blue);
}

/* --- REALISATIONS SECTION --- */
.realisations-section {
    padding: 80px 0;
}

.realisations-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.realisations-header h2 {
    font-size: 2.2rem;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.realisation-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-soft);
}

.realisation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.realisation-card:hover img {
    transform: scale(1.05);
}

.location-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-yellow);
    color: var(--dark-text);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- CTA BANNER --- */
/* --- CTA BANNER --- Reproduisant exactement le design visuel de l'image */
.cta-banner {
    background-color: #FFBA00;
    padding: 30px 0;
    color: #000000;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

/* Grand soleil stylisé à gauche en arrière-plan */
.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #FFBA00 35%, transparent 36%),
                conic-gradient(from 0deg, transparent 0deg 15deg, #FFD54F 15deg 30deg, transparent 30deg 45deg, #FFD54F 45deg 60deg, transparent 60deg 75deg, #FFD54F 75deg 90deg, transparent 90deg 105deg, #FFD54F 105deg 120deg, transparent 120deg 135deg, #FFD54F 135deg 150deg, transparent 150deg 165deg, #FFD54F 165deg 180deg, transparent 180deg);
    border-radius: 50%;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

/* Motif à points (dotted pattern) à droite en arrière-plan */
.cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background-image: radial-gradient(#FFD54F 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sun-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #000000;
}

.cta-left h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000000;
    white-space: nowrap;
}

.cta-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.35);
}

.cta-middle p {
    font-weight: 600;
    max-width: 380px;
    font-size: 0.9rem;
    color: #000000;
    line-height: 1.3;
}

.cta-right .btn-dark {
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.cta-right .btn-dark:hover {
    background-color: #222222;
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--bg-white);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .tagline {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--subtle-gray);
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    font-size: 0.85rem;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--secondary-blue);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-socials span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--dark-text);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-text);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #A0AEC0;
}

/* --- MODAL --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 10;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.video-placeholder {
    margin-top: 20px;
    background: #1A1D20;
    color: white;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .solutions-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .solutions-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .realisations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-left {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-white);
        padding: 30px;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .dot {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image-shape {
        clip-path: none;
        border-left: none;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .realisations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .solutions-cards {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .realisations-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}