/* =========================================
   STYLE SPÉCIFIQUE PAGE LOCATION (LCD)
   ISOLATION : Toutes les règles sont préfixées par .page-location
   ========================================= */

/* Variables Scope : Disponibles uniquement dans .page-location */
.page-location {
    --primary: #00e785;
    --primary-hover: #00c66a;
    --text-dark: #334155;
    --text-main: #64748b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #ffffff;
    --bg-off: #ffffff;
    --border-color: #e2e8f0;
    --section-padding: 90px 20px;
    --airbnb-red: #ff5a5f;
    --radius-btn: 12px;
}

/* --- ISOLATION RESET --- */
.page-location, .page-location * {
    box-sizing: border-box;
}

/* Sécurisation du conteneur principal */
.page-location {
    background-color: var(--bg-light);
    overflow-x: hidden; 
    width: 100%;
    margin: 0;
    padding: 0;
    display: block; /* S'assure que le main se comporte comme un bloc */
}

/* --- Utilities & Structure --- */
.page-location .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-location .section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* Typographie de contenu uniquement */
.page-location .section p {
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.page-location .section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-location .bg-off { background-color: var(--bg-off); }
.page-location .bg-white { background-color: #ffffff; }
.page-location .bg-grey-custom { background-color: #F8FAFC; }

.page-location .bg-dark-custom {
    background-color: #282B2F;
    color: #ffffff;
    background-image: radial-gradient(circle at 0% 0%, rgba(0, 231, 133, 0.15) 0%, rgba(40, 43, 47, 0) 50%);
}

.page-location .bg-dark-custom h2, .page-location .bg-dark-custom strong { color: #ffffff; }

/* GESTION SÉPARÉE DES COULEURS TEXTE DARK MODE */
.page-location .bg-dark-custom p { 
    color: #e2e8f0; 
}
.page-location .bg-dark-custom .text-accent { color: var(--primary); }

.page-location .text-center { text-align: center; }

.page-location .text-accent {
    color: var(--primary-hover);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.page-location .text-accent-problem {
    color: var(--airbnb-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

/* --- Boutons --- */
.page-location .btn {
    border-radius: var(--radius-btn);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.page-location .btn-primary, .page-location .btn-primary-style {
    padding: 16px 36px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 231, 133, 0.2);
    text-decoration: none;
}

.page-location .btn-primary:hover, .page-location .btn-primary-style:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 231, 133, 0.3);
    color: #fff;
}

/* --- Animations --- */
.page-location .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.page-location .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-location .hero-entry {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-location .delay-100 { transition-delay: 0.1s; animation-delay: 0.1s; }
.page-location .delay-200 { transition-delay: 0.2s; animation-delay: 0.2s; }
.page-location .delay-300 { transition-delay: 0.3s; animation-delay: 0.3s; }
.page-location .delay-400 { transition-delay: 0.4s; animation-delay: 0.4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatMobile {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

/* --- HERO SECTION --- */
.page-location .hero-section {
    width: 100%;
    background-color: #ffffff;
    background: linear-gradient(180deg, #ffffff 80%, #f8fafc 100%);
    padding: 120px 0 140px 0; 
    position: relative;
    overflow: hidden;
}

.page-location .hero-section .container {
    max-width: 1350px;
}

.page-location .hero-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 231, 133, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.page-location .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-location .hero-grid > * { min-width: 0; }

.page-location .hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.page-location .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.page-location .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 25px;
    display: block;
    line-height: 1.5;
}

.page-location .hero-desc {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 90%;
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

.page-location .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.page-location .hero-badges-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-location .badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.page-location .badge-item i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.page-location .hero-visual-wrapper {
    position: relative;
    margin: 20px;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.page-location .hero-visual-wrapper:hover {
    transform: rotate(1deg);
}

.page-location .hero-visual-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: block;
}

.page-location .float-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    animation: float 4s ease-in-out infinite;
}

.page-location .hero-badge-score {
    font-weight: 900;
    font-size: clamp(16px, 4.2vw, 22px);
}

.page-location .hero-badge-text {
    font-weight: 600;
    font-size: clamp(14px, 4.2vw, 16px);
}

.page-location .title-standing {
    font-size: clamp(25.6px, 4vw, 35.2px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* --- Problem Section --- */
.page-location .problem-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.page-location .problem-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.page-location .problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-location .problem-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-location .problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
}

.page-location .problem-icon {
    color: var(--airbnb-red);
    margin-bottom: 20px;
    display: block;
    width: 36px;
    height: 36px;
}

.page-location .problem-card h3 {
    font-size: 1.25em;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.page-location .problem-card p {
    color: var(--text-main);
    font-size: 1em;
}

/* --- Comparison Section --- */
.page-location .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-location .col-sans {
    background: #F9FAFB;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.page-location .col-sans h3 {
    color: #9CA3AF;
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: 600;
}

.page-location .col-avec {
    background: #ecfdf5;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #d1fae5;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-location .col-avec:hover { transform: translateY(-3px); }

.page-location .col-avec h3 {
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: 600;
}

.page-location .list-check {
    list-style: none;
    padding: 0;
}

.page-location .list-check li {
    margin-bottom: 18px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-weight: 400;
    font-size: clamp(15px, 3.6vw, 17px);
}

.page-location .col-sans .list-check li { color: var(--text-main); }
.page-location .col-avec .list-check li { color: #064e3b; font-weight: 500; }

.page-location .icon-bad {
    color: var(--airbnb-red);
    width: 22px;
    height: 22px;
}

.page-location .icon-good {
    color: var(--primary-hover);
    width: 22px;
    height: 22px;
}

/* --- Features & Hotel Image --- */
.page-location .features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.page-location .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.page-location .feature-icon-box {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-location .feature-item:hover .feature-icon-box { transform: scale(1.1); }

.page-location .feature-content h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.page-location .feature-content p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}

.page-location .hotel-img-wrapper {
    position: relative;
    transform: rotate(-3deg);
    margin: 0;
    transition: transform 0.4s ease;
    width: 100%;
}

.page-location .hotel-img-wrapper:hover { transform: rotate(1deg); }

.page-location .hotel-img-wrapper img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12);
    display: block;
}

.page-location .hotel-rating-badge {
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    position: absolute;
    bottom: 30px;
    left: -20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    transform: none;
    transition: transform 0.3s ease;
}

.page-location .hotel-img-wrapper:hover .hotel-rating-badge { transform: translateY(-5px); }

.page-location .rating-score {
    font-size: 1.4em;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.page-location .rating-text {
    font-size: 0.85em;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.page-location .tenant-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.85em;
    border: 1px solid var(--border-color);
    animation: float 5s ease-in-out infinite reverse;
}

.page-location .tenant-badge i {
    color: #fbbf24;
    fill: #fbbf24;
    width: 18px;
    height: 18px;
}

/* --- FAQ Accordion --- */
.page-location .faq-item {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.page-location .faq-item:hover { background-color: #fafafa; }

.page-location .faq-question {
    padding: 24px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    color: var(--text-dark);
    transition: color 0.2s;
}

.page-location .faq-question:hover { color: var(--primary-hover); }

.page-location .faq-answer {
    padding: 0 24px 24px 24px;
    font-size: 1.05em;
    color: var(--text-main);
    line-height: 1.7;
    display: none;
}

.page-location .faq-item.active .faq-answer { display: block; }

.page-location .faq-icon { transition: transform 0.3s; }
.page-location .faq-item.active .faq-icon { transform: rotate(180deg); }

/* --- Iframes & Wrappers --- */
.page-location .iframe-container {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
    border: 0px solid var(--border-color);
    min-height: 500px;
}

/* --- Separator Modern --- */
.page-location .custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.page-location .custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.page-location .custom-shape-divider-bottom .shape-fill { fill: #ffffff; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1200px) {
    .page-location .hero-title { font-size: 3rem; }
    .page-location .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .page-location .section { padding: 60px 20px; }
    
    .page-location .container { padding: 0 0px; } 
    
    .page-location .problem-title { font-size: 1.6rem; }
    
    .page-location .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-location .col-sans, .page-location .col-avec { padding: 30px; }

    .page-location .features-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .page-location .feature-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
    }

    /* Iframe corrections */
    .page-location .iframe-container, #quiz-wrapper-airbnb {
        width: 100% !important;
        margin-left: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden;
        border-radius: 16px !important; 
    }

    #quiz-wrapper-airbnb iframe, .page-location .iframe-container iframe {
        width: 100% !important;
    }

    /* Hero Mobile */
    .page-location .hero-section { padding: 40px 25px 80px 25px; } 
    .page-location .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .page-location .hero-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
        line-height: 1.25;
        width: 100%;
        max-width: 100%;
        word-wrap: normal;
        hyphens: none;
    }

    .page-location .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 25px;
        width: 100%;
        max-width: 100%;
    }

    .page-location .hero-desc {
        font-size: 1rem;
        margin-bottom: 35px;
        max-width: 100%;
        border-left-width: 3px;
    }

    .page-location .hero-actions { width: 100%; }
    .page-location .btn-primary, .page-location .btn-primary-style {
        width: 100%;
        max-width: 100%;
    }

    .page-location .hero-badges-row {
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-top: 10px;
    }

    .page-location .badge-item { font-size: 0.7rem; }
    .page-location .badge-item i { width: 14px; height: 14px; background: transparent; }

    .page-location .hero-visual-wrapper {
        margin: 20px auto 40px auto;
        width: 90%;
        max-width: 400px;
    }

    .page-location .float-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -15px;
        width: auto;
        padding: 6px 12px;
        border-radius: 12px;
        font-size: 16px;
        animation: floatMobile 4s ease-in-out infinite;
    }

    .page-location .float-badge i { width: 13px !important; height: 13px !important; }
    
    .page-location .hero-badge-score { font-size: 1em; }
    .page-location .hero-badge-text { font-size: 0.7em; }

    .page-location .hotel-img-wrapper {
        width: 92%; 
        margin: 40px auto 60px auto;
        overflow: visible;
        transform: rotate(-3deg);
    }
    
    .page-location .hotel-img-wrapper:hover { transform: rotate(-3deg); }

    .page-location .tenant-badge {
        right: 20px;
        top: -15px;
    }

    .page-location .hotel-rating-badge {
        left: 20px;
        bottom: -20px;
    }
    
    .page-location .btn-callback {
        width: 100%;
        padding: 14px;
    }
}