
/* =========================================================
   UK Limited page styles (moved from inline <style>)
   File: css/style.css (append these rules)
   ========================================================= */

:root{
  --primary-blue:#0b1c2c;
  --secondary-blue:#1a3a52;
  --gold:#b8935f;
  --light-gold:#d4af37;
}

/* Typography baseline (kept consistent with the page) */
body{
  font-family:'Lato', sans-serif;
  line-height:1.7;
  color:#333;
}
h1,h2,h3,h4,h5,h6{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color:var(--primary-blue);
}

/* Shared helpers used in the page */
.section-title{
  color:var(--primary-blue);
  border-bottom:3px solid var(--gold);
  padding-bottom:15px;
  margin-bottom:30px;
}

.check-list{
  list-style:none;
  padding:0;
  margin:0;
}
.check-list li{
  padding:8px 0 8px 30px;
  position:relative;
}
.check-list li:before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--gold);
  font-weight:700;
  font-size:18px;
}

.warning-box{
  background:#fff3cd;
  border-left:4px solid #ffc107;
  padding:20px;
  margin:20px 0;
  border-radius:10px;
}
.success-box{
  background:#d4edda;
  border-left:4px solid #28a745;
  padding:20px;
  margin:20px 0;
  border-radius:10px;
}
.info-box{
  background:#d1ecf1;
  border-left:4px solid #0c5460;
  padding:20px;
  margin:20px 0;
  border-radius:10px;
}

.cta-button{
  background:linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
  color:#fff;
  padding:15px 40px;
  border-radius:999px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow:0 4px 15px rgba(184,147,95,.30);
}
.cta-button:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(184,147,95,.35);
  color:#fff;
}

/* ---------- New MINI HERO (requested) ---------- */
.hero.hero-mini{
  background:linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color:#fff;
  padding:48px 0 36px;
  position:relative;
  overflow:hidden;
}
.hero.hero-mini::before{
  content:'🇬🇧';
  position:absolute;
  font-size:220px;
  opacity:.06;
  right:-40px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
}
.hero.hero-mini .hero-title,
.hero.hero-mini .hero-subtitle{
  color:#fff !important;
}
.hero.hero-mini .hero-subtitle{
  max-width:880px;
  margin:0 auto;
}

/* Badges (different color per "case") */
.badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem 1rem;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  line-height:1;
  box-shadow:0 10px 22px rgba(0,0,0,.15);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:saturate(140%) blur(6px);
}
.badge i{opacity:.95}

.badge-blue{background:rgba(59,130,246,.22); color:#eaf2ff; border-color:rgba(59,130,246,.35);}
.badge-green{background:rgba(34,197,94,.22); color:#ecfff1; border-color:rgba(34,197,94,.35);}
.badge-amber{background:rgba(245,158,11,.22); color:#fff7e6; border-color:rgba(245,158,11,.35);}
.badge-purple{background:rgba(168,85,247,.22); color:#f7eeff; border-color:rgba(168,85,247,.35);}

/* Optional: small-screen spacing */
@media (max-width:640px){
  .hero.hero-mini{padding:42px 0 30px;}
  .badge{font-size:.9rem; padding:.5rem .9rem;}
}
/* ============================================
   CORPX.FR - STYLES GÉNÉRAUX
   ============================================ */

:root {
    /* Palette de couleurs - Bleu Marine & Or Mat */
    --primary-color: #0b1c2c;
    --primary-dark: #081420;
    --primary-light: #1a3a52;
    --secondary-color: #b8935f;
    --secondary-dark: #9a7a4f;
    --accent-color: #b8935f;
    --accent-hover: #c9a06d;
    
    /* Couleurs neutres */
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    
    /* Typographie */
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Espacements */
    --container-width: 1280px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.logo a:hover {
    opacity: 0.9;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    margin-left: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 32px;
}

.logo strong {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
}

.nav-menu > li > a:hover {
    color: var(--secondary-color);
}

.nav-menu .btn-contact {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-menu .btn-contact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Language Switcher */
.language-switcher {
    display: flex !important;
    gap: 10px;
    align-items: center;
    padding-left: 20px;
    border-left: 2px solid rgba(184, 147, 95, 0.3);
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(184, 147, 95, 0.1);
    border: 2px solid rgba(184, 147, 95, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 55px;
    height: 55px;
}

.lang-btn .flag {
    font-size: 22px;
    line-height: 1;
    display: block;
}

.lang-btn .lang-code {
    font-size: 11px;
    font-weight: 700;
    color: rgba(184, 147, 95, 0.8);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

.lang-btn:hover {
    background: rgba(184, 147, 95, 0.25);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(184, 147, 95, 0.4);
}

.lang-btn:hover .lang-code {
    color: var(--secondary-color);
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.3), rgba(184, 147, 95, 0.2));
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(184, 147, 95, 0.5), inset 0 0 10px rgba(184, 147, 95, 0.2);
}

.lang-btn.active .lang-code {
    color: var(--secondary-color);
    font-weight: 800;
}

/* Language Switcher pour écrans moyens */
@media (max-width: 1400px) {
    .nav-menu {
        gap: 20px;
    }
    
    .language-switcher {
        gap: 6px;
        padding-left: 15px;
    }
    
    .lang-btn {
        min-width: 45px;
        height: 45px;
        padding: 6px 8px;
    }
    
    .lang-btn .flag {
        font-size: 18px;
    }
    
    .lang-btn .lang-code {
        font-size: 9px;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }
    
    .language-switcher {
        gap: 5px;
        padding-left: 10px;
    }
    
    .lang-btn {
        min-width: 40px;
        height: 40px;
        padding: 5px 6px;
    }
    
    .lang-btn .flag {
        font-size: 16px;
    }
    
    .lang-btn .lang-code {
        font-size: 8px;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 30%;
    transform: translateX(-30%) translateY(10px);
    background: var(--primary-color);
    min-width: 850px;
    max-width: 950px;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    padding: 35px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 5px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    transform: translateX(-30%) translateY(0);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dropdown-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-column a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    transition: var(--transition);
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.dropdown-column a:hover {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 15px;
}

/* Simple Dropdown for Banking & Licences */
.dropdown-simple {
    min-width: 300px !important;
    max-width: 300px !important;
    padding: 20px !important;
}

.dropdown-simple {
    background: var(--primary-color) !important;
    border: 1px solid var(--secondary-color) !important;
}

.dropdown-simple a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 15px !important;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    border-left: none !important;
}

.dropdown-simple a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 15px !important;
}

.dropdown-simple a i {
    color: var(--secondary-color);
    font-size: 18px;
}

.dropdown-simple a:hover i {
    color: var(--primary-color);
}

/* Country Group with Subitems (for hierarchical menu structure) */
.country-group {
    margin-bottom: 5px;
}

.country-header {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    padding-left: 10px;
    cursor: default;
    letter-spacing: 0.3px;
}

.country-subitems {
    margin-left: 20px;
    margin-top: 5px;
    padding-left: 10px;
    border-left: 1px solid rgba(184, 147, 95, 0.3);
}

.country-subitems a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 6px 0 6px 10px;
    font-size: 13px;
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.country-subitems a:hover {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    background: linear-gradient(rgba(11, 28, 44, 0.8), rgba(11, 28, 44, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    opacity: 0.85;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    font-family: var(--font-heading);
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    color: white;
    margin-bottom: 30px;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
}

.btn-gold:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   SECTIONS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Centrer tous les h3 de sections */
.jurisdictions h3,
.banking-section h3,
.licences-section h3,
h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin: 40px auto 30px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */

.services-overview {
    padding: var(--section-padding);
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c2d12, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-choose {
    padding: var(--section-padding);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.why-choose-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}

.why-choose-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.lead {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 35px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 35px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.benefits-list i {
    font-size: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.benefits-list p {
    color: var(--gray-600);
}

.why-choose-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

/* Image bureau-luxueux.jpg spécifique (×2) */
.bureau-img {
    width: 160% !important;
    max-width: 1000px !important;
}

/* ============================================
   JURISDICTIONS
   ============================================ */

.jurisdictions {
    padding: var(--section-padding);
    background: var(--gray-100);
}

.jurisdiction-category {
    margin-bottom: 60px;
}

.jurisdiction-category h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jurisdiction-category h3 i {
    color: var(--secondary-color);
}

.jurisdiction-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.jurisdiction-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    width: calc(25% - 20px);
    min-width: 240px;
    flex: 0 1 auto;
}

@media (max-width: 1200px) {
    .jurisdiction-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 900px) {
    .jurisdiction-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .jurisdiction-card {
        width: 100%;
    }
}

.jurisdiction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-light);
}

.flag-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.jurisdiction-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.jurisdiction-types {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.jurisdiction-card p {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================
   BANKING SECTION
   ============================================ */

/* Section Comptes Bancaires - Visible immédiatement */
.banking-section {
    padding: var(--section-padding);
    background: var(--gray-100);
}

.banking-section.visible {
    opacity: 1;
    visibility: visible;
}

.banking-section-original {
    padding: var(--section-padding);
}

.banking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

/* 5ème carte (États-Unis) - placée au milieu de la 2ème rangée */
.banking-grid .banking-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* 6ème carte (Banques en Ligne) - placée à côté */
.banking-grid .banking-card:nth-child(6) {
    grid-column: 3 / 4;
}

@media (max-width: 1200px) {
    .banking-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.banking-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    border: 2px solid var(--gray-300);
    transition: var(--transition);
    max-width: 320px;
    width: 100%;
}

.banking-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.banking-card.highlight {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(184, 147, 95, 0.2);
}

.banking-card.highlight h3 {
    color: var(--gray-900) !important;
}

.banking-card.highlight p {
    color: var(--gray-700) !important;
}

.banking-card.highlight .banking-features li {
    color: var(--gray-900) !important;
}

.banking-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.banking-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.banking-card p {
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
}

.banking-features {
    list-style: none;
    margin-bottom: 25px;
}

.banking-features li {
    padding: 8px 0;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.banking-features i {
    color: var(--secondary-color);
}

/* ============================================
   LICENCES SECTION
   ============================================ */

.licences-section {
    padding: var(--section-padding);
    background: var(--gray-100);
}

.licences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

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

@media (max-width: 700px) {
    .licences-grid {
        grid-template-columns: 1fr;
    }
}

.licence-card {
    background: var(--white);
    padding: 45px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    max-width: 380px;
    width: 100%;
}

.licence-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.licence-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #7c2d12, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 42px;
    color: var(--white);
}

.licence-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.licence-card > p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

.licence-features {
    list-style: none;
    margin-bottom: 30px;
}

.licence-features li {
    padding: 10px 0;
    padding-left: 25px;
    color: var(--gray-700);
    position: relative;
}

.licence-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-family: var(--font-main);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-color);
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand-text {
    font-family: var(--font-heading);
    color: var(--white);
}

.footer-brand-text strong {
    color: var(--secondary-color);
}

.footer-logo i {
    font-size: 32px;
    color: var(--secondary-color);
}

.footer-logo strong {
    color: var(--secondary-color);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: var(--transition);
}

.footer-logo-img:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.footer-column p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-column h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-newsletter input,
.footer-newsletter textarea {
    padding: 12px;
    border: 1px solid var(--gray-700);
    background: var(--gray-800);
    color: var(--white);
    border-radius: 6px;
    font-family: var(--font-main);
}

.footer-newsletter input:focus,
.footer-newsletter textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-newsletter textarea {
    resize: vertical;
}

.footer-hours {
    background: var(--gray-800);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--gray-700);
}

.footer-hours p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.footer-hours p:last-child {
    margin-bottom: 0;
}

.footer-hours i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-hours span {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

.footer-hours .urgent {
    border-top: 1px solid var(--gray-700);
    padding-top: 15px;
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
    margin: 10px 0;
}

.footer-links {
    font-size: 14px;
    margin-top: 15px;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ============================================
   POPUP MODAL
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    width: 90%;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: var(--transition);
    text-align: center;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close,
.popup-close-thank {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--gray-600);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.popup-close:hover,
.popup-close-thank:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c2d12, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: var(--white);
}

.popup-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.popup-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.popup-text {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.popup-benefits li {
    padding: 12px 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 12px;
}

.popup-benefits i {
    color: var(--secondary-color);
    font-size: 20px;
}

.popup-cta-text {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 25px;
}

.popup-disclaimer {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .dropdown-content {
        min-width: 600px;
    }
    
    .dropdown-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .why-choose-grid {
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ============================================
   COOKIE CONSENT POPUP
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transition: transform 0.4s ease;
}

.cookie-consent.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 48px;
    color: var(--secondary-color);
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 10px 25px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-size: 14px;
    margin-left: 10px;
}

.cookie-link:hover {
    color: var(--accent-hover);
}

/* ============================================
   VIRTUAL ASSISTANT BERNARD TAPIE (CHARACTER)
   ============================================ */

.virtual-assistant-bernard {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 420px;
    max-width: calc(100vw - 40px);
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 25px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.virtual-assistant-bernard.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.assistant-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--gray-700);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.assistant-close:hover {
    background: var(--gray-800);
    color: var(--white);
    transform: rotate(90deg);
}

/* BERNARD CHARACTER - Hidden, replaced by portrait */
.bernard-character {
    display: block;
    margin-bottom: 25px;
}

.bernard-body {
    display: block;
    position: relative;
    height: 180px;
    margin-bottom: 15px;
}

/* BERNARD PORTRAIT */
.bernard-portrait-container {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.bernard-portrait {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

.bernard-face-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bernard-info {
    text-align: center;
    margin: -10px 0 10px 0;
}

.bernard-info h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.bernard-info p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
}

/* Tête Bernard */
.bernard-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 90px;
    animation: bernardBreathe 3s ease-in-out infinite;
}

@keyframes bernardBreathe {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.bernard-hair {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 35px;
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.bernard-hair::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -5px;
    width: 20px;
    height: 25px;
    background: #3a3a3a;
    border-radius: 50%;
}

.bernard-hair::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -5px;
    width: 20px;
    height: 25px;
    background: #3a3a3a;
    border-radius: 50%;
}

.bernard-face {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 75px;
    background: linear-gradient(135deg, #f5d0a9 0%, #e6b890 100%);
    border-radius: 45% 45% 50% 50%;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.1);
}

/* Yeux */
.bernard-eyes {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    display: flex;
    justify-content: space-between;
}

.eye {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    position: relative;
    border: 2px solid #2a2a2a;
    animation: bernardBlink 4s infinite;
}

@keyframes bernardBlink {
    0%, 96%, 100% { height: 14px; }
    98% { height: 2px; }
}

.pupil {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    animation: bernardLook 5s infinite;
}

@keyframes bernardLook {
    0%, 100% { transform: translate(-50%, -50%); }
    25% { transform: translate(-30%, -50%); }
    50% { transform: translate(-50%, -30%); }
    75% { transform: translate(-70%, -50%); }
}

/* Nez */
.bernard-nose {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 16px;
    background: linear-gradient(135deg, #d4a882 0%, #c09870 100%);
    border-radius: 0 0 50% 50%;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Bouche */
.bernard-mouth {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 18px;
    overflow: hidden;
}

.smile {
    width: 35px;
    height: 25px;
    border: 3px solid #8b4513;
    border-radius: 0 0 50% 50%;
    border-top: none;
    background: #ff6b6b;
    animation: bernardSmile 3s ease-in-out infinite;
}

@keyframes bernardSmile {
    0%, 100% { height: 25px; }
    50% { height: 20px; }
}

/* Animation quand Bernard parle */
.bernard-mouth.talking .smile {
    animation: bernardTalking 0.3s ease-in-out infinite;
}

@keyframes bernardTalking {
    0%, 100% { height: 25px; }
    50% { height: 15px; }
}

/* Corps / Costume */
.bernard-torso {
    position: absolute;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 70px;
}

.bernard-suit {
    position: relative;
    width: 100%;
    height: 100%;
}

.suit-jacket {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px 10px 30% 30%;
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.suit-jacket::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--primary-dark);
}

.suit-tie {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    clip-path: polygon(50% 0%, 0% 20%, 25% 20%, 35% 100%, 65% 100%, 75% 20%, 100% 20%);
    z-index: 2;
}

.suit-shirt {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: white;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

/* Bras */
.bernard-arms {
    position: absolute;
    top: 10px;
    width: 100%;
    height: 50px;
}

.arm {
    position: absolute;
    width: 18px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
}

.left-arm {
    left: 0;
    transform: rotate(-15deg);
    transform-origin: top center;
    animation: bernardWaveLeft 3s ease-in-out infinite;
}

.right-arm {
    right: 0;
    transform: rotate(15deg);
    transform-origin: top center;
    animation: bernardWaveRight 3s ease-in-out infinite 0.5s;
}

@keyframes bernardWaveLeft {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-25deg); }
}

@keyframes bernardWaveRight {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(25deg); }
}

/* Nom Bernard */
.bernard-name {
    text-align: center;
    margin-top: 10px;
}

.bernard-name h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.bernard-name p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
}

/* Bulle de dialogue sous le portrait */
.bernard-speech-bubble {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-height: 100px;
    border: 2px solid var(--secondary-color);
    width: 100%;
}

.speech-content {
    transition: opacity 0.3s ease;
}

.speech-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-800);
    font-weight: 500;
}

.speech-arrow {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid var(--secondary-color);
}

.speech-arrow::after {
    content: '';
    position: absolute;
    top: 2px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

/* Quick Replies Bernard */
.bernard-quick-replies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.quick-reply-bernard {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-reply-bernard:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.quick-reply-bernard i {
    font-size: 16px;
}

/* Zone d'input Bernard */
.bernard-input-area {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bernard-input-area input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-main);
}

.bernard-input-area input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.bernard-send-btn {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bernard-send-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

/* ASSISTANT BUTTON (unchanged) */
.assistant-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 998;
}

.assistant-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.assistant-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.virtual-assistant {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 140px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.virtual-assistant.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.assistant-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.assistant-avatar {
    position: relative;
}

.avatar-image {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    border: 3px solid var(--white);
}

.avatar-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.assistant-info {
    flex: 1;
}

.assistant-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.status-text {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.assistant-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.assistant-close:hover {
    transform: rotate(90deg);
}

.assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--gray-100);
}

.message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--primary-color);
    color: var(--white);
}

.message-content {
    flex: 1;
}

.message-content p {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    margin: 0;
    box-shadow: var(--shadow-sm);
    line-height: 1.5;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content p {
    background: var(--primary-color);
    color: var(--white);
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.quick-reply:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.assistant-input {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--gray-300);
    border-radius: 0 0 16px 16px;
}

.assistant-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.assistant-input input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.btn-send {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-send:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BOOTSTRAP MODAL CUSTOMIZATION
   ============================================ */

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-bottom: 2px solid var(--secondary-color);
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.btn-close {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    /* Bernard Virtual Assistant Responsive */
    .virtual-assistant-bernard {
        width: calc(100vw - 20px);
        bottom: 10px;
        right: 10px;
        padding: 20px;
    }
    
    .bernard-body {
        width: 100px;
        height: 140px;
        transform: scale(0.9);
    }
    
    .bernard-quick-replies {
        grid-template-columns: 1fr;
    }
    
    .quick-reply-bernard {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .assistant-button {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-icon {
        font-size: 36px;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 15px;
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-menu > li > a {
        display: block;
        padding: 15px;
    }
    
    /* Language Switcher Responsive */
    .language-switcher {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--gray-300);
        padding-top: 20px;
        margin-top: 20px;
        justify-content: center;
        gap: 12px;
    }
    
    .lang-btn {
        flex: 1;
        max-width: 70px;
        padding: 10px 8px;
    }
    
    .lang-btn .flag {
        font-size: 24px;
    }
    
    .lang-btn .lang-code {
        font-size: 11px;
    }
    
    .dropdown-content {
        position: static;
        min-width: auto;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px;
        border: 1px solid var(--gray-300);
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 800px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Hero */
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 32px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-choose-content h2 {
        font-size: 32px;
    }
    
    .jurisdiction-grid {
        grid-template-columns: 1fr;
    }
    
    .banking-grid {
        grid-template-columns: 1fr;
    }
    
    .licences-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    /* Popup */
    .popup-content {
        padding: 35px 25px;
    }
    
    .popup-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}
/* =========================================================
   UK Limited page styles (moved from inline <style>)
   File: css/style.css (append these rules)
   ========================================================= */

:root{
  --primary-blue:#0b1c2c;
  --secondary-blue:#1a3a52;
  --gold:#b8935f;
  --light-gold:#d4af37;
}

/* Typography baseline (kept consistent with the page) */
body{
  font-family:'Lato', sans-serif;
  line-height:1.7;
  color:#333;
}
h1,h2,h3,h4,h5,h6{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color:var(--primary-blue);
}

/* Shared helpers used in the page */
.section-title{
  color:var(--primary-blue);
  border-bottom:3px solid var(--gold);
  padding-bottom:15px;
  margin-bottom:30px;
}

.check-list{
  list-style:none;
  padding:0;
  margin:0;
}
.check-list li{
  padding:8px 0 8px 30px;
  position:relative;
}
.check-list li:before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--gold);
  font-weight:700;
  font-size:18px;
}

.warning-box{
  background:#fff3cd;
  border-left:4px solid #ffc107;
  padding:20px;
  margin:20px 0;
  border-radius:10px;
}
.success-box{
  background:#d4edda;
  border-left:4px solid #28a745;
  padding:20px;
  margin:20px 0;
  border-radius:10px;
}
.info-box{
  background:#d1ecf1;
  border-left:4px solid #0c5460;
  padding:20px;
  margin:20px 0;
  border-radius:10px;
}

.cta-button{
  background:linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
  color:#fff;
  padding:15px 40px;
  border-radius:999px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow:0 4px 15px rgba(184,147,95,.30);
}
.cta-button:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(184,147,95,.35);
  color:#fff;
}

/* ---------- New MINI HERO (requested) ---------- */
.hero.hero-mini{
  background:linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color:#fff;
  padding:48px 0 36px;
  position:relative;
  overflow:hidden;
}
.hero.hero-mini::before{
  content:'🇬🇧';
  position:absolute;
  font-size:220px;
  opacity:.06;
  right:-40px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
}
.hero.hero-mini .hero-title,
.hero.hero-mini .hero-subtitle{
  color:#fff !important;
}
.hero.hero-mini .hero-subtitle{
  max-width:880px;
  margin:0 auto;
}

/* Badges (different color per "case") */
.badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem 1rem;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  line-height:1;
  box-shadow:0 10px 22px rgba(0,0,0,.15);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:saturate(140%) blur(6px);
}
.badge i{opacity:.95}

.badge-blue{background:rgba(59,130,246,.22); color:#eaf2ff; border-color:rgba(59,130,246,.35);}
.badge-green{background:rgba(34,197,94,.22); color:#ecfff1; border-color:rgba(34,197,94,.35);}
.badge-amber{background:rgba(245,158,11,.22); color:#fff7e6; border-color:rgba(245,158,11,.35);}
.badge-purple{background:rgba(168,85,247,.22); color:#f7eeff; border-color:rgba(168,85,247,.35);}

/* Optional: small-screen spacing */
@media (max-width:640px){
  .hero.hero-mini{padding:42px 0 30px;}
  .badge{font-size:.9rem; padding:.5rem .9rem;}
}

/* ============================================
   MENU JURIDICTIONS — PANNEAU PAR RÉGIONS
   ============================================ */

/* Le panneau mega-menu Juridictions */
.juridictions-panel {
    min-width: 640px !important;
    max-width: 720px !important;
    padding: 0 !important;
    overflow: visible !important;
    max-height: none !important;
}

/* Barre des boutons régions */
.jur-regions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 20px 20px 14px;
    border-bottom: 1px solid rgba(184, 147, 95, 0.25);
    background: rgba(255,255,255,0.04);
}

.jur-region-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(184, 147, 95, 0.3);
    color: rgba(255,255,255,0.85);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    white-space: nowrap;
}

.jur-region-btn:hover {
    background: rgba(184, 147, 95, 0.2);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.jur-region-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
}

/* Grille des pays */
.jur-countries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 16px 20px 20px;
}

.jur-countries a {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.jur-countries a:hover {
    background: rgba(184, 147, 95, 0.15);
    border-color: rgba(184, 147, 95, 0.3);
    color: var(--secondary-color);
    transform: translateX(3px);
}

.jur-countries a span {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.jur-countries a:hover span {
    color: rgba(184, 147, 95, 0.7);
}

/* ============================================
   SECTIONS ALTERNÉES TEXTE / IMAGE
   ============================================ */

.alt-sections {
    padding: 80px 0;
    background: var(--white);
}

.alt-sections .section-header {
    margin-bottom: 70px;
}

/* Chaque bloc alterné */
.alt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
    padding-bottom: 90px;
    border-bottom: 1px solid var(--gray-300);
}

.alt-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Version inversée : image à droite = on inverse l'ordre des colonnes */
.alt-row.reverse {
    direction: rtl; /* astuce propre pour inverser */
}
.alt-row.reverse > * {
    direction: ltr;
}

/* Image */
.alt-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.alt-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 3px solid var(--secondary-color);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.alt-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.alt-row:hover .alt-image img {
    transform: scale(1.03);
}

/* Contenu texte */
.alt-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alt-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(11,28,44,0.25);
    flex-shrink: 0;
}

.alt-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    text-align: left;
}

.alt-content p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

/* Liste de points */
.alt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alt-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 500;
}

.alt-list li i {
    color: var(--secondary-color);
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE — ALTERNANCE & MENU JURIDICTIONS
   ============================================ */

@media (max-width: 1024px) {
    .juridictions-panel {
        min-width: 400px !important;
        max-width: 500px !important;
    }
    .jur-countries {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Alternance : empiler verticalement */
    .alt-row,
    .alt-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
        margin-bottom: 60px;
        padding-bottom: 60px;
    }
    .alt-image img {
        height: 240px;
    }
    .alt-content h3 {
        font-size: 22px;
    }

    /* Menu juridictions mobile */
    .juridictions-panel {
        min-width: 280px !important;
        max-width: 95vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .jur-regions-bar {
        gap: 4px;
    }
    .jur-region-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* ============================================================
   MENU JURIDICTIONS — Séparateurs entre pays multi-formes
   ============================================================ */

/* Ligne de séparation entre groupes de formes juridiques */
.jur-countries a + a[href*="-llp"],
.jur-countries a + a[href*="-sas"],
.jur-countries a + a[href*="-sci"],
.jur-countries a + a[href*="irlande"],
.jur-countries a + a[href*="-ag"],
.jur-countries a + a[href*="pays-bas"] {
    border-top: 1px solid rgba(184, 147, 95, 0.2);
    margin-top: 4px;
    padding-top: 8px !important;
}

/* Légère indentation pour les sous-formes du même pays */
.jur-countries a[href*="-llp"],
.jur-countries a[href*="-sas"],
.jur-countries a[href*="-sci"],
.jur-countries a[href*="-ag"] {
    padding-left: 22px !important;
    font-size: 13px !important;
    opacity: 0.88;
}

.jur-countries a[href*="-llp"]::before,
.jur-countries a[href*="-sas"]::before,
.jur-countries a[href*="-sci"]::before,
.jur-countries a[href*="-ag"]::before {
    content: '└ ';
    color: rgba(184, 147, 95, 0.6);
    font-size: 11px;
}
