/* ======================
   RESET
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f1f1f1;
    color: #222;
}

/* ======================
   HERO (SAFE iOS)
   ====================== */
.hero {
    position: relative;
    min-height: 100svh; /* SAFE Safari iOS */
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Background image (HTML img) */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Overlay sombre */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: -1;
}
/* LOGO – LISIBILITÉ MAX */
.logo {
    width: 100%;
    max-width: 420px;
    height: auto;

    margin: 40px auto 30px;
    display: block;

    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;

    /* Lisibilité sur fond sombre */
    filter:
    drop-shadow(0 4px 4px rgba(255,255,255,0.5))
    drop-shadow(0 14px 30px rgba(0,0,0,0.9));
}


/* Ajustement mobile */
@media (max-width: 480px) {
    .logo {
        max-width: 300px;
        margin-top: 30px;
    }
}

}

/* ======================
   TEXTE HERO
   ====================== */
.hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 15px;
}

.hero-text {
    max-width: 720px;
    margin: 0 auto 35px;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* ======================
   BOUTONS
   ====================== */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: rgba(197, 28, 28, 0.9);
    color: #fff;
}

.btn-secondary {
    background: rgba(245, 197, 66, 0.9);
    color: #1e1e1e;
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.95);
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ======================
   SECTIONS
   ====================== */
.section {
    padding: 70px 20px;
    text-align: center;
}

.section.soft {
    background: #e6e6e6;
}

.section.dark {
    background: #1f1f1f;
    color: #fff;
}

.section h2 {
    margin-bottom: 30px;
}

/* ======================
   CARDS
   ====================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.card {
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* ======================
   LISTE
   ====================== */
.list {
    max-width: 700px;
    margin: auto;
    text-align: left;
}

.list li {
    margin-bottom: 12px;
}

/* ======================
   FORMULAIRE
   ====================== */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
select,
textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
}

/* ======================
   FOOTER
   ====================== */
footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 20px;
}
