/* ============================================================
   Atelier ZougZoug — Page Cours de ceramique
   Hero immersif + offres tarifs + WeCanDoo + galerie
   ============================================================ */


/* ============================================================
   HERO — Photo immersive pleine largeur
   ============================================================ */

.cours-hero {
  position: relative;
  height: 70vh;
  min-height: 450px;
  overflow: hidden;
}

.cours-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cours-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.cours-hero-content {
  position: absolute;
  bottom: 60px;
  left: 40px;
  z-index: 2;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.7);
}

.cours-hero-title {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.15;
  color: #FFFFFF;
  margin-top: 12px;
}


/* ============================================================
   INTRO — Texte d'accroche centre
   ============================================================ */

.cours-intro {
  background: #F8F6F3;
  padding: 100px 40px;
  text-align: center;
}

.cours-intro-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cours-intro-accroche {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.3;
  color: #1A1A1A;
  margin-bottom: 24px;
}

.cours-intro-text {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.6);
}


/* ============================================================
   OFFRES — Grille 2x2 de cartes tarifs
   ============================================================ */

.cours-offres {
  background: #FFFFFF;
  padding: 100px 40px;
}

.cours-offres-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cours-offres-title {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  color: #1A1A1A;
  margin-bottom: 50px;
}

.cours-offres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.offre-card {
  background: #F8F6F3;
  border-radius: 6px;
  padding: 40px 32px;
  text-align: left;
  transition: transform 0.3s ease;
}

.offre-card:hover {
  transform: translateY(-4px);
}

.offre-nom {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.offre-desc {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.6);
  margin-bottom: 24px;
}

.offre-prix {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 42px;
  color: #B8956A;
  line-height: 1;
  margin-bottom: 16px;
}

.offre-devise {
  font-size: 24px;
  font-weight: 500;
  margin-left: 2px;
}

.offre-infos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.offre-infos span {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(26, 26, 26, 0.4);
}

.cours-offres-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cours-offres-note {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(26, 26, 26, 0.5);
}


/* ============================================================
   WECANDOO — Note discrete sous les offres
   ============================================================ */

.cours-wecandoo-note {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.cours-wecandoo-note p {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgba(26, 26, 26, 0.5);
}

.cours-wecandoo-note a {
  color: #B8956A;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cours-wecandoo-note a:hover {
  color: #1A1A1A;
}


/* ============================================================
   GALERIE — 3 photos en ligne
   ============================================================ */

.cours-galerie {
  padding: 0;
}

.cours-galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.cours-galerie-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cours-galerie-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cours-galerie-photo:hover img {
  transform: scale(1.04);
}


/* ============================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {

  .cours-hero-title {
    font-size: 44px;
  }

  .cours-intro-accroche {
    font-size: 28px;
  }

  .cours-offres-title {
    font-size: 30px;
  }
}


/* ============================================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

  .cours-hero {
    height: 55vh;
    min-height: 350px;
  }

  .cours-hero-content {
    bottom: 40px;
    left: 24px;
    right: 24px;
  }

  .cours-hero-title {
    font-size: 34px;
  }

  .cours-intro {
    padding: 60px 24px;
  }

  .cours-intro-accroche {
    font-size: 24px;
  }

  .cours-intro-text {
    font-size: 15px;
  }

  .cours-offres {
    padding: 60px 24px;
  }

  .cours-offres-title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .cours-offres-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .offre-card {
    padding: 32px 24px;
  }

  .offre-prix {
    font-size: 36px;
  }

  .cours-galerie-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cours-galerie-photo {
    aspect-ratio: 16 / 10;
  }
}


/* ============================================================
   RESPONSIVE — Petit mobile (max-width: 400px)
   ============================================================ */

@media (max-width: 400px) {

  .cours-hero-title {
    font-size: 28px;
  }

  .cours-intro-accroche {
    font-size: 22px;
  }

  .offre-prix {
    font-size: 32px;
  }
}


/* ======================== FAQ ======================== */

.cours-faq {
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.cours-faq-title {
  font-family: var(--font-family, 'General Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.4);
  margin-bottom: 40px;
}

.cours-faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.faq-question {
  padding: 20px 0;
  font-family: var(--font-family, 'General Sans', sans-serif);
  font-size: 18px;
  font-weight: 500;
  color: #1A1A1A;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-answer {
  padding: 0 0 20px 0;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.7);
  margin: 0;
}

@media (max-width: 768px) {
  .cours-faq {
    padding: 60px 20px;
  }

  .faq-question {
    font-size: 16px;
  }
}
