/* Variables */
:root {
    --primary-red: #D32F2F;
    --primary-red-dark: #B71C1C;
    --primary-red-light: #EF5350;
    --primary-red-gradient: linear-gradient(135deg, #D32F2F, #B71C1C);
    --dark: #1A1A1A;
    --dark-gray: #2D2D2D;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

.section-tag {
    display: inline-block;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--primary-red);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-red-gradient);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-red);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.1), transparent);
    border-radius: 50%;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content h1 .highlight {
    color: var(--primary-red);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary-red);
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.2), rgba(183, 28, 28, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(211, 47, 47, 0.3);
}

.hero-image-placeholder i {
    font-size: 80px;
    color: var(--primary-red);
    opacity: 0.6;
}

/* Sections */
section {
    padding: 80px 0;
}

/* About Section */
.about-section {
    background: var(--light-gray);
}

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

.about-content .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.feature-card i {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card .icon i {
    font-size: 1.8rem;
    color: var(--primary-red);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Domains Section */
.domains-section {
    background: var(--light-gray);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.domain-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.domain-card:hover {
    border-bottom-color: var(--primary-red);
    transform: translateY(-5px);
}

.domain-card .domain-icon {
    width: 70px;
    height: 70px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.domain-card .domain-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.domain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.domain-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Founder Section */
.founder-section {
    background: var(--dark);
    color: var(--white);
}

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

.founder-image {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-image i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.5);
}

.founder-content h2 {
    margin-bottom: 10px;
}

.founder-content .founder-title {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.founder-values {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    flex: 1;
}

.value-item h4 {
    color: var(--primary-red);
}

/* CTA Section */
.cta-section {
    background: var(--primary-red-gradient);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.contact-info .info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info .info-item i {
    width: 50px;
    height: 50px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-red);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-section h3 {
    color: var(--primary-red);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 35px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .domains-grid { grid-template-columns: 1fr 1fr; }
    .founder-grid { grid-template-columns: 1fr; text-align: center; }
    .founder-values { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .domains-grid { grid-template-columns: 1fr; }
    .about-content .about-features { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* ============================================ */
/* LOGO STYLES */
/* ============================================ */

/* Logo dans la navigation */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 110px;
    width: auto;
    max-height: 130px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.logo-img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Logo dans le footer */
.footer-logo-img {
    height: 110px;
    width: auto;
    max-height: 130px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-logo-img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

/* Responsive - Logos adaptés sur mobile */
@media (max-width: 992px) {
    .logo-img {
        height: 100px;
        max-height: 100px;
    }
    
    .footer-logo-img {
        height: 100px;
        max-height: 100px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 100px;
        max-height: 100px;
    }
    
    .footer-logo-img {
        height: 100px;
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 100px;
        max-height: 100px;
    }
    
    .footer-logo-img {
        height: 100px;
        max-height: 100px;
    }
}

/* ============================================ */
/* DÉSACTIVATION DE L'ANIMATION DES STATS */
/* ============================================ */

.stat-item h3 {
    animation: none !important;
}

.stat-item {
    animation: none !important;
}


/* ============================================ */
/* FOUNDER PHOTO STYLES AVEC ANIMATIONS */
/* ============================================ */

.founder-image {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    /* Animation d'apparition au chargement */
    opacity: 0;
    transform: translateY(50px);
    animation: appearUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition);
    display: block;
}

/* ============================================ */
/* ANIMATION D'APPARITION (Scroll) */
/* ============================================ */

@keyframes appearUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ */
/* ANIMATION COMBO - Plusieurs effets combinés */
/* ============================================ */

.animate-combo {
    /* On garde l'apparition ET on ajoute l'animation combo */
    animation: appearUp 0.8s ease forwards, combo 4s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s; /* L'apparition d'abord, puis l'animation combo */
}

@keyframes combo {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(211, 47, 47, 0.2);
    }
    25% {
        transform: translateY(-10px) scale(1.02) rotate(-1deg);
        box-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
    }
    75% {
        transform: translateY(5px) scale(1.01) rotate(1deg);
        box-shadow: 0 0 40px rgba(211, 47, 47, 0.4);
    }
}

/* ============================================ */
/* AUTRES ANIMATIONS DISPONIBLES */
/* ============================================ */

/* 1. Animation Float - L'image flotte doucement */
.animate-float {
    animation: appearUp 0.8s ease forwards, float 3s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

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

/* 2. Animation Zoom - L'image s'agrandit et revient */
.animate-zoom {
    animation: appearUp 0.8s ease forwards, zoom 4s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

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

/* 3. Animation Pulse - Effet de pulsation */
.animate-pulse {
    animation: appearUp 0.8s ease forwards, pulse 2s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(211, 47, 47, 0.2);
    }
}

/* 4. Animation Glow - Effet de lueur */
.animate-glow {
    animation: appearUp 0.8s ease forwards, glow 3s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(211, 47, 47, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(211, 47, 47, 0.6), 0 0 60px rgba(211, 47, 47, 0.2);
    }
}

/* 5. Animation Slide - L'image glisse */
.animate-slide {
    animation: appearUp 0.8s ease forwards, slide 6s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

@keyframes slide {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    25% {
        transform: translateX(-10px) scale(1.02);
    }
    75% {
        transform: translateX(10px) scale(1.02);
    }
}

/* 6. Animation Rotate - Rotation lente */
.animate-rotate {
    animation: appearUp 0.8s ease forwards, rotate 8s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(3deg) scale(1.02);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* 7. Animation Border - Bordure animée */
.animate-border {
    animation: appearUp 0.8s ease forwards, borderPulse 2s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
    border: 3px solid var(--primary-red);
}

@keyframes borderPulse {
    0%, 100% {
        border-color: var(--primary-red);
        box-shadow: 0 0 20px rgba(211, 47, 47, 0.2);
    }
    50% {
        border-color: var(--primary-red-light);
        box-shadow: 0 0 40px rgba(211, 47, 47, 0.4), 0 0 60px rgba(211, 47, 47, 0.2);
    }
}

/* 8. Animation Glitch - Effet glitch moderne */
.animate-glitch {
    animation: appearUp 0.8s ease forwards, glitch 3s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0) scale(1);
        filter: brightness(1);
    }
    92% {
        transform: translate(-3px, 2px) scale(1.02);
        filter: brightness(1.2) contrast(1.2);
    }
    94% {
        transform: translate(3px, -2px) scale(0.98);
        filter: brightness(0.8) contrast(0.8);
    }
    96% {
        transform: translate(-2px, 1px) scale(1.01);
        filter: brightness(1.1);
    }
}

/* 9. Animation Shine - Effet de brillance */
.animate-shine {
    animation: appearUp 0.8s ease forwards;
    animation-delay: 0.3s;
    position: relative;
    overflow: hidden;
}

.animate-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* ============================================ */
/* ANIMATIONS AU SURVOL */
/* ============================================ */

/* Zoom et luminosité au survol */
.founder-image:hover .founder-photo {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Rotation et zoom au survol */
.founder-image:hover .founder-photo {
    transform: rotate(2deg) scale(1.05);
}

/* Ombre et translation au survol */
.founder-image:hover {
    box-shadow: 0 20px 60px rgba(211, 47, 47, 0.4);
    transform: translateY(-5px);
}

/* Overlay au survol */
.founder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0), rgba(211, 47, 47, 0.3));
    opacity: 0;
    transition: var(--transition);
    border-radius: 20px;
    pointer-events: none;
}

.founder-image:hover::after {
    opacity: 1;
}

/* Effet de flou au survol */
.founder-image:hover .founder-photo {
    filter: blur(2px);
    transform: scale(1.1);
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
    .founder-image {
        aspect-ratio: 1;
        max-height: 350px;
    }
    
    .animate-combo {
        animation: appearUp 0.8s ease forwards, combo 4s ease-in-out infinite;
        animation-delay: 0.3s, 0.8s;  /* Démarrage plus rapide sur mobile */
    }
}



/* ============================================ */
/* HERO IMAGE STYLES AVEC ANIMATION COMBO */
/* ============================================ */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    /* Même animation que l'image du fondateur */
    animation: appearUp 0.8s ease forwards, combo 4s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

/* Effet au survol */
.hero-image-wrapper:hover {
    box-shadow: 0 20px 60px rgba(211, 47, 47, 0.3);
    transform: translateY(-5px);
}

.hero-image-wrapper:hover .hero-image-img {
    transform: scale(1.05);
}

/* ============================================ */
/* VARIANTES D'ANIMATIONS POUR L'IMAGE HERO */
/* ============================================ */

/* Animation Float */
.hero-image-wrapper.animate-float {
    animation: appearUp 0.8s ease forwards, float 3s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* Animation Zoom */
.hero-image-wrapper.animate-zoom {
    animation: appearUp 0.8s ease forwards, zoom 4s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* Animation Pulse */
.hero-image-wrapper.animate-pulse {
    animation: appearUp 0.8s ease forwards, pulse 2s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* Animation Glow */
.hero-image-wrapper.animate-glow {
    animation: appearUp 0.8s ease forwards, glow 3s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* Animation Slide */
.hero-image-wrapper.animate-slide {
    animation: appearUp 0.8s ease forwards, slide 6s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* Animation Rotate */
.hero-image-wrapper.animate-rotate {
    animation: appearUp 0.8s ease forwards, rotate 8s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 992px) {
    .hero-image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        max-width: 280px;
    }
    
    .hero-image-wrapper {
        animation: appearUp 0.8s ease forwards, combo 4s ease-in-out infinite;
        animation-delay: 0.3s, 0.8s;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper {
        max-width: 220px;
    }
}

/* ============================================ */
/* FOUNDER SOCIAL ICONS - NOUVEAU ! */
/* ============================================ */

.founder-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.founder-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
    opacity: 0;
    animation: appearUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--white);
}

/* LinkedIn */
.social-icon.linkedin {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon.linkedin:hover {
    background: #005582;
    border-color: #005582;
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

/* Twitter (optionnel) */
.social-icon.twitter {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.social-icon.twitter:hover {
    background: #0c85d0;
    border-color: #0c85d0;
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
}

/* GitHub (optionnel) */
.social-icon.github {
    background: #333;
    border-color: #333;
}

.social-icon.github:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.4);
}

/* YouTube (optionnel) */
.social-icon.youtube {
    background: #FF0000;
    border-color: #FF0000;
}

.social-icon.youtube:hover {
    background: #cc0000;
    border-color: #cc0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

/* ============================================ */
/* RESPONSIVE - FOUNDER SOCIAL */
/* ============================================ */

@media (max-width: 768px) {
    .founder-image {
        max-height: 350px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .founder-social {
        gap: 12px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .founder-image {
        max-height: 280px;
        max-width: 280px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/* ============================================ */
/* ABOUT PAGE STYLES - RESPONSIVE */
/* ============================================ */

/* Mission Grid - 3 colonnes */
.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-mission-card {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}

.about-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================ */
/* REASONS GRID - ALIGNEMENT CORRIGÉ */
/* ============================================ */

.about-reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.about-reason-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.about-reason-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.about-reason-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================ */
/* RESPONSIVE - ABOUT PAGE */
/* ============================================ */

@media (max-width: 992px) {
    .about-mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-reasons-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-mission-card {
        padding: 25px 20px;
    }
    
    .about-mission-card i {
        font-size: 2rem !important;
    }
    
    .about-reason-card {
        padding: 20px 22px;
        gap: 12px;
    }
    
    .about-reason-card i {
        font-size: 1.3rem !important;
        width: 35px !important;
    }
    
    .about-reason-card h4 {
        font-size: 1rem;
    }
    
    .about-reason-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-mission-grid {
        max-width: 100%;
    }
    
    .about-reasons-grid {
        max-width: 100%;
    }
    
    .about-mission-card {
        padding: 20px 15px;
    }
    
    .about-reason-card {
        padding: 16px 18px;
        gap: 10px;
    }
    
    .about-reason-card i {
        font-size: 1.1rem !important;
        width: 30px !important;
    }
    
    .about-reason-card h4 {
        font-size: 0.95rem;
    }
    
    .about-reason-card p {
        font-size: 0.85rem;
    }
}



/* ============================================ */
/* FOUNDER SECTION - RESPONSIVE */
/* ============================================ */

.founder-section {
    background: var(--dark);
    color: var(--white);
}

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

/* Left side - Image + Social icons */
.founder-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.founder-image {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 20px;
    aspect-ratio: 1;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: appearUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition);
    display: block;
}

/* Social Icons */
.founder-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
    opacity: 0;
    animation: appearUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--white);
}

.social-icon.linkedin {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon.linkedin:hover {
    background: #005582;
    border-color: #005582;
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

/* Founder Content */
.founder-content h2 {
    margin-bottom: 10px;
}

.founder-content .founder-title {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.founder-values {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    flex: 1;
}

.value-item h4 {
    color: var(--primary-red);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes appearUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes combo {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(211, 47, 47, 0.2);
    }
    25% {
        transform: translateY(-10px) scale(1.02) rotate(-1deg);
        box-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
    }
    75% {
        transform: translateY(5px) scale(1.01) rotate(1deg);
        box-shadow: 0 0 40px rgba(211, 47, 47, 0.4);
    }
}

.animate-combo {
    animation: appearUp 0.8s ease forwards, combo 4s ease-in-out infinite;
    animation-delay: 0.3s, 1.1s;
}

/* ============================================ */
/* RESPONSIVE - FOUNDER PAGE */
/* ============================================ */

@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .founder-left {
        align-items: center;
    }
    
    .founder-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .founder-content {
        text-align: center;
    }
    
    .founder-values {
        justify-content: center;
    }
    
    .founder-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .founder-grid {
        gap: 30px;
    }
    
    .founder-image {
        max-width: 300px;
    }
    
    .founder-image {
        animation: appearUp 0.8s ease forwards, combo 4s ease-in-out infinite;
        animation-delay: 0.3s, 0.8s;
    }
    
    .founder-content h2 {
        font-size: 2rem;
    }
    
    .founder-values {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .value-item {
        padding: 15px;
    }
    
    .founder-social {
        gap: 12px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .founder-section {
        padding: 120px 0 60px !important;
    }
    
    .founder-image {
        max-width: 250px;
    }
    
    .founder-content h2 {
        font-size: 1.6rem;
    }
    
    .founder-content p {
        font-size: 0.95rem;
    }
    
    .founder-values {
        max-width: 100%;
    }
    
    .value-item {
        padding: 12px;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
    }
    
    .value-item p {
        font-size: 0.8rem !important;
    }
    
    .founder-social {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/* ============================================ */
/* DOMAINS - VERSION AMÉLIORÉE */
/* ============================================ */

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.domain-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.domain-card:hover {
    border-bottom-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.domain-card .domain-icon {
    width: 75px;
    height: 75px;
    background: rgba(211, 47, 47, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.domain-card:hover .domain-icon {
    background: var(--primary-red);
}

.domain-card .domain-icon i {
    font-size: 2.2rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.domain-card:hover .domain-icon i {
    color: var(--white);
}

.domain-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.domain-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 100%;
}

/* ============================================ */
/* RESPONSIVE - DOMAINS */
/* ============================================ */

@media (max-width: 992px) {
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .domain-card {
        padding: 25px 18px;
    }
    
    .domain-card .domain-icon {
        width: 65px;
        height: 65px;
    }
    
    .domain-card .domain-icon i {
        font-size: 1.8rem;
    }
    
    .domain-card h3 {
        font-size: 1.05rem;
    }
    
    .domain-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .domains-grid {
        max-width: 100%;
    }
    
    .domain-card {
        padding: 20px 15px;
    }
    
    .domain-card .domain-icon {
        width: 55px;
        height: 55px;
        margin: 0 auto 12px;
    }
    
    .domain-card .domain-icon i {
        font-size: 1.5rem;
    }
    
    .domain-card h3 {
        font-size: 1rem;
    }
    
    .domain-card p {
        font-size: 0.8rem;
    }
}


/* ============================================ */
/* DOMAINS - Page d'accueil (3 colonnes) */
/* ============================================ */

.domains-grid-home {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.domains-grid-home .domain-card {
    padding: 25px 20px;
}

.domains-grid-home .domain-card p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ============================================ */
/* RESPONSIVE - Page d'accueil domaines */
/* ============================================ */

@media (max-width: 992px) {
    .domains-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .domains-grid-home {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}