/* ============================================================
   PAGE CADEAUX — SEVY CRÉATIONS BOIS
  Dernière modification : 2026-04-30 09:45
   ============================================================ */

/* Reset Astra (classe WP de template) */
.page-template-template-cadeaux-php {
  overflow-x: hidden !important;
}
.page-template-template-cadeaux-php .ast-container {
  max-width: var(--mw) !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
.page-template-template-cadeaux-php .site-content {
  padding: 0 !important;
  margin-top: 0 !important;
}
.page-template-template-cadeaux-php .entry-content {
  margin: 0 !important;
}

/* === DESIGN TOKENS === */
:root {
  --bois:         #8B5E3C;
  --bois-sombre:  #5C3D20;
  --bois-clair:   #C4945A;
  --bois-pale:    #D4B896;
  --beige:        #F5F0E8;
  --beige-sombre: #EDE5D5;
  --blanc:        #FDFAF6;
  --noir-doux:    #2C2420;
  --gris-texte:   #6B5D52;
  --gris-leger:   #D6CFC5;
  --gris-fond:    #F0EBE2;
  --accent:       #D4A96A;
  
  --r:      8px;
  --r-lg:   16px;
  --ombre:  0 2px 24px rgba(92,61,32,0.08);
  --ombre-f:0 8px 48px rgba(92,61,32,0.15);
  --trans:  all 0.28s ease;
}

/* Base */
.page-template-template-cadeaux-php .entry-content,
.page-template-template-cadeaux-php .site-main {
  background: var(--blanc);
}
.cadeaux-hero *,
.cadeaux-produits *,
.cadeaux-avantages *,
.cadeaux-perso *,
.cadeaux-guide *,
.cadeaux-temoignages *,
.cadeaux-faq *,
.cadeaux-cta * {
  box-sizing: border-box;
}

/* Buttons (fallback si le thème ne fournit pas .btn) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--trans);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-ob {
  background: transparent;
  color: var(--beige);
  border-color: rgba(245,240,232,0.55);
}
.btn-ob:hover {
  background: rgba(245,240,232,0.12);
  border-color: rgba(245,240,232,0.85);
  transform: translateY(-1px);
}

/* ============================================================
   HERO CADEAUX
   ============================================================ */
.cadeaux-hero {
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cadeaux-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.38);
  transform: scale(1.02);
  transition: transform 8s ease;
}

.cadeaux-hero:hover .cadeaux-hero-bg {
  transform: scale(1.0);
}

.cadeaux-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.78) 0%, rgba(92,61,32,0.2) 50%, transparent 100%);
}

.cadeaux-hero-body {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0 28px 72px;
}

.cadeaux-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cadeaux-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.86);
  margin: 0 0 22px;
}

.cadeaux-hero-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(253, 250, 246, 0.7);
}

.cadeaux-hero-h1 {
  font-family: Georgia, serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 400;
  color: #FDFAF6;
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 700px;
}

.cadeaux-hero-p {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(253,250,246,0.68);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ============================================================
   BARRE OCCASIONS (sticky)
   ============================================================ */
.occasions-bar {
  background: var(--blanc);
  padding: 24px 28px;
  border-bottom: 1px solid var(--gris-leger);
  position: sticky;
  top: 66px;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(253,250,246,0.96);
}

.occasions-bar.scrolled {
  box-shadow: 0 6px 22px rgba(92,61,32,0.08);
  border-bottom-color: rgba(214, 207, 197, 0.9);
}

.occasions-scroll {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.occasions-scroll::-webkit-scrollbar {
  display: none;
}

.occasion-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 32px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--gris-leger);
  background: var(--blanc);
  color: var(--gris-texte);
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.occasion-btn:hover {
  border-color: var(--bois-pale);
  color: var(--bois-sombre);
  background: var(--beige);
}

.occasion-btn.actif {
  background: var(--bois-sombre);
  color: var(--beige);
  border-color: var(--bois-sombre);
}

/* ============================================================
   GRILLE PRODUITS
   ============================================================ */
.cadeaux-produits {
  padding: 60px 28px 96px;
  background: var(--blanc);
}

.cadeaux-produits-intro {
  text-align: center;
  margin-bottom: 52px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cadeaux-produits-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bois-clair);
  margin-bottom: 18px;
}

.cadeaux-produits-intro .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--bois-clair);
}

.cadeaux-produits-intro h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 400;
  color: var(--bois-sombre);
  line-height: 1.18;
  margin-bottom: 18px;
}

.cadeaux-produits-intro p {
  font-size: 16px;
  color: var(--gris-texte);
  line-height: 1.78;
}

.produits-grille {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.produit-carte {
  background: var(--beige);
  border: 1px solid var(--gris-leger);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--trans);
  position: relative;
}

.produit-carte:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-f);
  border-color: var(--bois-pale);
}

.produit-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gris-fond);
  position: relative;
}

.produit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.produit-carte:hover .produit-img img {
  transform: scale(1.08);
}

.produit-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--blanc);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.produit-body {
  padding: 24px;
}

.produit-nom {
  font-family: Georgia, serif;
  font-size: 19px;
  color: var(--bois-sombre);
  margin-bottom: 8px;
  line-height: 1.25;
}

.produit-desc {
  font-size: 13px;
  color: var(--gris-texte);
  line-height: 1.6;
  margin-bottom: 16px;
}

.produit-prix {
  font-family: Georgia, serif;
  font-size: 26px;
  color: var(--bois);
  margin-bottom: 18px;
  font-weight: 600;
}

.produit-prix small {
  font-size: 14px;
  color: var(--gris-texte);
  font-weight: 400;
}

.produit-cta {
  width: 100%;
  background: var(--bois-sombre);
  color: var(--beige);
  border: none;
  padding: 12px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  text-align: center;
  display: block;
  text-decoration: none;
}

.produit-cta:hover {
  background: var(--bois);
  transform: translateY(-2px);
}

.produit-carte.masque {
  display: none;
}

/* ============================================================
   AVANTAGES
   ============================================================ */
.cadeaux-avantages {
  padding: 80px 28px;
  background: var(--beige-sombre);
}

.cadeaux-avantages-header {
  text-align: center;
  margin-bottom: 52px;
}

.avantages-grille {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.avantage {
  text-align: center;
}

.avantage-icone {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.avantage-titre {
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--bois-sombre);
  margin-bottom: 10px;
}

.avantage-desc {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.6;
}

/* ============================================================
   PERSONNALISATION
   ============================================================ */
.cadeaux-perso {
  padding: 96px 28px;
  background: var(--blanc);
}

.perso-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.perso-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.perso-option {
  background: var(--beige);
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--gris-leger);
  font-size: 14px;
  color: var(--bois-sombre);
  display: flex;
  align-items: center;
  gap: 10px;
}

.perso-option::before {
  content: '✓';
  color: var(--bois-clair);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.perso-infos {
  background: var(--beige-sombre);
  padding: 24px;
  border-radius: var(--r-lg);
  margin-top: 24px;
}

.perso-infos p {
  font-size: 14px;
  color: var(--gris-texte);
  margin-bottom: 8px;
}

.perso-infos p:last-child {
  margin-bottom: 0;
}

.perso-infos strong {
  color: var(--bois-sombre);
}

/* ============================================================
   GUIDE OCCASIONS
   ============================================================ */
.cadeaux-guide {
  padding: 96px 28px;
  background: var(--beige-sombre);
}

.guide-grille {
  max-width: 1160px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.guide-carte {
  background: var(--blanc);
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--gris-leger);
  transition: var(--trans);
}

.guide-carte:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre);
  border-color: var(--bois-pale);
}

.guide-occasion {
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--bois-sombre);
  margin-bottom: 12px;
}

.guide-suggestion {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.7;
  margin-bottom: 16px;
}

.guide-produit {
  font-size: 13px;
  font-weight: 600;
  color: var(--bois);
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-produit::before {
  content: '→';
  color: var(--bois-clair);
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.cadeaux-temoignages {
  padding: 96px 28px;
  background: var(--blanc);
}

.temoignages-grille {
  max-width: 1160px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.temoignage {
  background: var(--beige);
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--gris-leger);
  position: relative;
}

.temoignage::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--bois-pale);
  line-height: 1;
}

.temoignage-texte {
  font-size: 15px;
  font-style: italic;
  color: var(--noir-doux);
  line-height: 1.7;
  margin-bottom: 16px;
}

.temoignage-auteur {
  font-size: 13px;
  font-weight: 600;
  color: var(--bois);
}

.temoignage-note {
  color: var(--accent);
  margin-top: 8px;
}

/* ============================================================
   FAQ
   ============================================================ */
.cadeaux-faq {
  padding: 96px 28px;
  background: var(--beige-sombre);
}

.faq-liste {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--blanc);
  padding: 24px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--gris-leger);
  margin-bottom: 16px;
  transition: var(--trans);
}

.faq-item:hover {
  border-color: var(--bois-pale);
  box-shadow: var(--ombre);
}

.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--bois-sombre);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-q::before {
  content: 'Q';
  color: var(--bois-clair);
  font-family: Georgia, serif;
  font-size: 20px;
  flex-shrink: 0;
}

.faq-r {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.7;
  padding-left: 30px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cadeaux-cta {
  padding: 100px 28px;
  background: var(--bois-sombre);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cadeaux-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,148,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cadeaux-cta-in {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.cadeaux-cta-sep {
  width: 1px;
  height: 40px;
  background: var(--bois-clair);
  margin: 0 auto 36px;
}

.cadeaux-cta h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--beige);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cadeaux-cta p {
  font-size: 16px;
  color: rgba(245,240,232,0.7);
  margin-bottom: 44px;
  line-height: 1.7;
}

.cadeaux-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bois-clair);
  margin-bottom: 18px;
}

.section-header .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--bois-clair);
}

.section-header h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 400;
  color: var(--bois-sombre);
  line-height: 1.18;
  margin-bottom: 18px;
}

.section-header p {
  font-size: 16px;
  color: var(--gris-texte);
  line-height: 1.78;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .cadeaux-hero {
    min-height: 60vh;
    padding: 100px 28px 60px;
  }
  
  .produits-grille {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .avantages-grille {
    grid-template-columns: 1fr;
  }
  
  .perso-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cadeaux-hero { align-items: flex-end !important; }
  .cadeaux-hero-body { padding: 24px 28px 72px !important; }

  .cadeaux-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .cadeaux-hero-ctas .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .produits-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .produit-body {
    padding: 16px;
  }

  .produit-nom {
    font-size: 17px;
  }

  .produit-prix {
    font-size: 22px;
  }
  
  .guide-grille {
    grid-template-columns: 1fr;
  }
  
  .temoignages-grille {
    grid-template-columns: 1fr;
  }
  
  /* Occasions: bloc normal (non sticky) en 2 colonnes */
  .occasions-bar {
    position: static;
    top: auto;
    z-index: auto;
    padding: 16px;
  }

  .occasions-scroll {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }

  .occasion-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Très petits écrans: repasse en 1 colonne pour garder la lisibilité */
@media (max-width: 420px) {
  .produits-grille {
    grid-template-columns: 1fr;
  }
}