/* ============================================================================
   style.css — LUBSAPP landing page — thème "Midnight Gold"
   ============================================================================ */

:root {
    --bg: #14100C;
    --bg-alt: #1A1509;
    --card-bg: #1F1811;
    --card-bg-clair: #271F15;
    --ligne: #2A2118;

    --ink: #F6ECE0;
    --muted: #B2A291;
    --muted-clair: #8A7A68;

    --or: #C9A24B;
    --or-fonce: #A9843A;
    --or-bg: rgba(201, 162, 75, 0.12);
    --sur-or: #1A1509;

    --vert: #8FAC6C;

    --radius-s: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --ombre: 0 20px 50px rgba(0, 0, 0, 0.35);

    --police-titre: 'Fraunces', serif;
    --police-texte: 'IBM Plex Sans', sans-serif;

    color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--police-texte);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.conteneur {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--or);
    margin: 0 0 16px;
}

h1, h2, h3 {
    font-family: var(--police-titre);
    font-weight: 600;
    margin: 0;
    color: var(--ink);
}

h2 {
    font-size: 40px;
    line-height: 1.15;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-intro p {
    color: var(--muted);
    font-size: 17px;
    margin: 18px 0 0;
}

p { color: var(--muted); }

.bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: var(--police-texte);
    transition: transform .12s ease, opacity .15s ease;
}
.bouton:active { transform: scale(.98); }

.bouton-or {
    background: var(--or);
    color: var(--sur-or);
}

.bouton-contour {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ligne);
}

.bouton-large { padding: 18px 34px; font-size: 16px; }

/* -------------------------------------------------------------------------
   En-tête
   ------------------------------------------------------------------------- */
.entete {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(20, 16, 12, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ligne);
}

.entete-barre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-texte {
    font-family: var(--police-titre);
    font-weight: 600;
    font-size: 20px;
    color: var(--ink);
}

.logo-soustitre {
    font-size: 11px;
    color: var(--muted-clair);
    border-left: 1px solid var(--ligne);
    padding-left: 10px;
    margin-left: 2px;
}

.nav-liens {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-liens a {
    text-decoration: none;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}
.nav-liens a:hover { color: var(--ink); }

.entete-actions { display: flex; align-items: center; gap: 20px; }

.bouton-menu-mobile {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
    padding: 6px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 24px 20px;
    border-top: 1px solid var(--ligne);
}
.nav-mobile a {
    text-decoration: none;
    color: var(--muted);
    font-size: 16px;
    padding: 12px 0;
}
.nav-mobile.ouvert { display: flex; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 110px;
}

.hero-glow {
    position: absolute;
    top: -160px;
    right: -160px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,75,.18), transparent 68%);
    pointer-events: none;
}

.hero-grille {
    display: flex;
    align-items: center;
    gap: 72px;
}

.hero-texte { flex: 1; max-width: 580px; }

.hero-titre {
    font-size: 58px;
    line-height: 1.08;
    margin: 24px 0 0;
}
.hero-titre .accent { color: var(--or); }

.hero-sous-titre {
    font-size: 18px;
    line-height: 1.65;
    margin: 26px 0 0;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-prix-teaser { font-size: 14px; color: var(--muted-clair); }
.hero-prix-teaser strong { color: var(--ink); }

.hero-visuel { width: 380px; display: flex; justify-content: center; flex-shrink: 0; }

/* Maquette de téléphone (reprend l'écran d'accueil réel de l'app) */
.telephone {
    width: 290px;
    height: 600px;
    border-radius: 42px;
    background: #0E0B08;
    border: 1px solid var(--ligne);
    padding: 14px;
    box-shadow: var(--ombre);
}
.telephone-ecran {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #1b1611;
    overflow: hidden;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tel-entete { display: flex; align-items: center; gap: 10px; }
.tel-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--or-bg); color: var(--or);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.tel-nom { color: #f6ede2; font-size: 14px; font-weight: 700; }
.tel-role { color: #b2a291; font-size: 11px; }
.tel-carte { background: #26201a; border-radius: 16px; padding: 14px; text-align: center; }
.tel-carte .chiffre { color: #f6ede2; font-size: 24px; font-weight: 800; display: block; }
.tel-carte .chiffre.or { color: var(--or); }
.tel-carte .libelle { color: #b2a291; font-size: 11px; }
.tel-mini-cartes { display: flex; gap: 8px; }
.tel-mini-carte { flex: 1; background: #26201a; border-radius: 14px; padding: 12px; text-align: center; }
.tel-mini-carte .chiffre { font-size: 18px; font-weight: 800; }
.tel-mini-carte .libelle { color: #b2a291; font-size: 10px; }
.tel-bouton {
    margin-top: auto; background: var(--or); color: var(--sur-or);
    text-align: center; border-radius: 14px; padding: 14px;
    font-weight: 700; font-size: 13px;
}

/* -------------------------------------------------------------------------
   Fonctionnalités
   ------------------------------------------------------------------------- */
.grille-fonctionnalites {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.carte-fonctionnalite {
    background: var(--card-bg);
    border: 1px solid var(--ligne);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.icone-fonctionnalite {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--or-bg);
    color: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.carte-fonctionnalite h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.carte-fonctionnalite p {
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Comment ça marche
   ------------------------------------------------------------------------- */
.etapes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.etape { position: relative; }

.etape-numero {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--or);
    color: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--police-titre);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.etape h3 { font-size: 17px; margin-bottom: 8px; }
.etape p { font-size: 14.5px; margin: 0; }

/* -------------------------------------------------------------------------
   Tarifs
   ------------------------------------------------------------------------- */
.grille-tarifs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.carte-tarif {
    background: var(--card-bg);
    border: 1px solid var(--ligne);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
}

.tarif-plage {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted-clair);
    margin-bottom: 18px;
}

.tarif-prix {
    font-family: var(--police-titre);
    font-size: 38px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}

.tarif-unite {
    font-size: 13px;
    color: var(--muted-clair);
    margin-top: 8px;
    margin-bottom: 24px;
}

.tarif-note {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0 0 28px;
    flex-grow: 1;
}

.tarif-note-globale {
    text-align: center;
    max-width: 640px;
    margin: 40px auto 0;
    font-size: 14px;
    color: var(--muted-clair);
}

/* -------------------------------------------------------------------------
   Bandeau CTA
   ------------------------------------------------------------------------- */
.bandeau-cta {
    text-align: center;
    padding: 100px 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,162,75,.12), transparent 60%);
}

.bandeau-cta h2 { max-width: 560px; margin: 0 auto; }
.bandeau-cta p { max-width: 480px; margin: 20px auto 36px; font-size: 17px; }

/* -------------------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------------------- */
.pied {
    border-top: 1px solid var(--ligne);
    padding: 56px 0 40px;
}

.pied-haut {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pied-colonne h4 {
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted-clair);
    margin: 0 0 16px;
    font-family: var(--police-texte);
    font-weight: 600;
}

.pied-colonne a, .pied-colonne p {
    display: block;
    text-decoration: none;
    color: var(--muted);
    font-size: 14.5px;
    margin: 0 0 10px;
}
.pied-colonne a:hover { color: var(--ink); }

.pied-bas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--ligne);
    font-size: 13px;
    color: var(--muted-clair);
    flex-wrap: wrap;
    gap: 12px;
}

/* -------------------------------------------------------------------------
   Modale : demander une démo
   ------------------------------------------------------------------------- */
.modale-fond {
    position: fixed;
    inset: 0;
    background: rgba(8, 6, 4, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
}

.modale-carte {
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid var(--ligne);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--ombre);
}

.modale-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.modale-entete h3 {
    font-size: 22px;
}

.modale-fermer {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.modale-fermer:hover { color: var(--ink); }

.modale-sous-titre {
    font-size: 14px;
    margin: 8px 0 26px;
}

.champ-groupe { margin-bottom: 18px; }

.champ-groupe label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.champ-aide {
    font-weight: 400;
    color: var(--muted-clair);
    font-size: 12.5px;
}

.champ-groupe input[type="text"],
.champ-groupe input[type="tel"],
.champ-groupe textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--ligne);
    border-radius: var(--radius-s);
    padding: 12px 14px;
    color: var(--ink);
    font-family: var(--police-texte);
    font-size: 16px; /* >= 16px : évite le zoom automatique sur iOS */
    box-sizing: border-box;
}

.champ-groupe textarea {
    resize: vertical;
    min-height: 90px;
}

.champ-groupe input:focus,
.champ-groupe textarea:focus {
    outline: 2px solid var(--or);
    border-color: var(--or);
}

.choix-oui-non { display: flex; gap: 24px; }

.option-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    font-size: 15px;
    color: var(--muted);
    cursor: pointer;
}
.option-radio input { width: 18px; height: 18px; accent-color: var(--or); }

.erreur-champ {
    color: #E2765A;
    font-size: 13.5px;
    margin: -6px 0 16px;
}

.modale-succes-demo { text-align: center; padding: 12px 0; }

.icone-succes-demo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--or-bg);
    color: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .section { padding: 76px 0; }
    h2 { font-size: 32px; }
    .hero { padding: 56px 0 76px; }
    .hero-grille { flex-direction: column; gap: 56px; }
    .hero-texte { max-width: 100%; text-align: center; }
    .hero-titre { font-size: 42px; }
    .hero-sous-titre { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visuel { width: 100%; }

    .nav-liens { display: none; }
    .entete-actions .bouton { display: none; }
    .bouton-menu-mobile { display: flex; }

    .grille-fonctionnalites { grid-template-columns: 1fr; }
    .etapes { grid-template-columns: repeat(2, 1fr); }
    .grille-tarifs { grid-template-columns: repeat(2, 1fr); }

    .pied-haut { flex-direction: column; gap: 28px; }
}

@media (max-width: 560px) {
    .hero-titre { font-size: 34px; }
    .etapes { grid-template-columns: 1fr; }
    .grille-tarifs { grid-template-columns: 1fr; }
    .telephone { width: 250px; height: 520px; }
}
