/* ===========================
   STYLE GLOBAL
   =========================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0f2c, #1a1f4d);

    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px;
}

/* ===========================
   HERO
   =========================== */

header.hero {
    position: relative;
    width: 100%;
    height: 270px;
    background: url("/static/hpcf_banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border-bottom: 4px solid rgba(120, 0, 200, 0.6);
}

header.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 204, 255, 0.25), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.35), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    animation: bgPulse 1s ease-in-out infinite;
}

@keyframes bgPulse {
    0%   { transform: scale(1); filter: brightness(0.9); }
    50%  { transform: scale(1.05); filter: brightness(1.1); }
    100% { transform: scale(1); filter: brightness(0.9); }
}

.hero-text {
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%);
    text-align: right;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.8em;
    margin: 0;
    color: #ffffff;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         0 0 12px rgba(0, 204, 255, 0.8);
    animation: glowPulse 1s ease-in-out infinite;
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 8px rgba(0, 204, 255, 0.4); }
    50% { text-shadow: 0 0 22px rgba(0, 204, 255, 1); }
    100% { text-shadow: 0 0 8px rgba(0, 204, 255, 0.4); }
}

.hero-text p {
    font-size: 1.2em;
    color: #ffffff;
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* ===========================
   INTRO BOX
   =========================== */

.intro-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 15px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, #001133 0%, #220066 45%, #5a00b5 100%);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 25px rgba(120, 0, 255, 0.35);
    text-align: center;
}

.intro-box h2 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 10px;
}

.intro-box p {
    font-size: 1.2em;
    color: #f0e6ff;
    line-height: 1.5;
}

/* ===========================
   OFFRES
   =========================== */

.offers-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px auto;
    flex-wrap: nowrap;
}

.audit-offer {
    flex: 1 1 340px;
    max-width: 380px;
    padding: 25px 30px;
    border-radius: 4px;
    background: linear-gradient(135deg, #000428 0%, #1a0066 50%, #4b0082 100%);
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.3);
    border-left: 4px solid #00ccff;
    text-align: center;
}

.premium-offer {
    background: linear-gradient(135deg, #12002b 0%, #3b0088 50%, #7c3aed 100%);
    border-left: 4px solid #7c3aed;
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.45);
}

.audit-offer h3 {
    font-size: 2em;
    margin-bottom: 25px;
    color: #00ccff;
}

.premium-offer h3 {
    color: #d9b4ff;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: #e6f7ff;
    font-size: 1.1em;
    text-align: left;
}

.offer-features li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.offer-features li::before {
    content: "✔";
    color: #00ccff;
    position: absolute;
    left: 0;
}

.premium-offer .offer-features li::before {
    color: #d9b4ff;
}

/* ===========================
   FORM INPUTS & BUTTONS
   =========================== */

.offer-action input {
    width: 90%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: none;
    font-size: 1.1em;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
}

.offer-action button {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary {
    background: linear-gradient(135deg, #4b0082, #00ccff);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #00ccff, #4b0082);
}

.btn-premium {
    background: linear-gradient(135deg, #7c3aed, #4b0082);
    color: #fff;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #4b0082, #7c3aed);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
    .offers-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .audit-offer {
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header.hero {
        height: 240px;
        padding: 0 20px;
    }

    .hero-text {
        text-align: center;
        right: auto;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 0.9em;
    }
}
