/*
Theme Name: Stories Engine
Theme URI: https://storiesengine.com
Author: Stories Engine
Author URI: https://storiesengine.com
Description: Un thème moderne et performant pour Stories Engine - Agence de croissance digitale
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stories-engine
*/

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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --purple-pink-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #a855f7 100%);
    --pink-orange-gradient: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    --blue-purple-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --green-gradient: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    --dark-bg: #0a0e27;
    --dark-bg-alt: #0f1331;
    --card-bg: #1a1f4a;
    --card-bg-hover: #1f2555;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Badge Pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge-pill.purple {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
}

.badge-pill.green {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.badge-pill.blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, #0a0e27 0%, #1a1f4a 50%, #0a0e27 100%);
}

/* Animated blobs */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    top: 80px;
    right: 80px;
    animation: blob-float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    bottom: 80px;
    left: 80px;
    animation: blob-float-reverse 25s ease-in-out infinite;
}

@keyframes blob-float {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    33% { 
        transform: translate(-30px, -30px) scale(1.1); 
    }
    66% { 
        transform: translate(30px, 30px) scale(0.9); 
    }
}

@keyframes blob-float-reverse {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    33% { 
        transform: translate(30px, -30px) scale(1.05); 
    }
    66% { 
        transform: translate(-30px, 30px) scale(0.95); 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    font-size: 14px;
    color: var(--accent-purple);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #a855f7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #a855f7 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
    animation: gradient-shift 8s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.4);
}

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

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

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--dark-bg) 0%, var(--dark-bg-alt) 100%);
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: linear-gradient(to bottom, rgba(26, 31, 74, 0.5) 0%, rgba(15, 19, 49, 0.5) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Effet de glow au survol */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--purple-pink-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.2), transparent 70%);
    opacity: 0;
    filter: blur(40px);
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

/* Effet de glow différent pour chaque carte */
.service-card:nth-child(1)::after {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.25), transparent 70%);
}

.service-card:nth-child(2)::after {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.25), transparent 70%);
}

.service-card:nth-child(3)::after {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.25), transparent 70%);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    padding: 2px;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--dark-bg);
    border-radius: 14px;
}

.service-icon span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.service-card:nth-child(2) .service-icon {
    background: var(--pink-orange-gradient);
}

.service-card:nth-child(3) .service-icon {
    background: var(--blue-purple-gradient);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.service-card .service-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: var(--purple-pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.service-card:nth-child(2) .service-subtitle {
    background: var(--pink-orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(3) .service-subtitle {
    background: var(--blue-purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '';
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--purple-pink-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    position: relative;
}

.service-features li::after {
    content: '';
    position: absolute;
    left: 9px;
    margin-top: 8px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.service-card:nth-child(2) .service-features li::before {
    background: var(--pink-orange-gradient);
}

.service-card:nth-child(3) .service-features li::before {
    background: var(--blue-purple-gradient);
}

.service-cta {
    width: 100%;
    padding: 12px 24px;
    background: var(--purple-pink-gradient);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-cta:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.service-card:nth-child(2) .service-cta {
    background: var(--pink-orange-gradient);
}

.service-card:nth-child(3) .service-cta {
    background: var(--blue-purple-gradient);
}

/* Results Section */
.results-section {
    padding: 120px 0;
    background: var(--dark-bg);
    position: relative;
}

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

.result-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(to bottom, rgba(26, 31, 74, 0.5) 0%, rgba(15, 19, 49, 0.5) 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.result-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    filter: blur(30px);
    transition: opacity 0.5s ease;
}

.result-card:nth-child(1)::after {
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15), transparent 70%);
}

.result-card:nth-child(2)::after {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15), transparent 70%);
}

.result-card:nth-child(3)::after {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15), transparent 70%);
}

.result-card:nth-child(4)::after {
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.15), transparent 70%);
}

.result-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
}

.result-card:hover::after {
    opacity: 1;
}

.result-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 1;
}

.result-card:nth-child(1) .result-icon {
    background: var(--green-gradient);
}

.result-card:nth-child(2) .result-icon {
    background: var(--purple-pink-gradient);
}

.result-card:nth-child(3) .result-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
}

.result-card:nth-child(4) .result-icon {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.result-card:nth-child(1) .result-value {
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-card:nth-child(2) .result-value {
    background: var(--purple-pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-card:nth-child(3) .result-value {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-card:nth-child(4) .result-value {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.result-card p:last-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

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

.testimonial-card {
    background: linear-gradient(to bottom, rgba(26, 31, 74, 0.3) 0%, rgba(15, 19, 49, 0.3) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
}

.stars {
    color: #facc15;
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-pink-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Approach Section */
.approach-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--dark-bg-alt) 0%, var(--dark-bg) 100%);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 48px;
}

.approach-card {
    background: linear-gradient(to bottom right, rgba(26, 31, 74, 0.5) 0%, rgba(15, 19, 49, 0.5) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.approach-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    filter: blur(40px);
    transition: opacity 0.5s ease;
}

.approach-card:nth-child(1)::after {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15), transparent 70%);
}

.approach-card:nth-child(2)::after {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.15), transparent 70%);
}

.approach-card:nth-child(3)::after {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15), transparent 70%);
}

.approach-card:nth-child(4)::after {
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15), transparent 70%);
}

.approach-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.approach-card:hover::after {
    opacity: 1;
}

.approach-number {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.2;
    position: relative;
    z-index: 1;
}

.approach-card:nth-child(1) .approach-number {
    background: var(--purple-pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-card:nth-child(2) .approach-number {
    background: var(--pink-orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-card:nth-child(3) .approach-number {
    background: var(--blue-purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-card:nth-child(4) .approach-number {
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    margin-top: -64px;
    position: relative;
    z-index: 2;
    padding: 2px;
}

.approach-card:nth-child(1) .approach-icon {
    background: var(--purple-pink-gradient);
}

.approach-card:nth-child(2) .approach-icon {
    background: var(--pink-orange-gradient);
}

.approach-card:nth-child(3) .approach-icon {
    background: var(--blue-purple-gradient);
}

.approach-card:nth-child(4) .approach-icon {
    background: var(--green-gradient);
}

.approach-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--dark-bg);
    border-radius: 14px;
}

.approach-icon span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.approach-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.approach-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.approach-footer {
    margin-top: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6b7280;
    font-size: 0.875rem;
}

.approach-footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-purple);
}

.approach-footer-line {
    height: 1px;
    width: 64px;
    background: linear-gradient(to right, var(--accent-purple), transparent);
}

.approach-footer-line:last-child {
    background: linear-gradient(to left, var(--accent-purple), transparent);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.25;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-feature svg,
.cta-feature::before {
    content: '✓';
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-cta-large {
    padding: 24px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 9999px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #a855f7 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 30px 60px rgba(168, 85, 247, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    animation: gradient-shift 8s ease infinite;
}

.btn-cta-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 40px 80px rgba(168, 85, 247, 0.5);
}

.cta-footer {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 0.875rem;
    color: #6b7280;
}

.cta-footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
}

/* Footer */
.site-footer {
    background: linear-gradient(to bottom, var(--dark-bg) 0%, #050812 100%);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-purple);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #9ca3af;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 12px;
    background: var(--accent-purple);
    border-radius: 2px;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 300px;
        height: 300px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.875rem;
    }
    
    /* Services */
    .services-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-features {
        margin-bottom: 20px;
    }
    
    .service-features li {
        font-size: 0.875rem;
        padding: 8px 0;
    }
    
    /* Results */
    .results-section {
        padding: 80px 0;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .result-card {
        padding: 24px 20px;
    }
    
    .result-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .result-label {
        font-size: 1rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 32px 24px;
    }
    
    /* Approach */
    .approach-section {
        padding: 80px 0;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .approach-card {
        padding: 32px 24px;
    }
    
    .approach-number {
        font-size: 6rem;
    }
    
    .approach-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-top: -48px;
    }
    
    /* CTA */
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .btn-cta-large {
        padding: 20px 32px;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }
    
    .cta-footer {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Hero */
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .badge-pill {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 24px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }
    
    .stat-item {
        padding: 16px;
        background: rgba(26, 31, 74, 0.3);
        border-radius: 12px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Sections */
    .services-section,
    .results-section,
    .testimonials-section,
    .approach-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Service Cards */
    .service-card,
    .testimonial-card,
    .result-card,
    .approach-card {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .service-card h3,
    .approach-card h3 {
        font-size: 1.125rem;
    }
    
    .service-icon,
    .result-icon,
    .approach-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* Results Grid - 1 column sur très petit écran */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .result-value {
        font-size: 2.25rem;
    }
    
    .result-label {
        font-size: 0.9375rem;
    }
    
    .result-card p:last-child {
        font-size: 0.8125rem;
    }
    
    /* Testimonials */
    .testimonial-text {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 0.9375rem;
    }
    
    .author-info p {
        font-size: 0.8125rem;
    }
    
    /* Approach */
    .approach-number {
        font-size: 5rem;
    }
    
    .approach-icon {
        margin-top: -40px;
    }
    
    .approach-footer {
        font-size: 0.8125rem;
        margin-top: 32px;
    }
    
    .approach-footer-line {
        width: 48px;
    }
    
    /* CTA */
    .cta-section h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .cta-section p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .cta-feature {
        padding: 12px;
        font-size: 0.875rem;
    }
    
    .btn-cta-large {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .cta-footer-item {
        font-size: 0.8125rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 60px 0 32px;
    }
    
    .footer-content {
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .footer-section h3 {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9375rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        padding-top: 24px;
        font-size: 0.8125rem;
    }
    
    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .approach-number {
        font-size: 4rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .stats-grid {
        margin-top: 32px;
    }
}

/* Utility classes */
.text-gradient-purple {
    background: var(--purple-pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--blue-purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading state */
.js-loaded .hero-content,
.js-loaded .section-header {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: white;
}

/* Focus styles for accessibility */
.keyboard-nav *:focus {
    outline: 2px solid var(--accent-purple);
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .cta-buttons,
    .social-links,
    .scroll-indicator {
        display: none;
    }
}



/* === Custom fixes requested === */

/* (2) Remove underline from the CTA booking button text and arrow */
.btn-cta-large,
.btn-cta-large:visited,
.btn-cta-large:hover,
.btn-cta-large:focus {
    text-decoration: none;
}
.btn-cta-large span { 
    text-decoration: none;
    display: inline-block; /* ensures arrow is not treated as underlined text */
}

/* (3) Reduce spacing between 'Titre de section' and 'Titre Gradient' */
.section-title {
    margin-bottom: 12px; /* tighter */
    line-height: 1.1;
}
.section-title .text-gradient-purple,
.section-title .text-gradient-blue,
.section-title .text-gradient-green,
.section-title .text-gradient {
    display: inline;
    margin-top: 0;
}

/* Also tighten in CTA section */
.cta-section h2 {
    line-height: 1.1;
    margin-bottom: 12px;
}
.cta-section h2 .text-gradient-purple,
.cta-section h2 .text-gradient,
.cta-section h2 span {
    display: inline;
    margin-top: 0;
}

/* (4) Services: force either 3 columns or 1 column (no two-column state) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* default to 1 per row */
    gap: 30px;
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* exactly 3 per row */
    }
}

/* (5) Testimonials: same rule — 3 columns on desktop, 1 column on mobile */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure buttons never get underlines globally */
a.btn, .btn, .btn-primary, .btn-secondary {
    text-decoration: none;
}
a.btn:hover, .btn:hover, .btn-primary:hover, .btn-secondary:hover {
    text-decoration: none;
}




/* === Language Switcher (Polylang) === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.site-header .site-branding .site-title {
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.language-switcher ul {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.language-switcher li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #e5e7eb;
    border: 1px solid rgba(139, 92, 246, 0.25);
    background: linear-gradient(180deg, rgba(26,31,74,0.6) 0%, rgba(15,19,49,0.6) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.language-switcher li a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}
.language-switcher li.current-language a {
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 14px 32px rgba(99, 102, 241, 0.25);
}
/* Optional: hide names and show only flags on very small screens */
@media (max-width: 420px) {
    .language-switcher li a { padding: 8px; }
    .language-switcher li a img + * { display: none; } /* if flags present then hide name */
}




/* === Header branding adjustments (requested) === */
.site-header {
    padding-left: 40px;
    padding-right: 40px;
}
.site-header .header-inner {
    padding: 16px 0;
}
.site-header .site-branding .site-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 640px) {
    .site-header {
        padding-left: 20px;
        padding-right: 20px;
    }
}



/* Footer link normalization */
.site-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover {
    color: var(--accent-purple);
    text-decoration: none;
}
