/* Styles globaux, variables et utilitaires - Site BETIGA */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --geo-blue-dark: #0A2647;
    --geo-blue-main: #144272;
    --geo-cyan: #2C74B3;
    --geo-accent: #205295;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Retour en haut */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--geo-cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--geo-blue-main);
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Effet de grille géospatiale en arrière-plan */
.bg-grid {
    background-image: radial-gradient(circle, rgba(44, 116, 179, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Animation de flottement pour les éléments technologiques */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Style des cartes d'expertise "Glassmorphism" */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--geo-cyan);
    transform: scale(1.02);
}

/* Barre de navigation intelligente */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 80px !important;
}

/* Section Hero */

/* Définition de la charte graphique et des variables */
:root {
    --primary: #0A4D68;
    --secondary: #088395;
    --accent: #05BFDB;
    --success: #00C853;
    --dark: #05161A;
    --dark-light: #0B2027;
    --light: #F8FAFB;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0A4D68 0%, #088395 100%);
    --gradient-accent: linear-gradient(135deg, #088395 0%, #05BFDB 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(5, 191, 219, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-img {
    height: 80px !important;
    width: auto !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    filter: none !important;
    transform: translateZ(0) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 26px;
    box-shadow: var(--shadow-md);
}

.logo-text h1 {
    font-size: 28px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 11px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.contact-btn {
    background: transparent;
    color: var(--text) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    color: var(--primary) !important;
    background: transparent;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Section Hero */
.hero {
    margin-top: 90px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--dark);
}

/* ... (le reste du CSS extrait est ajouté) */

/* Bouton WhatsApp Flottant */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Changé de right à left */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1100;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Nouveau fond pour la section Contact */
.contact {
    background: white !important; /* Fond blanc comme les autres sections */
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Boutons de contact simples et professionnels */
.simple-contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.btn-contact-simple {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--geo-blue-main) 0%, var(--geo-accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 8px 25px rgba(20, 66, 114, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-contact-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-contact-simple:hover::before {
    left: 100%;
}

.btn-contact-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(20, 66, 114, 0.4);
    background: linear-gradient(135deg, var(--geo-accent) 0%, var(--geo-cyan) 100%);
}

.btn-contact-simple:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 66, 114, 0.3);
}
