/* ==========================================================================
   JM Adultère — jm-adultere.net
   Monopage plein écran SANS SCROLL : split-screen image + formulaire
   Palette midnight + or, typo Space Grotesk — design inédit
   ========================================================================== */

:root {
    --midnight: #0a1220;
    --midnight-2: #0f1b2e;
    --panel: #101a2b;
    --mint: #ffd27a;
    --mint-dark: #e9b24e;
    --text: #eaf1f8;
    --muted: #93a4bb;
    --line: rgba(255, 210, 122, 0.26);
    --display: "Space Grotesk", "Segoe UI", sans-serif;
    --sans: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: var(--sans);
    background: var(--midnight);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }

/* === Stage : deux panneaux plein écran === */
.stage {
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

/* === Panneau visuel (gauche) === */
.visual {
    position: relative;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: url("adultere.jpg") center/cover no-repeat;
    overflow: hidden;
}
.visual-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,18,32,0.45) 0%, rgba(10,18,32,0.88) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(255,210,122,0.16) 0%, transparent 55%);
}
.visual > * { position: relative; z-index: 2; }

.visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { height: 46px; width: auto; display: block; }
.badge {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mint);
    border: 1px solid var(--line);
    background: rgba(255,210,122,0.10);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
}

.visual-copy { max-width: 480px; }
.visual-copy h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.visual-copy .tagline {
    margin-top: 0.8rem;
    font-family: var(--display);
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
.visual-copy .tagline em {
    font-style: normal;
    color: #ffd27a;
}
.visual-copy p {
    margin-top: 1rem;
    color: #f2f6fb;
    font-size: 1.08rem;
    font-weight: 500;
    max-width: 400px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.ticks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
}
.ticks li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.85rem;
    color: var(--text);
    letter-spacing: 0.02em;
}
.ticks li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 8px; height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px rgba(255,210,122,0.7);
}

/* === Panneau formulaire (droite) === */
.panel {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(255,210,122,0.10) 0%, transparent 50%),
        linear-gradient(160deg, var(--midnight-2), var(--midnight));
    display: flex;
    flex-direction: column;
    padding: 1.6rem 2rem;
    overflow-y: auto;
}
.panel-card {
    width: 100%;
    max-width: 400px;
    margin: auto;
}
.eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 0.7rem;
}
.panel-card h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1.1;
}
.panel-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0.4rem 0 1.4rem;
}
.panel-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

/* === Formulaire injecté par le smartlink === */
.form-embed iframe { width: 100% !important; border: 0; border-radius: 10px; }
.form-embed input:not([type="checkbox"]):not([type="radio"]),
.form-embed select,
.form-embed textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-embed input::placeholder,
.form-embed textarea::placeholder { color: var(--muted); }
.form-embed input:focus,
.form-embed select:focus,
.form-embed textarea:focus {
    outline: none;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(255,210,122,0.22);
}
.form-embed select option { color: #111; }

.form-embed input[type="checkbox"],
.form-embed input[type="radio"] {
    width: 16px; height: 16px;
    margin: 0.15rem 0.55rem 0 0;
    accent-color: var(--mint);
    flex: none;
}
.form-embed label {
    display: flex;
    align-items: flex-start;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.form-embed label a { color: var(--mint); text-decoration: underline; }

.form-embed button,
.form-embed input[type="submit"],
.form-embed input[type="button"],
.form-embed [type="submit"],
.form-embed .btn,
.form-embed a.button {
    display: block;
    width: 100%;
    padding: 1rem 1.4rem;
    margin-top: 0.3rem;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark)) !important;
    color: #3a2a06 !important;
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    border: 0 !important;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.form-embed button:hover,
.form-embed input[type="submit"]:hover,
.form-embed input[type="button"]:hover,
.form-embed .btn:hover,
.form-embed a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,210,122,0.35);
}

/* === Contenu SEO (sous le hero) === */
.about {
    background: var(--midnight-2);
    padding: 4.5rem 2rem;
    border-top: 1px solid var(--line);
}
.about-wrap { max-width: 820px; margin: 0 auto; }
.about h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.4rem;
}
.about p {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
}
.about-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem 1.6rem;
    margin-top: 1.6rem;
}
.about-points li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text);
    font-size: 0.95rem;
}
.about-points li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px rgba(255,210,122,0.7);
}

/* === Footer === */
.foot {
    background: var(--midnight);
    border-top: 1px solid var(--line);
    padding: 2.2rem 2rem;
    text-align: center;
}
.foot p {
    color: var(--muted);
    font-size: 0.8rem;
    max-width: 900px;
    margin: 0 auto;
}
.foot a { color: var(--mint); }

/* === Responsive === */
@media (max-width: 860px) {
    body { overflow: auto; }
    .stage {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }
    .visual {
        min-height: 42vh;
        gap: 1.6rem;
        padding: 1.8rem;
    }
    .panel { padding: 2rem 1.4rem 2.6rem; }
}

@media (max-width: 460px) {
    .visual-copy h1 { font-size: 1.9rem; }
    .ticks { gap: 0.5rem 1.1rem; }
    .about-points { grid-template-columns: 1fr; }
}

/* === Protocole de discretion (section longue) === */
.protocol { padding-top: 3rem; }
.protocol h2 { margin-top: 1.6rem; }
.protocol h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--mint); margin: 1.5rem 0 0.5rem; }
.protocol strong { color: var(--text); font-weight: 600; }
.protocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1rem 0 1.2rem; }
.protocol-grid div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.protocol-grid strong { color: var(--mint); }
.protocol-grid span { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.protocol-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1.1rem; margin-bottom: 0.6rem; }
.protocol-faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.protocol-faq details p { margin: 0.6rem 0 0; }
.protocol-cta { display: inline-block; margin-top: 1.4rem; padding: 0.9rem 1.6rem; background: var(--mint); color: var(--midnight); font-weight: 700; border-radius: 10px; text-decoration: none; }
.protocol-cta:hover { background: var(--mint-dark); }
@media (max-width: 640px) { .protocol-grid { grid-template-columns: 1fr; } }
