.cards-container {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.card {
    flex: 1 1 450px;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    height: 85dvh;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.forfait-card {
    text-align: center;
}

.card-front,
.card-back {
    height: 100%;
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 2.5rem 2rem;
    box-sizing: border-box;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.card-back {
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
}

.forfait-card.flipped .card-front {
    opacity: 0;
    transform: translateX(-40px);
    pointer-events: none;
}

.forfait-card.flipped .card-back {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.forfait-card h2,
p {
    color: #0077b6;
    margin-bottom: 1rem;
}

.forfait-card .new {
    color: rgb(8, 160, 8);
}

.forfait li {
    list-style: none;
    padding-left: 1.2em;
    position: relative;
}

.forfait li::before {
    content: "-";
    position: absolute;
    left: 20mm;
}

.forfait li.new::before {
    content: "+";
}

.forfait-select-btn {
    display: flex;
    align-items: center;
    margin: 0 auto 4px auto;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 11px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.forfait-select-btn:hover {
    border-color: rgba(0, 0, 0, 0.25);
    background: #f5f9ff;
}

.forfait-select-btn.selected {
    border-color: #0077b6;
    background: #e9f5ff;
}

.fp-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #bbb;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}

.forfait-select-btn.selected .fp-radio {
    border-color: #0077b6;
}

.fp-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0077b6;
    opacity: 0;
    transition: opacity 0.15s;
}

.forfait-select-btn.selected .fp-radio-dot {
    opacity: 1;
}

.fp-label {
    flex: 1;
}

.fp-name {
    font-size: 15px;
    font-weight: 600;
    color: #023e8a;
    margin: 0;
}

.forfait-select-btn.selected .fp-name {
    color: #023e8a;
}

.fp-desc {
    font-size: 12px;
    color: #666;
    margin: 2px 0 0;
}

.forfait-select-btn.selected .fp-desc {
    color: #0077b6;
}

.fp-price {
    font-size: 16px;
    font-weight: 700;
    color: #888;
    flex-shrink: 0;
}

.forfait-select-btn.selected .fp-price {
    color: #023e8a;
}

.forfait ul {
    margin-left: 1.2rem;
    margin-top: 0.5rem;
}

.vehicle-selector {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.vehicle-btn {
    flex: 1;
    background: #e9f5ff;
    border: 2px solid #0077b6;
    border-radius: 14px;
    padding: 0.6rem 0.4rem;
    cursor: pointer;
    font-weight: 600;
    color: #023e8a;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.vehicle-btn span {
    font-size: 0.8rem;
    margin-top: 4px;
}

.vehicle-btn:hover,
.vehicle-btn.active {
    background: #0077b6;
    color: white;
}

.modifier-btn {
    margin-top: 4px;
    margin-bottom: 16px;
    padding: 5px 14px;
    border: 1.5px solid #0077b6;
    border-radius: 14px;
    background: transparent;
    color: #0077b6;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.modifier-btn:hover {
    background: #0077b6;
    color: white;
}

.back-btn {
    margin-top: 1.5rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: none;
    background: #d62828;
    color: white;
    cursor: pointer;
}

.contact-card {
    overflow-y: hidden;
    padding: 2.5rem 2rem;
    text-align: center;
}

.subtitle {
    font-weight: 600;
    color: #023e8a;
    margin-bottom: 0.5rem;
}

.notice {
    color: #d62828;
    font-weight: bold;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    text-align: left;
    color: #023e8a;
}

.contact-form input,
.contact-form textarea {
    padding: 0.65rem 1rem;
    margin-top: 0.25rem;
    border: 2px solid #0077b6;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.group-of-2 {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.group-of-2 label {
    flex: 1;
}

.group-of-2 input {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    resize: none;
}

.group-of-2:first-of-type label:first-child {
    flex: 1.75;
}

.group-of-2:first-of-type label:last-child {
    flex: 1;
}

textarea[name="message"] {
    min-height: 200px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d62828;
    box-shadow: 0 0 12px rgba(214, 40, 40, 0.3);
}

.contact-form button {
    padding: 0.8rem;
    background-color: #0077b6;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form button:hover {
    background-color: #023e8a;
}




#suggestions {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 220px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

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

.suggestion-item:hover {
    background: #f5f5f5;
}

.suggestion-main {
    font-weight: 500;
}

.suggestion-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}