/* ==================== VARIABLES ==================== */
:root {
    --bg-deep: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --cyan-electric: #85d7eb;
    --cyan-glow: rgba(133, 215, 235, 0.4);
    --cyan-subtle: rgba(133, 215, 235, 0.15);
    --orange-copper: #e87b35;
    --orange-metallic: #d4812a;
    --orange-glow: rgba(232, 123, 53, 0.4);
    --text-silver: #d3d7d9;
    --text-muted: #9a9aa8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(133, 215, 235, 0.3);
    --success: #22c55e;
    --error: #ef4444;
}

/* ==================== RESET & BASE ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-silver);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==================== BACKGROUND ==================== */
.bg-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}
.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: 
        radial-gradient(ellipse at 20% 20%, var(--cyan-subtle) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(232, 123, 53, 0.08) 0%, transparent 50%);
    animation: bgPulse 20s ease-in-out infinite;
}
@keyframes bgPulse {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    50% { transform: translate(-1%, 1%); opacity: 0.9; }
}

#networkCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.6rem 2rem;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.4s ease;
}
nav.scrolled {
    padding: 0.4rem 2rem;
    background: rgba(5, 5, 5, 0.95);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}
.logo-img {
    height: 82px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.logo:hover .logo-img {
    transform: scale(1.04);
    opacity: 0.9;
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #d3d7d9;
    letter-spacing: 0.5px;
}
.logo-tagline {
    font-weight: 500;
    color: #85d7eb;
}
.nav-actus-ia { color: #85d7eb !important; }
.nav-actus-ia:hover { color: #85d7eb !important; opacity: 0.8; }
@media (max-width: 768px) {
    .logo-img {
        height: 46px;
    }
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-silver); }
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-btn span {
    width: 25px; height: 2px;
    background: var(--text-silver);
    transition: all 0.3s ease;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange-copper), var(--orange-metallic));
    color: var(--bg-deep);
    box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--orange-glow);
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-silver);
    border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
    border-color: var(--cyan-electric);
    box-shadow: 0 0 20px var(--cyan-glow);
}

/* ==================== SECTIONS ==================== */
section { padding: 6rem 2rem; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange-copper);
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}
.hero-content { max-width: 950px; text-align: center; }
.hero-logo {
    margin-bottom: 2rem;
}
.hero-logo-img {
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(133, 215, 235, 0.3));
    transition: transform 0.5s ease, filter 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(133, 215, 235, 0.5));
}
@media (max-width: 768px) {
    .hero-logo-img {
        max-width: 280px;
    }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(232, 123, 53, 0.1);
    border: 1px solid rgba(232, 123, 53, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--orange-copper);
    margin-bottom: 2rem;
}
.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--orange-copper), var(--cyan-electric));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}
.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.hero-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-silver);
    font-size: 0.95rem;
}
.hero-benefit svg { width: 20px; height: 20px; stroke: var(--orange-copper); }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==================== PROBLEMS ==================== */
.problems { background: linear-gradient(180deg, transparent, rgba(232, 123, 53, 0.03), transparent); }
.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
}
.problem-card:hover { border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.03); }
.problem-icon { font-size: 2rem; margin-bottom: 1rem; }
.problem-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: #f87171; }
.problem-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ==================== SOLUTIONS ==================== */
.solutions { background: linear-gradient(180deg, transparent, rgba(133, 215, 235, 0.02), transparent); }
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.5s ease;
    position: relative;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-copper), var(--cyan-electric));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.solution-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--border-glow); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
}
.solution-card:hover::before { opacity: 1; }
.solution-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.solution-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--orange-copper), var(--orange-metallic));
    border-radius: 12px;
    flex-shrink: 0;
}
.solution-icon svg { width: 24px; height: 24px; stroke: var(--bg-deep); }
.solution-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.solution-card .tagline { font-size: 0.85rem; color: var(--orange-copper); }
.solution-benefits { display: flex; flex-direction: column; gap: 0.75rem; }
.solution-benefit {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.solution-benefit svg { width: 18px; height: 18px; stroke: var(--cyan-electric); flex-shrink: 0; margin-top: 2px; }

/* ==================== RESULTS ==================== */
.results { background: linear-gradient(180deg, transparent, rgba(232, 123, 53, 0.05), transparent); }
.results-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}
.result-card:hover { border-color: var(--orange-copper); box-shadow: 0 0 30px var(--orange-glow); transform: translateY(-3px); }
.result-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange-copper), var(--cyan-electric));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.result-label { font-size: 0.9rem; color: var(--text-muted); }
.results-examples {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
}
.results-examples h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; text-align: center; margin-bottom: 2rem; }
.example-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.example-before-after { display: flex; flex-direction: column; gap: 0.5rem; }
.before, .after { padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9rem; }
.before { background: rgba(239, 68, 68, 0.1); border-left: 3px solid #ef4444; color: #fca5a5; }
.after { background: rgba(34, 197, 94, 0.1); border-left: 3px solid #22c55e; color: #86efac; }

/* ==================== BLOG ==================== */
.blog-preview { background: linear-gradient(180deg, transparent, rgba(133, 215, 235, 0.02), transparent); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-cta { text-align: center; margin-top: 3rem; }

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}
.blog-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--cyan-electric); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
}
.blog-card-image {
    height: 160px;
    background: linear-gradient(135deg, var(--cyan-subtle), rgba(232, 123, 53, 0.1));
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-image svg { width: 48px; height: 48px; stroke: var(--orange-copper); opacity: 0.5; }
.blog-card-content { padding: 1.5rem; }
.blog-card-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.blog-category {
    padding: 0.3rem 0.85rem;
    background: rgba(232, 123, 53, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--orange-copper);
}
.blog-category.ia { background: var(--cyan-subtle); color: var(--cyan-electric); }
.blog-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-card h3, .blog-card h2 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 0.75rem; 
    line-height: 1.4;
    color: var(--text-silver);
}
.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-glass);
    display: flex; align-items: center; justify-content: space-between;
}
.read-more { 
    font-size: 0.85rem; 
    font-weight: 500; 
    color: var(--orange-copper); 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}
.read-more svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.blog-card:hover .read-more svg { transform: translateX(4px); }
.view-count { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.view-count svg { width: 14px; height: 14px; }

/* Blog page specifics */
.blog-page { padding-top: 100px; }
.blog-header { padding-bottom: 2rem; }
.blog-intro { color: var(--text-muted); font-size: 1.1rem; margin-top: 1rem; }
.blog-filters { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.6rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--cyan-electric); color: var(--text-silver); }
.filter-btn.active { 
    background: linear-gradient(135deg, var(--orange-copper), var(--orange-metallic)); 
    color: var(--bg-deep); 
    border-color: transparent;
}
.blog-cta-section { padding: 4rem 2rem; }
.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; margin-bottom: 1rem; }
.cta-card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ==================== ARTICLE PAGE ==================== */
.article-page { padding-top: 100px; min-height: 100vh; }
.article-container { max-width: 800px; margin: 0 auto; }
.article-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-size: 0.9rem;
    margin-bottom: 2rem; cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}
.article-back:hover { color: var(--orange-copper); }
.article-back svg { width: 18px; height: 18px; }
.article-header { text-align: center; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-glass); }
.article-category-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(232, 123, 53, 0.15);
    border-radius: 100px;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase;
    color: var(--orange-copper);
    margin-bottom: 1.5rem;
}
.article-category-tag.ia { background: var(--cyan-subtle); color: var(--cyan-electric); }
.article-title { 
    font-family: 'Outfit', sans-serif; 
    font-size: clamp(2rem, 5vw, 3rem); 
    font-weight: 700; 
    margin-bottom: 1rem; 
    line-height: 1.2; 
}
.article-meta { color: var(--text-muted); font-size: 0.9rem; display: flex; gap: 0.5rem; justify-content: center; }
.article-content { margin-bottom: 4rem; }
.article-content h2 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin: 2.5rem 0 1rem; 
    color: var(--text-silver); 
}
.article-content h3 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 1.3rem; 
    font-weight: 600; 
    margin: 2rem 0 0.75rem; 
    color: var(--orange-copper); 
}
.article-content p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.article-content strong { color: var(--text-silver); }
.article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-muted); }
.article-content li { margin-bottom: 0.5rem; }
.article-cta {
    margin-top: 4rem; padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    text-align: center;
}
.article-cta h4 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 1rem; }
.article-cta p { margin-bottom: 1.5rem; color: var(--text-muted); }
.article-not-found { text-align: center; padding: 4rem 0; }
.article-not-found h1 { font-family: 'Outfit', sans-serif; margin-bottom: 1rem; }
.article-not-found p { color: var(--text-muted); margin-bottom: 2rem; }

/* Related articles */
.related-articles { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border-glass); }
.related-articles h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.related-card:hover { border-color: var(--cyan-electric); transform: translateY(-2px); }
.related-card h4 { font-size: 0.95rem; color: var(--text-silver); margin: 0.5rem 0; line-height: 1.4; }
.related-card .blog-date { font-size: 0.75rem; }

/* ==================== PROCESS ==================== */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange-copper), var(--cyan-electric), var(--orange-copper));
    opacity: 0.3;
}
.process-step { text-align: center; position: relative; }
.step-number {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--orange-copper);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem; font-weight: 700;
    color: var(--orange-copper);
    position: relative;
    z-index: 1;
}
.process-step h4 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; max-width: 280px; margin: 0 auto; }

/* ==================== ABOUT ==================== */
.about { background: linear-gradient(180deg, transparent, rgba(133, 215, 235, 0.02), transparent); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content h3 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.about-content strong { color: var(--text-silver); }
.about-cred { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.cred-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.cred-item svg { width: 20px; height: 20px; stroke: var(--orange-copper); }
.about-visual { display: flex; justify-content: center; }
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 350px;
}
.about-avatar-logo {
    width: 240px;
    height: 240px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s ease;
}
.about-avatar-logo:hover {
    transform: scale(1.04);
}
.about-avatar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.about-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 0.5rem; }
.about-card .role { color: var(--orange-copper); font-size: 0.9rem; margin-bottom: 1rem; }
.about-card .location {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--cyan-subtle);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--cyan-electric);
}
.about-card .location svg { width: 14px; height: 14px; }

/* ==================== OTHER SERVICES ==================== */
.other-services { text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border-glass); }
.other-services p { color: var(--text-muted); font-size: 0.9rem; }
.other-services span { color: var(--text-silver); }

/* ==================== CONTACT ==================== */
.contact { background: linear-gradient(180deg, transparent, rgba(232, 123, 53, 0.03)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--orange-copper); }
.contact-item-content a { color: var(--text-silver); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.contact-item-content a:hover { color: var(--orange-copper); }
.contact-item-content small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-silver);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--orange-copper);
    box-shadow: 0 0 20px var(--orange-glow);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239a9aa8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.form-group select option { background: var(--bg-deep); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.btn-submit { width: auto; min-width: 220px; padding: 1.1rem 2.5rem; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.active { display: block; }
.form-success svg { width: 60px; height: 60px; stroke: var(--success); margin-bottom: 1rem; }
.form-success h4 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

/* ==================== FOOTER ==================== */
footer { padding: 2rem; border-top: 1px solid var(--border-glass); text-align: center; }
.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--cyan-electric), var(--orange-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.footer-links a:hover {
    color: var(--cyan-electric);
}
.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}
footer p { color: var(--text-muted); font-size: 0.85rem; }

/* ==================== MENTION RGPD FORMULAIRE ==================== */
.form-rgpd-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}
.form-rgpd-notice a {
    color: var(--cyan-electric);
    text-decoration: none;
}
.form-rgpd-notice a:hover {
    text-decoration: underline;
}

/* ==================== PAGES LÉGALES ==================== */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}
.legal-header {
    padding: 4rem 0 2rem;
}
.legal-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.legal-content {
    padding: 2rem 0 4rem;
}
.legal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}
.legal-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}
.legal-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.legal-card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--cyan-electric), var(--orange-copper));
    border-radius: 2px;
}
.legal-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-card p:last-child {
    margin-bottom: 0;
}
.legal-card a {
    color: var(--cyan-electric);
    text-decoration: none;
    transition: color 0.3s ease;
}
.legal-card a:hover {
    color: var(--orange-copper);
    text-decoration: underline;
}
.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.legal-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.legal-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.legal-value {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}
.legal-value a {
    color: var(--cyan-electric);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--cyan-electric), var(--orange-copper));
    border-radius: 50%;
}
.legal-list li strong {
    color: #fff;
}
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}
.right-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.right-item:hover {
    border-color: rgba(133, 215, 235, 0.3);
    background: rgba(133, 215, 235, 0.05);
}
.right-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(133, 215, 235, 0.15), rgba(232, 123, 53, 0.15));
    border-radius: 10px;
}
.right-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--cyan-electric);
}
.right-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}
.right-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}
.rights-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(133, 215, 235, 0.08), rgba(232, 123, 53, 0.08));
    border: 1px solid rgba(133, 215, 235, 0.2);
    border-radius: 12px;
    text-align: center;
}
.rights-contact p {
    margin-bottom: 1rem;
}
.rights-contact .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.rights-contact .btn svg {
    width: 18px;
    height: 18px;
}
.rights-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    margin-bottom: 0 !important;
}
.legal-date {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}
@media (max-width: 768px) {
    .legal-header {
        padding: 3rem 0 1.5rem;
    }
    .legal-card {
        padding: 1.5rem;
    }
    .legal-card h2 {
        font-size: 1.2rem;
    }
    .legal-info-grid {
        grid-template-columns: 1fr;
    }
    .rights-grid {
        grid-template-columns: 1fr;
    }
    .right-item {
        padding: 1rem;
    }
}

/* ==================== LOADING & TOAST ==================== */
.blog-loading { text-align: center; padding: 3rem; color: var(--text-muted); grid-column: 1 / -1; }
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border-glass);
    border-top-color: var(--orange-copper);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.article-loading { text-align: center; padding: 2rem; }

.toast-container { position: fixed; top: 100px; right: 20px; z-index: 3000; }
.toast {
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    margin-bottom: 0.5rem;
    animation: slideIn 0.3s ease;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--error); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); grid-column: 1 / -1; }

/* ==================== ANIMATIONS ==================== */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* Fallback animation si JS ne charge pas */
@keyframes fallbackFadeIn { to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fallbackFadeIn 0.5s ease 0.5s forwards; }
.fade-in.visible { animation: none; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .problems-grid, .solutions-grid, .example-list { grid-template-columns: 1fr; }
    .results-showcase { grid-template-columns: repeat(2, 1fr); }
    .blog-grid, .blog-grid-full { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; gap: 3rem; }
    .process-steps::before { display: none; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .related-grid { grid-template-columns: 1fr; }
}

/* ==================== CALCULATEUR DE TEMPS ==================== */
/* ── CALCULATEUR NOUVELLE VERSION ─────────────────────────── */
.calculator-section {
    background: linear-gradient(180deg, rgba(133, 215, 235, 0.03) 0%, transparent 100%);
}
.calculator-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}
.calculator-tasks {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
}
.calculator-tasks h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-silver);
}

/* Table de saisie */
.calc-table-wrap { width: 100%; }
.calc-table-header {
    display: grid;
    grid-template-columns: 2fr 1.6fr 80px 80px 36px;
    gap: 0.5rem;
    padding: 0 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 0.75rem;
}
.calc-table-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.calc-row {
    display: grid;
    grid-template-columns: 2fr 1.6fr 80px 80px 36px;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.6rem;
    animation: fadeUp 0.3s ease;
}
.calc-row input[type="text"],
.calc-row select,
.calc-row input[type="number"] {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-silver);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    padding: 0.55rem 0.75rem;
    width: 100%;
    transition: border-color 0.2s;
    -moz-appearance: textfield;
}
.calc-row input[type="number"]::-webkit-inner-spin-button,
.calc-row input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-row input:focus,
.calc-row select:focus {
    outline: none;
    border-color: var(--cyan-electric);
    background: rgba(133,215,235,0.05);
}
.calc-row select {
    cursor: pointer;
    padding-right: 0.5rem;
}
.calc-row select option { background: #13131a; color: var(--text-silver); }
.calc-delete-btn {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.calc-delete-btn:hover { background: rgba(232,123,53,0.15); border-color: var(--orange-copper); color: var(--orange-copper); }
.calc-delete-btn svg { width: 14px; height: 14px; }

.calc-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: rgba(133,215,235,0.06);
    border: 1px dashed rgba(133,215,235,0.3);
    border-radius: 8px;
    color: var(--cyan-electric);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.calc-add-btn:hover { background: rgba(133,215,235,0.1); border-color: var(--cyan-electric); }

.calc-analyze-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 1rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--orange-copper), var(--orange-metallic));
    border: none;
    border-radius: 10px;
    color: #050505;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--orange-glow);
    min-height: 48px;
}
.calc-analyze-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--orange-glow); }
.calc-analyze-btn svg { width: 18px; height: 18px; }

.calc-placeholder {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
}
.calc-placeholder svg { width: 40px; height: 40px; margin-bottom: 1rem; opacity: 0.4; }
.calc-placeholder p { font-size: 0.95rem; line-height: 1.6; }
.calc-placeholder strong { color: var(--orange-copper); }

.breakdown-calc {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.breakdown-formula {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}
.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 0.82rem;
    gap: 1rem;
}
.breakdown-item > div:first-child { display: flex; flex-direction: column; gap: 3px; }

.calc-add-btn svg { width: 16px; height: 16px; }

/* Résultats */
.calculator-results {
    background: linear-gradient(135deg, rgba(133,215,235,0.08) 0%, rgba(232,123,53,0.08) 100%);
    border: 1px solid rgba(133,215,235,0.2);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}
.results-header { text-align: center; margin-bottom: 2rem; }
.results-header h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; color: var(--text-silver); margin-bottom: 0.5rem; }
.results-subtitle { color: var(--text-muted); font-size: 0.9rem; }
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.result-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}
.result-item.highlight {
    background: rgba(133,215,235,0.15);
    border-color: var(--cyan-electric);
    transform: scale(1.05);
}
.result-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cyan-electric);
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}
.result-item.highlight .result-value { font-size: 2.2rem; }
.result-label { font-size: 0.85rem; color: var(--text-muted); }

/* Détail par tâche */
.results-breakdown {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 0.82rem;
    animation: fadeUp 0.3s ease;
}
.breakdown-name { color: var(--text-muted); }
.breakdown-time { color: var(--orange-copper); font-weight: 600; font-family: 'Outfit', sans-serif; }
.breakdown-saving {
    font-size: 0.72rem;
    padding: 2px 7px;
    background: rgba(133,215,235,0.1);
    border-radius: 20px;
    color: var(--cyan-electric);
}

.results-equivalent {
    text-align: center;
    padding: 1.25rem;
    background: rgba(232,123,53,0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}
.results-equivalent p { color: var(--text-muted); font-size: 0.92rem; margin: 0; line-height: 1.6; }
.results-equivalent .highlight-text { color: var(--orange-copper); font-weight: 600; }
.results-equivalent .big-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange-copper);
    margin: 0.4rem 0;
}
.results-cta { text-align: center; }
.results-cta .btn { width: 100%; justify-content: center; }

@keyframes countUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.result-value.animate { animation: countUp 0.4s ease forwards; }

@media (max-width: 960px) {
    .calculator-container { grid-template-columns: 1fr; }
    .calculator-results { position: static; }
    .results-grid { grid-template-columns: repeat(3,1fr); }
    .result-item.highlight { transform: none; }
}
@media (max-width: 600px) {
    .calc-table-header { display: none; }
    .calc-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 0.4rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-glass); margin-bottom: 0.75rem; }
    .calc-row input[type="text"] { grid-column: 1 / -1; }
    .calc-row input[type="number"] { text-align: center; }
    .calc-delete-btn { grid-column: 2; justify-self: end; }
    .results-grid { grid-template-columns: 1fr; }
    .result-item.highlight { transform: none; }
}

@media (max-width: 768px) {
    nav { padding: 1rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
    }
    .nav-links.active { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--border-glass); }
    .nav-links a { display: block; padding: 1rem 1.5rem; min-height: 44px; display: flex; align-items: center; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 7rem 1.5rem 4rem; }
    .hero-benefits { flex-direction: column; align-items: center; gap: 1rem; }
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    section { padding: 4rem 1.5rem; }
    .results-showcase, .blog-grid, .blog-grid-full { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .blog-filters { flex-direction: column; align-items: stretch; }
    .filter-btn { text-align: center; }
    /* Tap targets minimum 44px sur mobile */
    a, button { touch-action: manipulation; }
    .form-rgpd-notice a,
    .article-breadcrumb a,
    .blog-breadcrumb a,
    .cat-back-link { min-height: 44px; display: inline-flex; align-items: center; }
}

.calc-loader {
    width: 36px; height: 36px;
    border: 3px solid rgba(133,215,235,0.2);
    border-top-color: var(--cyan-electric);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
