/* ===============================
   BASE
================================ */
html, body{
  height: 100%;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#322321;
  line-height:1.7;

  /* Fond global continu */
  background: radial-gradient(
    circle at 50% -18%,
    #f6dfe3 0%,
    #f0c9d1 38%,
    #f7f5f2 82%
  );

  background-attachment: fixed; /* aide à garder une continuité visuelle */
}



/* ===============================
   HEADER
================================ */
header{
  padding: 40px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* Voile léger, pas un fond différent */
  background: linear-gradient(
    to bottom,
    rgba(246,223,227,0.55) 0%,
    rgba(247,245,242,0.00) 100%
  );
}



.hero-grid {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===============================
   BLOCS HAUT
================================ */
.left-block {
  flex: 1 1 400px;
  text-align: center;
}

.logo {
  max-width: 520px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.accroche {
  margin-top: 20px;
  font-size: 18px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #7d1f31;
  font-style: italic;
  line-height: 1.6;
}

.right-block {
  flex: 1 1 500px;
  text-align: center;
  position: relative;
  top: -10px;
}

h2 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: #7d1f31;
  margin: 15px 0 10px;
}

.apropos-text {
  font-size: 17px;
  padding: 0 10px;
  margin-bottom: 20px;
}

/* ===============================
   SLIDER PRINCIPAL
================================ */
.slider-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.slider {
  position: relative;
  max-width: 820px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid #d4af37;
  outline: 3px solid #d4af37;
  outline-offset: 4px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active { opacity: 1; }

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

/* ===============================
   CTA "QUI SUIS-JE ?" (centré + traits animés)
================================ */
.cta-qsj--global{
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 0 18px;
}

.cta-line{
  flex: 1 1 140px;          /* prend la place dispo, donc centre le bouton */
  max-width: 170px;
  height: 1px;
  opacity: .70;
  background: linear-gradient(
    to right,
    rgba(212,175,55,0),
    rgba(212,175,55,0.90),
    rgba(212,175,55,0)
  );
  transform-origin: center;
  animation: ctaPulse 3.2s ease-in-out infinite;
}

.cta-line:nth-child(1){ animation-delay: 0s; }
.cta-line:nth-child(3){ animation-delay: 0.25s; }

@keyframes ctaPulse{
  0%, 100% { transform: scaleX(0.78); opacity: .55; }
  50%      { transform: scaleX(1);    opacity: 1; }
}

/* ===============================
   BOUTON PREMIUM (bordeaux + doré)
================================ */
.btn-qsj{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;

  color: #f7f5f2;
  background: linear-gradient(135deg, #7d1f31 0%, #5e1423 100%);
  border: 1px solid rgba(212,175,55,0.65);

  box-shadow:
    0 12px 26px rgba(0,0,0,0.16),
    0 0 0 4px rgba(212,175,55,0.14);

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-qsj:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.20),
    0 0 0 5px rgba(212,175,55,0.20);
}

.btn-qsj:active{
  transform: translateY(0px);
  filter: brightness(0.98);
  box-shadow:
    0 10px 22px rgba(0,0,0,0.16),
    0 0 0 4px rgba(212,175,55,0.14);
}

/* ===============================
   TIMELINE (page qui-suis-je)
================================ */
.timeline-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 18px 40px;
}

.timeline {
  display: grid;
  gap: 26px;
}

.timeline-item {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.timeline-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: center;
}

.chapter-title {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7d1f31;
  text-align: left;
}

.timeline-text p {
  font-size: 16px;
  margin: 10px 0;
  text-align: left;
}

/* ===============================
   MINI DIAPORAMAS
================================ */
.mini-carousel {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4efe9;
  border: 1px solid rgba(212,175,55,.4);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.mini-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1.25s ease-in-out, transform 3.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.mini-slide.active {
  opacity: 1;
  transform: scale(1.03);
}

.mini-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===============================
   SECTIONS & FOOTER
================================ */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 18px 40px;
  font-size: 16px;
}

.section h3 {
  font-size: 18px;
  margin-top: 25px;
  text-align: center;
}

.section p {
  text-align: center;
}

footer {
  background: #7d1f31;
  color: #f7f5f2;
  padding: 18px 12px 24px;
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .hero-grid { flex-direction: column; }
  .right-block { top: 0; }
  .timeline-split { grid-template-columns: 1fr; }
  .chapter-title, .timeline-text p { text-align: center; }
  .mini-carousel { height: 260px; }
}

@media (max-width: 600px){
  .cta-line{
    flex: 0 0 40px;
    max-width: 40px;
    animation: none; /* sur mobile on garde propre */
    opacity: .75;
    transform: none;
  }
}
/* ===============================
   SECTION "NOS UNIVERS"
================================ */
.univers{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px 10px;
}

.univers-title{
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: #7d1f31;
  text-align: center;
  margin: 0 0 18px;
}

.univers-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.univers-card{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 260px;
}

.univers-media{
  background: #f4efe9;
}

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

.univers-body{
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.univers-body h3{
  margin: 0;
  font-size: 20px;
  color: #322321;
}

.univers-body p{
  margin: 0;
  font-size: 16px;
  color: #322321;
  opacity: .92;
  line-height: 1.6;
}

/* CTA (traits + bouton) dans les cartes */
.card-cta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.card-cta .cta-line{
  width: 62px;
  height: 1px;
  opacity: .65;
  background: linear-gradient(
    to right,
    rgba(212,175,55,0),
    rgba(212,175,55,0.85),
    rgba(212,175,55,0)
  );
  transition: width .35s ease, opacity .35s ease;
}

.univers-card:hover .cta-line{
  width: 92px;
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px){
  .univers-card{
    grid-template-columns: 1fr;
  }
  .univers-media{
    height: 220px;
  }
}
/* ===============================
   SECTION "PRESTATIONS" (cadre cohérent)
================================ */
.prestations{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 18px 42px;
}

.prestations-title{
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: #7d1f31;
  text-align: center;
  margin: 0 0 18px;
}

.prestations-card{
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  overflow: hidden;
}

.prestations-body{
  padding: 22px 22px 18px;
}

.prestations-h3{
  font-size: 18px;
  margin: 18px 0 8px;
  text-align: center;
  color: #322321;
}

.prestations-body p{
  text-align: center;
  margin: 0 0 10px;
  color: #322321;
  opacity: .92;
  line-height: 1.7;
}

.prestations-divider{
  margin: 18px auto 14px;
  height: 1px;
  width: min(520px, 92%);
  background: linear-gradient(
    to right,
    rgba(212,175,55,0),
    rgba(212,175,55,0.9),
    rgba(212,175,55,0)
  );
  opacity: .75;
}

.contact-block--in-card{
  text-align: center;
  margin: 6px 0 16px;
  font-size: 15.5px;
}

.social-row{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-btn{
  padding: 10px 14px;   /* un peu plus compact que tes CTA */
  border-radius: 14px;
}

.social-note{
  text-align: center;
  font-size: 13px;
  opacity: .70;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px){
  .prestations-body{ padding: 18px 16px 14px; }
  .social-btn{ width: 100%; max-width: 320px; }
}
.social-intro{
  text-align: center;
  font-size: 15.5px;
  opacity: .85;
  margin: 12px 0 8px;
}

