:root {
    --bg: #0b0b0f;
    --panel-bg: #0b0b0f;
    --accent: #115740;
    --text: #ffffff;
    --muted: #b3b3b3;
    --border: #2a2a33;
    --input-bg: #111119;
}

/* Classe ajoutée uniquement sur cette page, pour ne pas casser le thème */
body.pa-contact-page {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Wrapper interne : le header / footer / sidebar viennent du thème */
.pa-contact-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 24px;
}

/* Bloc principal */
.pa-contact-wrapper .layout {
    display: flex;
    flex-wrap: wrap;
    background: var(--panel-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

/* Panels */
.pa-contact-wrapper .left-panel,
.pa-contact-wrapper .right-panel {
    padding: 40px 48px;
}

.pa-contact-wrapper .left-panel {
    flex: 0 0 45%;
    min-width: 320px;
    background: #0b0b0f;
}

.pa-contact-wrapper .right-panel {
    flex: 1;
    background: #0b0b0f;
    position: relative;
    overflow: hidden;
}

/* Logo & header */
.pa-contact-wrapper .logo {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.pa-contact-wrapper .logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.08em;
}

.pa-contact-wrapper .logo-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.pa-contact-wrapper h1,
.pa-contact-wrapper h2,
.pa-contact-wrapper h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.pa-contact-wrapper h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.pa-contact-wrapper .subtitle {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pa-contact-wrapper .required-note {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px;
}

/* Alerts */
.pa-contact-wrapper .alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.pa-contact-wrapper .alert-danger {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid var(--error);
    color: #f8d7da;
}

.pa-contact-wrapper .alert-success {
    background: rgba(17, 87, 64, 0.12);
    border: 1px solid var(--accent);
    color: #c8f7dc;
}

/* Formulaire */
.pa-contact-wrapper .form-group {
    margin-bottom: 18px;
}

.pa-contact-wrapper .form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.pa-contact-wrapper .required-star {
    color: var(--accent);
}

.pa-contact-wrapper .form-row-inline {
    display: flex;
    gap: 12px;
}

.pa-contact-wrapper .form-row-inline .form-group {
    flex: 1;
}

.pa-contact-wrapper input[type="text"],
.pa-contact-wrapper input[type="email"],
.pa-contact-wrapper input[type="tel"],
.pa-contact-wrapper select,
.pa-contact-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.pa-contact-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.pa-contact-wrapper input::placeholder,
.pa-contact-wrapper textarea::placeholder {
    color: #6f6f80;
}

.pa-contact-wrapper input:focus,
.pa-contact-wrapper select:focus,
.pa-contact-wrapper textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(17, 87, 64, 0.6);
}

.pa-contact-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6f6f80 50%),
        linear-gradient(135deg, #6f6f80 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 13px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.pa-contact-wrapper .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 8px;
}

.pa-contact-wrapper .radio-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.pa-contact-wrapper .radio-pill input {
    accent-color: var(--accent);
}

.pa-contact-wrapper .checkbox-row {
    display: flex;
    align-items: flex-start;
    margin: 12px 0;
    font-size: 13px;
    gap: 8px;
}

.pa-contact-wrapper .checkbox-row input {
    margin-top: 2px;
    accent-color: var(--accent);
}

.pa-contact-wrapper .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

.pa-contact-wrapper .btn-primary:hover {
    background: #0e4634;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transform: translateY(-1px);
}

.pa-contact-wrapper .btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.pa-contact-wrapper .legal-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px;
    line-height: 1.5;
}

/* Right panel */
.pa-contact-wrapper .floating-stars span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(17, 87, 64, 0.9);
    opacity: 0.9;
}

.pa-contact-wrapper .floating-stars span:nth-child(1) {
    top: 18%;
    left: 62%;
}

.pa-contact-wrapper .floating-stars span:nth-child(2) {
    top: 34%;
    left: 80%;
}

.pa-contact-wrapper .floating-stars span:nth-child(3) {
    top: 58%;
    left: 68%;
}

.pa-contact-wrapper .vip-card-wrapper {
    margin-bottom: 32px;
}

.pa-contact-wrapper .vip-card-shadow {
    width: 280px;
    height: 180px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1c1c26, #0b0b0f);
    box-shadow: 0 35px 45px rgba(0, 0, 0, 0.9);
    position: relative;
}

.pa-contact-wrapper .vip-card-inner {
    position: absolute;
    inset: 16px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(17, 87, 64, 0.18), transparent 52%),
        #f4f4f6;
    color: #111;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 18px;
}

.pa-contact-wrapper .vip-card-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.pa-contact-wrapper .vip-card-chip {
    alignself: flex-end;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.pa-contact-wrapper .vip-card-footer {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.pa-contact-wrapper .advantages-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.pa-contact-wrapper .advantages-subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.pa-contact-wrapper .contact-infos-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px 40px;
    font-size: 13px;
}

.pa-contact-wrapper .contact-info-block h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.pa-contact-wrapper .contact-info-block p {
    color: var(--muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 920px) {
    .pa-contact-wrapper {
        padding: 16px;
    }

    .pa-contact-wrapper .left-panel,
    .pa-contact-wrapper .right-panel {
        flex: 1 1 100%;
        padding: 24px 20px 28px;
    }

    .pa-contact-wrapper .layout {
        border-radius: 14px;
    }

    .pa-contact-wrapper .vip-card-wrapper {
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .pa-contact-wrapper .layout {
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    }

    .pa-contact-wrapper .form-row-inline {
        flex-direction: column;
    }
}
