:root {
    /* Palette artisanale et élégante pour L'atelier de l'ongle */
    --primary-color: #d4a373; /* Or rosé chaleureux */
    --primary-dark: #b8865e;
    --secondary-color: #e8b4a8; /* Rose poudré doux */
    --accent-color: #f4d9c6; /* Beige pêche */
    --accent-gold: #d4af37; /* Or pour les touches premium */
    --text-color: #2c2420; /* Brun foncé pour élégance */
    --text-light: #6b5d57;
    --bg-color: #ffffff;
    --bg-light: #faf8f6; /* Beige très clair */
    --bg-dark: #2c2420;
    --border-color: #e8dfd7; /* Beige clair */
    --success-color: #8fa883; /* Vert sauge doux */
    --shadow: 0 4px 6px -1px rgba(44, 36, 32, 0.1), 0 2px 4px -1px rgba(44, 36, 32, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(44, 36, 32, 0.1), 0 4px 6px -2px rgba(44, 36, 32, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(44, 36, 32, 0.1), 0 10px 10px -5px rgba(44, 36, 32, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

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

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

/* Header & Navigation */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Bouton CTA dans le menu */
.nav-menu .nav-cta {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-menu .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--bg-light) 50%, #fef5ee 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: white;
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.4);
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-color));
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Formations Section */
.formations {
    background: var(--bg-light);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.formation-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.formation-card.premium {
    border: 2px solid var(--primary-color);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-badge.premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.card-badge.new {
    background: var(--success-color);
}

/* Multiple badges group */
.card-badges-group {
    position: absolute;
    top: -10px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.card-badges-group .card-badge {
    position: static;
}

.card-badge.urgency {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse-urgency 2s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

/* Social proof rating */
.card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.card-rating .stars {
    font-size: 0.95rem;
    line-height: 1;
}

.card-rating .rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Compact features list */
.card-features.compact li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Compact footer with price + CTA on same line */
.card-footer.compact {
    border-top: 2px solid var(--border-color);
    padding-top: 1.25rem;
}

.card-price-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
}

.card-price-cta .price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.card-price-cta .price-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.card-price-cta .btn {
    white-space: nowrap;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Image de la formation */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.formation-card:hover .card-image img {
    transform: scale(1.05);
}

.formation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card-duration {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
}

.card-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.card-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Avantages Section */
.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.avantage-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.avantage-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.avantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.avantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.avantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.avantage-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Témoignages Section */
.temoignages {
    background: var(--bg-light);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.temoignage-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.rating {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.temoignage-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.temoignage-author strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

.temoignage-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Réservation Section */
.reservation {
    background: white;
}

.reservation-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.confirmation-message {
    max-width: 700px;
    margin: 2rem auto;
    background: #d1fae5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--success-color);
}

.confirmation-message h3 {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-col p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Tunnel d'Achat Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.checkout-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.checkout-container {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header du tunnel */
.checkout-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.checkout-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Progress bar */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.progress-step.active {
    color: white;
}

.progress-step.completed {
    color: white;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}

.progress-step.active .progress-circle {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.progress-step.completed .progress-circle {
    background: white;
    color: var(--success-color);
}

.progress-step.completed .progress-circle::before {
    content: '✓';
}

.progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.progress-step.completed + .progress-line {
    background: white;
}

.progress-step span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contenu du tunnel */
.checkout-content {
    padding: 3rem 2rem;
}

.checkout-step {
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.checkout-step h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.step-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Étape 1: Modalités */
.modality-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.modality-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.modality-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.modality-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(217, 70, 166, 0.05), rgba(236, 72, 153, 0.05));
}

.modality-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modality-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.modality-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modality-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.modality-card ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

/* Étape 2: Dates */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.date-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.date-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.date-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(217, 70, 166, 0.1), rgba(236, 72, 153, 0.1));
}

.date-card .date-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.date-card .date-month {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.date-card .date-info {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Étape 3: Formulaire */
.checkout-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 70, 166, 0.1);
}

/* Étape 4: Récapitulatif */
.summary-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: var(--text-color);
}

.summary-item span {
    color: var(--text-light);
}

.payment-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.payment-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.payment-option {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--primary-color);
}

.payment-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
}

.payment-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.price-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Étape 5: Confirmation */
.confirmation-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.confirmation-success h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.confirmation-details {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.confirmation-details h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.confirmation-details ol {
    margin-left: 1.5rem;
}

.confirmation-details li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Actions du tunnel */
.checkout-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .formations-grid,
    .avantages-grid,
    .temoignages-grid {
        grid-template-columns: 1fr;
    }

    /* Compact cards responsive */
    .card-price-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .card-price-cta .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .card-badges-group {
        top: -8px;
        right: 15px;
        gap: 0.35rem;
    }

    .card-badge {
        padding: 0.3rem 0.75rem;
        font-size: 0.75rem;
    }

    .card-rating {
        font-size: 0.85rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Tunnel d'achat responsive */
    .checkout-modal.active {
        padding: 1rem;
    }

    .checkout-progress {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .progress-step span {
        display: none;
    }

    .progress-line {
        display: none;
    }

    .checkout-content {
        padding: 2rem 1.5rem;
    }

    .modality-options {
        grid-template-columns: 1fr;
    }

    .dates-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===================================
   INSTAGRAM FEED
   =================================== */

.instagram-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.instagram-header {
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instagram-post-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.instagram-post:hover .instagram-image {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.instagram-likes,
.instagram-comments {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.instagram-likes svg,
.instagram-comments svg {
    width: 24px;
    height: 24px;
}

.instagram-icon {
    opacity: 0.8;
}

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

.instagram-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.instagram-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.instagram-cta-button svg {
    width: 24px;
    height: 24px;
}

/* Static galleries on formation pages */
.formation-instagram-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.formation-instagram-header {
    text-align: center;
    margin-bottom: 2rem;
}

.formation-instagram-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.formation-instagram-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.formation-instagram-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.formation-instagram-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formation-instagram-gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.formation-instagram-cta {
    text-align: center;
    padding-top: 1rem;
}

.formation-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.formation-instagram-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.formation-instagram-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Instagram Feed */
@media (max-width: 1024px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .instagram-section {
        padding: 3rem 0;
    }

    .instagram-header h2 {
        font-size: 2rem;
    }

    .instagram-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .instagram-cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .formation-instagram-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .formation-instagram-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .instagram-header h2 {
        font-size: 1.75rem;
    }

    .instagram-feed-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .instagram-stats {
        gap: 1rem;
    }

    .instagram-likes,
    .instagram-comments {
        font-size: 0.875rem;
    }

    .instagram-likes svg,
    .instagram-comments svg {
        width: 20px;
        height: 20px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-cta,
    .reservation,
    .footer {
        display: none;
    }
}