/* ============================================
   UEI - United Euro Investments
   Styles Globaux
   ============================================ */

:root {
    /* Couleurs principales - Inspirées de Franfinance */
    --color-primary: #E30613;
    --color-primary-dark: #B8050F;
    --color-secondary: #1E3A5F;
    --color-dark: #2C3E50;
    --color-light: #F5F5F5;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E0E0E0;
    --color-success: #28A745;
    --color-warning: #FFC107;
    
    /* Typographie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Bordures */
    --border-radius: 8px;
    --border-radius-large: 12px;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Top Banner */
.top-banner {
    background-color: #F5F5F5;
    padding: var(--spacing-xs) 0;
    text-align: center;
    font-size: var(--font-size-small);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.top-banner p {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Header */
.main-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.main-header .container {
    max-width: 1400px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary) 50%, var(--color-dark) 50%);
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: var(--spacing-lg);
    flex: 1;
    justify-content: center;
    margin: 0 auto;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color 0.3s;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-right: 0;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-right: var(--spacing-sm);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--color-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-btn svg {
    flex-shrink: 0;
}

#current-lang-code {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--color-border);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

.lang-option.active {
    background: var(--color-light);
    color: var(--color-primary);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.lang-name {
    flex: 1;
    font-size: var(--font-size-small);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: none;
    box-shadow: none;
}

.btn-info {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-info:hover {
    background-color: #152A47;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: none;
    box-shadow: none;
}

.btn-large {
    padding: 12px 24px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn .icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary .icon {
    width: 18px;
    height: 18px;
}

.btn-primary .icon svg {
    width: 100%;
    height: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2C4A6B 100%);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero-description {
    font-size: var(--font-size-large);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-size: var(--font-size-small);
}

.badge-icon {
    font-size: 1.2em;
}

.badge-rating {
    font-weight: bold;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Offers Section */
.offers-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-secondary);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(227, 6, 19, 0.2);
}

.offer-card .offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
}

.offer-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    position: relative;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback - icône affichée par défaut */
.offer-image::after {
    content: attr(data-icon);
    position: absolute;
    font-size: 4rem;
    opacity: var(--icon-opacity, 0.5);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Image chargée - masquer l'icône */
.offer-image img {
    position: relative;
    z-index: 2;
}

/* Quand l'image est chargée, masquer l'icône */
.offer-image:not(.no-image) img[src]:not([src=""]) ~ *,
.offer-image img[src]:not([src=""]) {
    z-index: 2;
}

.offer-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.offer-image::after {
    content: '';
    position: absolute;
    font-size: 4rem;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s;
}

.offer-image.no-image::after {
    content: attr(data-icon);
    opacity: 0.5;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.offer-image img[src=""],
.offer-image img:not([src]),
.offer-image:has(img[src=""]) {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

/* Fallback pour images manquantes - appliqué via JavaScript ou directement */
.offer-image.no-image {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.offer-image.no-image::after {
    content: attr(data-icon);
    font-size: 4rem;
    opacity: 0.4;
    z-index: 1;
}

.offer-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.3;
}

.offer-content p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    flex: 1;
}

.offer-rate {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.05) 0%, rgba(227, 6, 19, 0.1) 100%);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.rate-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.rate-label {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-content .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.offer-content .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* Advantages Section */
.advantages-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2C4A6B 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(227, 6, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.advantages-section .section-title {
    color: var(--color-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advantage-item {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.advantage-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.advantage-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.advantage-item:hover .advantage-icon::before {
    width: 150px;
    height: 150px;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
}

.advantage-item:hover .advantage-icon img {
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.advantage-item p {
    opacity: 0.95;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 8px 30px rgba(227, 6, 19, 0.15);
    border-color: rgba(227, 6, 19, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    cursor: pointer;
    font-weight: 700;
    color: var(--color-secondary);
    transition: all 0.3s;
    font-size: 1.1rem;
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--color-primary);
    background-color: rgba(227, 6, 19, 0.03);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
    background-color: rgba(227, 6, 19, 0.05);
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: var(--spacing-md);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    padding: 0 var(--spacing-lg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    padding-top: var(--spacing-sm);
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(227, 6, 19, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.footer-column {
    position: relative;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-column h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 2px;
    display: block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 0;
}

.footer-column ul li::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--color-primary);
    transition: all 0.3s;
    font-weight: 700;
}

.footer-column ul li:hover {
    transform: translateX(8px);
    padding-left: 20px;
}

.footer-column ul li:hover::before {
    opacity: 1;
    left: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-block;
    line-height: 1.7;
    position: relative;
    font-weight: 400;
}

.footer-column a:hover {
    color: var(--color-white);
    text-shadow: 0 0 8px rgba(227, 6, 19, 0.5);
}

.footer-column strong {
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(227, 6, 19, 0.5), 0 0 20px rgba(227, 6, 19, 0.3);
    border-color: var(--color-primary);
}

.social-icon:hover::before {
    width: 200%;
    height: 200%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.3rem;
    font-weight: 800;
    transition: transform 0.3s;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
    transition: all 0.3s;
}

.footer-logo:hover .logo-icon {
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.5);
    transform: rotate(5deg);
}

.footer-logo .logo-text {
    color: var(--color-white);
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.footer-links a:hover {
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(227, 6, 19, 0.4);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: var(--spacing-md);
    bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
}

.fab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

/* WhatsApp - Icône verte sans fond */
.fab-whatsapp {
    background-color: rgba(255, 255, 255, 0.95);
}

.fab-whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3), 0 4px 10px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
}

.fab-whatsapp:hover::before {
    width: 80px;
    height: 80px;
}

.fab-whatsapp svg {
    filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.3));
}

/* Email - Icône bleue sans fond */
.fab-email {
    background-color: rgba(255, 255, 255, 0.95);
}

.fab-email:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.fab-email:hover::before {
    width: 80px;
    height: 80px;
}

.fab-email svg {
    filter: drop-shadow(0 2px 4px rgba(0, 123, 255, 0.3));
}

/* Téléphone - Icône verte sans fond */
.fab-phone {
    background-color: rgba(255, 255, 255, 0.95);
}

.fab-phone:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3), 0 4px 10px rgba(0, 0, 0, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
}

.fab-phone:hover::before {
    width: 80px;
    height: 80px;
}

.fab-phone svg {
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
}

.fab:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fab svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.fab:hover svg {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav {
        width: 100%;
        flex-direction: row;
        gap: var(--spacing-sm);
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .header-actions {
        width: 100%;
        margin-left: 0;
        padding-right: 0;
        margin-top: var(--spacing-sm);
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .language-selector {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }
    
    .lang-dropdown {
        right: auto;
        left: 0;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-image {
        height: 200px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-column h4 {
        font-size: 1.05rem;
    }
    
    .footer-social {
        gap: 1rem;
        padding-top: 2rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 1.8rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

