/* Font personnalisée */
@font-face {
    font-family: 'Futury';
    src: url('./font/Futury-Light.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset et base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Futury', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header et Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}   

.nav-logo h2 {
    color: #06c167;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-logo .logo {
    height: 85px;
    width: auto;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.footer .logo-footer {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-slogan {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: #06c167 !important;
    font-style: italic;
    margin-bottom: 0.8rem !important;
    text-shadow: 0 1px 3px rgba(6, 193, 103, 0.3);
    position: relative;
}

.footer-slogan::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #06c167, transparent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #06c167;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #06c167;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2d3748;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #06c167 0%, #05a356 100%);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(6, 193, 103, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #05a356 0%, #10b981 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 193, 103, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #06c167;
    border: 2px solid #06c167;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06c167, #05a356);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 193, 103, 0.3);
}

.btn-outline {
    background: transparent;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f7fafc;
    border-color: #06c167;
    color: #06c167;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #e6fffa 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding-left: 8%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 193, 103, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #06c167, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: left;
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
    /* animation: shimmer 3s ease-in-out infinite; */
}

.hero-slogan::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(6, 193, 103, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slogan:hover::before {
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: #06c167;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(6, 193, 103, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #06c167, #05a356, #10b981);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4.5rem;
    box-shadow:
        0 25px 50px rgba(6, 193, 103, 0.3),
        0 10px 20px rgba(6, 193, 103, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    /* animation: float 6s ease-in-out infinite; */
    position: relative;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #06c167, #05a356);
    border-radius: 35px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #06c167, #05a356, #10b981);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    /* animation: float 10s linear infinite; */
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-slogan {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 1rem !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s;
    border-radius: 25px;
}

.page-slogan:hover::before {
    left: 100%;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a202c;
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 193, 103, 0.1), transparent);
    transition: left 0.8s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(6, 193, 103, 0.1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #06c167, #05a356, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    box-shadow:
        0 10px 30px rgba(6, 193, 103, 0.3),
        0 0 0 10px rgba(6, 193, 103, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #06c167, #05a356);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 15px 40px rgba(6, 193, 103, 0.4),
        0 0 0 15px rgba(6, 193, 103, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 18px;
    text-align: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 193, 103, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 0 15px rgba(6, 193, 103, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #06c167;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.services-cta {
    text-align: center;
}

/* Products/Services Page */
.products-section {
    padding: 80px 0;
    background: #f7fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card.featured {
    border-color: #06c167;
    transform: scale(1.02);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06c167, #05a356);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.product-badge {
    background: #06c167;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.premium {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.product-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.product-features .fa-check {
    color: #06c167;
}

.product-price {
    margin-bottom: 1.5rem;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #06c167;
}

.price-detail {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #1a202c;
}

.text-green {
    color: #06c167;
}

.text-red {
    color: #e53e3e;
}

/* About Page Specific */
.story-section {
    padding: 80px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.story-text p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #06c167, #05a356);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f7fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: #a0aec0;
}

.member-role {
    color: #06c167;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #4a5568;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #06c167;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Timeline */
.origin-story {
    padding: 80px 0;
    background: #f7fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #06c167;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #06c167;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -25px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    color: #06c167;
    margin-bottom: 0.5rem;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: white;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.mission-text {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #06c167;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4a5568;
    font-weight: 600;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background: #f7fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #06c167;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-info h3 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.method-info p {
    color: #2d3748;
    font-weight: 600;
}

.method-info small {
    color: #4a5568;
}

.emergency-contact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fed7d7;
    border-radius: 12px;
    border-left: 4px solid #e53e3e;
}

.emergency-icon {
    color: #e53e3e;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.emergency-number {
    font-weight: bold;
    color: #e53e3e;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06c167;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.link {
    color: #06c167;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
}

.faq-item h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: #f7fafc;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.location-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.address,
.business-hours,
.access-info {
    margin-bottom: 2rem;
}

.business-hours h4,
.access-info h4 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.business-hours ul {
    list-style: none;
}

.business-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.access-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Interactive Map Styles */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(6, 193, 103, 0.2);
    background: white;
}

.interactive-map {
    height: 400px;
    width: 100%;
    position: relative;
}

/* Custom Marker Styles */
.custom-marker {
    background: transparent;
}

.marker-pin {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-pin::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #06c167, #05a356);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 8px 20px rgba(6, 193, 103, 0.4);
    animation: bounce 2s infinite;
}

.marker-icon {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.2rem;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    40% {
        transform: rotate(-45deg) translateY(-10px);
    }
    60% {
        transform: rotate(-45deg) translateY(-5px);
    }
}

/* Map Popup Styles */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(6, 193, 103, 0.3);
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(6, 193, 103, 0.3);
}

.map-popup {
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.map-popup h3 {
    color: #06c167;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-popup p {
    margin: 8px 0;
    color: #4a5568;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.map-popup i {
    color: #06c167;
    width: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.popup-btn {
    background: linear-gradient(135deg, #06c167, #05a356);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(6, 193, 103, 0.3);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 193, 103, 0.4);
    background: linear-gradient(135deg, #05a356, #10b981);
}

.zone-popup {
    text-align: center;
    padding: 10px;
}

.zone-popup h4 {
    color: #06c167;
    margin: 0 0 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zone-popup p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Custom Control Styles */
.leaflet-control-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(6, 193, 103, 0.2);
}

.control-btn {
    background: linear-gradient(135deg, #06c167, #05a356);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: linear-gradient(135deg, #05a356, #10b981);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(6, 193, 103, 0.4);
}

/* Responsive Map */
@media (max-width: 768px) {
    .interactive-map {
        height: 300px;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .popup-btn {
        justify-content: center;
    }
}

.map-placeholder {
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.map-content {
    text-align: center;
    color: #a0aec0;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #06c167, #05a356, #10b981);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    /* animation: float 15s linear infinite; */
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    transform: skewY(-1deg);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: #06c167;
}

.cta-buttons .btn-primary:hover {
    background: #f7fafc;
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #06c167;
}

/* Legal Content Styles */
.legal-content {
    padding: 60px 0;
    background: white;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
}

.legal-document h2 {
    color: #1a202c;
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #06c167;
}

.legal-document h2:first-of-type {
    margin-top: 0;
}

.legal-document h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.legal-section p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.legal-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section ol li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #718096;
    font-style: italic;
}

.legal-footer hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #06c167;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #06c167;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-placeholder {
        width: 250px;
        height: 250px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 4rem !important;
        padding-right: 0 !important;
    }

    .timeline-marker {
        left: -5px !important;
        right: auto !important;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.feature-card,
.service-card,
.product-card,
.team-member {
    /* animation: fadeInUp 0.6s ease-out; */
    opacity: 1 !important;
    transform: none !important;
}

.feature-card:hover,
.service-card:hover,
.product-card:hover {
    /* animation: pulse 2s infinite; */
}

/* Smooth scrolling for older browsers */
html {
    scroll-behavior: smooth;
}

/* Order Page Styles */
.order-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e6fffa 100%);
}

.order-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.order-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.order-form h2 {
    color: #1a202c;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(6, 193, 103, 0.1);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #06c167;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #06c167, #10b981);
    border-radius: 2px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: #06c167;
    background: rgba(6, 193, 103, 0.05);
}

.payment-option input[type="radio"] {
    margin: 0;
}

.payment-option input[type="radio"]:checked + .payment-icon + span {
    color: #06c167;
    font-weight: 600;
}

.payment-option:has(input[type="radio"]:checked) {
    border-color: #06c167;
    background: rgba(6, 193, 103, 0.1);
}

.payment-icon {
    font-size: 1.5rem;
    color: #4a5568;
    transition: color 0.3s ease;
}

.payment-option:has(input[type="radio"]:checked) .payment-icon {
    color: #06c167;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1.5rem;
}

.order-summary {
    position: sticky;
    top: 100px;
}

.summary-card,
.help-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(6, 193, 103, 0.1);
    margin-bottom: 2rem;
}

.summary-card h3,
.help-card h4 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    color: #4a5568;
}

.summary-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06c167;
    border-top: 2px solid rgba(6, 193, 103, 0.2);
    margin-top: 1rem;
    padding-top: 1rem;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 193, 103, 0.3), transparent);
    margin: 1rem 0;
}

.summary-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(6, 193, 103, 0.1);
}

.summary-info h4 {
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.summary-info ul {
    list-style: none;
    padding: 0;
}

.summary-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.summary-info li i {
    color: #06c167;
    font-size: 1rem;
    width: 16px;
}

.help-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.help-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(6, 193, 103, 0.1);
    border: 1px solid rgba(6, 193, 103, 0.2);
    border-radius: 10px;
    color: #06c167;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.help-btn:hover {
    background: rgba(6, 193, 103, 0.2);
    border-color: #06c167;
    transform: translateY(-2px);
}

.help-btn i {
    font-size: 1.1rem;
}

/* Restaurant Menu Styles */
.restaurant-menu {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(6, 193, 103, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(6, 193, 103, 0.2);
}

.restaurant-menu h4 {
    color: #06c167;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.menu-categories {
    display: grid;
    gap: 1.5rem;
}

.menu-category {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.category-title {
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(6, 193, 103, 0.2);
}

.menu-items {
    display: grid;
    gap: 0.8rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    border-color: #06c167;
    background: rgba(6, 193, 103, 0.05);
    transform: translateY(-1px);
}

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.2rem;
}

.menu-item-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.3;
}

.menu-item-price {
    font-weight: 700;
    color: #06c167;
    font-size: 1.1rem;
    margin-left: 1rem;
}

.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #06c167;
    background: white;
    color: #06c167;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #06c167;
    color: white;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: #1a202c;
}

/* Order Cart Styles */
.order-cart {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(6, 193, 103, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(6, 193, 103, 0.2);
}

.order-cart h4 {
    color: #06c167;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-items {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.2rem;
}

.cart-item-details {
    font-size: 0.85rem;
    color: #6b7280;
}

.cart-item-quantity {
    font-weight: 600;
    color: #06c167;
    margin: 0 1rem;
}

.cart-item-price {
    font-weight: 700;
    color: #1a202c;
}

.cart-item-remove {
    background: #ef4444;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.cart-total {
    text-align: right;
    padding-top: 1rem;
    border-top: 2px solid rgba(6, 193, 103, 0.2);
    font-size: 1.1rem;
    color: #06c167;
}

.empty-cart {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
}

/* Responsive pour la page de commande */
@media (max-width: 968px) {
    .order-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary {
        position: static;
        order: -1;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .order-form-container,
    .summary-card,
    .help-card {
        padding: 1.5rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* Animations simples et professionnelles */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gentleBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(6, 193, 103, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(6, 193, 103, 0);
    }
}

/* Animations au chargement de page */
.hero-content {
    animation: slideInFromLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInFromRight 0.8s ease-out 0.2s both;
}

.hero h1 {
    animation: fadeInScale 1s ease-out 0.3s both;
}

.hero-slogan {
    animation: slideInFromLeft 0.8s ease-out 0.5s both;
}

.hero-subtitle {
    animation: slideInFromLeft 0.8s ease-out 0.6s both;
}

.hero-description {
    animation: slideInFromLeft 0.8s ease-out 0.7s both;
}

.hero-buttons {
    animation: fadeInScale 0.8s ease-out 0.8s both;
}

/* Animations pour les cartes avec délai */
.feature-card:nth-child(1) { animation: fadeInScale 0.6s ease-out 0.2s both; }
.feature-card:nth-child(2) { animation: fadeInScale 0.6s ease-out 0.4s both; }
.feature-card:nth-child(3) { animation: fadeInScale 0.6s ease-out 0.6s both; }
.feature-card:nth-child(4) { animation: fadeInScale 0.6s ease-out 0.8s both; }

.service-card:nth-child(1) { animation: slideInFromLeft 0.6s ease-out 0.2s both; }
.service-card:nth-child(2) { animation: fadeInScale 0.6s ease-out 0.4s both; }
.service-card:nth-child(3) { animation: slideInFromRight 0.6s ease-out 0.6s both; }

/* Améliorations des transitions existantes */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-primary:hover {
    animation: pulseGlow 2s infinite;
}

/* Animations pour les icônes */
.feature-icon i,
.service-icon i,
.value-icon i {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon i,
.service-card:hover .service-icon i,
.value-card:hover .value-icon i {
    transform: scale(1.2) rotate(5deg);
    animation: gentleBounce 1.5s ease-in-out;
}

/* Animations pour la navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06c167, #10b981);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: #06c167;
    transform: translateY(-2px);
}

/* Animations pour les images/placeholders */
.hero-placeholder,
.story-placeholder {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-placeholder:hover,
.story-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(6, 193, 103, 0.3);
}

/* Animation pour les inputs focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 3px rgba(6, 193, 103, 0.1);
}

/* Animations pour les équipes */
.team-member {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover {
    transform: translateY(-8px) scale(1.02);
}

.member-photo {
    transition: all 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.1);
}

/* Animation pour les timelines */
.timeline-item {
    animation: slideInFromLeft 0.6s ease-out both;
}

.timeline-item:nth-child(even) {
    animation: slideInFromRight 0.6s ease-out both;
}

/* Animations pour les statistiques */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-number {
    animation: pulseGlow 1.5s ease-in-out;
}

/* Animation smooth pour le logo */
.logo {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.1) rotate(-2deg);
}

/* Animations pour les éléments sociaux */
.social-links a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    animation: gentleBounce 1s ease-in-out;
}

/* Animation pour les prix en highlighted */
.product-card.featured {
    animation: pulseGlow 3s infinite;
}

/* Animation loading pour les interactions */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Micro-animations pour UX */
.quantity-btn:hover {
    animation: gentleBounce 0.6s ease-in-out;
}

.cart-item-remove:hover {
    animation: pulseGlow 1s ease-in-out;
    transform: scale(1.2) rotate(90deg);
}

.payment-option:hover {
    animation: fadeInScale 0.3s ease-out;
}

/* Bouton scroll-to-top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #06c167, #05a356, #10b981);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 25px rgba(6, 193, 103, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #05a356, #10b981, #06c167);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(6, 193, 103, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15);
    animation: pulseGlow 2s infinite;
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(0.95);
    transition: all 0.1s ease;
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
    animation: gentleBounce 1s ease-in-out;
}

/* Responsive pour le bouton */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #06c167;
    outline-offset: 2px;
}

/* Authentication Pages Styles */
.auth-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #e6fffa 100%);
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-container.login-container {
    max-width: 1100px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06c167, #05a356);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(6, 193, 103, 0.3);
}

.auth-header h1 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 600;
}

.auth-form label i {
    color: #06c167;
    width: 16px;
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #06c167;
}

.form-section-header {
    margin: 2rem 0 1.5rem;
}

.form-section-header h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.form-section-header p {
    color: #6b7280;
    font-size: 0.9rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #4a5568;
}

.auth-footer .link {
    color: #06c167;
    font-weight: 600;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
    transform: translateY(-2px);
}

.social-btn.google-btn {
    color: #ea4335;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-benefits h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(6, 193, 103, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06c167;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: #1a202c;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.benefit-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-promo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.promo-card {
    background: linear-gradient(135deg, #06c167 0%, #05a356 100%);
    padding: 2rem;
    border-radius: 16px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 25px rgba(6, 193, 103, 0.3);
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

.promo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.promo-description {
    opacity: 0.95;
    margin-bottom: 1rem;
}

.promo-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    margin: 1rem 0;
}

.promo-code code {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.quick-stats {
    display: grid;
    gap: 1rem;
}

.quick-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.quick-stats .stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(6, 193, 103, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06c167;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-stats .stat-info {
    text-align: left;
}

.quick-stats .stat-info strong {
    display: block;
    font-size: 1.2rem;
    color: #1a202c;
}

.quick-stats .stat-info span {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Profile Page Styles */
.profile-section {
    padding: 80px 0;
    background: #f7fafc;
    min-height: calc(100vh - 100px);
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.profile-header h1 i {
    color: #06c167;
}

.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-nav {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.profile-nav-link i {
    font-size: 1.1rem;
    width: 20px;
}

.profile-nav-link:hover {
    background: rgba(6, 193, 103, 0.1);
    color: #06c167;
}

.profile-nav-link.active {
    background: linear-gradient(135deg, #06c167 0%, #05a356 100%);
    color: white;
}

.profile-nav-link .badge {
    margin-left: auto;
    background: #06c167;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.profile-nav-link.active .badge {
    background: rgba(255, 255, 255, 0.3);
}

.profile-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-main {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.profile-section-content {
    display: none;
}

.profile-section-content.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(6, 193, 103, 0.2);
}

.section-header h2 {
    font-size: 1.8rem;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h2 i {
    color: #06c167;
}

.profile-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.profile-card h3 {
    color: #1a202c;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.profile-form input:disabled,
.profile-form select:disabled {
    background: #e2e8f0;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.account-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.account-info h3 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-label {
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    color: #1a202c;
    font-weight: 600;
}

/* Orders Section */
.order-filter {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    color: #4a5568;
    cursor: pointer;
}

.orders-container {
    display: grid;
    gap: 1.5rem;
}

.order-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.order-id strong {
    color: #1a202c;
    font-size: 1.1rem;
}

.order-date {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(6, 193, 103, 0.1);
}

.order-details {
    margin-bottom: 1rem;
}

.order-info {
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4a5568;
}

.info-row i {
    color: #06c167;
    width: 16px;
}

.order-items {
    margin-top: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.order-items h4 {
    color: #1a202c;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.order-items ul {
    list-style: none;
    padding: 0;
}

.order-items li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.order-items li:last-child {
    border-bottom: none;
}

.order-pricing {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #4a5568;
}

.price-row.total {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid #e2e8f0;
    font-size: 1.2rem;
}

.order-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

/* Navigation Auth Buttons */
.nav-auth,
.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 193, 103, 0.1);
    border: 1px solid rgba(6, 193, 103, 0.2);
    border-radius: 25px;
    color: #06c167;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(6, 193, 103, 0.15);
    border-color: #06c167;
}

.user-btn i.fa-user-circle {
    font-size: 1.5rem;
}

.user-btn i.fa-chevron-down {
    font-size: 0.75rem;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-dropdown-menu a:hover {
    background: rgba(6, 193, 103, 0.1);
    color: #06c167;
}

.user-dropdown-menu a i {
    width: 16px;
    font-size: 1rem;
}

/* Responsive Styles for Authentication */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-benefits,
    .auth-promo {
        display: none;
    }

    .profile-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-sidebar {
        position: sticky;
        top: 80px;
        z-index: 10;
    }

    .profile-nav {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .profile-nav-link {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }

    .profile-quick-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .nav-auth,
    .nav-user {
        display: none;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .profile-main {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .order-actions {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* ===============================
   Styles pour l'A2F (Authentification à deux facteurs)
   =============================== */

.security-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.a2f-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator i {
    font-size: 1.5rem;
}

.a2f-setup {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.setup-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #06c167;
}

.setup-step h4 {
    color: #1a202c;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setup-step h4 i {
    color: #06c167;
}

.setup-step p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qr-code {
    display: inline-block;
}

.qr-code img {
    border-radius: 8px;
}

.manual-entry {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(6, 193, 103, 0.05);
    border-radius: 8px;
}

.manual-entry p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.secret-key {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.secret-key code {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.btn-copy {
    background: #06c167;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-copy:hover {
    background: #05a356;
    transform: scale(1.05);
}

.recovery-codes-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #dbeafe;
    color: #1e3a8a;
    border-left: 4px solid #3b82f6;
}

.alert strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alert p {
    margin: 0;
    line-height: 1.6;
}

.recovery-codes {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.recovery-code {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.recovery-code:hover {
    border-color: #06c167;
    box-shadow: 0 2px 8px rgba(6, 193, 103, 0.2);
}

.recovery-code code {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.codes-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.disable-a2f {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.disable-a2f .alert {
    margin-bottom: 1.5rem;
}

.disable-a2f button {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    color: #1a202c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-content h3 i {
    color: #f59e0b;
}

.modal-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive styles for A2F */
@media (max-width: 768px) {
    .a2f-status {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .status-indicator {
        justify-content: center;
    }

    .codes-grid {
        grid-template-columns: 1fr;
    }

    .codes-actions {
        flex-direction: column;
    }

    .codes-actions button {
        width: 100%;
    }

    .disable-a2f button {
        width: 100%;
        margin-right: 0;
    }

    .modal-content {
        padding: 2rem;
    }

    .secret-key {
        flex-direction: column;
    }

    .secret-key code {
        font-size: 0.9rem;
    }
}

/* ===============================
   Styles pour l'A2F lors de la connexion
   =============================== */

.two-factor-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(6, 193, 103, 0.1) 0%, rgba(5, 163, 86, 0.05) 100%);
    border-radius: 12px;
}

.two-factor-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #06c167 0%, #05a356 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(6, 193, 103, 0.3);
}

.two-factor-icon i {
    font-size: 2rem;
    color: white;
}

.two-factor-header h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.two-factor-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

#twoFactorVerification {
    animation: fadeInSlide 0.4s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#twoFactorCode,
#recoveryCode {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    font-family: 'Courier New', monospace;
}

.btn-link {
    background: none;
    border: none;
    color: #06c167;
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-link:hover {
    color: #05a356;
    text-decoration: underline;
}

/* Responsive pour A2F connexion */
@media (max-width: 576px) {
    .two-factor-header h2 {
        font-size: 1.5rem;
    }

    .two-factor-icon {
        width: 60px;
        height: 60px;
    }

    .two-factor-icon i {
        font-size: 1.5rem;
    }

    #twoFactorCode,
    #recoveryCode {
        font-size: 1.2rem;
        letter-spacing: 0.2em;
    }
}

/* ===============================
   Message informatif pour les champs désactivés
   =============================== */

.info-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-message i {
    font-size: 1.3rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.info-message .link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.info-message .link:hover {
    color: #1d4ed8;
}

/* Style pour les champs désactivés dans le formulaire de commande */
.order-form input:disabled,
.order-form select:disabled,
.order-form textarea:disabled {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #d1d5db;
    opacity: 0.7;
}

/* Responsive pour les messages informatifs */
@media (max-width: 576px) {
    .info-message {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }

    .info-message i {
        font-size: 1.5rem;
    }
}

/* ===============================
   Styles pour les cartes bancaires
   =============================== */

.saved-cards-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
}

.payment-card.default-card {
    background: linear-gradient(135deg, #06c167 0%, #05a356 100%);
    box-shadow: 0 8px 20px rgba(6, 193, 103, 0.3);
}

.payment-card.default-card:hover {
    box-shadow: 0 12px 25px rgba(6, 193, 103, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-brand i {
    font-size: 2rem;
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.card-number {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
}

.card-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.card-holder,
.card-expiry {
    flex: 1;
}

.card-holder small,
.card-expiry small {
    display: block;
    opacity: 0.7;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.card-holder span,
.card-expiry span {
    font-weight: 600;
}

.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.card-actions .btn-link {
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.card-actions .btn-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.card-actions .text-danger {
    color: #ff6b6b !important;
}

.card-actions .text-danger:hover {
    color: #ff5252 !important;
}

.add-card-form {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 2px solid #e2e8f0;
}

.add-card-form h4 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-card-form h4 i {
    color: #06c167;
}

/* Animation pour le formatage automatique */
#cardNumber,
#cardExpiry,
#cardCVV {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Style spécial pour le CVV (sécurité) */
#cardCVV {
    -webkit-text-security: disc;
    text-security: disc;
}

#cardCVV:focus {
    -webkit-text-security: none;
    text-security: none;
}

/* Responsive pour les cartes */
@media (max-width: 768px) {
    .payment-card {
        padding: 1.25rem;
    }

    .card-number {
        font-size: 1.1rem;
    }

    .card-details {
        gap: 1rem;
    }

    .card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .card-actions .btn-link {
        justify-content: flex-start;
    }
}