/* About Page - Design riche avec couleurs et animations */

/* Hero Section */
.about-hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: calc(var(--nav-height) + 80px) 0 80px;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orb-float 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, transparent 70%);
    top: 20%;
    right: 15%;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: -8s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(30px, -20px) scale(1.05); opacity: 0.6; }
    66% { transform: translate(-20px, 15px) scale(0.95); opacity: 0.45; }
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-text) 50%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    letter-spacing: -0.02em;
}

.about-main-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: about-fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.gradient-highlight {
    background: linear-gradient(135deg, #6366f1, #14b8a6, #8b5cf6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

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

.about-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
    animation: about-fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

/* Section carte – Basés à Lyon (Google Maps) */
.about-location-section {
    padding: 60px 0 80px;
}

.about-map-card {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.about-map-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    height: 500px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) saturate(1.5) brightness(1.1);
}

@media (max-width: 768px) {
    .about-map-title {
        font-size: 2rem;
    }

    .map-wrapper {
        height: 400px;
    }
}

@keyframes about-fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Story Section */
.story-section {
    padding: 80px 0 100px;
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(20, 184, 166, 0.3), transparent);
}

.story-content {
    max-width: 720px;
    margin: 0 auto 64px;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.story-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(20, 184, 166, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    flex-shrink: 0;
    animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.2); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.4); }
}

.story-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
}

.story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.story-paragraph {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.text-highlight {
    color: #a5b4fc;
    font-weight: 500;
    padding: 0 2px;
}

.story-tagline-wrap {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.1));
    border-left: 4px solid #6366f1;
    border-radius: 0 12px 12px 0;
    animation: tagline-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.story-tagline {
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 1.0625rem;
}

@keyframes tagline-in {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Founders - Cartes avec photos et animations */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 64px;
}

.founder-card-animated {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(20, 184, 166, 0.06));
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.founder-card-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(20, 184, 166, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.founder-card-animated:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.founder-card-animated:hover::before {
    opacity: 1;
}

.founder-image-wrap {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid transparent;
    background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
                linear-gradient(135deg, #6366f1, #14b8a6, #8b5cf6, #6366f1) border-box;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.founder-card-animated:hover .founder-image-wrap {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4),
                0 0 80px rgba(20, 184, 166, 0.2);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.founder-card-animated:hover .founder-photo {
    transform: scale(1.08);
}

/* Stagger animation for founder cards */
.founders-grid .founder-card-animated:nth-child(1) {
    animation: founder-cardIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.founders-grid .founder-card-animated:nth-child(2) {
    animation: founder-cardIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

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

.founder-info {
    text-align: center;
    position: relative;
    z-index: 1;
}

.founder-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.founder-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(20, 184, 166, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.founder-card-animated:hover .founder-role {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(20, 184, 166, 0.3));
    color: #e0e7ff;
}

.founder-domain {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Notre approche - Cartes colorées */
.approach-section {
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.approach-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

.approach-icon {
    font-size: 1rem;
    background: linear-gradient(135deg, #6366f1, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.approach-card {
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: approach-cardIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
    overflow: hidden;
}

.approach-card[data-delay="0"] { animation-delay: 0.1s; }
.approach-card[data-delay="1"] { animation-delay: 0.25s; }
.approach-card[data-delay="2"] { animation-delay: 0.4s; }
.approach-card[data-delay="3"] { animation-delay: 0.55s; }

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.8;
    border-radius: 20px 20px 0 0;
}

.approach-card[data-delay="0"]::before { background: linear-gradient(90deg, #6366f1, transparent); }
.approach-card[data-delay="1"]::before { background: linear-gradient(90deg, #14b8a6, transparent); }
.approach-card[data-delay="2"]::before { background: linear-gradient(90deg, #8b5cf6, transparent); }
.approach-card[data-delay="3"]::before { background: linear-gradient(90deg, #06b6d4, transparent); }

.approach-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.approach-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.approach-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: #a5b4fc;
}

.approach-card[data-delay="0"] .approach-card-icon { background: rgba(99, 102, 241, 0.2); border-color: rgba(99, 102, 241, 0.4); }
.approach-card[data-delay="1"] .approach-card-icon { background: rgba(20, 184, 166, 0.2); border-color: rgba(20, 184, 166, 0.4); }
.approach-card[data-delay="2"] .approach-card-icon { background: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.4); }
.approach-card[data-delay="3"] .approach-card-icon { background: rgba(6, 182, 212, 0.2); border-color: rgba(6, 182, 212, 0.4); }

.approach-card:hover .approach-card-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.35);
}

.approach-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.approach-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

@keyframes approach-cardIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dirigeants - section en bas */
.dirigeants-section {
    padding: 80px 0 100px;
    position: relative;
}

.dirigeants-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(20, 184, 166, 0.3), transparent);
}

.dirigeants-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(20, 184, 166, 0.1) 40%, transparent 70%);
    pointer-events: none;
    animation: cta-glow 8s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 4rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15), 
        rgba(20, 184, 166, 0.1),
        rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 100%);
}

.cta-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, 
        rgba(99, 102, 241, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
}

.cta-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Active nav link */
.nav-link.active {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 968px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }

    .approach-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 50vh;
        padding: calc(var(--nav-height) + 48px) 0 48px;
    }

    .about-main-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .about-map {
        max-width: 100%;
        border-radius: 16px;
    }

    .about-map iframe {
        height: 180px;
    }

    .about-map-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        white-space: normal;
        text-align: center;
    }

    .story-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .story-paragraph {
        font-size: 0.9375rem;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
    }

    .founder-card-animated {
        padding: 1.5rem;
    }

    .founder-image-wrap {
        width: 120px;
        height: 120px;
    }

    .approach-section {
        padding-top: 32px;
    }

    .dirigeants-section {
        padding: 60px 0 80px;
    }

    .dirigeants-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .approach-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .approach-card {
        padding: 1.5rem;
    }

    .cta-content {
        padding: 3rem 2rem;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .founder-card-animated,
    .approach-card,
    .hero-orb,
    .gradient-highlight {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .approach-card {
        opacity: 1 !important;
    }

    .hero-orb {
        opacity: 0.4;
    }
}
