/* =============================================
   STRATECALIS - Styles specifiques Homepage
   ============================================= */

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    background: linear-gradient(135deg, var(--blanc-casse) 0%, var(--beige-sable) 100%);
    padding: clamp(120px, 20vh, 140px) 0 clamp(80px, 15vh, 100px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--orange-principal);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--orange-principal);
    font-weight: 500;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-badge i {
    font-size: 1rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    margin-bottom: 1.5rem;
    color: var(--gris-charbon);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    text-shadow:
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 8px rgba(255, 255, 255, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--gris-charbon);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    text-shadow:
        0 1px 3px rgba(255, 255, 255, 0.9),
        0 2px 6px rgba(255, 255, 255, 0.7);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--gris-charbon);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-feature i {
    color: var(--orange-principal);
    font-size: 1.2rem;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.hero-icon-item:hover {
    transform: translateY(-5px);
}

.hero-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-icon-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(231, 111, 81, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.hero-icon-item:hover .hero-icon-circle::before {
    width: 100%;
    height: 100%;
}

.hero-icon-circle i {
    font-size: 2rem;
    color: var(--orange-principal);
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}

.hero-icon-item:nth-child(1) .hero-icon-circle i { animation-delay: 0s; }
.hero-icon-item:nth-child(2) .hero-icon-circle i { animation-delay: 0.5s; }
.hero-icon-item:nth-child(3) .hero-icon-circle i { animation-delay: 1s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-icon-label {
    font-size: 0.85rem;
    color: var(--gris-charbon);
    font-weight: 500;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* =============================================
   SERVICES SECTION
   ============================================= */

.services {
    padding: clamp(60px, 12vh, 80px) 0;
    background: var(--blanc-casse);
}

.services h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--gris-charbon);
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 46, 46, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(231, 111, 81, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--orange-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 0.5rem;
    color: var(--gris-charbon);
}

.service-card .service-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--orange-principal);
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* =============================================
   EXPERTISE SECTION
   ============================================= */

.expertise {
    padding: clamp(60px, 12vh, 80px) 0;
    background: var(--beige-sable);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.expertise-text h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--gris-charbon);
    line-height: 1.2;
}

.expertise-text p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 2rem;
}

.expertise-list {
    list-style: none;
    margin-bottom: 2rem;
}

.expertise-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.expertise-list li i {
    color: var(--orange-principal);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.expertise-list li .content {
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.expertise-skills {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(46, 46, 46, 0.1);
}

.skill-category h4 {
    color: var(--orange-principal);
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--beige-sable);
    color: var(--gris-charbon);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* =============================================
   APPROACH SECTION
   ============================================= */

.approach {
    padding: clamp(60px, 12vh, 80px) 0;
    background: var(--blanc-casse);
}

.approach h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--gris-charbon);
    line-height: 1.2;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--orange-principal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--gris-charbon);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.step p {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* =============================================
   NOS OFFRES SECTION (Homepage)
   ============================================= */

.nos-offres {
    padding: clamp(60px, 12vh, 80px) 0;
    background: var(--beige-sable);
}

.nos-offres h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--gris-charbon);
    line-height: 1.2;
}

.nos-offres-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--gris-charbon);
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.offres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offre-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(46, 46, 46, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.offre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(231, 111, 81, 0.2);
}

.offre-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-principal), var(--terracotta-clair));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.offre-card-icon i {
    color: white;
    font-size: 1.8rem;
}

.offre-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 0.5rem;
    color: var(--gris-charbon);
}

.offre-card-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange-principal);
    margin-bottom: 1rem;
}

.offre-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 1.5rem;
    flex: 1;
}

.offre-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-principal);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.offre-card:hover .offre-card-link {
    gap: 12px;
}

.offre-card-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.offre-card:hover .offre-card-link i {
    transform: translateX(4px);
}

/* =============================================
   PROJECTS SECTION (Carousel)
   ============================================= */

.projects {
    padding: clamp(60px, 12vh, 80px) 0;
    background: var(--blanc-casse);
}

.projects h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--gris-charbon);
    line-height: 1.2;
    padding: 0 20px;
}

.projects-slider {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
}

.projects-slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.projects-track {
    display: flex;
    transition: transform 1s ease-in-out;
}

.project-card {
    width: 100%;
    flex-shrink: 0;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 46, 46, 0.1);
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
}

.project-card:hover {
    box-shadow: 0 8px 30px rgba(231, 111, 81, 0.2);
}

.project-card h3 {
    color: var(--orange-principal);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.project-card .project-type {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--gris-charbon);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.project-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--gris-charbon);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tag {
    background: var(--beige-sable);
    color: var(--gris-charbon);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
}

/* Navigation du carrousel */
.projects-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0;
    left: -30px;
    right: -30px;
}

.projects-nav button {
    pointer-events: all;
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(46, 46, 46, 0.2);
    transition: all 0.3s ease;
    color: var(--orange-principal);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.projects-nav button:hover {
    background: var(--orange-principal);
    color: white;
    transform: scale(1.1);
}

.projects-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.projects-nav button:disabled:hover {
    background: white;
    color: var(--orange-principal);
    transform: scale(1);
}

.projects-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.projects-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--beige-sable);
    border: 2px solid var(--orange-principal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-indicator.active {
    background: var(--orange-principal);
    transform: scale(1.2);
}

.projects-indicator:hover {
    background: var(--terracotta-clair);
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .cta-button,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-icons {
        gap: 1rem;
    }

    .hero-icon-circle {
        width: 60px;
        height: 60px;
    }

    .hero-icon-circle i {
        font-size: 1.5rem;
    }

    .hero-icon-label {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-content {
        gap: 2rem;
    }

    .expertise-skills {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-slider {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .projects-nav {
        left: -15px;
        right: -15px;
    }

    .projects-nav button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .projects h2 {
        padding: 0 15px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .expertise-skills {
        grid-template-columns: 1fr;
    }
}

/* Tres petits ecrans */
@media (max-width: 480px) {
    .hero-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-icon-item {
        flex: 0 0 auto;
    }

    .service-card {
        padding: 1.5rem;
    }

    .skill-category {
        padding: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }
}

/* Tablette */
@media (min-width: 769px) and (max-width: 1024px) {
    .expertise-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .approach-steps {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

/* Grand ecran */
@media (min-width: 1025px) {
    .expertise-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-skills {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-steps {
        grid-template-columns: repeat(4, minmax(200px, 1fr));
    }
}
