/*
 * boutique.css
 * Styles spécifiques à la page boutique / BD
 * Reprend les variables définies dans style.css
 */

/* ══════════════════════════════════
   HERO DE LA PAGE BD
══════════════════════════════════ */

.bd-hero {
  background:
    linear-gradient(180deg, rgba(13,27,42,0.82) 0%, rgba(13,27,42,0.62) 60%, rgba(13,27,42,0.92) 100%),
    url('../images/hero-bg.jpg') no-repeat center center / cover;
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: #fff;
}

.bd-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bd-surtitre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or-vif);
}

.bd-titre {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.bd-divider {
  width: clamp(120px, 25vw, 240px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or-vif), transparent);
  margin-top: 0.5rem;
}


/* ══════════════════════════════════
   LAYOUT GÉNÉRAL DES SECTIONS
══════════════════════════════════ */

.bd-section {
  padding: 4rem 2rem;
}

.bd-section:nth-child(even) {
  background: #f7f4ef; /* Ton crème très doux pour alterner */
}

.bd-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.bd-section-titre {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--bleu-nuit);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.bd-section-titre::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--or-vif);
  margin: 0.6rem auto 0;
}


/* ══════════════════════════════════
   IMAGE PRINCIPALE
══════════════════════════════════ */

.bd-image-principale {
  text-align: center;
}

.bd-image-principale img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(198,149,42,0.25);
  box-shadow: 0 4px 24px rgba(13,27,42,0.12);
}

.bd-image-legende {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  color: #888;
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
  font-style: italic;
}


/* ══════════════════════════════════
   BLOC TEXTE
══════════════════════════════════ */

.bd-texte-bloc h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
}

.bd-texte-bloc p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.85;
  color: #333;
  margin-bottom: 1rem;
}

.bd-texte-bloc em {
  color: var(--or-vif);
  font-style: italic;
}


/* ══════════════════════════════════
   VISUELS COUVERTURE / 4ÈME
══════════════════════════════════ */

.bd-visuels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.bd-visuel-item {
  text-align: center;
}

.bd-visuel-item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(198,149,42,0.3);
  box-shadow: 0 4px 20px rgba(13,27,42,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bd-visuel-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13,27,42,0.18);
}

.bd-visuel-item figcaption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}


/* ══════════════════════════════════
   APPEL AU SOUTIEN
══════════════════════════════════ */

.bd-appel {
  background: var(--bleu-nuit);
  color: #fff;
  border-left: 4px solid var(--or-vif);
  padding: 1.8rem 2rem;
  border-radius: 0 4px 4px 0;
}

.bd-appel-titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--or-clair);
  margin-bottom: 0.6rem;
}

.bd-appel p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}


/* ══════════════════════════════════
   FORMULAIRE
══════════════════════════════════ */

.bd-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.bd-fieldset {
  border: 1px solid rgba(198,149,42,0.25);
  border-radius: 6px;
  padding: 1.5rem 1.8rem;
  background: #fff;
}

.bd-fieldset legend {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  padding: 0 0.5rem;
  letter-spacing: 0.03em;
}

.bd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bd-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1rem;
}

.bd-form-group label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  letter-spacing: 0.04em;
}

.bd-form-group input,
.bd-form-group select,
.bd-form-group textarea {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.55rem 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fdfdfd;
  color: #222;
}

.bd-form-group input:focus,
.bd-form-group select:focus,
.bd-form-group textarea:focus {
  outline: none;
  border-color: var(--or-vif);
  box-shadow: 0 0 0 3px rgba(198,149,42,0.15);
}

.bd-form-hint {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}


/* ── Radio buttons stylisés ── */

.bd-radio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}

.bd-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bd-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(198,149,42,0.2);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.bd-radio-option:hover {
  border-color: var(--or-vif);
  background: rgba(198,149,42,0.04);
}

.bd-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bd-radio-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid var(--or-vif);
  background: #fff;
  transition: background 0.2s;
  position: relative;
}

.bd-radio-option input[type="radio"]:checked + .bd-radio-custom {
  background: var(--or-vif);
  box-shadow: inset 0 0 0 4px #fff;
}

.bd-radio-option span strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--bleu-nuit);
}

.bd-radio-option span small {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  color: #777;
  font-style: italic;
}

.bd-radio-option:has(input:checked) {
  border-color: var(--or-vif);
  background: rgba(198,149,42,0.06);
}


/* ── Adresse (affichée conditionnellement) ── */

.bd-adresse-bloc {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(198,149,42,0.15);
}


/* ── Récapitulatif prix ── */

.bd-recap-prix {
  background: #f7f4ef;
}

.bd-prix-ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(198,149,42,0.12);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: #333;
}

.bd-prix-ligne:last-of-type {
  border-bottom: none;
}

.bd-don-ligne {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.bd-don-ligne label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bleu-nuit);
}

.bd-don-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bd-don-input-wrap input {
  width: 90px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  text-align: right;
}

.bd-don-input-wrap input:focus {
  outline: none;
  border-color: var(--or-vif);
  box-shadow: 0 0 0 3px rgba(198,149,42,0.15);
}

.bd-total {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bleu-nuit);
  border-top: 2px solid var(--or-vif) !important;
  margin-top: 0.5rem;
  padding-top: 0.8rem !important;
}

.bd-prix-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  color: #999;
  font-style: italic;
  margin-top: 0.8rem;
}


/* ── CGV & checkbox ── */

.bd-cgv-bloc {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.5rem;
  background: rgba(198,149,42,0.05);
  border: 1px solid rgba(198,149,42,0.2);
  border-radius: 6px;
}

.bd-checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.97rem;
  color: #444;
  line-height: 1.6;
}

.bd-checkbox-option input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--or-vif);
  cursor: pointer;
}

.bd-checkbox-option a {
  color: var(--or-vif);
  text-decoration: underline;
}


/* ── Bouton submit ── */

.bd-submit-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.bd-btn-submit {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--bleu-nuit);
  border: 2px solid var(--or-vif);
  padding: 0.9rem 2.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.15s;
}

.bd-btn-submit:hover {
  background: var(--or-vif);
  color: var(--bleu-nuit);
  transform: translateY(-2px);
}

.bd-btn-submit:active {
  transform: translateY(0);
}

.bd-submit-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: #888;
  max-width: 440px;
}


/* ══════════════════════════════════
   INFORMATIONS LÉGALES VENDEUR
══════════════════════════════════ */

.bd-legal-vendeur {
  background: var(--bleu-nuit);
  color: #fff;
}

.bd-legal-vendeur .bd-section-titre {
  color: var(--or-clair);
}

.bd-legal-vendeur .bd-section-titre::after {
  background: var(--or-vif);
}

.bd-legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.bd-legal-grid p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.bd-legal-grid strong {
  color: var(--or-clair);
  display: block;
  margin-bottom: 0.3rem;
}

.bd-legal-grid a {
  color: var(--or-pale);
  text-decoration: underline;
}


/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */

.bd-footer {
  background: #070f18;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 1.4rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
}

.bd-footer a {
  color: var(--or-vif);
  text-decoration: none;
}

.bd-footer a:hover {
  text-decoration: underline;
}


/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */

@media (max-width: 640px) {
  .bd-form-row {
    grid-template-columns: 1fr;
  }

  .bd-fieldset {
    padding: 1.2rem 1rem;
  }

  .bd-appel {
    padding: 1.4rem 1.2rem;
  }

  .bd-btn-submit {
    width: 100%;
    padding: 1rem;
  }
}
