/* ─── V3 HERO GALLERY FULL-BLEED ────────────────────────────────────────── */
.v3-hero-gallery {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Forcer le full-bleed hors du conteneur si nécessaire */
    margin-right: calc(-50vw + 50%);
    height: 85vh;
    background: #000;
    overflow: hidden;
}

@media (min-width: 1600px) {
    .v3-hero-gallery { height: 75vh; max-height: 900px; }
}

.v3-slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.v3-slider-container::-webkit-scrollbar { display: none; }

.v3-slide {
    flex: 0 0 100%; /* L'image prend 100% de la largeur du viewport */
    scroll-snap-align: start;
    height: 100%;
    position: relative;
    background: #e8e8e8; /* Skeleton placeholder while images load */
}

.v3-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav Flèches */
.v3-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.v3-slider-nav:hover {
    background: var(--accent);
}

.v3-slider-prev { left: 30px; }
.v3-slider-next { right: 30px; }

/* ─── OVERLAY INFO BOX (Premium Style Clone) ────────────────────────────── */
.v3-hero-overlay-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8%; /* Boîte ancrée à droite */
    width: 450px;
    background: #121b28; /* Opaque Premium Blue */
    color: #fff;
    border-radius: 0; /* Standard Premium */
    z-index: 20;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.v3-overlay-topbar {
    background: #0d131c;
    padding: 15px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

.v3-topbar-tag { color: var(--accent); }
.v3-tag-open { color: #cc0000; }

.v3-overlay-content {
    padding: 30px 40px 40px 40px;
}

.v3-overlay-title {
    font-size: 2.2rem;
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif; /* Serif prestige */
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.1;
    color: #fff;
}

.v3-overlay-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    font-family: sans-serif;
}

.v3-overlay-price {
    font-size: 2.6rem;
    font-weight: 400; /* Plus élégant */
    color: #fff;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.v3-overlay-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.v3-nav-arrows {
    display: flex;
    gap: 15px;
}

.v3-nav-arrows button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.v3-nav-arrows button:hover {
    background: #fff;
    color: #121b28;
}

.v3-nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.v3-nav-actions button, .v3-nav-actions a {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.v3-nav-actions button:hover, .v3-nav-actions a:hover {
    color: #fff;
}

/* ─── BANDEAU STATS ─────────────────────────────────────────────────────── */
.v3-stats-ribbon {
    background: #f8f8f8; /* Gris très pâle Premium */
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0; /* Réduction drastique du padding */
}

.v3-stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v3-stats-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.v3-stat-item {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-stat-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.v3-stats-right .mls-id {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .v3-hero-overlay-box {
        position: relative;
        transform: none;
        top: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        padding: 30px 20px;
    }
    .v3-hero-gallery {
        height: 50vh;
    }
    .v3-stats-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ─── V3 PAGE CONTENT (Premium Style) ───────────────────────────────────── */
.v3-content-wrapper {
    background: #ffffff;
    padding: 60px 0;
}

.v3-listing-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.v3-listing-main {
    flex: 1;
    min-width: 0; /* Empêche le débordement Flexbox */
}

.v3-listing-section {
    margin-bottom: 50px;
    background: #fff;
}

.v3-section-title {
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif;
    font-size: 2rem;
    color: #121b28;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    font-weight: 500;
}

/* Grille tech-sheet V3 Premium */
.v3-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px 40px;
}

.v3-tech-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.v3-tech-label {
    color: #666;
    font-size: 0.95rem;
}

.v3-tech-value {
    font-weight: 600;
    color: #121b28;
    text-align: right;
}

/* Visite Libre V3 */
.v3-open-house-section {
    background: #f8f9fa;
    padding: 30px;
    border-left: 4px solid #121b28;
    border-radius: 4px;
}

.v3-open-house-section .v3-section-title {
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

/* Sidebar Contact Form V3 */
.v3-sidebar {
    width: 380px;
}

.v3-contact-box {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: sticky;
    top: 120px;
    border: 1px solid #eaeaea;
}

.v3-contact-box h3 {
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif;
    font-size: 1.6rem;
    color: #121b28;
    margin-top: 0;
    margin-bottom: 25px;
}

.v3-btn-primary {
    background: #121b28;
    color: #fff;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.v3-btn-primary:hover {
    background: #1a273b;
}

@media (max-width: 900px) {
    .v3-listing-layout { flex-direction: column; }
    .v3-sidebar { width: 100%; }
}

/* ─── CALCULATEUR HYPOTHÉCAIRE — Premium ─────────────────────────────────── */
.v2-calculator-section {
    background: #121b28 !important;
    border-radius: 16px;
    padding: 32px !important;
    margin-top: 50px !important;
    border: 1px solid rgba(190, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.v2-calculator-section::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent, #be0000), #ff4444, var(--accent, #be0000));
}

.v2-calculator-section .v3-section-title {
    color: #fff !important;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 20px !important;
}

.v2-calculator-section .v3-section-title::before {
    content: "\f1ec";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1rem;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(190, 0, 0, 0.15);
    border-radius: 10px;
    color: var(--accent, #be0000);
    flex-shrink: 0;
}

.v2-calculator-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.calc-group {
    display: flex;
    flex-direction: column;
}

.calc-group label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
}

.calc-group input[type="number"] {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s;
    font-family: "Montserrat", sans-serif;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    -moz-appearance: textfield;
}

.calc-group input[type="number"]::-webkit-outer-spin-button,
.calc-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-group input[type="number"]:focus {
    border-color: var(--accent, #be0000);
    outline: none;
    background: rgba(190, 0, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(190, 0, 0, 0.1);
}

.calc-group input[type="number"][readonly] {
    opacity: 0.5;
    cursor: not-allowed;
}

.calc-input-group {
    display: flex;
    align-items: stretch;
}

.calc-input-group input {
    border-radius: 10px 0 0 10px !important;
    border-right: none !important;
}

.calc-input-group input:not(:first-child) {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
}

.calc-addon {
    background: rgba(255, 255, 255, 0.08);
    padding: 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: none;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.calc-addon:last-child {
    border-radius: 0 10px 10px 0;
}

.v2-calculator-section .btn--accent {
    margin-top: 8px !important;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 12px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.v2-calculator-section .btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 0, 0, 0.4);
}

/* Résultat */
.calc-result {
    margin-top: 24px !important;
    padding: 24px !important;
    background: rgba(190, 0, 0, 0.08) !important;
    border-left: 4px solid var(--accent, #be0000) !important;
    border-radius: 12px !important;
    animation: calcSlideIn 0.4s ease;
}

.calc-result p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
}

.calc-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.calc-detail-row strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes calcSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Frequency toggle */
.calc-freq-toggle {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-freq-btn {
    flex: 1;
    padding: 12px 8px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.calc-freq-btn:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-freq-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.calc-freq-btn.active {
    background: var(--accent, #be0000);
    color: #fff;
}

/* CTA post-calcul */
.calc-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent, #be0000), #8b0000);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.calc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(190, 0, 0, 0.35);
    background: linear-gradient(135deg, #d40000, #a00000);
}

/* Payment row emphasis */
.calc-payment-row strong {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
}

@media (max-width: 768px) {
    .calc-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .v2-calculator-section {
        padding: 24px !important;
        border-radius: 12px;
    }
}
/* ── Accordion Premium (collapsible sections with +) ─────────── */
.v3-accordion {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}

.v3-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 22px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1a2332;
    text-align: left;
    transition: color 0.2s;
}

.v3-accordion-header:hover {
    color: var(--accent, #be0000);
}

/* Icône + / − avec CSS pur */
.v3-accordion-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.v3-accordion-icon::before,
.v3-accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #1a2332;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Barre horizontale (toujours visible = −) */
.v3-accordion-icon::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

/* Barre verticale (visible quand collapsed = +) */
.v3-accordion-icon::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

/* Quand ouvert : la barre verticale disparaît → reste − */
.v3-accordion:not(.collapsed) .v3-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.v3-accordion-header:hover .v3-accordion-icon::before,
.v3-accordion-header:hover .v3-accordion-icon::after {
    background: var(--accent, #be0000);
}

/* Corps de l'accordéon */
.v3-accordion-body {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
    padding-bottom: 30px;
    opacity: 1;
}

.v3-accordion.collapsed .v3-accordion-body {
    max-height: 0;
    padding-bottom: 0;
    opacity: 0;
}

@media (max-width: 768px) {
    .v3-accordion-header {
        padding: 18px 0;
        font-size: 0.82rem;
    }
}

/* ── Sidebar RE/MAX Cards (Détails financiers + Inclusions) ─────────── */
.sidebar-card-remax {
    margin-top: 16px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    background: #f8f9fa;
    border-top: 3px solid #003DA5;
    font-weight: 600;
    font-size: 0.9rem;
    user-select: none;
    transition: background 0.2s;
}
.sidebar-card-header:hover { background: #eef1f5; }
.sidebar-card-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: #003DA5; color: #fff; border-radius: 6px;
    font-size: 0.85rem; flex-shrink: 0;
}
.sidebar-card-chevron {
    margin-left: auto;
    font-size: 0.7rem;
    color: #999;
    transition: transform 0.3s;
}
.sidebar-card-remax.collapsed .sidebar-card-chevron {
    transform: rotate(180deg);
}
.sidebar-card-body {
    padding: 0 16px 16px;
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.sidebar-card-remax.collapsed .sidebar-card-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.fin-group { margin-top: 16px; }
.fin-group:first-child { margin-top: 12px; }
.fin-group h4 {
    font-size: 0.82rem; font-weight: 700; color: #1a2332;
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}
.fin-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 0; font-size: 0.82rem; color: #555;
}
.fin-row strong { color: #1a2332; font-weight: 600; text-align: right; }
.fin-row.fin-total {
    border-top: 1px solid #ddd; margin-top: 4px; padding-top: 8px;
    font-weight: 700; color: #1a2332;
}
.fin-row.fin-total strong { font-weight: 700; }

.ie-text {
    font-size: 0.82rem; color: #555; line-height: 1.6;
}

/* ── Sidebar City Card (Premium Quartier) ────────────────────── */
.sidebar-city-card {
    margin-top: 20px;
}

.sidebar-city-title {
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a2332;
    margin: 0 0 12px;
}

.sidebar-city-link {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.2s;
}

.sidebar-city-link:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sidebar-city-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.sidebar-city-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.sidebar-city-link:hover .sidebar-city-img img {
    transform: scale(1.05);
}

.sidebar-city-info {
    padding: 16px 16px 8px;
}

.sidebar-city-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a2332;
}

.sidebar-city-tagline {
    display: block;
    font-size: 0.82rem;
    color: #777;
    margin-top: 4px;
    line-height: 1.4;
}

.sidebar-city-cta {
    display: block;
    padding: 12px 16px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent, #be0000);
    transition: color 0.2s;
}

.sidebar-city-link:hover .sidebar-city-cta {
    color: #1a2332;
}

/* ── Similar Properties Section ────────────────────────────────────── */
.v3-similar-section {
    padding: 50px 0 60px;
    background: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.v3-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .v3-similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .v3-similar-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix CF-2: Prevent Clara chatbot floating button from overlapping content on mobile */
@media (max-width: 900px) {
    .v3-content-wrapper { padding-bottom: 80px; }
}

/* ── Sticky Floating Contact Tab ─────────────────────────────────────────── */
.v3-sticky-contact-tab {
    position: fixed;
    bottom: 160px;
    right: -60px;
    z-index: 900;
    display: flex;
    align-items: stretch;
    transition: right 0.4s ease-out;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.18));
    pointer-events: none;
}

.v3-sticky-contact-tab.visible {
    right: 0;
    pointer-events: all;
}

/* Onglet vertical (le "tab" cliquable) */
.v3-sticky-tab-trigger {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: linear-gradient(180deg, #121b28 0%, #1a2a3e 100%);
    color: #fff;
    padding: 18px 13px;
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, transform 0.25s ease, padding 0.25s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.v3-sticky-tab-trigger:hover {
    background: linear-gradient(180deg, #1a2a3e 0%, #243750 100%);
    transform: translateX(-6px);
    padding: 18px 16px;
    box-shadow: -4px 0 20px rgba(190, 0, 0, 0.25), 0 0 12px rgba(190, 0, 0, 0.1);
}

.v3-sticky-tab-trigger i {
    font-size: 1rem;
    color: var(--accent, #be0000);
    writing-mode: horizontal-tb;
    animation: v3-pulse-icon 2s ease-in-out infinite;
}

@keyframes v3-pulse-icon {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.15); }
}

/* Panneau du mini-formulaire */
.v3-sticky-tab-panel {
    background: #121b28;
    width: 0;
    max-height: 0;
    overflow: hidden;
    transition: width 0.35s ease, max-height 0.4s ease, padding 0.3s ease;
    border-radius: 0 0 0 10px;
}

.v3-sticky-tab-panel.open {
    width: 300px;
    max-height: 400px;
    padding: 20px 22px;
}

.v3-sticky-tab-panel h4 {
    color: #fff;
    font-family: 'Inter', -apple-system, 'system-ui', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 14px;
}

.v3-sticky-tab-panel input,
.v3-sticky-tab-panel textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.v3-sticky-tab-panel input::placeholder,
.v3-sticky-tab-panel textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.v3-sticky-tab-panel input:focus,
.v3-sticky-tab-panel textarea:focus {
    outline: none;
    border-color: var(--accent, #be0000);
    box-shadow: 0 0 0 2px rgba(190,0,0,0.15);
}

.v3-sticky-tab-panel textarea {
    resize: none;
    height: 56px;
}

.v3-sticky-tab-btn {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, var(--accent, #be0000), #8b0000);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.v3-sticky-tab-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(190,0,0,0.35);
}

.v3-sticky-tab-status {
    font-size: 0.78rem;
    margin-top: 6px;
    text-align: center;
    min-height: 18px;
}

.v3-sticky-tab-status.success { color: #4caf50; }
.v3-sticky-tab-status.error { color: #ff5252; }

/* Mobile: plein bas, pas de panneau escamotable — juste bouton scroll */
@media (max-width: 900px) {
    .v3-sticky-contact-tab {
        bottom: auto;
        top: auto;
        right: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        filter: none;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        transform: translateY(100%);
        transition: transform 0.35s ease;
    }
    .v3-sticky-contact-tab.visible {
        transform: translateY(0);
        right: auto;
    }
    .v3-sticky-tab-trigger {
        writing-mode: horizontal-tb;
        border-radius: 0;
        width: 100%;
        padding: 14px 20px;
        justify-content: center;
        font-size: 0.82rem;
        gap: 8px;
    }
    .v3-sticky-tab-trigger i {
        animation: none;
    }
    .v3-sticky-tab-panel {
        display: none !important;
    }
}
