* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
    line-height: 1.6;
    background: url("78785.png") center top / cover no-repeat;
    background-attachment: fixed;
 }

/* HERO */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1c40f00;
    margin-bottom: 40px;
}


.overlay {
    background: rgba(0, 0, 0, 0.432);
    padding: 40px 50px 40px 50px;
    color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 12px;
    max-width: 850px;
    z-index: 2;
}

.overlay p {
    margin-top: 10px;
    text-shadow: 0 0 5px rgb(0, 0, 0);
}

/* LOGO */
.logo-small {
    width: 100px;
    height: auto;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    transition: 0.3s ease;
}

/* CTA */
.cta {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    margin: 8px;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s ease;
}

.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(212,0,0,0.35);
}

.primary {
    background: linear-gradient(135deg,#d40000,#e63900);
    color: white;
}

.secondary {
    background: linear-gradient(135deg,#fff,#f0f0f0);
    color: #d40000;
}

/* SECTIONS */
.services-cards {
    background: rgba(0, 0, 0, 0.432);
    box-shadow: 0 0 5px black;
    padding: 40px 30px;
    margin-top: 120px;
    
}

.services-cards h2,
.pricing-cards h2,
.gallery h2 {
    text-align: center;
    color: #ffffff;
    margin: 60px 0 50px;
    text-shadow: 0 0 1px black;
    font-size: 2rem;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.gallery h2 {
    margin-bottom: 90px;
}

.services-cards h2::after,
.pricing-cards h2::after,
.gallery h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #d40000;
    margin-top: 8px;
    border-radius: 2px;
}

.pricing-cards {
    background: rgba(0, 0, 0, 0.432);
    padding: 40px 30px;
}

.pricing-cards p {
    text-shadow: 0 0 5px rgb(0, 0, 0);
}

.gallery {
    background: rgba(0, 0, 0, 0.432);
    box-shadow: 0 0 5px black;
    padding: 40px 30px;
}

/* GALLERY */
.images {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.images figure {
    width: 280px;
    display: flex;
    flex-direction: column;
}

.images img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.4s;
}

.images img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.images figcaption {
    min-height: 45px;
    color: white;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.35);
    border-radius: 8px;
    font-size: 0.95rem;
    backdrop-filter: blur(3px);
    text-align: center;
}

/* ZONE */
.zone {
    background: rgba(0, 0, 0, 0.432);
    padding: 50px 20px;
    text-align: center;
    color: white;
    margin-top: 120px;
}

/* CONTACT */
.contact {
    background: rgba(0, 0, 0, 0.432);
    max-width: 550px;
    /* margin: 50px auto 100px; */
    margin: 60px auto 80px;
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}

.contact h2 {
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
}

/* CARDS */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    text-shadow: 0 0 1px black;
}

.card {
    position: relative;
    margin: 20px;
    padding: 30px;
    border-radius: 18px;
    width: 100%;
    max-width: 340px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-shadow: 0 0 1px black;
    box-shadow: 0 10px 30px rgb(0, 0, 0);
    color: white;
    transition: 0.3s ease;
}
.card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.card * {
    position: relative;
    z-index: 2;
}


.services-cards .card:nth-child(1) {
    background-image: url('debarras.jpg');
}

.services-cards .card:nth-child(2) {
    background-image: url('0000.jpg');
}

.services-cards .card:nth-child(3) {
    background-image: url('VIDE-MAISON.jpg');
}



.pricing-cards .card:nth-child(1) {
    background-image: url('remov.webp');
}

.pricing-cards .card:nth-child(2) {
    background-image: url('deb.jpg');
}

/*.card:nth-child(1) {
    background-image: url('deb.jpg');
}

.card:nth-child(2) {
    background-image: url('0000.jpg');
}

.card:nth-child(3) {
    background-image: url('VIDE-MAISON.jpg');
}*/

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.289);
    border-radius: 18px;
}

.card h3 {
    color: #ffffff;
    text-shadow: 0 0 5px rgb(0, 0, 0);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card p {
    flex-grow: 1;
}

/* BADGES */
.badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    /* background: linear-gradient(135deg,#f1c40f,#f39c12); */
    background: linear-gradient(135deg,#00000000,#00000052);
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95rem;
}

/* CONTACT CARDS */
.contact-cards {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.card-contact {
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

input, textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #cccccc;
}

button {
    padding: 16px;
    background: linear-gradient(135deg,#d40000,#e63900);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: column; /* empile logo + texte */
    align-items: center;    /* centre horizontalement */
    justify-content: center; /* centre verticalement si hauteur fixe */
    padding: 20px 15px;
    border-top: 4px solid #d40000;
    text-align: center;     /* pour le texte multi-lignes */
    gap: 10px;              /* espace entre logo et texte */
}

footer p {
    margin: 0;
    opacity: 0.85;
}

footer .logo-footer {
    width: 70px; /* plus petit sur mobile */
    height: auto;
    margin: 0; 
}


@media (max-width: 768px) {

body {
    background: url("deb_phone.png") center / cover no-repeat;
    background-attachment:fixed ;
  }

.hero {
    min-height: 65vh;
    height: auto;
}

.overlay {

    padding: 25px 20px;
}

.zone {
    background: rgba(0, 0, 0, 0.432);
    padding: 50px 20px;
    text-align: center;
    color: white;
    margin-top: 0px;
}


.logo-small {
    width: 80px;
    top: 10px;
    left: 15px;
}
.cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    padding: 12px 14px;
    font-size: 0.9rem;
}
.cards {
    gap: 20px;
}

.card {
    width: 100%;
    max-width: 340px;
    margin: 10px;
}

.images {
    gap: 25px;
}

.services-cards {
    background: rgba(0, 0, 0, 0.432);
    box-shadow: 0 0 5px black;
    padding: 40px 30px;
    margin-top: 120px;
    
}

.services-cards,
.pricing-cards,
.gallery {
    padding: 30px 15px;
}

.services-cards h2,
.pricing-cards h2,
.gallery h2 {
    font-size: 1.6rem;
}

}


@media (max-width: 480px) {

/*.logo-small {
    width: 115px;
    top: 80px;
    left: 10px;
}*/

/*.hero {
    font-size: 10px;
    margin-top: -80px;
    margin-bottom: -120px;
}*/
.hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 0.9rem;
    min-height: 5vh;
    margin-top: 0px;
    height: auto;
    margin-bottom: 0;
}
.overlay {
    margin-top: auto;
    padding-top: 100px;
    padding-bottom: 180px;
    min-height: 20%;
    border-radius: 0px;
    max-width: none;
    width: 100%;
}
.services-cards {
    background: rgba(0, 0, 0, 0.432);
    box-shadow: 0 0 5px black;
    padding: 40px 30px;
    /* margin-top: -40px; */
    margin-top: 0;
}
footer {
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: column; /* empile logo + texte */
    align-items: center;    /* centre horizontalement */
    justify-content: center; /* centre verticalement si hauteur fixe */
    /* padding: 20px 15px; */
    padding: 12px 7px;
    border-top: 4px solid #d40000;
    text-align: center;     /* pour le texte multi-lignes */
    gap: 10px;              /* espace entre logo et texte */
}
form {
    font-size: 20px;
}
}


@media (max-width: 391px) {

.logo-small {
    width: 110px;
    top: 65px;
    left: 10px;
}
/*.hero {
    margin-top: -60px;
    margin-bottom: -60px;
}*/
}

@media (max-width: 380px) {

.logo-small {
    width: 100px;
    top: 10px;
    left: 10px;
}

.btn {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    padding: 8px 11px;
    font-size: 0.9rem;
}
.contact-cards {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
}
