/* Variables - Ambiance Cali & Montagne */
:root {
    --color-sky: #4CA1AF;
    --color-sunset: #FF7E67;
    --color-sunset-hover: #E56A54;
    --color-alpine: #2C5364;
    --color-white: #FFFFFF;
    --color-bg-light: #F9FAFB;
    --color-text: #333333;
    --color-text-light: #666666;
    --font-main: 'Nunito', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); line-height: 1.6; background-color: var(--color-bg-light); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.mt-2 { margin-top: 1.5rem; }

/* Typographie */
h1, h2, h3 { color: var(--color-alpine); font-weight: 900; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; }

/* Boutons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 30px; font-weight: 700; text-align: center; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--color-sky); color: var(--color-white); }
.btn-primary:hover { background: var(--color-alpine); }
.btn-secondary { background: var(--color-sunset); color: var(--color-white); }
.btn-secondary:hover { background: var(--color-sunset-hover); }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }

/* Header & Nav */
header { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 15px 0; transition: var(--transition); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: 900; color: var(--color-alpine); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 700; color: var(--color-alpine); }
.nav-links a:hover { color: var(--color-sunset); }
.header-actions { display: flex; gap: 10px; }
.burger-menu { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger-menu span { width: 25px; height: 3px; background: var(--color-alpine); transition: var(--transition); }

/* Hero Section */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url('../assets/images/hero-bg.jpg') center/cover no-repeat; color: var(--color-white); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(44, 83, 100, 0.6), rgba(76, 161, 175, 0.4)); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--color-white); font-size: 3.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* Pourquoi Nous */
.why-us, .flights, .instructors, .faq { padding: 5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: var(--color-white); padding: 2rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }

/* Vols */
.section-subtitle { text-align: center; margin-bottom: 3rem; color: var(--color-text-light); }
.flights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 3rem; }
.flight-card { background: var(--color-white); padding: 2rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; border-top: 5px solid var(--color-sky); }
.flight-card.premium { border-top-color: var(--color-sunset); }
.price { font-size: 2.5rem; font-weight: 900; color: var(--color-alpine); margin: 1rem 0; }
.flight-card p { margin-bottom: 1.5rem; min-height: 50px; }
.flight-infos { background: var(--color-white); padding: 2rem; border-radius: 15px; font-size: 0.9rem; color: var(--color-text-light); }

/* Moniteurs */
.instructors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.instructor-card { text-align: center; }
.instructor-card img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 5px solid var(--color-white); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.diploma { color: var(--color-sunset); font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.quote { font-style: italic; color: var(--color-text-light); margin-top: 1rem; border-left: 3px solid var(--color-sky); padding-left: 1rem; }

/* FAQ Accordion */
.accordion-item { background: var(--color-white); margin-bottom: 10px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.accordion-header { width: 100%; padding: 20px; text-align: left; background: none; border: none; font-size: 1.1rem; font-family: var(--font-main); font-weight: 700; color: var(--color-alpine); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header .icon { transition: var(--transition); }
.accordion-item.active .accordion-header .icon { transform: rotate(45deg); }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-content p { padding-bottom: 20px; }

/* Inner Pages (Contact, Bons Cadeaux, Légal) */
.inner-page header { position: sticky; }
.page-header { background: var(--color-alpine); color: var(--color-white); padding: 4rem 0 2rem; text-align: center; }
.page-header h1 { color: var(--color-white); }
.ubiliz-container { max-width: 800px; margin: 4rem auto; padding: 2rem; background: var(--color-white); border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 4rem auto; }
.contact-info, .contact-form { background: var(--color-white); padding: 2.5rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--color-alpine); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-main); transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-sky); outline: none; }
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.8rem; text-align: left; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }

/* --- SECTION RÉSERVATION --- */
.resa-container { max-width: 800px; margin: 40px auto; background: var(--color-white); padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.resa-container h1, .resa-container h2 { color: var(--color-sky); text-align: left; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.day { padding: 15px; text-align: center; border: 1px solid #eee; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.day:hover:not(.disabled) { background: #e0f2f1; }
.day.disabled { color: #ccc; cursor: not-allowed; text-decoration: line-through; background: #fafafa; }
.day.selected { border-color: var(--color-sky); background: var(--color-sky); color: var(--color-white); font-weight: bold; }
.slots-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.slot-btn { padding: 15px; border: 2px solid #eee; border-radius: 8px; background: var(--color-white); cursor: pointer; text-align: center; transition: var(--transition); }
.slot-btn.full { background: #f5f5f5; color: #999; cursor: not-allowed; border-color: #eee; }
.slot-btn.selected { border-color: var(--color-sky); background: #e0f2f1; }
.slot-select { margin-top: 10px; width: 100%; padding: 5px; display: none; font-family: var(--font-main); }
.slot-btn.selected .slot-select { display: block; }
.recap { background: #e0f2f1; padding: 20px; border-radius: 8px; margin: 30px 0; border: 1px solid #b2dfdb; }
.recap h3 { margin-top: 0; color: #00796b; }
.recap-list { list-style-type: none; padding: 0; margin: 0 0 15px 0; }
.recap-list li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #b2dfdb; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.recap-list li:last-child { border-bottom: none; }
.btn-remove { background: none; border: none; color: #d32f2f; cursor: pointer; text-decoration: underline; font-size: 0.9em; padding: 5px; }
.resa-form-group { margin-bottom: 15px; }
.resa-form-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.resa-input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-family: var(--font-main); font-size: 16px; }
.btn-submit { background: var(--color-sky); color: var(--color-white); border: none; padding: 15px 30px; font-size: 16px; border-radius: 8px; cursor: pointer; width: 100%; transition: var(--transition); font-weight: 700; }
.btn-submit:hover { background: var(--color-alpine); }
.alert { padding: 15px; margin-bottom: 20px; border-radius: 8px; display: none; }
.alert.error { background: #ffebee; color: #c62828; display: block; }
.alert.success { background: #e8f5e9; color: #2e7d32; display: block; font-weight: bold; text-align: center; }

/* --- SECTION AVIS (Style Widget) --- */
.reviews-widget-section { padding: 4rem 0; background-color: var(--color-white); overflow: hidden; }
.reviews-widget-container { display: flex; align-items: center; gap: 3rem; }
.reviews-summary { min-width: 200px; text-align: center; }
.reviews-summary h3 { font-size: 1.5rem; color: var(--color-text); margin-bottom: 0.5rem; }
.stars-large { color: #FFB900; font-size: 2.2rem; letter-spacing: 2px; line-height: 1; }
.rating-text { font-size: 0.95rem; margin: 0.5rem 0 1rem; color: var(--color-text); }
.google-logo { width: 90px; }
.reviews-carousel-wrapper { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.reviews-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0; width: 100%; }
.reviews-carousel::-webkit-scrollbar { display: none; }
.review-card { min-width: 320px; max-width: 320px; background: var(--color-white); border: 1px solid #E0E0E0; border-radius: 12px; padding: 20px; scroll-snap-align: start; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.reviewer-avatar.letter { display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; font-weight: 700; }
.reviewer-info h4 { margin: 0; font-size: 1.05rem; color: var(--color-text); }
.review-date { font-size: 0.85rem; color: #888; }
.g-icon { width: 20px; margin-left: auto; }
.review-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.stars-small { color: #FFB900; font-size: 1.1rem; letter-spacing: 1px; }
.verified-badge { background: #1A73E8; color: white; border-radius: 50%; width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; font-size: 9px; margin-left: 2px; }
.review-text { font-size: 0.95rem; color: var(--color-text); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 0.9rem; color: #888; cursor: pointer; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: white; border: 1px solid #E0E0E0; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 10; font-size: 1.2rem; color: #333; transition: all 0.2s; }
.carousel-arrow:hover { background: #f5f5f5; }
.carousel-arrow.prev { left: -20px; }
.carousel-arrow.next { right: -20px; }

/* Footer */
footer { background: var(--color-alpine); color: var(--color-white); padding: 4rem 0 1rem; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 2rem; }
.footer-col h3 { color: var(--color-sky); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

/* Responsive Mobile Fusionné */
@media (max-width: 992px) {
    /* Header & Navigation */
    .nav-links, .header-actions { display: none; }
    .burger-menu { display: flex; }
    
    /* Hero */
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    
    /* Reviews Widget */
    .reviews-widget-container { flex-direction: column; gap: 2rem; }
    .carousel-arrow { display: none; } /* On cache les flèches sur mobile, on scrolle au doigt */
    .review-card { min-width: 280px; }
}