/* HERO */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* .hero-media replaced by .hero-slides (Ken Burns) */
.hero-media { display: none; }

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.38) 0%,
    rgba(0,0,0,.24) 45%,
    rgba(0,0,0,.48) 100%
  );
}

.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 6.5rem 0 5rem;
}
@media (max-width: 600px) {
  .hero-content { padding: 3.5rem 0 4rem; }
}

.hero-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .88;
}

.hero-sub{
  margin: 0 auto 24px;
  max-width: 64ch;
  color: rgba(255,255,255,.86);
}

.hero-actions{
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  background: transparent;
  border: 0;
  color: rgba(255,255,255,.75);
  cursor: pointer;

  opacity: 1;
  transition: opacity .4s ease, transform .4s ease;
}

.scroll-indicator.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

.scroll-indicator-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .7;
}

/* Ligne verticale animée — trait qui descend en boucle */
.scroll-indicator-chevron {
  width: 1px;
  height: 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.scroll-indicator-chevron::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,.9);
  animation: lineScroll 1.8s cubic-bezier(.4,0,.2,1) infinite;
}

@keyframes lineScroll {
  0%   { transform: translateY(-100%); opacity: 1; }
  60%  { transform: translateY(0%);    opacity: 1; }
  100% { transform: translateY(100%);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator-chevron::after { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* CTA section */
.section-cta{
  padding: 70px 0;
}
.cta-box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.cta-actions{
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
/* cta-actions colors → see main.css unified system */

@media (max-width: 980px){
  .cta-box{ flex-direction: column; align-items: flex-start; }
  .cta-actions{ justify-content: flex-start; }
}


/* ===== MENU OVERLAY (Collectionist-like) ===== */

/* Header + hamburger (Collectionist-like) */
.site-header{
  transition: transform .28s ease;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(251,250,247,.92) 0%, rgba(251,250,247,.72) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-hidden{
  transform: translateY(-100%);
}

.header-inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
}

.header-left{ display:flex; align-items:center; gap: 12px; }
.header-center{
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: none;
  color: rgba(18,18,18,.72);
  text-align: center;
  white-space: nowrap;
}
.header-right{ display:flex; align-items:center; gap: 10px; }

/* Header responsive */
@media (max-width: 600px) {
  .header-center { display: none; }
  .header-inner  { padding: 0 12px; gap: 8px; }
  .brand-logo    { height: 36px; }
}
@media (min-width: 601px) and (max-width: 820px) {
  .header-center { font-size: 13px; }
}

/* Logo */
.brand-logo{
  height: 44px;
  width: auto;
  /* Renforce la lisibilité (effet "épaisseur" léger) */
  opacity: .92;
}

/* Hamburger (3 bars, no circle) */
.menu-btn{
  background: transparent;
  border: 0;
  padding: 12px;
  margin-left: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.menu-icon{
  width: 22px;
  display: grid;
  gap: 6px;
}
.menu-icon span{
  height: 2px;
  width: 22px;
  background: rgba(18,18,18,.92);
  border-radius: 999px;
}
/* Overlay */
.menu-overlay{
  position: fixed;
  inset: 0;
  z-index: 999;
}

.menu-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  border: 0;
  cursor: pointer;
}

/* Panel opens from LEFT */
.menu-panel{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(520px, 92vw);
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255,255,255,.25);

  display: flex;
  flex-direction: column;
  padding: 18px 18px 28px;

  transform: translateX(-24px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.menu-overlay.is-open .menu-panel{
  transform: translateX(0);
  opacity: 1;
}

.menu-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px 18px;
  border-bottom: 1px solid var(--line);
}

.menu-logo{ height: 22px; width: auto; opacity: .90; }

.menu-close{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.60);
  cursor: pointer;
  font-size: 18px;
}

/* Links */
.menu-nav{
  padding: 18px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-nav a{
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  letter-spacing: -.01em;
  padding: 8px 6px;
  border-radius: 12px;
  transition: background .2s ease, transform .2s ease;
}
.menu-nav a:hover{
  background: rgba(18,18,18,.06);
  transform: translateX(2px);
}

.menu-muted{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  color: var(--muted);
  margin-top: 10px;
}


/* Header right links (meuble la partie haute) */
.header-links{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-links a{ color: rgba(18,18,18,.86); padding: 10px 8px; }
.header-links a:hover{ color: var(--text); }
.header-cta{
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(47,90,68,.18);
}
.header-cta:hover{ transform: translateY(-1px); }

@media (max-width: 980px){
  .header-links{ display:none; }
}


.icon-link{ width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.55); display:grid; place-items:center; }
.icon-link svg{ width: 18px; height: 18px; fill: rgba(18,18,18,.80); }
.icon-link:hover{ background: rgba(255,255,255,.75); }


/* FOOTER (legal links) */
.site-footer{
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}

.footer-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.footer-left{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo{
  height: 26px;
  width: auto;
  opacity: .92;
}

.footer-copy{
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

.footer-links{
  display: grid;
  gap: 10px;
  text-align: right;
}

.footer-links a{
  font-size: 13px;
  color: rgba(18,18,18,.78);
}

.footer-links a:hover{
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 760px){
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { text-align: left; flex-direction: column; gap: 8px; }
  .footer-links a { font-size: 14px; }
}



/* PAGE HERO (internal pages) */
.page-hero{
  padding: 130px 0 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.10));
}
.page-hero.page-hero--image{
  position: relative;
  overflow: hidden;
  color: #fff;
  border-bottom-color: rgba(255,255,255,.18);
  background: #111;
}
.page-hero.page-hero--image::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg) center/cover no-repeat;
  transform: scale(1.02);
}
.page-hero.page-hero--image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,var(--hero-overlay,.55));
}
.page-hero.page-hero--image > .container{ position: relative; z-index: 1; }
@media (max-width: 600px) {
  .page-hero.page-hero--image { padding: 120px 0 44px !important; }
}
.page-hero.page-hero--image .page-kicker,
.page-hero.page-hero--image .page-lead{
  color: rgba(255,255,255,.78);
}
.page-hero.page-hero--image h1{
  color: #fff;
}
.page-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-lead{
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

/* Simple form */
.form{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.form label{
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: rgba(18,18,18,.82);
}
.form input, .form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  font: inherit;
}
.form input:focus, .form textarea:focus{
  outline: 2px solid rgba(47,90,68,.25);
  border-color: rgba(47,90,68,.35);
}


/* Signatures (transparent PNGs) */
.signatures-row{
  display:flex;
  gap:18px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin-top:18px;
}
.signature-img{
  display:block;
  height:90px;
  width:auto;
  opacity:.85;
}
.signature-img--echappee{ height:62px; }
@media (max-width: 520px){
  .signature-img{ height:46px; }
  .signature-img--echappee{ height:52px; }
}
/* Footer signatures */
.footer-signatures{
  display:flex;
  gap:16px;
  justify-content:center;
  align-items:center;
  margin-top:18px;
}
.footer-signature{
  height:34px;
  width:auto;
  opacity:.85;
}
.footer-signature--wide{ height:38px; }
@media (max-width:520px){
  .footer-signature{ height:28px; }
  .footer-signature--wide{ height:32px; }
}



/* Founder section */
.section--founder .split{
  align-items: center;
}
.founder-photo{
  padding: 0;
  overflow: hidden;
}
.founder-photo img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}
@media (max-width: 980px){
  .founder-photo img{ height: 420px; }
}

/* Footer layout */
.footer-middle{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 980px){
  .footer-inner{ flex-direction: column; align-items: flex-start; }
  .footer-middle{ width: 100%; justify-content: flex-start; }
  .footer-links{ flex-wrap: wrap; }
}


/* Photo strip (adds visual texture without heavy content) */
.photo-strip { padding: 28px 0; }
.photo-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.photo-strip__grid img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.06);
}
@media (max-width: 900px){
  .photo-strip__grid{ grid-template-columns: 1fr; }
  .photo-strip__grid img{ height: 200px; }
}


/* Services intro */
.services-intro {
  text-align: center;
}
.services-intro .container {
  max-width: 980px;
  margin: 0 auto;
}
.services-intro .kicker {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
}
.services-intro h2,
.services-intro p {
  margin-left: auto;
  margin-right: auto;
}
.services-intro .bullets {
  margin: 18px auto 0;
  padding: 0;
  list-style: disc;
  list-style-position: inside;
  display: inline-block;
  text-align: left;
}
.services-intro .bullets li {
  margin: 6px 0;
}
.services-intro .cta {
  margin-top: 14px;
  display: inline-block;
}

/* Soft background images per page */
.page-home #services,
.page-proprietaires #services,
.page-voyageurs #services {
  position: relative;
  overflow: hidden;
}
.page-home #services::before,
.page-proprietaires #services::before,
.page-voyageurs #services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .06;
  pointer-events: none;
}
.page-home #services::before { background-image: url("../img/extra/bg-home.jpg"); }
.page-proprietaires #services::before { background-image: url("../img/extra/bg-proprietaires.jpg"); opacity: .05; }
.page-voyageurs #services::before { background-image: url("../img/extra/bg-voyageurs.jpg"); opacity: .06; }

/* Keep content above the background */
.page-home #services > * ,
.page-proprietaires #services > * ,
.page-voyageurs #services > * {
  position: relative;
  z-index: 1;
}

/* Utility classes (replacing inline styles) */
.card--compact { padding: 22px; }
.card--mt { margin-top: 18px; }
.h3--mb { margin-bottom: 10px; }

/* Signatures display strip (3 items: atelier | logo | echappee) */
.signatures-strip { padding: 64px 0; }
.signatures-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
/* L'Atelier M. */
.signatures-display img:first-child {
  height: 90px;
  width: auto;
  opacity: .88;
}
/* Logo central */
.signatures-display img:nth-child(2) {
  height: 64px;
  width: auto;
  opacity: .92;
}
/* L'Échappée en Chartreuse */
.signatures-display img:last-child {
  height: 110px;
  width: auto;
  opacity: .88;
}
@media (max-width: 600px) {
  .signatures-strip { padding: 48px 0; }
  .signatures-display { gap: 36px; }
  .signatures-display img:first-child { height: 68px; }
  .signatures-display img:nth-child(2) { height: 50px; }
  .signatures-display img:last-child { height: 84px; }
}

/* ===== KEN BURNS HERO SLIDESHOW ===== */

/* Remove old single hero-media rule override */
.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
  will-change: transform, opacity;
}

.hero-slide--active {
  opacity: 1;
}

/* ---- Ken Burns motion variants ---- */
/* Each slide cycles through its own animation when active */

.hero-slide[data-kb="zoom-in-left"].hero-slide--active {
  animation: kb-zoom-in-left 8s ease-out forwards;
}
.hero-slide[data-kb="zoom-in-right"].hero-slide--active {
  animation: kb-zoom-in-right 8s ease-out forwards;
}
.hero-slide[data-kb="pan-up"].hero-slide--active {
  animation: kb-pan-up 8s ease-out forwards;
}

@keyframes kb-zoom-in-left {
  from { transform: scale(1.12) translate(2%, 1%); }
  to   { transform: scale(1.0)  translate(0%,  0%); }
}
@keyframes kb-zoom-in-right {
  from { transform: scale(1.10) translate(-2%, 1%); }
  to   { transform: scale(1.0)  translate(0%,  0%); }
}
@keyframes kb-pan-up {
  from { transform: scale(1.08) translateY(4%); }
  to   { transform: scale(1.0)  translateY(0%); }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transition: opacity .4s ease; }
}

/* ===== PAGE CONTACT ===== */
.contact-info {
  max-width: 560px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
@media (max-width: 500px) {
  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .contact-list a { font-size: 1rem; word-break: break-all; }
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  color: var(--text);
  transition: color .2s ease;
}
.contact-list a:hover { color: var(--brand); }
.contact-signature {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 8px;
}

/* ===== PAGES LÉGALES ===== */
.legal-container {
  max-width: 720px;
  padding-top: 0;
  padding-bottom: 80px;
}
.legal-page h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 8px;
}
.legal-date {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text);
}
.legal-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-list li {
  padding-left: 16px;
  position: relative;
}
.legal-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--brand);
}
.legal-page a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== CERTIFICATION BAND ===== */
.certification-band {
  padding: 12px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  text-align: center;
}
.certification-band p {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== GRILLE PROPRIO : 2 colonnes fixes ===== */
.feature-columns--proprio {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
}
@media (max-width: 760px) {
  .feature-columns--proprio { grid-template-columns: 1fr; }
}
