/* Apple.com Style - Ultra Clean */

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

/* Fix mobile overflow */
input,
select,
textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    width: 100%;
    max-width: 100%;
}

:root {
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ED;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --border-color: #d2d2d7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Containers */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.container-large {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Hero Section */
.hero {
    background: var(--bg-white);
    padding: 120px 0 80px;
    text-align: center;
}

.logo-text {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.08349;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.007em;
    line-height: 1.14286;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: var(--apple-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--apple-blue-hover);
}

/* Services Section */
.services {
    background: var(--bg-light);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--apple-blue);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 17px;
    color: var(--text-secondary);
}

/* Reservation Section */
.reservation {
    background: var(--bg-white);
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.015em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.subsection-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Form */
.booking-form {
    max-width: 692px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

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

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input,
select,
textarea {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 17px;
    font-family: inherit;
    transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

input[readonly] {
    background: var(--bg-light);
    cursor: not-allowed;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Autocomplete */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: none;
}

.autocomplete-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.15s ease;
}

.suggestion-item:hover {
    background: var(--bg-light);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--apple-blue);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--apple-blue-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--apple-blue);
    border: 1px solid var(--apple-blue);
    margin-bottom: 16px;
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(0, 113, 227, 0.04);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Price Display */
.price-display {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 24px 0;
    display: none;
}

.price-display.show {
    display: block;
}

.price-amount {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.price-note {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border-color);
    margin: 40px 0;
}

/* Messages */
.success-message,
.error-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 24px 0;
    display: none;
    text-align: center;
    font-size: 15px;
}

.success-message.show,
.error-message.show {
    display: block;
}

.success-message {
    background: #d1f4e0;
    color: #0d6832;
}

.error-message {
    background: #ffe5e5;
    color: #d62828;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-section p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-section a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1068px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

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

    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 734px) {
    .container {
        padding: 0 25px !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    
    
    @media (max-width: 734px) {
    input[type="date"],
    input[type="time"] {
        padding: 12px 8px !important;
        font-size: 16px !important;
        
    }
    
    /* Forcer la largeur sur ces champs spécifiques */
    .form-row .form-group:has(input[type="date"]),
    .form-row .form-group:has(input[type="time"]) {
        max-width: calc(100% - 24px) !important;
    }
}
    
    
    

    .booking-form {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        grid-template-columns: 1fr !important;
    }

    .form-row .form-group {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
    }

    input,
    select,
    textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .services {
        padding: 60px 0;
    }

    .reservation {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

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

    .price-amount {
        font-size: 40px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-form {
    animation: fadeIn 0.6s ease-out;
}
