/* ========================================
   FRANCE WEB SERVICES - CSS GLOBAL (Fusionné)
   Design: Bordeaux, Or, Champagne/Crème
======================================== */

/* Variables pour le Thème */
:root {
    /* Couleurs principales */
    --burgundy-dark: #6B0F1A;
    --burgundy: #8B0000;
    --burgundy-light: #A0002A;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --silver: #C0C0C0;
    --silver-dark: #A8A8A8;
    
    /* Champagne / Crème (remplace le blanc) */
    --champagne: #F5E6D3;
    --champagne-light: #FAF0E6;
    --creme: #FFF8DC;
    
    /* Textes */
    --text-light: #E8E8E8;
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    
    /* Arrière-plans */
    --bg-dark: #1A0A0F;
    --bg-light: var(--champagne-light);
    --bg-white: var(--creme);
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', 'Georgia', serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Tous les liens par défaut */
a {
    color: inherit;
    text-decoration: none;
}

/* Liens dans le contenu */
.section p a,
.section li a {
    color: var(--burgundy);
    text-decoration: underline;
}

.section p a:hover,
.section li a:hover {
    color: var(--gold);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================== 
   HEADER & NAVIGATION 
======================================== */
.top-bar {
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-left a:hover {
    color: var(--gold-light);
}

/* Sélecteur de langue */
.lang-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.lang-switcher a {
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--gold);
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
}

.header {
    background: var(--creme);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px; /* Taille ajustée pour le header */
    width: auto;
    transition: transform 0.3s;
}

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

.logo h1 {
    color: var(--burgundy);
    font-size: 28px;
    margin: 0;
}

.logo .tagline {
    color: var(--gold-light) !important;
    font-size: 14px;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 600;
}

.nav {
    display: block !important;
}

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

.nav-item {
    position: relative;
}

.nav-menu a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mega Menu */
.megamenu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--creme);
    border: 2px solid var(--gold);
    border-radius: 0 0 15px 15px;
    padding: 40px;
    width: 100%;
    max-width: 1400px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    z-index: 9999;
    margin: 0 auto;
    margin-top: 10px;
    /* Styles pour JS/Hover */
    display: none; 
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.nav-item:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.megamenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.megamenu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.megamenu-column h4 {
    color: var(--burgundy);
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    font-weight: 700;
}

.megamenu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-column li {
    margin-bottom: 8px;
}

.megamenu-column a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.megamenu-column a:hover {
    color: var(--burgundy);
    padding-left: 5px;
    font-weight: 600;
}

/* Boutons CTA */
.btn, .btn-primary, .btn-secondary, .btn-gold, .btn-silver {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Lora', serif;
    letter-spacing: 0.5px;
    text-align: center;
    font-size: 15px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--burgundy-dark);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

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

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    background: var(--burgundy);
    color: var(--text-light);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 24px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--creme);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.4s;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    background: var(--burgundy);
    color: var(--text-light);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav ul li {
    border-bottom: 1px solid #E0E0E0;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 10px;
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
}

.mobile-nav ul li a:hover {
    background: var(--champagne-light);
    color: var(--gold);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
}

.mobile-overlay.active {
    display: block;
}

/* ======================================== 
   HERO SECTION 
======================================== */
.hero {
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--burgundy-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    color: var(--text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 1;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    font-size: 20px;
    margin-bottom: 50px;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.hero-image {
    margin: 50px 0;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(212, 175, 55, 0.3);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ======================================== 
   SECTIONS GÉNÉRALES
======================================== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: linear-gradient(135deg, var(--bg-dark), var(--burgundy-dark));
    color: var(--text-light);
}

.section-light {
    background: var(--champagne-light);
    color: var(--text-dark);
}

.section-white {
    background: var(--creme);
    color: var(--text-dark);
}

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

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--burgundy);
}

.section-dark .section-title {
    color: var(--gold-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Solutions Intelligentes */
.smart-solutions {
    background: linear-gradient(135deg, var(--creme) 0%, var(--champagne-light) 100%);
    padding: 100px 0;
    position: relative;
}

.smart-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.solution-item {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.solution-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.2);
}

.solution-icon {
    font-size: 64px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-item h3 {
    color: var(--burgundy);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.solution-item p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--creme);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border-top: 4px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.15);
    border-top-color: var(--burgundy);
}

.service-icon {
    font-size: 48px;
    color: var(--burgundy);
    margin-bottom: 20px;
    display: block;
}

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

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

.service-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Section E-réputation, SEO, Chatbot (centrage et mise en page) */
#ereputation-details, #seo, #chatbot {
    padding: 80px 0;
}

#ereputation-details .container, #seo .container, #chatbot .container {
    max-width: 1100px;
}

#ereputation-details [style*="grid-template-columns"], 
#seo [style*="grid-template-columns"], 
#chatbot [style*="grid-template-columns"] {
    display: grid;
    align-items: center;
}

/* Traduction & Analyse Documents */
#translation .services-grid .service-card {
    border-left: 4px solid var(--gold);
    border-top: none;
}

#translation .services-grid .service-card:hover {
    border-left-color: var(--burgundy);
    border-top: none;
}

/* Services Complémentaires (Accordion) */
.accordion-item {
    background: var(--creme);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    color: var(--text-light);
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--creme);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.service-details {
    padding: 25px;
}

.service-details ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.service-details ul li {
    padding: 5px 0;
    color: var(--text-dark);
}

.price-tag {
    font-weight: 700;
    color: var(--burgundy);
    margin-top: 15px;
    font-size: 1.1em;
}

/* Témoignages */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--creme);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid var(--gold);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: var(--gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 14px;
}

.testimonial-author strong {
    color: var(--burgundy);
    display: block;
    font-size: 16px;
}

.testimonial-rating {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 15px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--creme);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.15);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    color: var(--text-light);
    transform: scale(1.05);
    border-color: var(--gold);
}

.pricing-card.featured h3,
.pricing-card.featured .pricing-price {
    color: var(--text-light);
}

.badge-popular {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: var(--burgundy-dark);
    padding: 8px 15px;
    border-radius: 0 15px 0 15px;
    font-weight: 700;
    font-size: 14px;
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--burgundy);
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.pricing-price span {
    font-size: 20px;
    font-weight: 400;
}

.pricing-subtitle {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.pricing-card.featured .pricing-subtitle {
    color: var(--text-light);
    opacity: 0.9;
}

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

.pricing-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid #E0E0E0;
}

.pricing-card.featured .pricing-features li {
    color: var(--text-light);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 18px;
}

.btn-pricing {
    background: var(--gold);
    color: var(--burgundy-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid var(--gold);
    margin-top: 20px;
}

.btn-pricing:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.pricing-card.featured .btn-pricing {
    background: var(--text-light);
    color: var(--burgundy);
    border-color: var(--text-light);
}

.pricing-card.featured .btn-pricing:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--burgundy-dark);
}

/* WordPress Special */
.wordpress-special {
    background: linear-gradient(135deg, var(--creme) 0%, var(--champagne-light) 100%);
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.15);
}

.wordpress-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.wordpress-left h3 {
    color: var(--burgundy);
    font-size: 28px;
    margin-bottom: 15px;
}

.wordpress-left p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
}

.wordpress-middle {
    border-left: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    padding: 0 30px;
}

.wordpress-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wordpress-features li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.wordpress-right {
    text-align: center;
}

.wordpress-price {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.price-large {
    font-size: 48px;
    font-weight: 900;
    display: block;
}

.price-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.btn-wordpress {
    display: inline-block;
    background: var(--gold);
    color: var(--burgundy-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid var(--gold);
}

.btn-wordpress:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Why Pricing */
.why-pricing {
    background: var(--champagne);
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.why-icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 20px;
}

.why-card h3 {
    color: var(--burgundy);
    font-size: 22px;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-gray);
    font-size: 16px;
}

/* ======================================== 
   CONTACT SECTION
======================================== */
.contact {
    background: linear-gradient(135deg, #FAF0E6, #FFF8DC);
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(139, 0, 0, 0.15);
    border: 2px solid var(--gold);
}

.contact-form-container h3 {
    color: var(--burgundy);
    font-size: 32px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: var(--burgundy);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(139, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

button.btn-submit {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
}

button.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-card h3 {
    color: var(--burgundy);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.8;
    display: block;
    margin: 5px 0;
}

.contact-info-card a:hover {
    color: var(--burgundy);
}

.whatsapp-center {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 10px;
    margin: 15px 0;
}

.whatsapp-center a {
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-center img {
    filter: invert(1);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.office-item {
    padding: 10px;
    background: var(--champagne-light);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.office-item strong {
    color: var(--burgundy);
    font-size: 16px;
}

.office-item span {
    font-size: 14px;
    color: var(--text-gray);
}


/* ======================================== 
   POPUP
======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--creme);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--gold);
    text-align: center;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: var(--burgundy);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.popup-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.popup-content h3 {
    color: var(--burgundy);
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.popup-content p {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.popup-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.popup-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    font-size: 16px;
    color: var(--text-dark);
}

.popup-benefits li strong {
    color: var(--burgundy);
}

.popup-benefits li::before {
    content: '✓';
    color: var(--gold);
    margin-right: 10px;
    font-weight: 700;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-popup {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-popup.primary {
    background: var(--burgundy);
    color: white;
}

.btn-popup.primary:hover {
    background: var(--burgundy-dark);
}

.btn-popup.secondary {
    background: var(--gold);
    color: var(--burgundy-dark);
}

.btn-popup.secondary:hover {
    background: var(--gold-light);
}

/* Success Popup */
.popup-success h3 {
    color: #28a745;
}

/* ======================================== 
   FOOTER
======================================== */
.footer {
    background: linear-gradient(135deg, var(--bg-dark), var(--burgundy-dark), var(--burgundy));
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.footer-col h3 {
    color: var(--gold-light);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col p,
.footer-col ul {
    font-size: 15px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 20px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-light);
}

/* ========================================
   WIDGETS FLOTTANTS
======================================== */
/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.6);
}

.scroll-to-top.visible {
    display: flex;
}

/* Chatbot */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 9999;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.6);
}

.chatbot-button i {
    color: white;
    font-size: 28px;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF0000;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    color: var(--burgundy);
    font-size: 24px;
}

.chatbot-title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.chatbot-status {
    font-size: 13px;
    opacity: 0.9;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

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

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--champagne-light);
}

.chatbot-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.message-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    color: white;
    font-size: 18px;
}

.message-content {
    flex: 1;
}

.message-content p {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    margin: 0 0 8px 0;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-time {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.chatbot-suggestions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.suggestion-btn {
    background: white;
    border: 2px solid var(--gold);
    color: var(--burgundy);
    padding: 12px 16px;
    border-radius: 25px;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    color: white;
    border-color: transparent;
    transform: translateX(5px);
}

.chatbot-footer {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #E0E0E0;
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    border: 2px solid #E0E0E0;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input:focus {
    border-color: var(--gold);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send i {
    font-size: 16px;
}

/* Messages utilisateur */
.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content p {
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    color: white;
}

.user-message .message-time {
    text-align: right;
}

/* ======================================== 
   RESPONSIVE
======================================== */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 38px;
    }

    .megamenu-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .wordpress-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wordpress-middle {
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--gold);
        border-bottom: 2px solid var(--gold);
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-features {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Display */
    .nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 1;
    }
    
    .lang-switcher {
        position: static;
        order: 3;
    }
    
    /* Global */
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        font-size: 16px;
        padding: 20px 25px;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 32px;
    }
    
    .solutions-grid,
    .services-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    /* Chatbot Responsive */
    .chatbot-widget {
        right: 20px;
        bottom: 20px;
    }
    
    .scroll-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        max-height: 80vh;
    }
    
    .contact-info-container {
        gap: 15px;
    }
    
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* ========================================
   NOUVELLE GRILLE POUR LES 5 VILLES + HONORAIRES
   (3 villes en haut, 2 villes + carte centrale en bas)
======================================= */

.offices-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
    text-align: center;
}

/* Cartes des bureaux */
.office-card {
    background: var(--champagne-light);
    border-radius: 10px;
    border: 2px solid var(--gold);
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.office-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.office-card strong {
    color: var(--burgundy);
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.office-card span {
    color: var(--text-gray);
    font-size: 14px;
}

/* Carte centrale "Nos Honoraires" */
.office-center-card {
    background: var(--burgundy);
    color: white;
    border-radius: 10px;
    padding: 20px;
    grid-column: 2;  /* Centre de la deuxième rangée */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid var(--gold);
}

.office-center-card h3 {
    color: var(--gold-light);
    margin-bottom: 10px;
}

.office-center-card p {
    margin: 4px 0;
    font-size: 15px;
}

/* RESPONSIVE – Tablettes */
@media (max-width: 900px) {
    .offices-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }
    .office-center-card {
        grid-column: span 2;
    }
}

/* RESPONSIVE – Mobiles */
@media (max-width: 600px) {
    .offices-grid-custom {
        grid-template-columns: 1fr;
    }
    .office-center-card {
        grid-column: 1 !important;
    }
}
