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

:root {
    --primary: #D4A762; /* Warm gold/sand color */
    --primary-dark: #B38D4F;
    --secondary: #4A2C1A; /* Deep brown */
    --light: #F8F5F0; /* Cream/light sand */
    --dark: #2A2118;
    --text: #333333;
    --text-light: #2A2118;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

 h3, h4, legend {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--secondary);
}

/* Quote Section (Hero-like) */
.quote-section {
    padding: 4rem 0;
    background-color: var(--light);
    margin-top: 4rem;
}

h2 {
  font-weight: bold;   /* Gras */
  color: black;        /* Noir */
  font-size: 48px;     /* Grande taille (tu peux ajuster selon le besoin) */
}

.quote-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
    color: orange; /* Matching the hôtels/excursions page */
    animation: fadeInUp 1s ease-out;
}

.intro-text {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text-light);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: backwards;
}

/* Form Styling */
.quote-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(212, 167, 98, 0.2);
}

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

.form-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.required::after {
    content: " *";
    color: var(--primary);
}

.hidden {
    display: none;
}

fieldset {
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    padding: 0 0.5rem;
    font-size: 1.5rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-button,
.reset-button {
    display: block;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex: 1;
    cursor: pointer;
}

.submit-button {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.reset-button {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.reset-button:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .quote-section h1 {
        font-size: 3.5rem;
    }
    .intro-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .quote-section {
        padding: 3rem 0;
    }
    .quote-section h1 {
        font-size: 3rem;
    }
    .intro-text {
        font-size: 1.3rem;
    }
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .quote-section h1 {
        font-size: 2.5rem;
    }
    .quote-form {
        padding: 1.5rem;
    }
}

/* Style général */
.service-type-label {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    position: relative;
}

.service-type-label:after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

/* Grille des options */
.service-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

/* Carte d'option */
.service-option-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.service-checkbox {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.service-option-content {
    position: relative;
    height: 100%;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Effets au survol et sélection */
.service-option-card:hover .service-option-content {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e0;
}

.service-checkbox:checked ~ .service-option-content {
    border-color: var(--primary-dark);
    background-color: #f8fafc;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Icônes */
.service-icon {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.service-checkbox:checked ~ .service-option-content .service-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Nom du service */
.service-name {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.2s;
}

.service-checkbox:checked ~ .service-option-content .service-name {
    color: #1a202c;
    font-weight: 600;
}

/* Icône de validation */
.check-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.service-checkbox:checked ~ .service-option-content .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Animation au focus pour accessibilité */
.service-checkbox:focus-visible ~ .service-option-content {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}