.pillar-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-content: start;
    max-width: 1200px;
    margin: 7rem 0 2rem 0;
    grid-auto-rows: 1fr;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    min-height: 170px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.pillar-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.pillar-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pillar-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.pillar-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.pillar-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.pillar-card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 50%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-logo {
    display: block;
    height: 80px;
    margin-bottom: 0.5rem;
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Pillars (valeurs) dans le hero */
.hero-pillars {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-pillar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

.pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.pillar-title {
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pillar-sub {
    color: #eef;
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Hero Visual */
.hero-visual {
    display: none;
    /* obsolète: remplacé par hero-side-panel */
}

.floating-card {
    display: none;
    /* obsolète: remplacé par hero-side-panel */
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--background);
}

/* Aperçu rapide */
.overview {
    padding: 5rem 0;
    background: var(--background-accent);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-cta {
    margin-top: 1rem;
}

.overview-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Solutions / Produits */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    display: none;
}

.solution-card:hover::after {
    transform: scaleX(1);
    display: none;
}

.solution-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.solution-card:hover .solution-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-color: transparent;
}

.solution-icon i {
    font-size: 1.5rem;
    color: white;
}

.solution-card:hover .solution-icon i {
    color: white;
}

.solution-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.solution-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.solution-features li {
    padding: 0.65rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
}

@media (max-width: 900px) {
    .hero-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pillar-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 2.5rem 0 3rem;
        align-items: flex-start;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-top: 12%;
    }

    .hero-image {
        margin-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-logo {
    height: 120px;
    width: 180px;
}

@media (max-width: 768px) {
    .partner-logo {
        height: 100px;
        width: 150px;
    }
}

@media (max-width: 600px) {
    .pillar-card {
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }
    .solution-card {
        padding: 1.5rem;
    }
    .solutions-grid {
        gap: 1rem;
    }
}