/* --- REGLES GENERALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

:root {
    --primary: #d97706; /* Amber BTP / Énergie */
    --secondary: #1e293b; /* Dark slate */
    --light: #f8fafc;
    --dark: #0f172a;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #0f172a;
    color: white;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar a:hover {
    color: var(--primary);
}

.lang-switch button {
    background: transparent;
    border: 1px solid var(--primary);
    color: white;
    padding: 3px 8px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

.lang-switch button.active {
    background: var(--primary);
}

/* --- HEADER & MENU BURGER --- */
header {
    background: var(--secondary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

/* MENU BURGER (TSIPIKA TELO) */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger-menu div {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s linear;
}

/* NAV LINKS (SLIDE IN MENU) */
.nav-links {
    display: flex;
    list-style: none;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.nav-links.active {
    right: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=1200') center/cover;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #b45309;
}

/* --- CONTENT SECTIONS --- */
.container {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--secondary);
}

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

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}

/* --- BOUTONS FLOTTANTS --- */
.floating-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

.float-whatsapp {
    background-color: #25d366;
}

.float-email {
    background-color: #ea4335;
    animation-delay: 0.3s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

footer {
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}