/* ===========================
   STYLE GLOBAL
   =========================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0f2c, #1a1f4d);

    /* Motif futuriste discret */
    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;
}

/* ===========================
   HEADER / BANNIÈRE PRINCIPALE
   =========================== */

header.hero {
    position: relative;
    width: 100%;
    height: 270px;
    background: background: url("/static/hpcf_banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center; /* ✅ centrer horizontalement */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 0;
}

/* Animation douce de luminosité sur la bannière */
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;
    z-index: 0;
}

@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); }
}

/* Texte superposé sur la bannière */
.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;

    /* Contour noir pour lisibilité */
    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 de pulsation */
    animation: glowPulse 1s ease-in-out infinite;
}

@keyframes glowPulse {
    0% {
        text-shadow:
            -2px -2px 0 #000,
             2px -2px 0 #000,
            -2px  2px 0 #000,
             2px  2px 0 #000,
             0 0 8px rgba(0, 204, 255, 0.4);
    }
    50% {
        text-shadow:
            -2px -2px 0 #000,
             2px -2px 0 #000,
            -2px  2px 0 #000,
             2px  2px 0 #000,
             0 0 22px rgba(0, 204, 255, 1);
    }
    100% {
        text-shadow:
            -2px -2px 0 #000,
             2px -2px 0 #000,
            -2px  2px 0 #000,
             2px  2px 0 #000,
             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,
         0px  0px 10px rgba(0,0,0,0.6);
}

header.hero {
    border-bottom: 4px solid rgba(120, 0, 200, 0.6);
}

/* ===========================
   CARD PRINCIPALE
   =========================== */

/* Cadre violet */
.intro-box {
    max-width: 850px;          /* ✅ limite la largeur totale */
    margin: 0 auto;             /* ✅ centre le cadre avec marges latérales */
    padding: 15px 30px;         /* 🔽 réduit la hauteur + ajoute marge interne horizontale */
    border-radius: 15px;        /* arrondis doux pour un look moderne */
    position: relative;
    top: 0;

    /* 💙 Dégradé bleu nuit → violet */
    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;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.intro-box p {
    font-size: 1.2em;
    color: #f0e6ff;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Effet de lumière diagonale */
.intro-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 0, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.intro-box h2 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.intro-box p {
    font-size: 1.2em;
    color: #f0e6ff;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.card {
    width: 600px;
    margin: 60px auto;
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0px 8px 25px rgba(0,204,255,0.25);
    backdrop-filter: blur(10px);
}

.card h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #00ccff;
}

/* ===========================
   CHAMP URL
   =========================== */

#url {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #334;
    font-size: 16px;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.1);
    color: #e0e0e0;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

/* ===========================
   BOUTONS
   =========================== */

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 26px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
}

/* Bleu HPC */
.btn-primary {
    background: #00ccff;
    color: #0a0f2c;
}

.btn-primary:hover {
    background: #4b0082;
    color: white;
}

/* Violet HPC */
.btn-secondary {
    background: #4b0082;
    color: white;
}

.btn-secondary:hover {
    background: #00ccff;
    color: #0a0f2c;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* ===========================
   FORMULE AUDIT SEO – 15€
   =========================== */

.audit-offer {
    max-width: 600px;
    margin: 20px auto;
    padding: 40px 50px;
    border-radius: 4px;

    background: linear-gradient(135deg, #000428 0%, #1a0066 50%, #4b0082 100%);
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.3);
    backdrop-filter: blur(6px);

    text-align: center;
}

.audit-offer h3 {
    font-size: 1.9em;
    color: #00ccff;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.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;
}

.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;
    background: linear-gradient(135deg, #4b0082, #00ccff);
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.offer-action button:hover {
    background: linear-gradient(135deg, #00ccff, #4b0082);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.6);
}

@media (max-width: 1024px) {
    header.hero {
        height: 280px;
        padding-right: 40px;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .card {
        width: 90%;
    }
}

@media (max-width: 768px) {
    header.hero {
        height: 240px;
        justify-content: center;
        padding: 0 20px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 0.9em;
    }
}

/* ===========================
   OFFRES AUDIT SEO – STANDARD & PREMIUM
   =========================== */

.audit-offer {
    max-width: 650px;
    margin: 20px auto;
    padding: 40px 50px;
    border-radius: 4px;

    background: linear-gradient(135deg, #000428 0%, #1a0066 50%, #4b0082 100%);
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.3);
    backdrop-filter: blur(6px);

    text-align: center;
    border-left: 4px solid #00ccff;
}

/* PREMIUM */
.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;
    color: #00ccff;
    margin-bottom: 25px;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.premium-offer h3 {
    color: #d9b4ff;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
}

.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;
}

/* Champs URL */
.offer-action input {
    width: 90%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: none;
    font-size: 1.1em;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
}

/* Boutons */
.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;
}

/* Standard */
.btn-secondary {
    background: linear-gradient(135deg, #4b0082, #00ccff);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #00ccff, #4b0082);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.6);
}

/* Premium */
.btn-premium {
    background: linear-gradient(135deg, #7c3aed, #4b0082);
    color: #fff;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #4b0082, #7c3aed);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .audit-offer {
        padding: 30px 25px;
    }
}

/* ===========================
   OFFRES CÔTE À CÔTE (DESKTOP)
   =========================== */

.offers-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px; /* ✅ aucun espace volontaire */
    margin: 40px auto;
    flex-wrap: nowrap;
}

.offers-wrapper .audit-offer {
    flex: 1 1 340px; /* ✅ largeur plus compacte */
    max-width: 380px; /* ✅ limite stricte */
    padding: 25px 30px; /* ✅ contenu resserré */
    margin: 0; /* ✅ supprime toute marge résiduelle */
}

/* ===========================
   RESPONSIVE (MOBILE)
   =========================== */

@media (max-width: 900px) {
    .offers-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .offers-wrapper .audit-offer {
        max-width: 600px;
        width: 100%;
    }
}

.audit-offer {
    padding: 30px 35px; /* ✅ moins de marge interne */
    font-size: 0.95em;  /* ✅ texte légèrement plus compact */
}
