/* Réglages de base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { background-color: #070707; color: #ffffff; font-family: 'Inter', sans-serif; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; flex: 1; width: 100%; }

/* En-tête, Logo et Menu */
header { padding: 40px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.logo { font-size: 22px; font-weight: 700; letter-spacing: 3px; }
.logo span { color: #666; font-weight: 300; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: #666; text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #4facfe; }

/* Section Principale (Hero) */
.hero { display: flex; justify-content: space-between; align-items: center; padding: 60px 0 100px 0; gap: 40px; }
.hero-content { flex: 1; max-width: 600px; z-index: 2; }
.hero h2 { font-size: 56px; font-weight: 700; margin-bottom: 24px; line-height: 1.1; }

.highlight {
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p { font-size: 20px; color: #a0a0a0; margin-bottom: 40px; font-weight: 300; }

.cta-button { display: inline-block; padding: 16px 32px; background-color: #ffffff; color: #000000; text-decoration: none; font-weight: 700; border-radius: 4px; transition: all 0.3s ease; }
.cta-button:hover { background-color: #4facfe; color: #ffffff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(79, 172, 254, 0.2); }

/* --- LE NOUVEAU CUBE 3D TRANSLUCIDE --- */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

.cube-container {
    width: 200px; height: 200px; perspective: 1000px; margin: 40px;
    filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.3)); /* Lueur globale */
}

.cube {
    width: 100%; height: 100%; position: relative; transform-style: preserve-3d;
    animation: rotateSlowly 20s infinite linear; /* Rotation très lente et continue */
}

.face {
    position: absolute; width: 200px; height: 200px;
    /* Effet Verre Translucide Dégradé */
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.15));
    border: 1px solid rgba(0, 242, 254, 0.6);
    box-shadow: inset 0 0 20px rgba(79, 172, 254, 0.3);
    backdrop-filter: blur(2px); /* Floute légèrement ce qu'il y a derrière */
}

/* Positionnement des faces du cube 3D */
.front  { transform: rotateY(  0deg) translateZ(100px); }
.right  { transform: rotateY( 90deg) translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX( 90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotateSlowly {
    0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* --- SECTION : EXPERTISE --- */
.expertise { padding: 60px 0 100px 0; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 40px; color: #ffffff; }
.grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background-color: #121212; border: 1px solid #222222; border-radius: 12px; padding: 40px 30px; transition: all 0.3s ease; }
.card:hover { border-color: #4facfe; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(79, 172, 254, 0.1); }
.icon { font-size: 36px; background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 24px; }
.card h4 { font-size: 20px; margin-bottom: 16px; font-weight: 700; }
.card p { font-size: 15px; color: #a0a0a0; font-weight: 300; line-height: 1.6; }

/* --- SECTION : MIAMI ADVANTAGE --- */
.miami-section { display: flex; align-items: center; gap: 60px; padding: 80px 0 120px 0; border-top: 1px solid #1a1a1a; }
.miami-content { flex: 1; }
.miami-content p { font-size: 16px; color: #a0a0a0; margin-bottom: 20px; line-height: 1.8; font-weight: 300; }
.miami-map { flex: 1; display: flex; justify-content: center; align-items: center; }
.florida-svg { width: 100%; max-width: 350px; height: auto; filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.05)); }
.miami-dot { fill: #00f2fe; }
.miami-pulse { fill: transparent; stroke: #4facfe; stroke-width: 1; animation: pulse 2s infinite; transform-origin: 145px 145px; }

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* --- TICKER LUMINEUX DEGRADÉ --- */
.ticker-section { width: 100vw; margin-left: calc(-50vw + 50%); background-color: #050505; border-top: 1px solid rgba(79, 172, 254, 0.1); border-bottom: 1px solid rgba(79, 172, 254, 0.1); padding: 25px 0; overflow: hidden; position: relative; }
.ticker-wrap { width: 100%; overflow: hidden; }
.ticker-track { display: flex; white-space: nowrap; animation: scrollTicker 30s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; font-size: 20px; font-weight: 900; letter-spacing: 2px; padding: 0 40px; background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3)); }
.ticker-item .dot { margin-left: 40px; -webkit-text-fill-color: #222; font-size: 24px; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- PAGE : NUAGE DE MOTS (VISION) --- */
.word-cloud-section { padding: 40px 0 100px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cloud-intro { margin-bottom: 60px; }
.cloud-intro h2 { font-size: 48px; margin-bottom: 16px; }
.cloud-intro p { color: #a0a0a0; font-size: 18px; }
.cloud-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 30px; max-width: 900px; }
.word { color: #2a2a2a; font-weight: 900; cursor: default; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); animation: floatWord 4s ease-in-out infinite alternate; }
.w-large { font-size: 52px; letter-spacing: -1px; }
.w-medium { font-size: 36px; }
.w-small { font-size: 22px; letter-spacing: 2px; }
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1.2s; }
.delay-3 { animation-delay: 2s; }
.word:hover { background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; transform: scale(1.15) translateY(-10px) !important; filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6)); z-index: 10; }
@keyframes floatWord { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }

/* --- PIED DE PAGE & MENTIONS LÉGALES --- */
footer { width: 100vw; margin-left: calc(-50vw + 50%); background-color: #050505; padding: 60px 40px; border-top: 1px solid #1a1a1a; }
.footer-container { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; }
.footer-legal h4 { font-size: 16px; color: #ffffff; margin-bottom: 8px; letter-spacing: 1px; }
.footer-legal p { color: #666; font-size: 13px; line-height: 1.6; }
.footer-copyright p { color: #444; font-size: 13px; }

/* --- RESPONSIVE MOBILE & TABLETTE --- */
@media (max-width: 850px) {
    .container { padding: 0 20px; }
    header { flex-direction: column; text-align: center; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 20px;}
    .hero-content { align-items: center; }
    .hero h2 { font-size: 40px; } /* Texte plus petit sur mobile */
    .hero p { font-size: 16px; }
    
    /* Réduire un peu la taille du cube sur mobile */
    .cube-container { transform: scale(0.8); margin: 20px 0; }
    
    .grid-container { grid-template-columns: 1fr; } /* Cartes l'une sous l'autre */
    .card { padding: 30px 20px; }
    
    .miami-section { flex-direction: column; text-align: center; gap: 40px; }
    .miami-map { order: -1; } /* S'assure que la carte passe au-dessus du texte sur mobile */
    
    .footer-container { flex-direction: column; align-items: center; text-align: center; }
    
    /* Nuage de mots responsive */
    .cloud-intro h2 { font-size: 32px; }
    .w-large { font-size: 32px; }
    .w-medium { font-size: 24px; }
    .w-small { font-size: 18px; }
}