/* ============================================================
   PAGE L'ATELIER - SEVY CRÉATIONS BOIS
  Dernière modification : 2026-04-30 09:45
   Version: 1.0.0
============================================================ */

/* === RESET ASTRA POUR CETTE PAGE === */
.page-template-template-atelier {
  overflow-x: hidden !important;
}

.page-template-template-atelier .ast-container {
  max-width: var(--mw) !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.page-template-template-atelier .site-content {
  padding: 0 !important;
  margin-top: 0 !important;
}

.page-template-template-atelier .entry-content {
  margin: 0 !important;
}

/* === VARIABLES SPÉCIFIQUES ATELIER === */
: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;

  --serif:  Georgia, 'Times New Roman', serif;
  --sans:   'Helvetica Neue', Arial, sans-serif;

  --r:      8px;
  --r-lg:   16px;
  --ombre:  0 2px 24px rgba(92,61,32,0.08);
  --ombre-forte: 0 8px 48px rgba(92,61,32,0.14);
  --mw:     1140px;
  --gap:    96px;
  --trans:  all 0.28s ease;
}

/* === UTILITAIRES === */
.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;
}

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

.h-principal {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--bois-sombre);
  line-height: 1.18;
  margin-bottom: 22px;
}

.sous-titre {
  font-size: 17px;
  color: var(--gris-texte);
  line-height: 1.75;
  max-width: 600px;
}

.sep {
  width: 40px;
  height: 2px;
  background: var(--bois-clair);
  display: block;
  margin: 28px 0;
}

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--trans);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-p:hover {
  background: var(--bois);
  border-color: var(--bois);
  transform: translateY(-2px);
  box-shadow: var(--ombre);
}

.btn-s {
  background: transparent;
  color: var(--bois-sombre);
  border-color: var(--bois-sombre);
}

.btn-s:hover {
  background: var(--bois-sombre);
  color: var(--beige);
  transform: translateY(-2px);
}

.btn-ob {
  background: transparent;
  color: var(--beige);
  border-color: rgba(245,240,232,0.55);
}

.btn-ob:hover {
  background: rgba(245,240,232,0.1);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* === HERO === */
.hero {
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.33);
  transition: transform 10s ease;
  transform: scale(1.04);
}

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

.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%);
}

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

.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;
}

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

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

.hero-h1 em {
  font-style: italic;
  color: #D4A96A;
}

.hero-citation {
  border-left: 2px solid var(--bois-clair);
  padding-left: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(253,250,246,0.68);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--beige);
  padding: 14px 28px;
  border-bottom: 1px solid var(--gris-leger);
  width: 100%;
}

.breadcrumb-in {
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gris-texte);
}

.breadcrumb a {
  color: var(--bois);
  transition: color 0.2s;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--bois-sombre);
}

.breadcrumb-sep {
  color: var(--gris-leger);
}

/* === HISTOIRE === */
.histoire {
  padding: var(--gap) 28px;
  background: var(--blanc);
  width: 100%;
  clear: both;
}

.histoire-in {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.histoire-texte p {
  font-size: 16.5px;
  color: var(--gris-texte);
  line-height: 1.82;
  margin-bottom: 22px;
}

.histoire-texte p:last-of-type {
  margin-bottom: 32px;
}

/* Conteneur pour les 2 photos */
.histoire-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.histoire-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9; /* Format paysage */
  box-shadow: var(--ombre-forte);
  position: relative;
}

.histoire-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.histoire-img-wrap:hover img {
  transform: scale(1.04);
}

.histoire-sticker {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--bois-sombre);
  color: var(--beige);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  padding: 10px 16px;
  border-radius: var(--r);
  max-width: 180px;
  line-height: 1.4;
}

/* === CHIFFRES === */
.chiffres {
  background: var(--bois-sombre);
  padding: 64px 28px;
  width: 100%;
  clear: both;
}

.chiffres-grille {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.chiffre-item {
  text-align: center;
}

.chiffre-val {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  color: var(--bois-clair);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.chiffre-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.chiffre-detail {
  font-size: 12px;
  color: rgba(245,240,232,0.5);
}

/* === PROCESSUS === */
.processus {
  padding: var(--gap) 28px;
  background: var(--beige);
  width: 100%;
  clear: both;
}

.processus-header {
  max-width: var(--mw);
  margin: 0 auto 64px;
}

.processus-grille {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.etape {
  background: var(--blanc);
  border: 1px solid var(--gris-leger);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}

.etape::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--bois-clair);
  transition: height 0.4s ease;
}

.etape:hover {
  box-shadow: var(--ombre-forte);
  transform: translateY(-3px);
}

.etape:hover::before {
  height: 100%;
}

.etape-num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--beige-sombre);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
  transition: color 0.3s;
}

.etape:hover .etape-num {
  color: var(--bois-clair);
}

.etape-titre {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--bois-sombre);
  margin-bottom: 14px;
}

.etape-texte {
  font-size: 15px;
  color: var(--gris-texte);
  line-height: 1.75;
  margin-bottom: 18px;
}

.etape-detail {
  font-size: 12px;
  color: var(--bois);
  font-style: italic;
  line-height: 1.5;
  padding-top: 16px;
  border-top: 1px solid var(--gris-leger);
}

.processus-cta {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

/* === LE BOIS === */
.le-bois {
  padding: var(--gap) 28px;
  background: var(--blanc);
  width: 100%;
  clear: both;
}

.le-bois-in {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.le-bois-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--ombre-forte);
}

.le-bois-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.le-bois-img:hover img {
  transform: scale(1.04);
}

.le-bois-texte p {
  font-size: 16px;
  color: var(--gris-texte);
  line-height: 1.82;
  margin-bottom: 20px;
}

.essences {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.essence-tag {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--bois-pale);
  border-radius: 24px;
  color: var(--bois-sombre);
  background: var(--beige);
  font-weight: 500;
}

/* === GALERIE === */
.galerie {
  padding: var(--gap) 28px;
  background: var(--gris-fond);
  width: 100%;
  clear: both;
}

.galerie-header {
  max-width: var(--mw);
  margin: 0 auto 52px;
  text-align: center;
}

.galerie-header .sous-titre {
  margin: 0 auto;
}

.galerie-grille-wrap {
  max-width: var(--mw);
  margin: 0 auto;
}

.galerie-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}

.galerie-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--beige-sombre);
}

.galerie-item:first-child {
  grid-column: span 2;
  aspect-ratio: 21/8;
}

.galerie-item:not(:first-child) {
  aspect-ratio: 4/3;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.3s;
}

.galerie-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.88);
}

.galerie-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(44,36,32,0.7) 0%, transparent 100%);
  color: var(--blanc);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.galerie-item:hover .galerie-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* === ENGAGEMENTS === */
.engagements {
  padding: var(--gap) 28px;
  background: var(--beige-sombre);
  width: 100%;
  clear: both;
}

.engagements-header {
  max-width: var(--mw);
  margin: 0 auto 56px;
}

.engagements-grille-wrap {
  max-width: var(--mw);
  margin: 0 auto;
}

.engagements-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.engagement {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  border-top: 3px solid var(--bois-clair);
  transition: var(--trans);
}

.engagement:hover {
  box-shadow: var(--ombre-forte);
  transform: translateY(-4px);
}

.engagement-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--bois-clair);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: block;
}

.engagement-titre {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--bois-sombre);
  margin-bottom: 16px;
  line-height: 1.25;
}

.engagement-texte {
  font-size: 14.5px;
  color: var(--gris-texte);
  line-height: 1.78;
}

/* === CITATION === */
.citation-section {
  padding: 80px 28px;
  background: var(--blanc);
  text-align: center;
  width: 100%;
  clear: both;
}

.citation-grande {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 30px);
  font-style: italic;
  color: var(--bois-sombre);
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

.citation-auteur {
  font-size: 13px;
  color: var(--bois-clair);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.citation-sep {
  width: 1px;
  height: 48px;
  background: var(--gris-leger);
  margin: 0 auto 40px;
}

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

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

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

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

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

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

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

/* === RESPONSIVE TABLETTE === */
@media (max-width: 960px) {
  :root {
    --gap: 72px;
  }

  .histoire-in {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .histoire-images {
    order: -1;
  }

  .histoire-img-wrap {
    aspect-ratio: 16/9;
  }

  .chiffres-grille {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .processus-grille {
    grid-template-columns: 1fr;
  }

  .le-bois-in {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .galerie-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/7;
  }

  .engagements-grille {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 560px) {
  :root {
    --gap: 56px;
  }

  .hero { align-items: flex-end !important; }
  .hero-body { padding: 24px 28px 72px !important; }

  .hero-h1 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btns .btn {
    justify-content: center;
  }

  .chiffres-grille {
    grid-template-columns: 1fr;
  }

  .galerie-item:first-child {
    grid-column: span 2;
    aspect-ratio: 4/3;
  }

  .galerie-grille {
    grid-template-columns: 1fr;
  }

  .galerie-item:first-child {
    grid-column: span 1;
  }

  .cta-btns {
    flex-direction: column;
  }

  .cta-btns .btn {
    justify-content: center;
  }
}