/* =============================================
   WEB CATALAN — STYLESHEET PRINCIPAL
   Palette : Bordeaux · Or · Crème · Anthracite
   Typographie : DM Serif Display + DM Sans
============================================= */

:root {
    --burgundy: #8B1A2E;
    --burgundy-dark: #6B1222;
    --burgundy-light: #A52338;
    --gold: #C9A84C;
    --gold-light: #E2C070;
    --gold-pale: #FDF8EE;
    --cream: #F7F4EF;
    --cream-dark: #EEEAE3;
    --charcoal: #1E1C1A;
    --charcoal-mid: #2C2A28;
    --text-dark: #2A2826;
    --text-mid: #5A5650;
    --text-light: #8A8480;
    --white: #FFFFFF;
    --border: rgba(0,0,0,0.09);
    --border-light: rgba(0,0,0,0.05);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 68px;
    background: rgba(30,30,32,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    display: flex; align-items: center;
    padding: 0 5%;
    justify-content: space-between;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 25px rgba(0,0,0,0.5); }
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-brand-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 0.95em;
}
.nav-brand-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2em; color: #F0EDE8; letter-spacing: 0.2px;
}
.nav-brand-name span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
    color: rgba(255,255,255,0.65); text-decoration: none;
    font-size: 0.9em; font-weight: 500; transition: color 0.25s;
    position: relative; white-space: nowrap;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
    background: var(--burgundy) !important; color: white !important;
    padding: 9px 20px; border-radius: 6px;
    font-weight: 600 !important; font-size: 0.88em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--burgundy-light) !important; color: white !important; }
.nav-burger {
    display: none; background: none; border: none;
    font-size: 1.3em; cursor: pointer; color: rgba(255,255,255,0.7);
}

/* DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 2px); left: 50%;
    transform: translateX(-50%);
    background: #1E1E20;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 12px; min-width: 230px;
    box-shadow: 0 16px 45px rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.25s ease;
    overflow: hidden;
    z-index: 200;
}
.nav-dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px;
    background: #1E1E20; border-left: 1px solid rgba(201,168,76,0.2);
    border-top: 1px solid rgba(201,168,76,0.2);
    transform: translateX(-50%) rotate(45deg);
}

/* DROPDOWN — anti “trou” (permet de descendre sans que le menu disparaisse) */
.nav-dropdown::after{
    content:"";
    position:absolute;
    left:-10px;
    right:-10px;
    top:100%;
    height:6px; /* zone tampon réduite */
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    top: calc(100% + 2px);
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 20px; color: rgba(255,255,255,0.7) !important;
    font-size: 0.88em !important; font-weight: 500 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s; text-decoration: none;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover {
    background: rgba(201,168,76,0.08);
    color: var(--gold-light) !important;
    padding-left: 26px;
}
.nav-dropdown-menu a::after { display: none !important; }

/* Mobile menu */
.mobile-menu {
    display: none; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: #1E1E20;
    border-bottom: 2px solid var(--burgundy);
    z-index: 999; box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    max-height: calc(100vh - 68px); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 14px 25px; color: rgba(255,255,255,0.7); text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.95em;
    display: flex; align-items: center; gap: 10px;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(201,168,76,0.06); }
.mobile-menu a.sub { padding-left: 42px; font-size: 0.88em; color: rgba(255,255,255,0.5); }
.mobile-menu a.sub:hover { color: var(--gold); }

/* =============================================
   PAGE HERO (pages intérieures)
============================================= */
.page-hero {
    height: 320px; margin-top: 68px;
    position: relative; display: flex; align-items: center; overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.22) saturate(0.6);
}
.page-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(139,26,46,0.3), rgba(201,168,76,0.1));
}
.page-hero-inner {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%;
}

/* =============================================
   TYPOGRAPHIE & COMPOSANTS COMMUNS
============================================= */
.section { padding: 85px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.tag {
    display: inline-block;
    font-size: 0.75em; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--burgundy);
    background: rgba(139,26,46,0.08);
    padding: 4px 12px; border-radius: 4px; margin-bottom: 12px;
}
.tag.gold { color: var(--gold); background: rgba(201,168,76,0.12); }

.heading-xl {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8em; color: var(--charcoal);
    line-height: 1.1; margin-bottom: 15px;
}
.heading-xl em { color: var(--burgundy); font-style: italic; }
.heading-xl.white { color: white; }
.heading-xl.white em { color: var(--gold-light); }

.heading-lg {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2em; color: var(--charcoal);
    line-height: 1.15; margin-bottom: 12px;
}

.lead {
    font-size: 1em; color: var(--text-mid);
    line-height: 1.8; font-weight: 300; max-width: 580px;
}
.lead.wide { max-width: 100%; }
.lead.white { color: rgba(255,255,255,0.65); }

.divider { height: 1px; background: var(--border); }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 28px; border-radius: 6px;
    font-weight: 600; font-size: 0.93em; text-decoration: none;
    transition: all 0.25s; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}
.btn-primary {
    background: var(--burgundy); color: white;
    box-shadow: 0 4px 14px rgba(139,26,46,0.3);
}
.btn-primary:hover { background: var(--burgundy-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(139,26,46,0.4); }
.btn-gold {
    background: var(--gold); color: var(--charcoal);
    box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.3); color: white; background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
    border: 1.5px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); background: transparent;
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 36px; font-size: 1em; }

/* Cards de base */
.card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 14px; transition: all 0.3s;
}
.card:hover {
    border-color: rgba(139,26,46,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   RÉVÉAL AU SCROLL
============================================= */
/* reveal désactivé — contenu toujours visible */

/* =============================================
   FOOTER
============================================= */
.footer {
    background: #111113; padding: 55px 5% 30px; color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px; margin-bottom: 45px;
}
.footer-brand-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45em; color: white; margin-bottom: 14px;
}
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc { font-size: 0.85em; color: #666; line-height: 1.75; font-weight: 300; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: #666; text-decoration: none; font-size: 0.9em;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--burgundy); color: white; border-color: transparent; }
.footer-col-title { font-size: 0.75em; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #555; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85em; color: #666; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 25px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.8em; color: #444; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* =============================================
   FLOAT PHONE BUTTON
============================================= */
.float-phone {
    position: fixed; bottom: 28px; right: 28px; z-index: 998;
    background: var(--burgundy); color: white;
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2em;
    box-shadow: 0 4px 20px rgba(139,26,46,0.5);
    text-decoration: none; transition: transform 0.3s;
    animation: phone-pulse 2.5s infinite;
}
.float-phone:hover { transform: scale(1.1); }
@keyframes phone-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(139,26,46,0.5); }
    50% { box-shadow: 0 4px 35px rgba(139,26,46,0.8); }
}

/* =============================================
   POPUPS
============================================= */
.popup-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.6);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}
.popup-overlay.active { display: flex; }
.popup-box {
    background: white; border-radius: 20px;
    max-width: 520px; width: 100%;
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
    animation: slideUp 0.4s ease;
    position: relative; overflow: hidden;
}
.popup-box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
}
.popup-header {
    padding: 40px 40px 25px;
    text-align: center;
}
.popup-emoji { font-size: 3.5em; line-height: 1; margin-bottom: 15px; display: block; }
.popup-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6em; color: var(--charcoal); margin-bottom: 10px;
}
.popup-body { padding: 0 40px 30px; color: var(--text-mid); font-size: 0.95em; line-height: 1.7; }
.popup-body ul { list-style: none; margin-top: 15px; }
.popup-body ul li {
    padding: 8px 0 8px 28px; position: relative;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.93em;
}
.popup-body ul li:last-child { border-bottom: none; }
.popup-body ul li::before {
    content: '✓'; position: absolute; left: 0;
    color: #4CAF50; font-weight: 700;
}
.popup-actions {
    padding: 0 40px 35px;
    display: flex; gap: 12px; justify-content: center;
}
.popup-close-btn {
    position: absolute; top: 15px; right: 18px;
    background: none; border: none; font-size: 1.4em;
    color: var(--text-light); cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
.popup-close-btn:hover { color: var(--burgundy); }

/* Popup succès */
.popup-success-box {
    background: #0f1f14;
    border-radius: 24px;
    max-width: 460px; width: 100%; text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    animation: slideUp 0.4s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden; position: relative;
}
.popup-success-box::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(74,222,128,.12) 0%, transparent 65%);
    pointer-events: none;
}
.popup-success-header {
    background: linear-gradient(135deg, #14532d, #166534);
    padding: 38px 30px 28px;
    position: relative;
}
.popup-success-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(74,222,128,.2) 0%, transparent 70%);
}
.popup-success-icon {
    font-size: 3.8em; display: block; margin-bottom: 12px;
    animation: wcSuccessBounce .6s cubic-bezier(.34,1.56,.64,1) .1s both;
}
@keyframes wcSuccessBounce {
    from { transform: scale(0) rotate(-20deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg);  opacity: 1; }
}
.popup-success-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75em; color: #fff; margin: 0;
    position: relative;
}
.popup-success-header h2 em { color: #4ade80; font-style: normal; }
.popup-success-body { padding: 28px 32px 32px; position: relative; z-index: 1; }
.popup-success-body p { color: rgba(255,255,255,.65); line-height: 1.75; margin: 0 0 10px; font-size: .93em; }
.popup-success-body strong { color: #4ade80; }
.popup-success-steps {
    background: rgba(74,222,128,.07);
    border: 1px solid rgba(74,222,128,.18);
    border-radius: 12px;
    padding: 16px 18px; margin: 18px 0; text-align: left;
}
.popup-success-steps h4 { font-size: .82em; font-weight: 700; color: #4ade80; margin-bottom: 10px; letter-spacing: .5px; text-transform: uppercase; }
.popup-success-steps li {
    font-size: .87em; color: rgba(255,255,255,.6); padding: 5px 0;
    list-style: none; display: flex; align-items: center; gap: 8px;
}
.popup-success-close {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff; border: none; border-radius: 999px;
    padding: 12px 32px; font-size: .95em; font-weight: 700;
    cursor: pointer; font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 20px rgba(34,197,94,.35);
    transition: transform .2s, box-shadow .2s;
}
.popup-success-close:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,197,94,.5); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   RESPONSIVE COMMUN
============================================= */
@media (max-width: 900px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .section { padding: 60px 20px; }
    .heading-xl { font-size: 2em; }
    .heading-lg { font-size: 1.7em; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .popup-box { margin: 15px; }
    .popup-header, .popup-body, .popup-actions { padding-left: 25px; padding-right: 25px; }
}

/* =============================================
   PAGE HERO (commun toutes pages secondaires)
============================================= */
.page-hero { height:300px; margin-top:68px; position:relative; display:flex; align-items:center; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; filter:brightness(0.18) saturate(0.5); }
.page-hero-bg::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(139,26,46,0.4),transparent); }
.page-hero-dots { position:absolute; inset:0; opacity:0.04; background-image:radial-gradient(circle,#C9A84C 1px,transparent 1px); background-size:38px 38px; }
.page-hero-inner { position:relative; z-index:2; max-width:1200px; margin:0 auto; padding:0 5%; width:100%; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:0.82em; color:rgba(255,255,255,0.5); margin-bottom:14px; }
.breadcrumb a { color:rgba(255,255,255,0.5); text-decoration:none; transition:color 0.2s; }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb i { font-size:0.65em; }
.page-hero-title { font-family:'DM Serif Display',serif; font-size:2.8em; color:white; margin-bottom:10px; line-height:1.1; }
.page-hero-title em { color:var(--gold); font-style:italic; }
.page-hero-sub { font-size:0.98em; color:rgba(255,255,255,0.6); font-weight:300; }

/* =============================================
   SECTIONS ALTERNÉES IMAGE / TEXTE
============================================= */
.alt-row { display:grid; grid-template-columns:1fr 1fr; gap:65px; align-items:center; margin-bottom:75px; }
.alt-row:last-child { margin-bottom:0; }
.alt-row.reverse .alt-img { order:-1; }
.alt-img { border-radius:16px; overflow:hidden; height:340px; position:relative; }
.alt-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.alt-img:hover img { transform:scale(1.04); }
.alt-img-overlay { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(transparent,rgba(0,0,0,0.78)); padding:20px; }
.alt-img-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.1); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,0.15); border-radius:8px; padding:8px 14px; color:white; font-size:0.84em; font-weight:500; }
.alt-text .tag { margin-bottom:12px; }
.alt-title { font-family:'DM Serif Display',serif; font-size:1.9em; color:var(--charcoal); line-height:1.2; margin-bottom:13px; }
.alt-title em { color:var(--burgundy); font-style:italic; }
.alt-desc { font-size:0.92em; color:var(--text-mid); line-height:1.8; font-weight:300; margin-bottom:20px; }
.alt-list { list-style:none; display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
.alt-list li { display:flex; align-items:flex-start; gap:10px; font-size:0.9em; color:var(--text-dark); }
.alt-list li span { font-size:1.1em; flex-shrink:0; }
.alt-list li strong { color:var(--charcoal); }

/* =============================================
   CARDS DE SERVICES (svc-card)
============================================= */
.svc-card { background:#FFFFFF; border:1.5px solid rgba(0,0,0,0.09); border-radius:13px; padding:26px 22px; transition:all 0.3s; position:relative; overflow:hidden; }
.svc-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--burgundy),var(--gold)); transform:scaleX(0); transition:transform 0.35s; }
.svc-card:hover { border-color:rgba(201,168,76,0.25); transform:translateY(-4px); box-shadow:0 12px 35px rgba(0,0,0,0.3); }
.svc-card:hover::after { transform:scaleX(1); }
.svc-emoji { font-size:2.2em; margin-bottom:14px; display:block; }
.svc-name { font-family:'DM Serif Display',serif; font-size:1.1em; color:var(--charcoal); margin-bottom:9px; }
.svc-desc { font-size:0.86em; color:var(--text-light); line-height:1.65; font-weight:300; }
.svc-ul { list-style:none; margin-top:12px; }
.svc-ul li { font-size:0.83em; color:var(--text-mid); padding:5px 0; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:8px; }
.svc-ul li:last-child { border-bottom:none; }
.svc-ul li i { color:var(--gold); font-size:0.7em; }

/* =============================================
   CTA BAND
============================================= */
.cta-band { background:linear-gradient(135deg,var(--burgundy-dark),var(--burgundy),var(--burgundy-light)); padding:75px 5%; text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:''; position:absolute; inset:0; opacity:0.04; background-image:radial-gradient(circle,white 1px,transparent 1px); background-size:35px 35px; }
.cta-inner { position:relative; z-index:2; max-width:650px; margin:0 auto; }
.cta-inner h2 { font-family:'DM Serif Display',serif; font-size:2.3em; color:white; margin-bottom:12px; }
.cta-inner h2 em { color:var(--gold-light); font-style:italic; }
.cta-inner p { color:rgba(255,255,255,0.6); font-size:0.98em; margin-bottom:28px; font-weight:300; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =============================================
   CHARCOAL SECTION (fond sombre)
============================================= */
.charcoal-section { background:#1E1E20; }
.charcoal-section .tag { color:var(--gold); background:rgba(201,168,76,0.1); }
.charcoal-section .heading-xl { color:white; }
.charcoal-section .lead { color:rgba(255,255,255,0.6); }

/* =============================================
   RESPONSIVE COMMUN
============================================= */
@media(max-width:900px) {
    .alt-row { grid-template-columns:1fr; gap:30px; }
    .alt-row.reverse .alt-img { order:0; }
    .alt-img { height:240px; }
    .page-hero-title { font-size:2em; }
    .page-hero { height:250px; }
}

/* =============================================
   NAV CARET (flèche dropdown)
============================================= */
.nav-caret {
    font-size: 0.6em;
    margin-left: 3px;
    transition: transform 0.25s;
    display: inline-block;
}
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* =============================================
   TABS (onglets HTML / WordPress)
============================================= */
.tabs {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    padding: 6px;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 35px;
    border: 1px solid var(--border);
}
.tab-btn {
    padding: 10px 24px;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88em;
    font-weight: 500;
    color: var(--text-mid);
    transition: all 0.25s;
}
.tab-btn.active { background: var(--burgundy); color: white; font-weight: 600; }
.tab-btn:hover:not(.active) { color: var(--charcoal); background: rgba(255,255,255,0.06); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.wp-note {
    background: rgba(201,168,76,0.08);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-left: 3px solid var(--gold);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.87em;
    color: var(--text-mid);
    line-height: 1.7;
}

/* =============================================
   SECTION CHARCOAL (fond sombre)
============================================= */
.charcoal-bg { background: #1E1E20 !important; color: white; }


/* BACK TO TOP */

/* ================================================
   FLÈCHE RETOUR EN HAUT — v2
================================================ */
.wc-back-top {
    position:fixed; right:28px; bottom:96px;
    width:38px; height:38px; border-radius:8px; border:1px solid rgba(201,168,76,.35);
    background:rgba(20,16,13,.9); backdrop-filter:blur(12px);
    color:#C9A84C; display:flex; align-items:center; justify-content:center;
    cursor:pointer; opacity:0; transform:translateY(8px);
    pointer-events:none;
    transition:opacity .3s ease, transform .3s ease, border-color .2s;
    z-index:997; box-shadow:0 2px 12px rgba(0,0,0,.35);
}
.wc-back-top__ring { display:none; }
.wc-back-top.show{opacity:1;transform:translateY(0);pointer-events:auto;}
.wc-back-top:hover{border-color:rgba(201,168,76,.7);transform:translateY(-2px);}

/* ================================================
   CHATBOT — v2
================================================ */
.wc-bot{position:fixed;left:20px;bottom:20px;width:min(360px,calc(100vw - 40px));z-index:998;font-family:'DM Sans',sans-serif;}
.wc-bot__fab{position:absolute;left:0;bottom:0;width:58px;height:58px;border-radius:50%;border:none;background:linear-gradient(135deg,#8B1A2E,#C41E3A);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 30px rgba(139,26,46,.5);transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .2s;overflow:visible;}
.wc-bot__fab-ring{position:absolute;inset:-5px;border-radius:50%;border:2px solid rgba(201,168,76,.35);animation:wcRingPulse 2.8s ease-in-out infinite;pointer-events:none;}
.wc-bot__fab:hover{transform:scale(1.08) translateY(-2px);box-shadow:0 12px 38px rgba(139,26,46,.6);}
.wc-bot__fab-icon{position:absolute;transition:opacity .2s,transform .25s;}
.wc-bot__fab-icon--close{opacity:0;transform:rotate(-45deg) scale(.7);}
.wc-bot.open .wc-bot__fab-icon--chat{opacity:0;transform:scale(.6);}
.wc-bot.open .wc-bot__fab-icon--close{opacity:1;transform:rotate(0) scale(1);}
.wc-bot__notif{position:absolute;top:-3px;right:-3px;width:18px;height:18px;border-radius:50%;background:#C9A84C;color:#1a0a00;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff;transition:opacity .2s;}
.wc-bot.open .wc-bot__notif{opacity:0;}
.wc-bot__shell{background:#1C1A18;border:1px solid rgba(201,168,76,.2);border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.4);overflow:hidden;transform:translateY(14px) scale(.95);opacity:0;pointer-events:none;transform-origin:bottom left;transition:opacity .25s ease,transform .3s cubic-bezier(.34,1.56,.64,1);margin-bottom:72px;}
.wc-bot.open .wc-bot__shell{transform:translateY(0) scale(1);opacity:1;pointer-events:auto;}
.wc-bot__header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(100deg,rgba(139,26,46,.95),rgba(100,14,30,.9));border-bottom:1px solid rgba(201,168,76,.15);}
.wc-bot__avatar{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0;border:1px solid rgba(201,168,76,.3);}
.wc-bot__meta{flex:1;}
.wc-bot__meta strong{display:block;font-size:.9rem;color:#fff;}
.wc-bot__meta span{font-size:.75rem;color:rgba(255,255,255,.7);display:flex;align-items:center;gap:5px;}
.wc-bot__dot{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 2px rgba(74,222,128,.3);animation:wcBlink 2s ease-in-out infinite;}
@keyframes wcBlink{0%,100%{opacity:1}50%{opacity:.4}}
.wc-bot__close{background:none;border:none;color:rgba(255,255,255,.6);cursor:pointer;padding:4px;border-radius:6px;transition:color .2s;}
.wc-bot__close:hover{color:#fff;}
.wc-bot__body,.bot-body{padding:14px;max-height:280px;overflow-y:auto;}
.wc-bot__msg,.msg{display:inline-block;clear:both;padding:10px 13px;border-radius:16px;margin:5px 0;font-size:.88rem;line-height:1.5;max-width:88%;}
.wc-bot__msg--bot,.msg.bot{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.88);border-radius:4px 16px 16px 16px;}
.msg.me{background:rgba(201,168,76,.15);border:1px solid rgba(201,168,76,.22);color:#fff;float:right;clear:both;border-radius:16px 4px 16px 16px;}
.wc-bot__chips,.quick{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 12px;}
.wc-bot__chip,.chip{border:1px solid rgba(201,168,76,.3);background:rgba(255,255,255,.04);color:rgba(255,255,255,.85);padding:6px 11px;border-radius:999px;font-size:.8rem;cursor:pointer;font-family:'DM Sans',sans-serif;transition:all .18s ease;}
.wc-bot__chip:hover,.chip:hover{border-color:rgba(201,168,76,.6);background:rgba(201,168,76,.12);color:#fff;}
.wc-bot__input,.bot-input{display:flex;gap:8px;padding:10px 14px 14px;border-top:1px solid rgba(255,255,255,.06);}
.wc-bot__input input,.bot-input input{flex:1;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;padding:10px 14px;outline:none;font-family:'DM Sans',sans-serif;font-size:.88rem;}
.wc-bot__input input::placeholder,.bot-input input::placeholder{color:rgba(255,255,255,.45);}
.wc-bot__send,.send{width:40px;height:40px;border-radius:50%;border:none;background:linear-gradient(135deg,#8B1A2E,#C41E3A);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s;}
.wc-bot__send:hover,.send:hover{transform:scale(1.08);}

/* ================================================
   POPUP PROPAGANDE — v2
================================================ */
.wc-promo{background:#14100D;border-radius:24px;max-width:480px;width:100%;position:relative;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.55);animation:slideUp .4s cubic-bezier(.34,1.56,.64,1);}
.wc-promo::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 80% 10%,rgba(201,168,76,.12) 0%,transparent 60%),radial-gradient(ellipse at 10% 90%,rgba(139,26,46,.2) 0%,transparent 55%);pointer-events:none;}
.wc-promo__top{background:linear-gradient(100deg,#8B1A2E 0%,#9B1B2F 100%);padding:14px 24px;display:flex;align-items:center;justify-content:space-between;}
.wc-promo__stars{color:#C9A84C;font-size:1rem;letter-spacing:2px;}
.wc-promo__badge{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:.72rem;font-weight:700;padding:4px 12px;border-radius:999px;text-transform:uppercase;letter-spacing:.5px;}
.wc-promo__close{position:absolute;top:12px;right:14px;background:rgba(255,255,255,.1);border:none;color:rgba(255,255,255,.7);width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s;z-index:2;}
.wc-promo__close:hover{background:rgba(255,255,255,.2);color:#fff;}
.wc-promo__body{padding:28px 32px 18px;position:relative;z-index:1;}
.wc-promo__rocket{font-size:3rem;line-height:1;margin-bottom:12px;display:inline-block;animation:wcRocket 1.8s ease-in-out infinite;}
@keyframes wcRocket{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-8px) rotate(5deg)}}
.wc-promo__title{font-family:'DM Serif Display',serif;font-size:1.5rem;line-height:1.25;color:#fff;margin:0 0 6px;}
.wc-promo__title em{color:#C9A84C;font-style:normal;}
.wc-promo__sub{font-size:1rem;color:rgba(255,255,255,.6);margin:0 0 16px;}
.wc-promo__sub strong{color:#C9A84C;font-size:1.2rem;}
.wc-promo__list{list-style:none;margin:0 0 16px;padding:0;}
.wc-promo__list li{padding:9px 0;color:rgba(255,255,255,.8);font-size:.92rem;border-bottom:1px solid rgba(255,255,255,.07);display:flex;align-items:center;gap:10px;}
.wc-promo__list li:last-child{border:none;}
.wc-promo__accroche{font-size:.86rem;color:rgba(255,255,255,.4);font-style:italic;margin:0;}
.wc-promo__actions{padding:0 32px 28px;display:flex;gap:12px;align-items:center;position:relative;z-index:1;}
.wc-promo__later{background:none;border:1px solid rgba(255,255,255,.25);color:rgba(255,255,255,.55);padding:11px 20px;border-radius:999px;font-size:.88rem;cursor:pointer;font-family:'DM Sans',sans-serif;transition:all .2s;white-space:nowrap;}
.wc-promo__later:hover{border-color:rgba(255,255,255,.5);color:rgba(255,255,255,.9);}
.wc-promo__cta{flex:1;text-align:center;background:linear-gradient(135deg,#C8A84B,#F0D080,#C8A84B);background-size:200% auto;color:#1a0f00;font-weight:700;padding:12px 22px;border-radius:999px;font-size:.92rem;text-decoration:none;transition:background-position .4s,transform .2s,box-shadow .2s;box-shadow:0 4px 20px rgba(200,168,75,.35);white-space:nowrap;}
.wc-promo__cta:hover{background-position:right center;transform:translateY(-2px);box-shadow:0 8px 28px rgba(200,168,75,.5);}

@media(max-width:520px){
    .wc-bot{left:12px;bottom:12px;}
    .wc-back-top{right:22px;bottom:90px;}
}
