/* ============================================
   HERO PARTENAIRE DFT ENGINEERING
   ============================================ */

/* Hero Style Partenaire DFT Engineering */
.hero-partner-dft {
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 20px;
}

@media (min-width: 1025px) {
    .hero-partner-dft {
        align-items: flex-start;
        padding-top: 40px;
    }
}

.hero-partner-dft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 1;
}

/* Logo showcase pour DFT */
.logo-showcase-dft {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icônes techniques animées */
.technical-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255,0,0,0.6);
    animation: pulse-tech 4s ease-in-out infinite;
}

.icon-hvac {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-electric {
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

.icon-water {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.icon-fire {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes pulse-tech {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Bulles flottantes spécifiques */
.bubble-experience {
    top: 5%;
    left: -10%;
    animation: float1 8s ease-in-out infinite;
}

.bubble-founded {
    bottom: 5%;
    right: -10%;
    animation: float2 8s ease-in-out infinite;
    animation-delay: 4s;
}

/* ============================================
   SECTION À PROPOS DFT
   ============================================ */

.about-dft-section {
    background: #ffffff;
    padding: 80px 20px;
}

/* Grille technique visuelle */
.technical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}

.technical-item {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.technical-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* ============================================
   SECTION PARTENARIAT DFT x RSSG
   ============================================ */

.partnership-dft-section {
    background: #000;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.partnership-dft-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,0,0,0.1);
    border-radius: 50%;
    filter: blur(100px);
}

/* ============================================
   SECTION EXPERTISE DFT
   ============================================ */

.expertise-dft-section {
    padding: 80px 20px;
    background: #f8f8f8;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.expertise-header h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 16px;
    font-weight: 700;
}

.expertise-header h2 span {
    color: #ff0000;
}

.expertise-header p {
    color: #666;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille de compétences */
.competences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.competence-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.competence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.competence-card h3 {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 15px;
}

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

/* Certifications */
.certifications {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.certifications h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 30px;
}

.certif-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.certif-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,0,0,0.05);
    border-radius: 30px;
}

.certif-icon {
    font-size: 1.25rem;
}

.expertise-cta {
    text-align: center;
}

.btn-expertise {
    display: inline-block;
    padding: 16px 40px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-expertise:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,0,0,0.3);
}

/* ============================================
   STYLES COMMUNS (à ajouter si pas déjà présents)
   ============================================ */

.hero-content-partner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

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

.hero-left .badge {
    display: inline-block;
    background: rgba(255,0,0,0.1);
    border: 1px solid rgba(255,0,0,0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff0000;
    margin-bottom: 30px;
}

.hero-left h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.hero-left h1 .line1 {
    display: block;
    color: #fff;
}

.hero-left h1 .line2 {
    display: block;
    color: #ff0000;
    margin-top: 10px;
}

.hero-left .subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 500px;
}

.partner-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.partner-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #fff;
}

.partner-info-list .icon {
    font-size: 1.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #ff0000;
    color: #ff0000;
}

.hero-right {
    position: relative;
    height: 600px;
    opacity: 0;
    animation: slideInRight 1s ease-out 0.5s forwards;
}

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

.partner-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-frame {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,0,0,0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.logo-frame:hover {
    transform: scale(1.05);
    border-color: rgba(255,0,0,0.6);
    box-shadow: 0 25px 50px rgba(255,0,0,0.3);
}

.logo-frame img {
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Logo en blanc */
}

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

.float-bubble {
    position: absolute;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 20px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.float-bubble:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,0,0,0.3);
}

.bubble-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ff0000;
    line-height: 1;
    margin-bottom: 5px;
}

.bubble-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.scroll-indicator span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, #666, transparent);
    margin: 0 auto;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-header h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 16px;
    font-weight: 700;
}

.about-header h2 span {
    color: #ff0000;
}

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

.about-content h3 {
    font-size: 1.75rem;
    color: #000;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.features-list .icon {
    width: 40px;
    height: 40px;
    background: rgba(255,0,0,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.features-list .content h4 {
    font-size: 1.125rem;
    color: #000;
    margin: 0 0 5px 0;
}

.features-list .content p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.about-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 400px;
    background: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

.partnership-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.partnership-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.partnership-header h2 span {
    color: #ff0000;
}

.partnership-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.partnership-content {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
}

.partnership-content h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 30px;
}

.partnership-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-item {
    text-align: left;
}

.benefit-item h4 {
    color: #ff0000;
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.partnership-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.showcase-item {
    background: rgba(255,0,0,0.1);
    border: 1px solid rgba(255,0,0,0.3);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    background: rgba(255,0,0,0.15);
    transform: translateY(-5px);
}

.showcase-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.showcase-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

.partnership-cta {
    margin-top: 40px;
}

.cta-website {
    display: inline-block;
    padding: 16px 40px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-website:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,0,0,0.3);
}

.cta-contact {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-contact:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-partner-dft {
        align-items: center;
        padding-top: 40px;
    }
    
    .hero-content-partner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-left .subtitle {
        margin: 0 auto 40px;
    }
    
    .partner-info-list {
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-right {
        height: 450px;
        margin-top: 20px;
    }
    
    .logo-showcase-dft {
        width: 350px;
        height: 350px;
    }
    
    .competences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-partner-dft {
        padding: 20px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 80px;
    }
    
    .hero-content-partner {
        padding: 0 20px;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .partner-info-list li {
        font-size: 0.9rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-right {
        height: 400px;
    }
    
    .logo-showcase-dft {
        width: 300px;
        height: 300px;
    }
    
    .logo-frame {
        width: 250px;
        height: 250px;
    }
    
    .about-dft-section {
        padding: 60px 20px;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .partnership-dft-section {
        padding: 60px 20px;
    }
    
    .partnership-header h2 {
        font-size: 2rem;
    }
    
    .partnership-content {
        padding: 40px 30px;
    }
    
    .partnership-benefits {
        grid-template-columns: 1fr;
    }
    
    .partnership-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partnership-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-website,
    .cta-contact {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .expertise-dft-section {
        padding: 60px 20px;
    }
    
    .expertise-header h2 {
        font-size: 2rem;
    }
    
    .competences-grid {
        grid-template-columns: 1fr;
    }
    
    .certif-list {
        flex-direction: column;
        align-items: center;
    }
}