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

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-400: #4ade80;
    --purple-100: #f3e8ff;
    --purple-400: #c084fc;
    --yellow-400: #facc15;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--green-50) 50%, var(--blue-50) 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
    stroke: var(--blue-400);
    stroke-width: 2;
}

.logo-text {
    margin-left: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
}

.nav-link:hover {
    color: var(--blue-400);
}

.nav-link-login {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: var(--blue-500);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
}

.nav-link-login svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

.nav-link-login:hover {
    color: var(--blue-400);
}

/* Pages */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Conteneurs */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-blue {
    color: var(--blue-400);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-circle {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--green-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.profile-circle svg {
    width: 128px;
    height: 128px;
    stroke: white;
    stroke-width: 2;
}

.badge-award {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.badge-award svg {
    width: 32px;
    height: 32px;
    stroke: var(--yellow-400);
    fill: var(--yellow-400);
    stroke-width: 2;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.info-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    stroke: var(--blue-400);
    stroke-width: 2;
    margin-bottom: 1rem;
}

.info-icon.green {
    stroke: var(--green-400);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-600);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    min-height: calc(100vh - 64px);
}

.content-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--green-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.profile-avatar svg {
    width: 64px;
    height: 64px;
    stroke: white;
    stroke-width: 2;
}

.profile-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Content Sections */
.content-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.section-title svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-400);
    stroke-width: 2;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Highlight Box */
.highlight-box {
    background: var(--blue-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

.highlight-box.green {
    background: var(--green-50);
}

.box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    color: var(--gray-700);
}

.check-list svg {
    width: 20px;
    height: 20px;
    stroke: var(--green-400);
    stroke-width: 2;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Step List */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-400);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.step-item p {
    color: var(--gray-700);
}

/* Language Tags */
.language-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
}

.tag.blue {
    background: var(--blue-100);
    color: #1e40af;
}

.tag.green {
    background: var(--green-100);
    color: #15803d;
}

.tag.purple {
    background: var(--purple-100);
    color: #7c3aed;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--blue-400);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: var(--blue-500);
}

.btn-secondary {
    background: white;
    color: var(--blue-400);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: var(--gray-50);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-text {
    background: none;
    color: var(--gray-600);
    box-shadow: none;
}

.btn-text:hover {
    color: var(--gray-800);
}

.btn-back {
    background: none;
    border: none;
    color: var(--blue-400);
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    font-family: inherit;
}

.btn-back:hover {
    color: var(--blue-500);
}

/* Forms */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--blue-400);
}

.checkbox-label span {
    color: var(--gray-700);
}

.font-medium {
    font-weight: 500;
}

/* Info Box */
.info-box {
    background: var(--blue-50);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.info-value.blue {
    color: var(--blue-400);
}

/* Slot List */
.slot-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.slot-item {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    background: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    font-family: inherit;
}

.slot-item:hover {
    border-color: var(--blue-400);
    background: var(--blue-50);
}

.slot-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-400);
    stroke-width: 2;
}

.slot-item span {
    font-weight: 500;
    color: var(--gray-800);
}

/* Steps List */
.steps-list {
    padding-left: 1.5rem;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.steps-list li {
    margin-bottom: 0.5rem;
}

/* Avis Grid */
.avis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.avis-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.avis-name {
    font-weight: 700;
    color: var(--gray-800);
}

.avis-niveau {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.stars {
    color: var(--yellow-400);
    font-size: 1.25rem;
}

.avis-text {
    color: var(--gray-700);
    font-style: italic;
}

/* Page Title */
.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.page-subtitle-large {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.text-center {
    text-align: center;
}

.mb-large {
    margin-bottom: 3rem;
}

.cta-center {
    margin-top: 2.5rem;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 448px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .avis-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}