/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f5f7fa;
    color: #1e293b;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: white;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;          /* Hauteur du logo, adapte selon ton image */
    width: auto;           /* Largeur proportionnelle */
    display: block;
}
header nav {
    display: flex; /* garde ton menu visible sur desktop */
    align-items: center;
}

/* Sur mobile, on cache le menu */
@media (max-width: 768px) {
    header nav {
        display: none; /* le menu disparaît */
    }

    /* Si tu veux, on peut aussi aligner le logo à gauche */
    header .logo {
        margin: 0 auto 0 0; /* logo aligné à gauche */
    }
    .logo img {
        height: 40px;
    }
}


nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #f77f00;
}

/* ===== BUTTONS ===== */
.btn {
    background: linear-gradient(135deg,#f77f00,#ff9f1c);
    padding: 12px 22px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    display: inline-block;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-small {
    background: #0d3b66;
    padding: 8px 14px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.btn-small:hover {
    background: #08263f;
}



/* ===== HERO ===== */
.hero {
    height: 100vh; /* prend tout l'écran */
    background: linear-gradient(rgba(13,59,102,0.75), rgba(13,59,102,0.6)),
                url('Demenagement.jpeg') center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* centre verticalement le contenu */
    align-items: center;      /* centre horizontalement */
    text-align: center;
    padding: 0 20px;
    position: relative;
}

/* HEADER DANS HERO */
.hero header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    width: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.hero .logo img {
    height: 80px;
    width: auto;
}

.hero nav a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.hero nav a:hover {
    color: #f77f00;
}

/* HERO CONTENT */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    padding: 0 15px;
    z-index: 5;
}

/* TITRE */
.hero h1 {
    margin-top: 50px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 30px;
}

/* TEXTE */
.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* BOUTON */
.hero .btn {
    font-size: 16px;
    padding: 14px 28px;
}

/* ===== RESPONSIVE HERO ===== */

@media (max-width: 768px) {
    .hero header {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
    }

    .hero nav a {
        margin: 10px 0 0 0;
    }

    .hero h1 {
        margin-top: 40px;   /* moins d'espace en haut sur mobile */
        font-size: 28px;    /* texte plus petit pour s'adapter à l'écran */
        line-height: 1.2;   /* ajuste la hauteur de ligne */
    }

    .hero p {
        font-size: 16px;
    }

    .hero .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        margin-top: 30px;   /* encore moins d'espace pour petit téléphone */
        font-size: 22px;    /* texte encore plus petit */
    }

    .hero p {
        font-size: 14px;
    }

    .hero .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}



/* ===== SECTION GENERALE ===== */
section {
    padding: 80px 60px;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    color: #0d3b66;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===== CARDS ===== */
.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.card h3 {
    margin-bottom: 15px;
    color: #0d3b66;
}

.card p {
    margin-bottom: 20px;
    color: #475569;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ===== STATS ===== */
.stats {
    background: #0d3b66;
    color: white;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    padding: 60px 20px;
}

.stats div {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 20px;
}

/* ===== WHY SECTION ===== */
.why ul {
    max-width: 700px;
    margin: auto;
    list-style: none;
}

.why li {
    margin-bottom: 15px;
    font-size: 18px;
}

/* ===== PAGE INTERNE ===== */
.page {
    max-width: 1000px;
    margin: auto;
}

/* ===== FORM ===== */
form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #f77f00;
}

button {
    border: none;
    cursor: pointer;
}

/* ===== ZONE INTERVENTION ===== */
.zone-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.zone-text {
    flex: 1;
}

.zone-image {
    flex: 1;
}

.zone-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== SECTION A PROPOS ===== */
.about-section {
    padding: 80px 60px;
    background: #f8fafc;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0d3b66;
}

.about-text p {
    margin-bottom: 15px;
    color: #475569;
    line-height: 1.7;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ===== SERVICES ET FORMULES EN GRILLE ===== */

.services-section .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service, .formula {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.service h3, .formula h3 {
    color: #0d3b66;
    margin-bottom: 10px;
}

.service p, .formula p {
    color: #475569;
    line-height: 1.7;
}

.card ul {
    margin: 10px 0 10px 0; 
    padding: 0;             
    list-style: none;       
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin-left: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    section {
        padding: 60px 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .zone-content {
        flex-direction: column;
    }
}

/* ===== FOOTER ===== */
footer {
    background: #0d3b66;
    color: #e2e8f0;
    margin-top: 80px;
    padding: 25px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 12px;
}

.slogan {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-icons a {
    color: #f77f00;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #f77f00;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-list i {
    color: #f77f00;
    width: 20px;
    font-size: 18px;
}

.footer-bottom {
    background: #08263f;
    padding: 20px 40px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.legal-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 10px;
}

.legal-links a:hover {
    color: #f77f00;
}

.legal-links span {
    color: #64748b;
}

.hero {
    height: 100vh; /* prend tout l'écran */
    background: linear-gradient(rgba(13,59,102,0.75), rgba(13,59,102,0.6)),
                url('Demenagement.jpeg') center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* texte en haut */
    padding-top: 120px; /* monte un peu le texte */
}

/* ===== SERVICES ET FORMULES EN GRILLE ===== */
.services-section .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes par défaut */
    gap: 25px;
    margin-top: 40px;
}

/* CARDS */
.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE GRID ===== */
@media (max-width: 1200px) {
    .services-section .grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur écran large/tablette */
    }
}

@media (max-width: 992px) {
    .services-section .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette portrait */
    }
}

@media (max-width: 768px) {
    .services-section .grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }

    .card img {
        height: 200px; /* images un peu plus grandes pour mobile */
    }

    section {
        padding: 60px 20px;
    }

    .about-container,
    .zone-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
} 