/* ==========================================================================
   OnlyDate — only-date.org
   Monopage minimaliste, thème clair, accent magenta #D63384
   ========================================================================== */

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

:root {
    --accent: #D63384;
    --accent-dark: #A8266A;
    --ink: #241827;
    --muted: #7c7186;
    --bg: #fff7fb;
    --card: #ffffff;
    --line: #f0d9e6;
    --display: "Poppins", sans-serif;
    --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === Topbar === */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.6rem;
    max-width: 1120px;
    margin: 0 auto;
}
.brand img { height: 40px; width: auto; }
.topbar-cta {
    padding: 0.6rem 1.3rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    transition: transform 0.2s, background 0.2s;
}
.topbar-cta:hover { transform: translateY(-1px); background: var(--accent-dark); }

/* === Hero === */
.hero {
    position: relative;
    padding: clamp(2rem, 5vw, 3.5rem) 1.6rem clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse at 15% 0%, rgba(214,51,132,0.10), transparent 55%),
        radial-gradient(ellipse at 100% 20%, rgba(214,51,132,0.08), transparent 50%);
}
.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pill {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: #fce6f1;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.hero-copy h1 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.hero-copy h1 .accent { color: var(--accent); }
.subtitle {
    margin: 1rem 0 1.6rem;
    font-size: 1.12rem;
    line-height: 1.5;
    color: var(--muted);
    max-width: 34ch;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}
.chips li {
    position: relative;
    padding: 0.5rem 0.95rem 0.5rem 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink);
}
.chips li::before {
    content: "";
    position: absolute;
    left: 0.85rem; top: 50%;
    width: 8px; height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--accent);
}

.showcase {
    margin: 0.5rem auto 0;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(214,51,132,0.18);
}
.showcase img { width: 100%; height: auto; }

/* === Form card === */
.hero-form { display: flex; justify-content: center; }
.form-card {
    width: 100%;
    max-width: 400px;
    background: var(--card);
    border-radius: 18px;
    padding: 1.8rem 1.6rem;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(36,24,39,0.12);
    --form-blue: #D63384;
    --form-blue-dark: #A8266A;
}
.form-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    text-align: center;
    color: var(--accent-dark);
    margin-bottom: 1.2rem;
}

/* === Formulaire injecté (smartlink) === */
.form-card form,
.form-card [class*="ptprelinker-"] form { display: flex; flex-direction: column; gap: 0.9rem; }
.ptprelinker-content,
.ptprelinker--box,
.form-card [class*="ptprelinker-content"],
.form-card [class*="ptprelinker--box"] { background: #fff !important; border-color: #fff !important; }

.form-card h1,
.form-card h2,
.form-card h3,
.form-card legend,
.form-card label { color: #3d1f30; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.form-card h1, .form-card h2 { text-align: center; color: var(--form-blue-dark); margin-bottom: 0.3rem; }

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="password"],
.form-card input[type="number"],
.form-card input[type="date"],
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: #3d1f30;
    background: #fdf2f8;
    border: 2px solid var(--form-blue);
    border-radius: 8px !important;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23D63384' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--form-blue-dark);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(214,51,132,0.2);
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #c191a8; }
.form-card input[type="radio"],
.form-card input[type="checkbox"] { accent-color: var(--form-blue); width: 18px; height: 18px; cursor: pointer; }

.form-card button,
.form-card input[type="submit"],
.form-card input[type="button"],
.form-card [class*="ptprelinker-"] a[class*="btn"] {
    display: inline-block;
    width: 100%;
    padding: 0.95rem 1.2rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--form-blue), var(--form-blue-dark));
    border: none;
    border-radius: 8px !important;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(214,51,132,0.4);
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.form-card button:hover,
.form-card input[type="submit"]:hover,
.form-card input[type="button"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 26px rgba(214,51,132,0.5);
}
.form-card a { color: var(--form-blue-dark); font-weight: 600; }
.form-card a:hover { color: var(--form-blue); }

/* === Section SEO === */
.seo-section { background: #fff; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 1.6rem; }
.seo-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.seo-inner h2 { font-family: var(--display); font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; color: var(--ink); margin-bottom: 1.1rem; }
.seo-inner p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin-bottom: 1rem; }
.seo-inner p:last-child { margin-bottom: 0; }
.seo-inner strong { color: var(--accent-dark); }

/* === Footer === */
.site-footer { background: #2a1a24; color: #b9a7b3; padding: 1.6rem; text-align: center; }
.footer-legal { font-size: 0.8rem; }
.footer-legal a { color: #f0a6cc; font-weight: 600; }
.footer-legal a:hover { color: #fff; }

/* === Responsive === */
@media (max-width: 880px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .subtitle { max-width: none; margin-left: auto; margin-right: auto; }
    .chips { justify-content: center; }
    .showcase { margin: 1rem auto 0; }
    .hero-form { order: -1; }
}
@media (max-width: 460px) {
    .topbar-cta { display: none; }
    .hero-copy h1 { font-size: 3rem; }
}
