@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600&display=swap');

body {
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Sticky Mobile CTA Bar */
#sticky-cta {
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 640px) {
    h1 { font-size: 1.875rem !important; line-height: 1.25 !important; }
    h2 { font-size: 1.5rem !important; }
    .glass-panel { 
        background: rgba(255, 255, 255, 0.9); /* More opaque on mobile for better readability */
    }
}

/* Custom button hover for mobile (no hover state, focus instead) */
.btn-primary-mobile {
    @apply active:scale-95 transition-transform;
}

/* Trust badges animation */
.badge-pulse {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(200, 169, 126, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(200, 169, 126, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 169, 126, 0); }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.glass-card-hover {
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card-hover:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(212, 175, 55, 0.3); /* champagne color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8f9fa;
}
::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-icon {
    transition: transform 0.3s ease;
}

/* --- LOGOS PARTENAIRES --- */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.3s ease-in-out;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 0.85;
}

/* --- ONGLET SELECTION SHOWCASE --- */
.tab-btn {
    transition: all 0.3s ease;
}
.tab-btn.active {
    color: #B39162; /* champagneDark */
    border-color: #B39162;
    background-color: rgba(200, 169, 126, 0.05);
}

/* --- PROPERTY FINDER (QUESTIONNAIRE MULTI-ETAPES) --- */
.step-container {
    display: none;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.step-container.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.radio-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.radio-card:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 169, 126, 0.4);
    background-color: rgba(200, 169, 126, 0.02);
}

/* Custom styling for inputs to feel premium */
.form-input {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #B39162;
    box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.15);
}

/* Progress bar fill speed */
.progress-bar-fill {
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- PROPERTY FINDER SLIDER INTERACTIF --- */
.finder-step {
    display: none;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.finder-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.active-card {
    border-color: #C8A97E !important;
    background-color: rgba(200, 169, 126, 0.05) !important;
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.12);
}

/* --- WIDGET WHATSAPP FLOTTANT --- */
@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.animate-bounce-subtle {
    animation: bounce-subtle 4s infinite ease-in-out;
}

#wa-chat-box.show {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}
