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

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #2E2E2E;
    background-color: #ffffff;
    line-height: 1.6;
}

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

/* Navigation */
nav {
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #002366;
    text-decoration: none;
}

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

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #D4AF37;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #002366;
    color: white !important;
}

.btn-primary:hover {
    background: #001a4d;
}

.btn-outline {
    border: 2px solid #D4AF37;
    color: #D4AF37;
    background: transparent;
}

.btn-outline:hover {
    background: #D4AF37;
    color: #2E2E2E;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2E2E2E;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
}

.bg-light {
    background: #f8f9fa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #2E2E2E;
}

.highlight {
    color: #D4AF37;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* À propos */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #2E2E2E;
}

.about-text .spaced {
    margin-bottom: 1.5rem;
    color: #666;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border-left: 4px solid #D4AF37;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: #002366;
}

/* Services */
.pricing-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.pricing-card h3 {
    color: #002366;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.sprint-info {
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.tooltip {
    position: relative;
    cursor: help;
    color: #002366;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.tooltip:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    max-width: 300px;
    white-space: normal;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    z-index: 1000;
}

.calculator-link {
    color: #002366;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-left: 0.25rem;
    transition: color 0.2s;
}

.calculator-link:hover {
    color: #001a4d;
    text-decoration: none;
}

/* Processus */
.process-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.process-section h3 {
    color: #002366;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: #002366;
    margin-bottom: 0.5rem;
}

.process-note {
    background: #e8f4fd;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #002366;
    margin-top: 2rem;
}

/* Limitations */
.limitations {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff3cd;
    border-radius: 0.5rem;
    border-left: 4px solid #ffc107;
}

.limitations h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.limitations ul {
    list-style: none;
}

.limitations li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Calculateur de devis */
.calculator-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.included-by-default {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.included-by-default h3 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.included-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.included-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #bae6fd;
}

.included-name {
    color: #0c4a6e;
    font-weight: 500;
    font-size: 0.9rem;
}

.included-price {
    color: #059669;
    font-weight: 600;
    font-size: 0.9rem;
}

.included-price.to-add {
    color: #d97706;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.feature-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: #f9fafb;
}

.category h3 {
    margin-bottom: 1rem;
    color: #002366;
    font-size: 1.1rem;
}

.feature-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.feature-option:hover {
    border-color: #D4AF37;
    background: #fefce8;
}

.feature-option input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
}

.feature-option input[type="checkbox"]:checked + .feature-name {
    color: #002366;
    font-weight: 600;
}

.feature-option:has(input[type="checkbox"]:checked) {
    border-color: #D4AF37;
    background: #fefce8;
}

.feature-name {
    flex: 1;
    color: #374151;
    font-size: 0.9rem;
}

.feature-price {
    color: #D4AF37;
    font-weight: 600;
    font-size: 0.9rem;
}

.extra-pages-input {
    margin-top: 0.5rem;
    margin-left: 2rem;
}

.extra-pages-input label {
    font-size: 0.8rem;
    color: #6b7280;
}

.extra-pages-input input {
    width: 80px;
    margin-left: 0.5rem;
    padding: 0.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
}

/* Résumé du calculateur */
.calculator-summary {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid #D4AF37;
}

.summary-card h3 {
    color: #002366;
    margin-bottom: 1.5rem;
    text-align: center;
}

.total-breakdown {
    margin-bottom: 1.5rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.total-line:last-child {
    border-bottom: none;
}

.total-final {
    border-top: 2px solid #D4AF37;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.1rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
}

.selected-features {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
}

.selected-features h4 {
    color: #002366;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.selected-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.selected-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.selected-features li:last-child {
    border-bottom: none;
}

.selected-features .feature-name {
    color: #374151;
    flex: 1;
}

.selected-features .feature-price {
    color: #D4AF37;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Calendrier de réservation */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin: 2rem 0;
    align-items: start;
}

.booking-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.booking-info h3 {
    color: #002366;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.availability-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.availability-item {
    font-size: 0.95rem;
    color: #495057;
}

.calendar-container {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.calendar-header h3 {
    color: #002366;
    font-size: 1.25rem;
    margin: 0;
}

.calendar-nav {
    background: #002366;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.2s;
}

.calendar-nav:hover {
    background: #001a4d;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: #002366;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #e3f2fd;
    border-color: #002366;
}

.calendar-day.selected {
    background: #002366;
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.empty {
    cursor: default;
}

.time-slots {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.time-slots h4 {
    color: #002366;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

.time-slot {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-align: center;
}

.time-slot:hover {
    background: #002366;
    color: white;
    border-color: #002366;
}

/* Contact info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
}

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

.contact-item a {
    color: #002366;
    text-decoration: underline;
}

.contact-item a:hover {
    color: #001a4d;
}

/* Footer */
footer {
    background: #2E2E2E;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer ul li a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-section {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}
