/* =====================================================
   B&L DATA SECURITY - Version 1.0 (Optimisée)
===================================================== */

/* -----------------------------------------------------
   1. RESET & BASES
----------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typographies globales */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #ffffff; /* Géré spécifiquement dans le Hero */
    line-height: 1.2;
    margin-bottom: 25px;
}

h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0B2D4D;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0B2D4D;
}

p {
    font-size: 18px;
    line-height: 1.8;
    color: #505050;
}

/* Structures de mise en page */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 90px 0;
}

/* -----------------------------------------------------
   2. HEADER PREMIUM (Fond blanc flouté, menu sombre)
----------------------------------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

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

.logo img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav ul li a {
    color: #0B2D4D;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: #8CC63F;
    color: white;
}

/* -----------------------------------------------------
   3. HERO SECTION
----------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 66, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
}

.subtitle {
    display: inline-block;
    background: #00AEEF;
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 15px;
}

.hero h1 {
    color: #ffffff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.35);
}

.hero p {
    max-width: 750px;
    margin: 0 auto 40px auto;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e8eef5;
}

/* -----------------------------------------------------
   4. BOUTONS
----------------------------------------------------- */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: #8CC63F;
    color: white;
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
    box-shadow: 0 10px 25px rgba(140, 198, 63, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #78AE33;
    box-shadow: 0 12px 30px rgba(140, 198, 63, 0.5);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 34px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s ease;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0A2342;
}

/* -----------------------------------------------------
   5. SECTIONS DE CONTENU (Advantages & Services)
----------------------------------------------------- */
.advantages {
    background: #ffffff;
}

.services {
    background: #F6F8FB;
}

section h2 {
    margin-bottom: 50px;
}

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

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(11, 45, 77, 0.06);
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(11, 45, 77, 0.12);
}

.card h3 {
    font-size: 26px;
    color: #0B2D4D;
    font-weight: 700;
}

.card h3::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    background: #8CC63F;
    margin: 14px auto 0;
    border-radius: 20px;
}

.card p {
    margin-top: 20px;
    color: #3E4A59;
    font-size: 16px;
    line-height: 1.7;
}

.link-more {
    margin-top: auto;
    padding-top: 15px;
    color: #00AEEF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.link-more:hover {
    color: #0A2342;
}

/* -----------------------------------------------------
   6. SECTOR ZONE
----------------------------------------------------- */
.zone {
    background: #eef4f9;
}

.zone-text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 35px;
}

.zone-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    list-style: none;
}

.zone-list li {
    background: white;
    padding: 18px;
    border-left: 5px solid #00AEEF;
    border-radius: 8px;
    font-weight: 600;
    color: #0B2D4D;
}

/* -----------------------------------------------------
   7. CALL TO ACTION (CTA)
----------------------------------------------------- */
.cta {
    background: #0A2342;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta p {
    font-size: 20px;
    margin-bottom: 35px;
    color: #e8eef5;
}

/* -----------------------------------------------------
   8. FORMULAIRE DE CONTACT (Page Contact)
----------------------------------------------------- */
.contact-form form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    cursor: pointer;
    align-self: center;
}

/* -----------------------------------------------------
   9. FOOTER
----------------------------------------------------- */
footer {
    background: #081a31;
    color: white;
    padding: 60px 0 30px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
}

.footer-col p {
    color: #cdd7e2;
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
    color: #8CC63F;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
}

.footer-bottom p {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8CC63F;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.footer-links a:hover {
    color: #ffffff;
}