/* ===== Pages intérieures — L'Éclat d'Emma =====
   Même langage que l'accueil : arches, terracotta/crème, Italiana. */

.inner-page { background: var(--ivoire); }

/* ---------- Hero photo ---------- */
.page-hero.has-photo {
  position: relative;
  min-height: 72svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(62,42,30,.2) 0%, rgba(62,42,30,.05) 40%, rgba(62,42,30,.62) 100%);
}
.page-hero.has-photo .page-hero-inner {
  position: relative; z-index: 2;
  padding: calc(90px + 4rem) 6vw 12vh;
  max-width: 1000px;
}
.page-hero.has-photo .page-kicker { color: var(--peche); text-shadow: 0 2px 16px rgba(62,42,30,.45); }
.page-hero.has-photo h1 {
  color: var(--ivoire);
  text-shadow: 0 2px 22px rgba(62,42,30,.5);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  max-width: 22ch;
  margin-bottom: 1.8rem;
}

/* Hero crème (mentions légales) */
.page-hero:not(.has-photo) {
  background: var(--creme);
  padding: calc(90px + clamp(2.5rem, 7vh, 5rem)) 6vw clamp(3rem, 8vh, 5.5rem);
  text-align: center;
  border-bottom-left-radius: 50% 60px;
  border-bottom-right-radius: 50% 60px;
}
.page-hero:not(.has-photo) h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); max-width: 26ch; margin: 0 auto 1.8rem; }
.page-kicker { font-family: var(--script); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--terracotta); margin-bottom: 1rem; }

/* ---------- Intro en arche (recouvre le hero, comme l'accueil) ---------- */
.page-arch {
  position: relative; z-index: 6;
  background: var(--creme);
  margin-top: -9vh;
  border-top-left-radius: 600px; border-top-right-radius: 600px;
  padding: clamp(4rem, 10vh, 7rem) 6vw clamp(3.5rem, 8vh, 6rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.page-arch .flower-icon { width: 50px; height: 50px; color: var(--terracotta); }
.page-arch h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); max-width: 26ch; }
.page-arch-text { max-width: 66ch; }
.page-arch-text p { margin-bottom: .9rem; color: rgba(62,42,30,.88); font-size: 1.03rem; }
.page-arch .sec-img { width: min(400px, 80vw); margin-top: 1rem; }

/* ---------- Corps : rangées éditoriales ---------- */
.page-body { max-width: 1150px; margin: 0 auto; padding: clamp(2.5rem, 6vh, 4.5rem) 6vw 0; }

.page-row {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  padding: clamp(2rem, 5vh, 3.4rem) 0;
  border-top: 1px solid rgba(184, 92, 56, .18);
}
.page-row:first-child { border-top: none; }
.row-head { position: relative; }
.row-head h2 {
  position: sticky; top: 110px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--encre);
  padding-top: 1.1rem;
}
.row-head h2::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--terracotta);
}
.row-body p { margin-bottom: .95rem; color: rgba(62,42,30,.88); font-size: 1.03rem; max-width: 62ch; }
.row-body a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

/* Photos en arche dans les rangées */
.sec-img {
  margin: 1.6rem 0 0;
  width: min(380px, 100%);
  overflow: hidden;
  border-radius: 200px 200px 16px 16px;
  box-shadow: 0 20px 48px rgba(62,42,30,.16);
}
.sec-img img { width: 100%; display: block; }

/* ---------- Rangée avec photo latérale ---------- */
.page-row.has-media {
  grid-template-columns: minmax(220px, 300px) 1fr minmax(240px, 340px);
  align-items: start;
}
.row-media { display: flex; justify-content: flex-end; }
.row-media .sec-img { margin-top: 1.1rem; width: 100%; }

/* ---------- Panneau crème (une rangée sur trois) ---------- */
.page-row.panel {
  background: var(--creme);
  border-radius: 26px;
  border-top: none;
  padding: clamp(2rem, 5vh, 3rem) clamp(1.6rem, 3vw, 2.8rem);
  margin: clamp(1.2rem, 3vh, 2rem) 0;
}
.page-row.panel + .page-row { border-top: none; }

/* ---------- Étapes numérotées ---------- */
.page-steps {
  padding: clamp(2.4rem, 6vh, 4rem) 0;
  border-top: 1px solid rgba(184, 92, 56, .18);
}
.page-steps h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-align: center;
  margin-bottom: 2.2rem;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  padding: 0;
  counter-reset: none;
}
.step {
  background: var(--ivoire);
  border: 1px solid rgba(184, 92, 56, .25);
  border-radius: 130px 130px 18px 18px;
  padding: 2rem 1.5rem 1.6rem;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(62,42,30,.12); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid var(--terracotta);
  border-radius: 50% 50% 40% 40%;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}
.step p { margin: 0; font-size: .98rem; color: rgba(62,42,30,.88); }
.page-steps .sec-img { margin: 2rem auto 0; }

/* ---------- Bandeau photos au fil de la page ---------- */
.photo-divider {
  margin: clamp(2rem, 5vh, 3.2rem) calc(50% - 50vw);
  overflow: hidden;
}
.photo-divider .marquee-track figure {
  flex: 0 0 clamp(170px, 18vw, 240px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 130px 130px 12px 12px;
}
.photo-divider .marquee-track img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bande terracotta pleine largeur ---------- */
.page-band {
  position: relative;
  background: var(--terracotta);
  color: var(--ivoire);
  text-align: center;
  margin: clamp(2.5rem, 6vh, 4rem) calc(50% - 50vw);
  padding: clamp(3.5rem, 9vh, 6rem) 6vw;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  border-top-left-radius: 50% 70px;
  border-top-right-radius: 50% 70px;
  border-bottom-left-radius: 50% 70px;
  border-bottom-right-radius: 50% 70px;
}
.band-kicker { font-family: var(--script); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--peche); }
.page-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 24ch; }
.band-text { max-width: 62ch; }
.band-text p { margin-bottom: .9rem; color: rgba(253,248,242,.92); }
.page-band .sec-img { margin-top: 1.2rem; box-shadow: 0 24px 56px rgba(62,42,30,.3); }
.page-band a { color: var(--ivoire); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ sur bande pêche ---------- */
.faq-band {
  background: var(--peche);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding: clamp(3.5rem, 9vh, 6rem) 6vw;
  text-align: center;
  border-top-left-radius: 50% 80px;
  border-top-right-radius: 50% 80px;
}
.faq-kicker { font-family: var(--script); font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--terracotta); margin-bottom: .6rem; }
.faq-band > h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 2.2rem; }
.faq-list { max-width: 760px; margin: 0 auto; text-align: left; }

.faq-item {
  border: 1px solid rgba(184, 92, 56, .3);
  border-radius: 16px;
  margin-bottom: .9rem;
  background: var(--ivoire);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item[open] { box-shadow: 0 14px 36px rgba(62,42,30,.12); }
.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: var(--serif-alt);
  font-size: 1.05rem;
  color: var(--encre);
  list-style: none;
  position: relative;
  padding-right: 2.8rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 1.15rem; top: 50%;
  transform: translateY(-50%);
  color: var(--terracotta);
  font-size: 1.5rem;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.15rem; margin: 0; color: rgba(62,42,30,.88); }

/* ---------- Bandeau réservation ---------- */
.cta-band {
  background: var(--terracotta);
  color: var(--ivoire);
  text-align: center;
  padding: clamp(3.5rem, 9vh, 5.5rem) 6vw;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(253,248,242,.9); margin-bottom: 1.7rem; }
.cta-band p a { color: var(--ivoire); font-family: var(--serif-alt); font-size: 1.15em; }
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Coordonnées (page contact) ---------- */
.contact-block { padding: clamp(2rem, 5vh, 3.4rem) 0; border-top: 1px solid rgba(184,92,56,.18); }
.contact-block h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1.4rem; }
.contact-block .contact-info { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; padding: 0; }
.contact-block .contact-info li { display: flex; flex-direction: column; background: var(--creme); border-radius: 16px; padding: 1.2rem 1.3rem; }
.contact-block .contact-info span {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .3rem;
}
.contact-block .contact-info a { font-family: var(--serif-alt); font-size: 1.15rem; text-decoration: none; color: var(--encre); }

/* ---------- Marquee pleine largeur dans une page ---------- */
.page-body .marquee { margin: clamp(2rem, 5vh, 3rem) calc(50% - 50vw) 0; }
.page-body .marquee-track figure { flex-basis: clamp(200px, 22vw, 280px); }
.page-body .page-section { padding: clamp(2rem, 5vh, 3.4rem) 0; border-top: 1px solid rgba(184,92,56,.18); }
.page-body .page-section > h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* ---------- Sous-menu prestations ---------- */
.nav-menu .has-sub { position: relative; }
/* Pont invisible : sans lui, le survol se perd dans l'écart entre l'item et le menu */
.nav-menu .has-sub::after {
  content: "";
  position: absolute;
  left: -30px; right: -30px;
  top: 100%; height: 22px;
}
.nav-menu .sub-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ivoire);
  border: 1px solid rgba(184, 92, 56, .18);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(62, 42, 30, .14);
  padding: .7rem 0;
  min-width: 220px;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.nav-menu .has-sub:hover .sub-menu,
.nav-menu .has-sub:focus-within .sub-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .sub-menu li { list-style: none; }
.nav-menu .sub-menu a { display: block; padding: .55rem 1.3rem; font-size: .82rem; }
.nav-menu .sub-menu a::after { display: none; }
.nav-menu .sub-menu a:hover { background: var(--creme); color: var(--terracotta); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-arch { border-top-left-radius: 220px; border-top-right-radius: 220px; }
  .page-row, .page-row.has-media { grid-template-columns: 1fr; gap: 1rem; }
  .row-head h2 { position: static; }
  .row-media { justify-content: center; }
  .row-media .sec-img { width: min(380px, 100%); }
}
@media (max-width: 767px) {
  .page-hero.has-photo { min-height: 62svh; }
  .page-arch { border-top-left-radius: 120px; border-top-right-radius: 120px; }
  .page-band { border-radius: 60px 60px 60px 60px / 40px 40px 40px 40px; }
}
