/* -------------------------------
   VARIABLES
------------------------------- */
:root {
    --rouge-profond: #A51515;
    --rouge-fonce: #7A0E0E;
    --noir-absolu: #0C0C0C;
    --anthracite: #1E1E1E;
    --gris-matiere: #2A2A2A;
    --gris-pierre: #3D3D3D;
    --blanc-casse: #F5F5F5;
    --blanc-pur: #FFFFFF;
    --font-titre: 'Poppins', sans-serif;
    --font-texte: 'Inter', sans-serif;
    --transition-rapide: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    --shadow-carte: 0 15px 35px -10px rgba(0,0,0,0.15);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.06);
}

/* -------------------------------
   RESET & BASE
------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-texte);
    color: var(--gris-pierre);
    background-color: var(--blanc-casse);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .btn, .nav-links a {
    font-family: var(--font-titre);
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

/* -------------------------------
   BOUTONS
------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 38px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: none;
    cursor: pointer;
    transition: var(--transition-rapide);
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.2);
    background: var(--rouge-profond);
    color: var(--blanc-pur);
    border: 1px solid transparent;
}

.btn:hover {
    background: var(--rouge-fonce);
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(165,21,21,0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blanc-pur);
    color: var(--blanc-pur);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--blanc-pur);
    color: var(--noir-absolu);
    border-color: var(--blanc-pur);
}

.btn-nav {
    background: var(--rouge-profond);
    color: var(--blanc-pur) !important;
    padding: 12px 26px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.2); /* Légère bordure sombre pour détacher */
}

.btn-nav:hover {
    background: var(--noir-absolu);
    color: white !important;
    border-color: var(--rouge-profond);
}

.btn-primary.btn-block {
    background: var(--rouge-profond);
    padding: 18px;
    font-size: 1.1rem;
    border-radius: 60px;
}

/* -------------------------------
   NAVBAR
------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 245, 245, 0.98);  /* Gris très clair quasi opaque */
    backdrop-filter: blur(8px);              /* Léger flou pour modernité */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Ligne discrète */
    height: 85px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.05) contrast(1.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links li a {
    color: #1e1e1e;          /* Gris très foncé / quasi noir */
    font-weight: 600;
    font-size: 1.05rem;
    padding: 6px 0;
    position: relative;
}

.nav-links li a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: var(--rouge-profond);
    transition: 0.25s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--rouge-profond);
}

/* BURGER */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger div {
    width: 28px;
    height: 2.5px;
    background: #1e1e1e;      /* Foncé */
    transition: 0.25s;
    border-radius: 4px;
}
.burger.toggle .line1 { transform: rotate(45deg) translate(8px, 6px); }
.burger.toggle .line2 { opacity: 0; }
.burger.toggle .line3 { transform: rotate(-45deg) translate(5px, -6px); }

/* -------------------------------
   HERO
------------------------------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    background-image: url('https://images.unsplash.com/photo-1632759145351-1d592919f522?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=85');
    background-size: cover;
    background-position: center 30%;
    background-blend-mode: overlay;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(165,21,21,0.15), var(--noir-absolu) 80%);
    pointer-events: none;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5,5,5,0.65);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 820px;
    color: var(--blanc-pur);
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--rouge-profond);
    border-bottom: 5px solid var(--rouge-profond);
    display: inline-block;
    padding-bottom: 6px;
}

.hero p {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.92;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* -------------------------------
   TRUST BANNER
------------------------------- */
.trust-banner {
    background: linear-gradient(145deg, #1b1b1b, #151515);
    border-top: 1px solid var(--rouge-profond);
    border-bottom: 1px solid var(--rouge-profond);
    padding: 28px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--blanc-casse);
    font-weight: 600;
    background: rgba(255,255,255,0.02);
    padding: 8px 24px;
    border-radius: 60px;
    backdrop-filter: blur(4px);
    border: 0.5px solid var(--glass-border);
}

.trust-item i {
    font-size: 1.9rem;
    color: var(--rouge-profond);
}

/* -------------------------------
   SECTIONS
------------------------------- */
.section {
    padding: 110px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--noir-absolu);
    letter-spacing: -0.02em;
}

.section-title .line {
    width: 100px;
    height: 5px;
    background: var(--rouge-profond);
    margin: 20px auto 25px;
    border-radius: 8px;
}

.section-title p {
    font-size: 1.25rem;
    color: var(--gris-pierre);
    max-width: 700px;
    margin: 0 auto;
}

/* -------------------------------
   SERVICES
------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.card {
    background: var(--blanc-pur);
    padding: 45px 30px;
    border-radius: 32px;
    box-shadow: var(--shadow-carte);
    transition: 0.3s ease-out;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 4px;
    background: var(--rouge-profond);
    border-radius: 8px;
    transform: scaleX(0);
    transition: transform 0.35s;
}

.card:hover::after {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 45px -10px rgba(165,21,21,0.25);
}

.icon-box {
    width: 90px;
    height: 90px;
    background: rgba(165,21,21,0.05);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: 0.2s;
}

.card:hover .icon-box {
    background: var(--rouge-profond);
}

.icon-box i {
    font-size: 2.8rem;
    color: var(--rouge-profond);
    transition: 0.2s;
}

.card:hover .icon-box i {
    color: white;
}

/* -------------------------------
   WHY US
------------------------------- */
.why-us {
    background: var(--blanc-pur);
    padding: 100px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.text-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--noir-absolu);
}

.text-content .subtitle {
    font-size: 1.25rem;
    color: #444;
}

.text-red {
    color: var(--rouge-profond);
}

.list-check {
    margin-top: 35px;
    list-style: none;
}

.list-check li {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.list-check i {
    color: var(--rouge-profond);
    margin-right: 16px;
    font-size: 1.5rem;
}

.image-content img {
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 2px solid rgba(165,21,21,0.2);
    transition: 0.4s;
}

.image-content img:hover {
    border-color: var(--rouge-profond);
    transform: scale(1.01);
}

/* -------------------------------
   CONTACT
------------------------------- */
.contact {
    background: var(--noir-absolu);
    color: var(--blanc-casse);
}

.contact .section-title h2 {
    color: var(--blanc-pur);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    background: var(--anthracite);
    border-radius: 48px;
    overflow: hidden;
    border: 1px solid var(--rouge-profond);
    box-shadow: 0 30px 50px -15px black;
}

.contact-info {
    background: var(--gris-matiere);
    padding: 50px 40px;
    color: var(--blanc-casse);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--rouge-profond);
    margin-bottom: 15px;
}

.info-item h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.info-item p {
    opacity: 0.8;
    font-size: 1.05rem;
}

.contact-info .quote {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-style: italic;
    opacity: 0.9;
}

.contact-form {
    padding: 50px 45px;
    background: var(--blanc-casse);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {     /* <-- Ajoute cette ligne ici */
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #e0e0e0;
    border-radius: 60px;
    font-size: 1rem;
    transition: 0.2s;
    background: white;
    font-family: var(--font-texte);
    appearance: none;    /* Enlève la flèche par défaut très moche des navigateurs */
}

.form-group textarea {
    border-radius: 30px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--rouge-profond);
    box-shadow: 0 0 0 4px rgba(165,21,21,0.1);
    outline: none;
}

/* -------------------------------
   FOOTER
------------------------------- */
footer {
    background: #0a0a0a;
    color: #aaa;
    padding-top: 70px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(165,21,21,0.3);
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo h3 {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-logo h3 span {
    color: var(--rouge-profond);
}

.footer-logo p {
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--rouge-profond);
}

.copyright {
    text-align: center;
    padding: 30px 0;
    color: #888;
}

/* -------------------------------
   PAGE HEADER (réalisations)
------------------------------- */
.page-header {
    background: var(--noir-absolu);
    padding: 160px 0 60px;
    text-align: center;
    border-bottom: 3px solid var(--rouge-profond);
}

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
}

.page-header h1 span {
    color: var(--rouge-profond);
}

.page-header .line {
    width: 100px;
    height: 5px;
    background: var(--rouge-profond);
    margin: 20px auto;
    border-radius: 8px;
}

.page-header p {
    color: var(--blanc-casse);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* -------------------------------
   GALERIE (réalisations)
------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 80px 0;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-carte);
    background: var(--blanc-pur);
    transition: var(--transition-rapide);
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -12px rgba(165,21,21,0.3);
}

.gallery-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: var(--gris-matiere);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.03);
}

/* BADGES AVANT/APRÈS */
.badge-avant {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(12,12,12,0.85);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 20;
    border: 1.5px solid var(--rouge-profond);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.badge-apres {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--rouge-profond);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 20;
    border: 1.5px solid var(--blanc-pur);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(165,21,21,0.4);
}

.badge-avant i {
    color: var(--rouge-profond);
}

.badge-apres i {
    color: white;
}

.image-divider {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rouge-profond), transparent);
    transform: translateY(-50%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 15;
}

.gallery-caption {
    padding: 18px 20px;
    background: white;
    border-top: 1px solid rgba(165,21,21,0.1);
}

.gallery-caption h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--noir-absolu);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-caption h3 span {
    color: var(--rouge-profond);
    font-weight: 800;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: var(--gris-pierre);
    margin: 0;
    opacity: 0.8;
}

/* CTA SIMPLE (réalisations) */
.cta-simple {
    background: var(--noir-absolu);
    padding: 60px 0;
    text-align: center;
    margin: 40px 0 60px;
    border-radius: 32px;
}

.cta-simple h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-simple .btn {
    font-size: 1.1rem;
    padding: 16px 40px;
}

/* -------------------------------
   RESPONSIVE
------------------------------- */
@media screen and (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
}

@media screen and (max-width: 900px) {
    .container { padding: 0 28px; }
    .split { grid-template-columns: 1fr; gap: 50px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .page-header h1 { font-size: 2.5rem; }
    .badge-avant, .badge-apres { padding: 6px 16px; font-size: 0.7rem; }
}

@media screen and (max-width: 768px) {
    .navbar { height: 75px; }
    .burger { display: flex; }
    
    .nav-links {
        position: fixed;
        right: 0;
        top: 75px;
        height: 100vh;
        width: 100%;
        background: rgba(12,12,12,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transform: translateX(100%);
        transition: 0.45s cubic-bezier(0.23, 1, 0.32, 1);
        list-style: none;
        color: white;
    }
    
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    
    .nav-links li a {
        font-size: 1.8rem;
        font-weight: 700;
        color: #ffffff !important;
    }
    .nav-links li a.active {
        color: var(--rouge-profond) !important;
    }
    .btn-nav {
        font-size: 1.3rem !important;
        padding: 16px 40px !important;
    }
    
    .hero { text-align: center; }
    .hero h1 { font-size: 2.7rem; }
    .hero p { font-size: 1.2rem; margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    
    .trust-item { padding: 10px 18px; }
    .section-title h2 { font-size: 2.4rem; }
    .text-content h2 { font-size: 2.2rem; }
    
    .services-grid { gap: 25px; }
    .card { padding: 35px 20px; }
    
    .contact-info, .contact-form { padding: 40px 30px; }
}

@media screen and (max-width: 550px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/5;
    }
    
    .badge-avant, .badge-apres {
        padding: 6px 14px;
        font-size: 0.65rem;
        left: 15px;
    }
    
    .badge-avant {
        top: 15px;
    }
    
    .badge-apres {
        bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .btn { padding: 12px 28px; }
    .trust-grid { flex-direction: column; align-items: stretch; }
    .trust-item { justify-content: center; }
    .section-title h2 { font-size: 1.9rem; }
    .footer-content { 
        flex-direction: column;
        align-items: center;    /* Centre les blocs */
        text-align: center;     /* Centre le texte */
    }
    
    .footer-logo p {
        margin: 0 auto;         /* Centre le slogan sous le logo */
    }
    
    .footer-links ul {
        padding: 0;             /* Enlève le décalage invisible des listes */
    }
}

/* LOGO AMÉLIORÉ */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 80px;  /* Augmenté de 60px à 80px */
    width: auto;
    filter: brightness(1.05) contrast(1.1);
    transition: 0.2s;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    border-left: 3px solid var(--rouge-profond);
    padding-left: 15px;
}

.logo-text .nom {
    font-family: var(--font-titre);
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;           /* Foncé */
    letter-spacing: -0.02em;
}

.logo-text .nom span {
    color: var(--rouge-profond); /* La partie "COUVERTURE" reste rouge */
}

.logo-text .slogan {
    font-family: var(--font-texte);
    font-size: 0.85rem;
    color: #4a4a4a;           /* Gris moyen */
    opacity: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ajustement responsive pour le logo */
@media screen and (max-width: 768px) {
    .logo img {
        height: 60px;  /* Un peu plus petit sur mobile */
    }
    
    .logo-text .nom {
        font-size: 1.4rem;
    }
    
    .logo-text .slogan {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        gap: 10px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .logo-text .nom {
        font-size: 1.2rem;
    }
    
    .logo-text .slogan {
        font-size: 0.6rem;
    }
}
/* 1. Modifie ta navbar existante en ajoutant la ligne "transition" à la fin */

/* 2. Ajoute ce nouveau bloc juste en dessous */

/* =========================================
   NOUVEAUX STYLES (MENU & ANIMATIONS)
========================================= */

/* 1. Menu Actif (Texte rouge, ligne blanche) */
.nav-links li a.active {
    color: var(--rouge-profond);
}
.nav-links li a.active::after {
    width: 100%;
    background: var(--rouge-profond); /* Ligne rouge au lieu de blanche */
}

/* 2. Effet au scroll pour la Navbar */
.navbar {
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
    background: rgba(230, 230, 230, 0.98);   /* Légèrement plus soutenu */
    border-bottom: 1px solid rgba(165, 21, 21, 0.3); /* Filet rouge subtil */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
/* 3. Animations d'apparition au scroll (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Délais pour créer un effet "cascade" sur les grilles */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
/* Animations d'entrée pour le texte d'accueil */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-anim {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}

/* L'effet cascade (le titre, puis le texte, puis les boutons) */
.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.3s; }
.hero-anim-3 { animation-delay: 0.5s; }
/* =========================================
   BOUTON RETOUR HAUT (FLOTTANT)
========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--rouge-profond);
    color: var(--blanc-pur);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(165, 21, 21, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--noir-absolu);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

/* =========================================
   PAGE MENTIONS LÉGALES
========================================= */
.legal-content {
    padding: 80px 0;
    background: var(--blanc-casse);
}

.legal-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--blanc-pur);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-carte);
}

.legal-box h2 {
    color: var(--rouge-profond);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box p, .legal-box ul {
    margin-bottom: 15px;
    color: var(--gris-pierre);
    line-height: 1.8;
}

.legal-box ul {
    padding-left: 20px;
}
