:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --text-color: #333;
    --text-light: #4b5563;
    --background-light: #f8fafc;
    --card-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    --spacing: 1.25rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e6ed 100%);
    position: relative;
    cursor: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.03'%3E%3Cpath d='M11 0l5 20H6l5-20zm17 0l5 20H23l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zM11 20l5 20H6l5-20zm17 0l5 20H23l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zM11 40l5 20H6l5-20zm17 0l5 20H23l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zM11 60l5 20H6l5-20zm17 0l5 20H23l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zM11 80l5 20H6l5-20zm17 0l5 20H23l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20zm17 0l5 20h-10l5-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    animation: moveBackground 120s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

/* Barres colorées */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa, #93c5fd, #3b82f6);
    background-size: 100% 400%;
    animation: gradientAnimation 10s ease infinite;
    z-index: 1000;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* Barre horizontale en haut */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3b82f6, #60a5fa, #93c5fd, #3b82f6);
    background-size: 400% 100%;
    animation: gradientHorizontal 10s ease infinite;
    z-index: 1000;
}

@keyframes gradientHorizontal {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

/* Curseur personnalisé */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(37, 99, 235, 0.5);
    transition: transform 0.15s ease;
}

a:hover ~ .cursor-dot, button:hover ~ .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

a:hover ~ .cursor-outline, button:hover ~ .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Particules */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Style pour le badge TheBookee */
.bookee-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transform: rotate(5deg);
    animation: pulse 2s infinite;
    border: 2px solid white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% {
        transform: rotate(5deg) scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }
    100% {
        transform: rotate(5deg) scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: calc(var(--spacing) * 1.5) 0;
    margin-bottom: calc(var(--spacing) * 1.5);
    border-radius: 0 0 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Effet machine à écrire */
.typewriter {
    overflow: hidden;
    border-right: 0.15em solid white;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.1em;
    animation: typing 3.5s steps(30, end),
               blink-caret 0.75s step-end infinite;
}

/* Animation machine à écrire en séquence */
.typewriter-sequence {
    overflow: hidden;
    border-right: 0.15em solid rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.05em;
    animation: blink-caret 0.75s step-end infinite;
    max-width: 0;
}

.typewriter-sequence.typing {
    animation: typing-sequence 3s steps(40, end) forwards, 
               blink-caret 0.75s step-end infinite;
}

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes typing-sequence {
    from { max-width: 0; }
    to { max-width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    position: relative;
}

.header-description {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

/* Expertise Section */
.expertise-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-radius: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.expertise-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    position: relative;
}

.expertise-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    position: relative;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-left: 2.25rem;
}

.expertise-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
}

/* Icônes spécifiques pour chaque expertise */
.expertise-card.ai h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
}

.expertise-card.fullstack h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4'%3E%3C/path%3E%3C/svg%3E");
}

.expertise-card.devops h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15'%3E%3C/path%3E%3C/svg%3E");
}

.expertise-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.expertise-item {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.expertise-card:hover .expertise-item {
    background: rgba(37, 99, 235, 0.12);
}

/* Projects Section */
.projects-section {
    margin: 2rem 0;
    padding: 2rem 1.5rem;
}

.projects-intro {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    text-align: left;
    color: #4b5563;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    font-size: 1.05rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-card {
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    position: relative;
}

.project-description {
    color: #4b5563;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.extremely-new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #FF4D4D, #FF8C00);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 77, 77, 0.3);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--card-shadow);
}

.tech-stack-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.tech-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 1.25rem;
    overflow-x: auto;
}

.tech-category {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
    flex-shrink: 0;
}

.tech-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-item {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.tech-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    margin: 2.5rem 0;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* Contact Section */
.contact-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    box-shadow: var(--card-shadow);
    margin: 2rem 0;
}

.contact-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #374151;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
    margin: 1.25rem auto 0;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.button-loader {
    margin-left: 0.5rem;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.8rem;
    display: none;
}

.form-message.success {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #059669;
}

.form-message.error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #ef4444;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.info-item {
    margin: 0.5rem 0;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Style pour les drapeaux */
.fi {
    margin-right: 4px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transform: scale(0.85);
    position: relative;
    overflow: hidden;
}

.fi::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { top: -100%; left: -100%; }
    100% { top: 100%; left: 100%; }
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing);
    color: #666;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Animation d'apparition */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    :root {
        --spacing: 1rem;
    }

    header {
        padding: calc(var(--spacing) * 1.5) 0;
    }

    h1 {
        font-size: 2rem;
    }

    .expertise-section, .projects-section, .tech-stack-section, .cta-section, .contact-section {
        padding: 2rem 1rem;
    }

    .expertise-grid, .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-category {
        min-width: 180px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Effet machine à écrire modifié */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.1em;
    animation: typing 3.5s steps(30, end) forwards;
}

/* Animation machine à écrire en séquence - sans curseur clignotant */
.typewriter-sequence {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.05em;
    max-width: 0;
}

.typewriter-sequence.typing {
    animation: typing-sequence 3s steps(40, end) forwards;
}

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes typing-sequence {
    from { max-width: 0; }
    to { max-width: 100%; }
}

/* Header styles modifiés */
.header-description {
    max-width: 1000px; /* Augmenter la largeur maximale */
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow-wrap: break-word;
    white-space: normal; /* Permettre au texte de passer à la ligne */
}

/* Effet machine à écrire complètement revu */
.typewriter, .typewriter-sequence {
    position: relative;
    display: inline-block;
    white-space: normal; /* Permettre le passage à la ligne */
    width: auto; /* Laisser le contenu déterminer la largeur */
    max-width: 100%; /* Assurer que ça ne dépasse pas */
    overflow: visible; /* Ne pas couper le texte */
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Supprimer complètement l'effet de curseur clignotant */
.typewriter::after, .typewriter-sequence::after {
    display: none;
}

header h1, header p {
    opacity: 0;
}

.header-description {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}