/* ============ RESPONSIVE ============ */
/* Toutes les media queries séparées du style principal */

/* ============ DESKTOP SCALE DOWN - base font ============ */
@media (min-width: 901px) {
    html {
        font-size: 14px;
    }
}

/* ============ ENTERPRISE SECTION ============ */
@media (max-width: 768px) {
    .enterprise-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .enterprise-icon {
        font-size: 2.5rem;
    }

    .enterprise-content h3 {
        font-size: 1.25rem;
    }

    .enterprise-content p {
        font-size: 0.95rem;
    }
}

/* ============ LANGUAGE SWITCHER ============ */
@media (max-width: 900px) {
    .logo-img {
        height: 32px;
    }

    .lang-switch {
        display: none;
    }

    .lang-switch-mobile {
        margin-top: 1rem;
    }
}

/* ============ TABLET LARGE - 1200px ============ */
@media (max-width: 1200px) {

    .hotel-content,
    .yacht-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .restaurant-tour-section {
        grid-template-columns: 1fr;
    }

    .hotel-details,
    .yacht-details {
        padding: 2rem;
    }

    .use-case {
        padding: 3rem 2rem;
    }

    .use-cases {
        padding: 5rem 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-section {
        padding: 4rem 2rem;
    }
}

/* ============ TABLET - 1024px ============ */
@media (max-width: 1024px) {
    .hero {
        padding: 8rem 3rem 3rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .hotel-mockup,
    .yacht-mockup,
    .restaurant-mockup {
        max-width: 100%;
    }

    .restaurant-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 450px;
        margin: 0 auto;
    }

    /* PAN BAR */
    .pan-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ============ MOBILE LARGE - 900px ============ */
@media (max-width: 900px) {

    /* Header */
    header {
        padding: 1rem 1.5rem;
    }

    .logo-header {
        width: auto;
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .menu-header,
    .button-header {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Demos */
    .demos-grid {
        grid-template-columns: 1fr;
    }

    /* Use Cases */
    .use-case {
        padding: 2rem 1rem;
        min-height: auto;
        overflow: hidden;
    }

    /* Hotel Section */
    .hotel-mockup {
        border-radius: 12px;
        overflow: hidden;
    }

    .hotel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .hotel-logo {
        font-size: 1.25rem;
    }

    .hotel-nav {
        width: 100%;
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hotel-nav::-webkit-scrollbar {
        display: none;
    }

    .hotel-nav a {
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .hotel-book-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .hotel-content {
        padding: 1rem;
        gap: 1.5rem;
    }

    .hotel-gallery {
        gap: 0.75rem;
    }

    .hotel-main-image {
        height: 250px;
        border-radius: 8px;
    }

    .hotel-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .hotel-thumb {
        height: 60px;
        border-radius: 6px;
    }

    .hotel-details {
        padding: 1.5rem;
    }

    .hotel-name {
        font-size: 1.5rem;
    }

    .hotel-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hotel-amenities {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hotel-amenity {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .hotel-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hotel-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Yacht Section */
    .yacht-mockup {
        border-radius: 12px;
        overflow: hidden;
    }

    .yacht-header {
        padding: 1.5rem 1rem;
    }

    .yacht-title {
        font-size: 1.5rem;
    }

    .yacht-subtitle {
        font-size: 0.9rem;
    }

    .yacht-content {
        padding: 1rem;
    }

    .yacht-tour-wrapper {
        height: 300px;
        border-radius: 8px;
    }

    .yacht-details {
        padding: 1.5rem;
    }

    .yacht-details h2 {
        font-size: 1.5rem;
    }

    .yacht-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .yacht-amenities {
        grid-template-columns: 1fr;
    }

    .yacht-cta {
        flex-direction: column;
    }

    .yacht-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Restaurant Section */
    .restaurant-mockup {
        border-radius: 12px;
        overflow: hidden;
    }

    .restaurant-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .restaurant-name {
        font-size: 1.25rem;
    }

    .restaurant-nav {
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .restaurant-nav::-webkit-scrollbar {
        display: none;
    }

    .restaurant-book-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .restaurant-content {
        padding: 1rem;
    }

    .restaurant-tour-section {
        height: 300px;
        border-radius: 8px;
    }

    .restaurant-info {
        padding: 1.5rem;
    }

    .restaurant-info h2 {
        font-size: 1.5rem;
    }

    .restaurant-features {
        grid-template-columns: 1fr;
    }

    .restaurant-menu {
        padding: 1.5rem;
    }

    .restaurant-menu h3 {
        font-size: 1.25rem;
    }

    .restaurant-cta {
        flex-direction: column;
    }

    .restaurant-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Pricing */
    .pricing-section {
        padding: 3rem 1.5rem;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

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

    /* Show mobile cards, hide desktop table */
    .pricing-mobile-cards {
        display: block;
    }

    .pricing-table-container {
        display: none;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============ MOBILE LARGE - 768px (PAN BAR) ============ */
@media (max-width: 768px) {
    .pan-mockup {
        border-radius: 12px;
    }

    .pan-header {
        padding: 0.85rem 1.25rem;
    }

    .pan-header-left {
        display: none;
    }

    .pan-logo-img {
        height: 40px;
    }

    .pan-reserve-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.7rem;
    }

    .pan-lieu {
        padding: 2rem 1.25rem;
    }

    .pan-lieu-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .pan-lieu-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .pan-lieu-cta {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .pan-tour-wrapper {
        aspect-ratio: 4/3;
        border-radius: 8px;
    }

    .pan-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1.5rem 1.25rem;
    }

    .pan-footer-section h4 {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .pan-footer-section a {
        font-size: 0.75rem;
        line-height: 1.7;
    }
}

/* ============ MOBILE MEDIUM - 640px ============ */
@media (max-width: 640px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

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

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .use-case {
        padding: 2rem 1rem;
    }

    .hotel-mockup,
    .yacht-mockup,
    .restaurant-mockup {
        border-radius: 8px;
    }

    .hotel-details h2,
    .yacht-details h2,
    .restaurant-info h2 {
        font-size: 1.5rem;
    }

    .hotel-amenities,
    .yacht-amenities {
        grid-template-columns: 1fr;
    }

    .pricing-section {
        padding: 3rem 1rem;
    }

    .pricing-header h2,
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-table {
        font-size: 0.8rem;
    }

    .tooltip-text {
        width: 200px;
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ============ MOBILE SMALL - 480px ============ */
@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .logo-header {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .hotel-header,
    .yacht-header,
    .restaurant-header {
        padding: 1rem;
    }

    .hotel-logo,
    .yacht-title,
    .restaurant-name {
        font-size: 1.25rem;
    }

    .hotel-details,
    .yacht-details,
    .restaurant-info {
        padding: 1rem;
    }

    .hotel-thumbnails {
        grid-template-columns: 1fr;
    }

    .pricing-header h2,
    .cta-content h2 {
        font-size: 1.5rem;
    }

    .pricing-card h3 {
        font-size: 1.25rem;
    }

    .pricing-card .price {
        font-size: 2rem;
    }

    .oneshot-card {
        padding: 1rem;
    }

    .plan-price {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 2.5rem 1rem;
    }

    /* PAN BAR */
    .pan-mockup {
        border-radius: 10px;
    }

    .pan-header {
        padding: 0.75rem 1rem;
    }

    .pan-logo-img {
        height: 32px;
    }

    .pan-reserve-btn {
        padding: 0.5rem 1rem;
        font-size: 0.65rem;
        border-radius: 20px;
    }

    .pan-lieu {
        padding: 1.5rem 1rem;
    }

    .pan-lieu-title {
        font-size: 1.25rem;
        letter-spacing: 0.02em;
    }

    .pan-lieu-subtitle {
        font-size: 0.8rem;
    }

    .pan-lieu-cta {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .pan-tour-wrapper {
        aspect-ratio: 1/1;
        border-radius: 6px;
    }

    .pan-footer {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .pan-footer-section h4 {
        font-size: 0.55rem;
    }

    .pan-footer-section a {
        font-size: 0.7rem;
        line-height: 1.6;
    }
}

/* ============ MOBILE EXTRA SMALL - 375px ============ */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.35rem;
    }

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

    .logo-header span {
        display: none;
    }

    .pricing-table {
        min-width: 650px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.35rem;
        font-size: 0.75rem;
    }

    .plan-name {
        font-size: 0.9rem;
    }

    .plan-price {
        font-size: 1.1rem;
    }

    .feature-name {
        font-size: 0.75rem;
    }

    .table-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ============ TESTIMONIALS ============ */
@media (max-width: 900px) {
    .testimonials-section {
        padding: 5rem 1.5rem;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 4rem 1rem;
    }

    /* On very small screens, hide arrows to save space — swipe works */
    .slider-arrow {
        display: none;
    }

    .testimonials-slider {
        -webkit-mask-image: none;
        mask-image: none;
    }
}