/* Solutions Page Styles */

/* Hero Section avec animations avancées */
.hero-solutions {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a237e 50%, #0099FF 100%);
}

.animated-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float-random 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-duration: 18s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.3) 0%, transparent 70%);
    top: 50%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-duration: 25s;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.3) 0%, transparent 70%);
    bottom: 10%;
    right: 40%;
    animation-duration: 20s;
    animation-delay: -15s;
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(30px, 30px) rotate(270deg) scale(1.05);
    }
}

.hero-solutions .container {
    position: relative;
    z-index: 2;
}

.hero-solutions .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-solutions .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out;
}

.gradient-text {
    background: linear-gradient(90deg, #0099FF, #FFB74D, #00E676);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-solutions .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.pill-icon {
    color: #00E676;
    font-weight: bold;
}

.feature-pill span:last-child {
    color: white;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-img-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-img-secondary {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 40%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

.orbit {
    animation: orbit 20s linear infinite;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* Construction Section */
.construction-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-tag {
    display: inline-block;
    background: rgba(0, 153, 255, 0.1);
    color: #0099FF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.construction-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.construction-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.construction-text h3 {
    font-size: 2rem;
    color: #0a0e27;
    margin-bottom: 1.5rem;
}

.construction-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.step-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0099FF, #0066CC);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.3);
}

.step-content h4 {
    font-size: 1.25rem;
    color: #0a0e27;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Tools Section */
.tools-section {
    padding: 100px 0;
    background: #0a0e27;
    position: relative;
    overflow: hidden;
}

.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('assets/solutions/Container.png') no-repeat center;
    background-size: cover;
    opacity: 0.05;
}

.tools-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tools-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.tools-badge img {
    height: 30px;
}

.tools-badge span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.tools-section .section-title {
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.tools-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.benefit-card.aos-animate {
    opacity: 1;
    transform: scale(1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.tools-schema {
    text-align: center;
    position: relative;
    z-index: 1;
}

.schema-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Bottom Up Section */
.bottom-up-section {
    padding: 100px 0;
    background: white;
}

.bottom-up-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text .lead {
    font-size: 1.5rem;
    color: #0a0e27;
    margin-bottom: 2rem;
    font-weight: 600;
}

.content-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #0099FF;
    color: #0099FF;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #0099FF;
    color: white;
    transform: translateY(-2px);
}

.bottom-up-diagram {
    position: relative;
}

.diagram-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.diagram-points {
    position: absolute;
    inset: 0;
}

.point {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #0099FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.point:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
}

.point-1 {
    top: 20%;
    left: 20%;
}

.point-2 {
    top: 50%;
    left: 50%;
}

.point-3 {
    bottom: 20%;
    right: 20%;
}

.pulse {
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 153, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0);
    }
}

/* Engagements Section */
.engagements-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 60px;
}

.engagement-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: rotateY(-180deg);
}

.engagement-card.aos-animate {
    opacity: 1;
    transform: rotateY(0);
}

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

.engagement-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.engagement-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.engagement-card h3 {
    font-size: 1.5rem;
    color: #0a0e27;
    margin-bottom: 1rem;
}

.engagement-card p {
    color: #666;
    line-height: 1.6;
}

/* Métier Section */
.metier-section {
    padding: 100px 0;
    background: #0a0e27;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -50%;
    background: url('assets/background-hero.png') no-repeat center;
    background-size: cover;
    opacity: 0.1;
    animation: parallax-move 30s linear infinite;
}

@keyframes parallax-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.metier-content {
    position: relative;
    z-index: 1;
}

.metier-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.metier-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.metier-block h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.metier-block p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.advantages-list h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.advantages-list ul {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.advantages-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00E676;
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Final */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0099FF 0%, #0066CC 100%);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-white {
    background: white;
    color: #0099FF;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    border: 2px solid white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-solutions .hero-content,
    .construction-content,
    .bottom-up-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-solutions .hero-title {
        font-size: 2.5rem;
    }
    
    .tools-benefits,
    .engagements-grid {
        grid-template-columns: 1fr;
    }
    
    .visual-container {
        height: 400px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations on scroll */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

[data-aos="flip-left"] {
    opacity: 0;
    transform: perspective(2500px) rotateY(-100deg);
    transition: all 0.6s ease;
}

[data-aos="flip-left"].aos-animate {
    opacity: 1;
    transform: perspective(2500px) rotateY(0);
}