/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /* Palette froide (indigo / cyan / violet) */
    --primary-coral: #4f6ef7;
    --secondary-orange: #22b8cf;
    --accent-yellow: #67e8f9;
    --warm-pink: #818cf8;

    /* Neutres clairs teintés froid (bleutés, plus de gris terne) */
    --light-cream: #f2f6fc;
    --soft-gray: #e6edf9;
    --surface: #ffffff;
    --deep-navy: #1e293b;

    /* Texte */
    --text-charcoal: #262b36;
    --text-medium: #55606f;
    --text-light: #8a94a3;

    /* Bordures neutres douces (plus de bleu qui jure) */
    --border-soft: rgba(45, 55, 72, 0.08);
    --border-strong: rgba(45, 55, 72, 0.14);

    /* Ombres en couches + ombres colorées */
    --shadow-soft: 0 2px 6px rgba(45, 55, 72, 0.04), 0 8px 20px rgba(45, 55, 72, 0.06);
    --shadow-medium: 0 6px 16px rgba(45, 55, 72, 0.08), 0 18px 40px rgba(45, 55, 72, 0.12);
    --shadow-coral: 0 10px 30px rgba(79, 110, 247, 0.28);

    /* Dégradé signature */
    --gradient-warm: linear-gradient(135deg, var(--primary-coral), var(--secondary-orange));
    --gradient-full: linear-gradient(90deg, var(--primary-coral), var(--secondary-orange), var(--accent-yellow), var(--warm-pink));

    --radius: 20px;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    background: var(--light-cream);
    color: var(--text-charcoal);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}
/* Fond maillé subtil derrière toute la page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(45rem 45rem at 12% -8%, rgba(79, 110, 247, 0.10), transparent 60%),
        radial-gradient(40rem 40rem at 100% 0%, rgba(103, 232, 249, 0.12), transparent 55%),
        radial-gradient(50rem 50rem at 80% 110%, rgba(34, 184, 207, 0.10), transparent 55%);
    pointer-events: none;
}
/* Animations douces */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes softFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes subtleScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
@keyframes warmGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(79, 110, 247, 0.15); }
    50% { box-shadow: 0 8px 34px rgba(79, 110, 247, 0.28); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Navigation épurée (glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(242, 246, 252, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
    padding: 1.15rem 0;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}
.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}
.nav-links a:hover {
    color: var(--primary-coral);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-warm);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links a:hover::after {
    width: 100%;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-charcoal);
    z-index: 1001;
}
.no-style-link {
    text-decoration: none;
    color: inherit;
}
.no-style-link:hover {
    color: var(--primary-coral);
}
/* Hero Section moderne */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background:
        radial-gradient(closest-side, rgba(79, 110, 247, 0.14), transparent),
        radial-gradient(closest-side, rgba(103, 232, 249, 0.16), transparent);
    filter: blur(10px);
    z-index: -1;
    animation: subtleScale 12s ease-in-out infinite;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}
.hero-text {
    animation: softFadeIn 1s ease;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-charcoal);
    line-height: 1.15;
    letter-spacing: -1.5px;
}
.hero-image {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
}
.hero-text .submit-button {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.hero-title .highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 32ch;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-warm);
    background-size: 180% 180%;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    box-shadow: var(--shadow-coral);
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(79, 110, 247, 0.38);
    background-position: 100% 0;
}
.cta-button:active {
    transform: translateY(-1px);
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.05rem;
    animation: gentleFloat 8s ease-in-out infinite;
    max-width: 245px;
    width: 100%;
}
.tech-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.4rem 1.05rem;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-full);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tech-card:hover::before {
    opacity: 1;
}
.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}
.tech-icon {
    font-size: 1.75rem;
    margin-bottom: 0.7rem;
    display: block;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tech-icon .image-container img {
    width: 100%;
    height: auto;
    display: block;
}
.tech-card h4 {
    font-size: 0.8rem;
    color: var(--text-charcoal);
    font-weight: 600;
    margin: 0;
}
/* Sections avec espacement généreux */
.section {
    padding: 6rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-charcoal);
    letter-spacing: -1px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
/* Grille d'expertise clean */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}
.expertise-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}
.expertise-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-full);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.expertise-card:hover::after {
    transform: translateX(0);
}
.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-strong);
}
.expertise-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.expertise-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-charcoal);
}
.expertise-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}
/* Section stats colorée */
.stats {
    background: var(--gradient-warm);
    background-size: 200% 200%;
    animation: gradientShift 14s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    margin: 2rem 2rem;
    box-shadow: var(--shadow-coral);
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M0 0l100 100M100 0L0 100' stroke='%23ffffff' stroke-width='0.5' stroke-opacity='0.12'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    animation: softFadeIn 0.8s ease-out;
    margin-left: 20px;
    margin-right: 20px;
}
.stat-number {
    font-size: 4rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    letter-spacing: -2px;
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
}
/* Formulaire de contact moderne */
.contact {
    background: var(--surface);
    border-radius: 32px;
    padding: 4rem;
    margin: 5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 50%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(103, 232, 249, 0.14), transparent);
    pointer-events: none;
}
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-input {
    background: var(--soft-gray);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    color: var(--text-charcoal);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.form-input::placeholder {
    color: var(--text-light);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-coral);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(79, 110, 247, 0.12);
}
.form-input.full-width {
    grid-column: 1 / -1;
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-button {
    background: var(--gradient-warm);
    background-size: 180% 180%;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    font-family: inherit;
    justify-self: center;
    width: fit-content;
    box-shadow: var(--shadow-coral);
}
.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(79, 110, 247, 0.38);
    background-position: 100% 0;
}
/* Footer simple */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-light);
    background: var(--soft-gray);
}
/* Pages workshop raffinées */
.workshop-detail {
    background: var(--surface);
    border-radius: 32px;
    padding: 3rem;
    margin: 8rem auto 4rem;
    max-width: 900px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-soft);
}
.workshop-detail h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-charcoal);
    text-align: center;
    letter-spacing: -1px;
}
.workshop-detail h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-soft);
}
.workshop-detail h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-coral);
}
.workshop-detail p,
.workshop-detail ul {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}
.workshop-detail ul {
    padding-left: 25px;
}
.workshop-detail li {
    margin-bottom: 0.8rem;
}
.workshop-detail strong {
    color: var(--text-charcoal);
    font-weight: 600;
}
.workshop-detail a {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.workshop-detail a:hover {
    color: var(--secondary-orange);
    text-decoration: underline;
}
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.workshop-card {
    background: var(--soft-gray);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-soft);
}
.workshop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    background: var(--surface);
    border-color: var(--border-strong);
}
.workshop-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    margin-top: 0;
}
.workshop-card ul {
    padding-left: 0;
    list-style: none;
    color: var(--text-medium);
}
.workshop-card li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}
.workshop-card li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-coral);
    font-size: 0.8rem;
    top: 0.2rem;
}
/* Table tarifs */
.pricing-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    font-size: 1rem;
}
.pricing-table thead {
    background: var(--gradient-warm);
    color: white;
}
.pricing-table th,
.pricing-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}
.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-charcoal);
}
.pricing-table tbody tr:nth-child(even) {
    background: var(--soft-gray);
}
.pricing-table tbody tr:hover {
    background: var(--warm-pink);
    color: white;
    transition: background 0.3s ease;
}
.pricing-table td {
    transition: color 0.3s ease;
}
.pricing-table tbody tr:hover td:first-child {
    color: white;
}
/* Accessibilité : respect des préférences de mouvement */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(242, 246, 252, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;
        animation: softFadeIn 0.3s ease;
    }
    .nav-links.active {
        display: flex;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1rem;
    }
    .hero-subtitle {
        max-width: none;
    }
    .hero-text {
        order: 1;
    }
    .hero-visual {
        order: 2;
    }
    .hero {
        padding: 6rem 0 2rem 0;
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
        max-width: 196px;
        margin: 0 auto;
    }
    .tech-card {
        padding: 1.05rem 0.7rem;
    }
    .tech-icon {
        font-size: 1.4rem;
    }
    .form-group {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 4rem 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .stats {
        margin: 2rem 1rem;
        border-radius: 24px;
    }
    .workshop-detail {
        margin: 6rem 1rem 2rem;
        padding: 2rem;
        border-radius: 24px;
    }
    .workshop-detail h2 {
        font-size: 2rem;
    }
    .workshop-detail h3 {
        font-size: 1.4rem;
    }
    .contact {
        margin: 3rem 1rem;
        padding: 2.5rem;
        border-radius: 24px;
    }
    .expertise-grid, .stats-grid, .premium-grid {
        text-align: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }
    .pricing-table {
        font-size: 0.9rem;
    }
    .pricing-table th,
    .pricing-table td {
        padding: 0.7rem 1rem;
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        gap: 3rem;
    }
    .tech-grid {
        max-width: 224px;
    }
}
