/* Page RGPD - préférences de suivi (index.php) */

:root {
    --bg: #f4f5f7;
    --card: #ffffff;
    --text: #1f2430;
    --muted: #6b7280;
    --border: #d7dbe2;
    --accent: #2b6cb0;
    --accent-dark: #235a94;
    --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding: 32px 16px 56px;
}
.card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(31, 36, 48, 0.06);
    padding: 40px 40px 32px;
}
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.logo img { height: 72px; max-width: 260px; width: auto; }
.logo .placeholder {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px 34px;
    color: var(--muted);
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #fafbfc;
}
h1 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 24px 0 8px;
}
.intro {
    text-align: center;
    color: var(--text);
    font-size: 15px;
    margin: 0 auto;
    max-width: 600px;
}
.intro + .intro { margin-top: 14px; color: #414855; }
hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}
.field-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.field-consent:hover { border-color: #c2c8d2; }
.field-consent input[type="checkbox"] {
    width: 20px; height: 20px;
    margin-top: 1px;
    accent-color: var(--accent);
    flex: 0 0 auto;
    cursor: pointer;
}
.field-consent label { cursor: pointer; font-size: 15px; }
.actions { margin-top: 26px; text-align: center; }
button[type="submit"] {
    appearance: none;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s ease, transform .05s ease;
    width: 100%;
    max-width: 340px;
}
button[type="submit"]:hover { background: var(--accent-dark); }
button[type="submit"]:active { transform: translateY(1px); }
.footer {
    margin-top: 34px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}
.footer .adblock { color: #9aa1ac; margin-bottom: 8px; }
.footer a { color: var(--accent); text-decoration: underline; }
/* Écran de confirmation */
.confirm { text-align: center; padding: 20px 0 8px; }
.confirm .check {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #e7f4ec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.confirm .check svg { width: 34px; height: 34px; }
.confirm h1 { margin-top: 0; }
.confirm p { color: #414855; font-size: 15px; max-width: 520px; margin: 8px auto 0; }
@media (max-width: 560px) {
    .card { padding: 28px 20px 24px; }
    h1 { font-size: 20px; }
    body { padding: 16px 10px 40px; }
}
