/* ============================================================
   MAISON SAINT CÉSAR — Espace Partenaires en palette B
   Chargé après les styles de la page. Couleurs uniquement :
   aucun effet sur l'accès par code ni sur les commandes.
   ============================================================ */

:root {
  --ivoire: #F3EDE3;
  --ivoire-2: #E6DBC9;
  --or: #8E4A28;
  --orange: #A65B34;
  --emeraude: #2B2119;
  --emeraude-2: #2B2119;
  --gris: #4F4339;
  --gris-2: #4F4339;
  --noir: #2B2119;
  --sc-terre: #A65B34;
  --sc-cuivre: #8E4A28;
  --sc-laiton: #9E8152;
  --sc-laiton-clair: #C9A86E;
  --sc-sable: #F3EDE3;
  --sc-sable-clair-texte: #D9CEBD;
  --sc-dune: #E6DBC9;
  --sc-bouton-texte: #FBF7F1;
}

body { background: var(--sc-sable); }

/* Porte d'accès */
.partenaires-gate::before { display: none; }
.partenaires-gate .label-or { color: var(--sc-laiton-clair); }
.partenaires-gate-content p,
.gate-remember span,
.gate-link { color: var(--sc-sable-clair-texte); }
.gate-input { background: rgba(243, 237, 227, 0.08); border-color: var(--sc-laiton); color: var(--sc-sable); }
.gate-input::placeholder { color: var(--sc-sable-clair-texte); }
.gate-input:focus { border-color: var(--sc-laiton-clair); }
.gate-input-error { border-color: #e57373; }
.gate-submit { background: var(--sc-terre); color: var(--sc-bouton-texte); font-weight: 600; }
.gate-submit:hover { background: var(--sc-cuivre); }
.gate-remember input { accent-color: var(--sc-terre); }

/* En-tête de l'espace */
.esp-logo { background: var(--sc-terre); color: var(--sc-bouton-texte); }
.esp-name, .esp-logout, .esp-header a { color: var(--sc-sable-clair-texte) !important; }
.esp-logout, .esp-header a { border-color: var(--sc-laiton) !important; }
.esp-tab.active { border-bottom-color: var(--sc-terre); }

/* Sélections et actions */
.qty-btn:hover, .qty-btn.sel { border-color: var(--sc-terre); }
.qty-btn.sel, .addr-card.active { background: var(--sc-dune); }
.qty-btn.sel .qty-n, .addr-card.active .addr-card-label { color: var(--sc-cuivre); }
.qty-btn.sel .qty-unit { color: var(--sc-cuivre); }
.esp-field input:focus, .esp-field select:focus, .esp-field textarea:focus, .addr-new-form input:focus { border-color: var(--sc-cuivre); }
.addr-save-row input[type=checkbox] { accent-color: var(--sc-terre); }
.addr-save-btn { color: var(--sc-cuivre); border-color: var(--sc-cuivre); }
.esp-submit, .confirmation-box button { background: var(--sc-terre); color: var(--sc-bouton-texte); font-weight: 600; }
.esp-submit:hover, .confirmation-box button:hover { background: var(--sc-cuivre); }

/* Encadré contact, règlement, confirmation */
.cb-eyebrow, .contact-block-small a:first-of-type { color: var(--sc-laiton-clair); }
.cb-role, .contact-block-small a { color: var(--sc-sable-clair-texte); }
.rib-block { border-left-color: var(--sc-laiton); }
.confirmation-overlay { background: rgba(43, 33, 25, 0.7); }

/* Message si l'envoi de la commande échoue */
.form-error { margin-top: 12px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--sc-cuivre); text-align: center; }
.form-error a { color: inherit; text-decoration: underline; }
.esp-submit:disabled { opacity: .6; cursor: wait; }

/* --- Plancher de lisibilité : 12 px pour les capitales, 14 px pour le texte courant */
.partenaires-gate-content p { font-size: 14px; }
.partenaires-gate-content p.label-or { font-size: 12px; }
.gate-error, .gate-remember span, .gate-link { font-size: 13px; }
.gate-submit, .esp-name, .esp-logout, .esp-tab, .esp-submit,
.esp-field label, .addr-new-title, .addr-card-label, .addr-save-row label, .addr-save-btn,
.side-section-label, .cb-eyebrow, .tarifs-key, .confirmation-box button { font-size: 12px; }
.qty-unit { font-size: 12px; }
.qty-btn-autre .qty-n { font-size: 14px; }
.esp-form-sub, .addr-add-text, .addr-line, .esp-notice, .side-info-row, .side-addr-preview,
.cb-role, .rib-note, .confirmation-box p, .footer-desc, .footer-col ul a { font-size: 14px; }
.contact-block-small a { font-size: 13px; overflow-wrap: anywhere; }
.esp-field input, .esp-field select, .esp-field textarea, .addr-new-form input { font-size: 15px; }
.footer-col h4, .footer-bottom { font-size: 12px; }
