/* ===========================
   Variables CSS
   =========================== */
:root {
    --primary-color: #2d7a3e;
    --primary-dark: #1f5a2d;
    --primary-light: #3a9850;
    --secondary-color: #f8b500;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Image principale - Imgur */
    background-image: url('https://i.imgur.com/Ql97VsA.png');
    /* Image de secours - Unsplash (paysage/jardinage) */
    background-image: 
        url('https://i.imgur.com/Ql97VsA.png'),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1f5a2d;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.3) 0%, rgba(31, 90, 45, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
}

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

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #e0a500;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-nav {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

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

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: var(--text-white);
    font-size: 2rem;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===========================
   Catalogue Section
   =========================== */
.catalogue {
    padding: 5rem 0;
    background: var(--bg-white);
}

.pricing-info {
    text-align: center;
    margin: 2rem 0;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-badge i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.pricing-badge strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.pricing-badge span {
    padding: 0.25rem 0.75rem;
    background: var(--success-color);
    color: white;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

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

.machine-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.machine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.machine-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.machine-content {
    padding: 1.5rem;
}

.machine-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--text-white);
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.machine-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.machine-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.machine-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

.machine-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

.availability-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.availability-badge.available {
    background: #d4edda;
    color: #155724;
}

.availability-badge.unavailable {
    background: #f8d7da;
    color: #721c24;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===========================
   Reservation Section
   =========================== */
.reservation {
    padding: 5rem 0;
    background: var(--bg-light);
}

.degressive-info {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 4px solid var(--success-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.degressive-info i {
    color: var(--success-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.degressive-info span {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

.degressive-info strong {
    color: var(--success-color);
    font-weight: 700;
}

.reservation-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.reservation-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.machine-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.machine-info-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.machine-info-content img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.machine-info-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.machine-info-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.machine-info-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calendar-title,
.form-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.calendar-title i,
.form-title i {
    color: var(--primary-color);
}

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

.calendar-navigation h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day.header {
    font-weight: 700;
    color: var(--text-dark);
    background: var(--bg-light);
    cursor: default;
    border: none;
}

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

.calendar-day.past {
    color: var(--text-light);
    background: var(--bg-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.available:hover {
    border-color: var(--primary-color);
    background: rgba(45, 122, 62, 0.1);
}

.calendar-day.reserved {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.calendar-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--border-color);
}

.legend-color.available {
    background: var(--bg-white);
}

.legend-color.reserved {
    background: #f8d7da;
}

.legend-color.selected {
    background: var(--primary-color);
}

.reservation-summary {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin: 2rem 0;
}

.reservation-summary h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

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

.summary-item.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--primary-color);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

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

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Toast Notification
   =========================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--text-dark);
    color: var(--text-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateY(200px);
    opacity: 0;
    transition: var(--transition);
    z-index: 9999;
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--danger-color);
}

.toast.warning {
    background: var(--warning-color);
    color: var(--text-dark);
}

/* ===========================
   Livraison Section
   =========================== */
.livraison {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.livraison-content {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.livraison-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.livraison-intro i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.livraison-intro h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.livraison-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.tarif-card {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tarif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

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

.tarif-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tarif-card .rayon {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tarif-card .distance {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tarif-card .prix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tarif-card.special {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-color: var(--secondary-color);
}

.tarif-card.special::before {
    background: linear-gradient(90deg, var(--secondary-color), #ffc107);
}

.tarif-card.special .rayon,
.tarif-card.special .prix {
    color: var(--secondary-color);
}

.livraison-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
}

.livraison-note i {
    color: #17a2b8;
    margin-right: 0.5rem;
}

.livraison-note p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.8;
}

.livraison-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--border-color);
}

.livraison-cta h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.livraison-cta .contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.livraison-cta .contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.livraison-cta .contact-info a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

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

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

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

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

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

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

    .machine-info-content {
        flex-direction: column;
        text-align: center;
    }

    .livraison-content {
        padding: 1.5rem;
    }

    .tarifs-livraison {
        grid-template-columns: 1fr;
    }

    .livraison-cta .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

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

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

    .social-links {
        justify-content: center;
    }

    .toast {
        left: 1rem;
        right: 1rem;
    }
    
    .pricing-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .degressive-info {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .reservation-form-container {
        padding: 1.5rem;
    }

    .calendar {
        gap: 0.25rem;
    }

    .calendar-day {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* ==================== SÉLECTION MULTIPLE DE MACHINES ====================*/

.machines-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.machine-selection-card {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.machine-selection-card:hover {
    border-color: #2ecc71;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.2);
}

.machine-selection-card.selected {
    border-color: #2ecc71;
    background: #f0fff4;
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

.machine-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
    accent-color: #2ecc71;
}

.machine-selection-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.machine-selection-body {
    padding: 20px;
}

.machine-selection-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.machine-selection-category {
    display: inline-block;
    background: #e8f5e9;
    color: #2ecc71;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.machine-selection-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 12px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.machine-selection-price {
    font-size: 22px;
    font-weight: 700;
    color: #2ecc71;
    display: flex;
    align-items: center;
    gap: 5px;
}

.machine-selection-price i {
    font-size: 18px;
}

.selected-count {
    background: #2ecc71;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

.selected-machines-summary {
    background: #f0fff4;
    border: 2px solid #2ecc71;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-machines-list {
    display: grid;
    gap: 15px;
}

.selected-machine-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-machine-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.selected-machine-details {
    flex: 1;
}

.selected-machine-name {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.selected-machine-price {
    font-size: 14px;
    color: #2ecc71;
    font-weight: 600;
}

.remove-machine-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.remove-machine-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.loading-text {
    text-align: center;
    padding: 40px;
    color: #95a5a6;
    font-style: italic;
}

/* Styles pour la nouvelle implémentation de sélection multiple */
.machine-checkbox {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.machine-checkbox:hover:not(.disabled) {
    border-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}

.machine-checkbox.selected {
    border-color: #2ecc71;
    background: #f0fff4;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.machine-checkbox.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.checkbox-wrapper {
    position: relative;
    flex-shrink: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #2ecc71;
}

.checkbox-wrapper input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.machine-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.machine-info {
    flex: 1;
    min-width: 0;
}

.machine-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.machine-cat {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0 0 5px 0;
}

.machine-price {
    font-size: 18px;
    font-weight: 700;
    color: #2ecc71;
    margin: 0;
}

.badge-unavailable {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 5px;
}

.machine-mini-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.machine-mini-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.machine-mini-info strong {
    font-size: 14px;
    color: #2c3e50;
}

.machine-mini-info span {
    font-size: 14px;
    color: #2ecc71;
    font-weight: 600;
}

.btn-remove-machine {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-remove-machine:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.btn-remove-machine i {
    pointer-events: none;
}

@media (max-width: 768px) {
    .machines-selection-grid {
        grid-template-columns: 1fr;
    }
    
    .selected-machine-item {
        flex-direction: column;
        text-align: center;
    }
    
    .machine-checkbox {
        flex-direction: column;
        text-align: center;
    }
    
    .machine-thumb {
        width: 100%;
        height: 120px;
    }
}

/* ==================== SÉLECTION D'ACCESSOIRES ====================*/

.accessories-container {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.accessories-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c6b2f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accessories-title i {
    color: #2ecc71;
}

.accessories-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.accessory-card {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.accessory-card:hover {
    border-color: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}

.accessory-card.selected {
    border-color: #2ecc71;
    background: #f0fff4;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.accessory-card input[type="radio"] {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2ecc71;
}

.accessory-icon {
    font-size: 40px;
    color: #2ecc71;
    margin-bottom: 15px;
    text-align: center;
}

.accessory-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.accessory-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 12px;
}

.accessory-price {
    font-size: 16px;
    font-weight: 600;
    color: #2ecc71;
}

.accessory-price.included {
    color: #27ae60;
    font-style: italic;
}

.accessory-badge {
    display: inline-block;
    background: #2ecc71;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .accessories-grid {
        grid-template-columns: 1fr;
    }
    
    .accessory-card {
        padding: 15px;
    }
}

