:root{
  --cream:#f7f2ea;
  --cream-2:#efe6da;
  --cream-3:#e5d8c8;
  --white:#fffdf9;
  --ink:#302b27;
  --muted:#746960;
  --line:rgba(48,43,39,.16);
  --accent:#9b7356;
  --shadow:0 18px 48px rgba(50,40,32,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--cream);
  font-family:Arial,Helvetica,sans-serif;
}
img{max-width:100%;display:block}
button,a{font:inherit}
button{color:inherit}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(247,242,234,.95);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}
.header-inner{
  width:min(1220px,calc(100% - 40px));
  min-height:76px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}
.logo{
  color:var(--ink);
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.9rem;
  letter-spacing:.08em;
}
.main-nav{
  display:flex;
  justify-content:center;
  gap:28px;
}
.main-nav a{
  color:var(--ink);
  text-decoration:none;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.11em;
}
.main-nav a:hover{opacity:.62}
.header-tools{
  font-size:.78rem;
  letter-spacing:.12em;
}
.menu-toggle{
  display:none;
  border:0;
  background:transparent;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.top-visual{
  width:100%;
  max-height:760px;
  object-fit:cover;
}
.hero{height:0}

.section{
  width:min(1220px,calc(100% - 40px));
  margin:0 auto;
  padding:84px 0 34px;
}

#chapeaux{
  padding-bottom:0;
}
.section-heading{
  max-width:760px;
  margin:0 auto 46px;
  text-align:center;
}
.section-kicker,
.panel-kicker,
.custom-kicker{
  margin:0 0 12px;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
}
.section-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.15rem,4.2vw,4.1rem);
  font-weight:400;
  line-height:1.1;
}
.section-intro{
  max-width:620px;
  margin:18px auto 0;
  color:var(--muted);
  line-height:1.7;
}

.collections-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.collection-card{
  min-width:0;
  background:var(--white);
  border:1px solid transparent;
  box-shadow:0 8px 22px rgba(50,40,32,.05);
  cursor:pointer;
  overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.collection-card:hover,
.collection-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  outline:none;
}
.collection-card.active{
  border-color:rgba(155,115,86,.55);
  box-shadow:0 16px 42px rgba(50,40,32,.12);
}
.collection-card img{
  width:100%;
  height:150px;
  object-fit:cover;
}
.collection-card-body{
  padding:10px 12px 12px;
  text-align:center;
}
.collection-card h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.55rem;
  font-weight:400;
}
.collection-card p{
  margin:5px 0 9px;
  color:var(--muted);
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  line-height:1.2;
  font-size:.9rem;
}
.text-link{
  border:0;
  border-bottom:1px solid currentColor;
  padding:0 0 4px;
  background:transparent;
  cursor:pointer;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.collection-panel{
  margin-top:12px;
  padding:24px 20px 34px;
  background:var(--cream);
  border-top:1px solid var(--line);
}
.collection-panel-inner{
  width:min(1160px,100%);
  margin:0 auto;
}
.panel-header{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:16px;
}
.panel-header h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,4vw,3.6rem);
  font-weight:400;
}
.panel-actions{
  display:flex;
  gap:10px;
}
.arrow-btn{
  width:46px;
  height:46px;
  border:1px solid rgba(48,43,39,.26);
  background:rgba(255,255,255,.45);
  cursor:pointer;
  font-size:1.25rem;
}
.arrow-btn:hover{background:rgba(255,255,255,.8)}

.hat-strip{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  padding:4px 2px 12px;
  align-items:flex-start;
}
.hat-card{
  flex:0 0 170px;
  width:170px;
  scroll-snap-align:start;
  border:0;
  padding:0;
  background:var(--white);
  cursor:pointer;
  text-align:left;
  box-shadow:0 7px 18px rgba(50,40,32,.06);
}
.hat-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.hat-card span{
  display:block;
  padding:14px 15px 16px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.02rem;
}
.empty-collection{
  margin:10px 0 0;
  color:var(--muted);
  font-style:italic;
}

.custom-section{
  padding:90px 20px;
  background:var(--white);
}
.custom-grid{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:46% 54%;
  min-height:510px;
  box-shadow:var(--shadow);
  background:var(--cream);
}
.custom-image{
  min-height:500px;
}
.custom-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.custom-copy{
  padding:64px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
}
.custom-copy:after{
  content:"";
  position:absolute;
  right:28px;
  bottom:24px;
  width:100px;
  height:100px;
  border-right:1px solid rgba(155,115,86,.22);
  border-bottom:1px solid rgba(155,115,86,.22);
  border-radius:0 0 100% 0;
  pointer-events:none;
}
.custom-copy h2{
  margin:0;
  max-width:620px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(2.4rem,4.7vw,4.6rem);
  line-height:1.05;
}
.custom-lead{
  margin:20px 0 30px;
  color:var(--muted);
  line-height:1.75;
  font-size:1.03rem;
}
.custom-features{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin:0 0 34px;
}
.custom-features div{
  min-width:0;
  text-align:center;
}
.custom-features span{
  display:block;
  margin-bottom:8px;
  color:var(--accent);
  font-size:1.25rem;
}
.custom-features strong,
.custom-features small{
  display:block;
}
.custom-features strong{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:.94rem;
}
.custom-features small{
  margin-top:4px;
  color:var(--muted);
  line-height:1.35;
}
.primary-btn,
.secondary-btn{
  display:inline-block;
  width:max-content;
  max-width:100%;
  padding:14px 20px;
  border:1px solid var(--accent);
  text-decoration:none;
  cursor:pointer;
  letter-spacing:.06em;
}
.primary-btn{
  background:var(--accent);
  color:white;
}
.secondary-btn{
  background:transparent;
  color:var(--ink);
}

.future-anchor{scroll-margin-top:90px;min-height:1px}

.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(30,25,20,.68);
}
.modal.open{display:flex}
.modal-dialog{
  position:relative;
  width:min(1040px,100%);
  max-height:90vh;
  overflow:auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:var(--white);
  box-shadow:0 30px 90px rgba(0,0,0,.25);
}
.modal-close{
  position:absolute;
  top:14px;
  right:18px;
  z-index:2;
  width:40px;
  height:40px;
  border:0;
  background:rgba(255,255,255,.85);
  cursor:pointer;
  font-size:1.7rem;
}
.modal-gallery{padding:28px;background:#eee6dc}
.modal-main-image{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.modal-thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.modal-thumb{
  width:74px;
  height:74px;
  padding:0;
  border:2px solid transparent;
  background:transparent;
  cursor:pointer;
}
.modal-thumb.active{border-color:var(--accent)}
.modal-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.modal-copy{
  padding:58px 46px;
}
.modal-name{
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:2.6rem;
  font-weight:400;
}
.modal-description{color:var(--muted);line-height:1.7}
.modal-details{
  padding-left:0;
  list-style:none;
  line-height:1.8;
}
.modal-price{
  margin:24px 0;
  color:var(--accent);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.8rem;
}
.modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.chat-button{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:70;
  border:0;
  border-radius:999px;
  padding:14px 18px;
  background:var(--accent);
  color:white;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.16);
}
.chat-box{
  position:fixed;
  right:20px;
  bottom:78px;
  z-index:69;
  width:min(340px,calc(100% - 40px));
  display:none;
  padding:24px;
  background:var(--white);
  box-shadow:var(--shadow);
}
.chat-box.open{display:block}
.chat-box h3{
  margin-top:0;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:1.4rem;
}
.chat-box input,
.chat-box textarea{
  width:100%;
  margin:0 0 10px;
  padding:12px;
  border:1px solid var(--line);
  background:white;
}
.chat-box textarea{min-height:110px;resize:vertical}

.footer{
  padding:34px 20px;
  text-align:center;
  color:var(--muted);
  background:var(--cream-2);
  letter-spacing:.08em;
}

@media(max-width:980px){
  .collections-grid{grid-template-columns:repeat(2,1fr)}
  .custom-grid{grid-template-columns:1fr}
  .custom-image{min-height:420px}
  .custom-features{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:760px){
  .header-inner{
    grid-template-columns:1fr auto auto;
  }
  .menu-toggle{display:block}
  .main-nav{
    position:absolute;
    top:76px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:center;
    padding:24px;
    background:rgba(247,242,234,.99);
    border-bottom:1px solid var(--line);
  }
  .main-nav.open{display:flex}
  .header-tools{font-size:.7rem}

  .section{padding-top:60px}
  .collections-grid{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:10px;
  }
  .collection-card{
    flex:0 0 58%;
    scroll-snap-align:start;
  }
  .collection-card img{
    width:100%;
    height:185px;
    aspect-ratio:auto;
    object-fit:cover;
  }
  .collection-card-body{
    padding:9px 10px 11px;
  }
  .collection-card h2{
    font-size:1.35rem;
  }
  .collection-card p{
    font-size:.82rem;
    line-height:1.15;
    margin:4px 0 8px;
  }
  #chapeaux,
  #chapeaux .collection-panel{
    background:var(--cream);
  }
  .panel-header{align-items:center}
.custom-section{padding:60px 20px}
  .custom-copy{padding:44px 26px}
  .custom-features{grid-template-columns:repeat(2,1fr)}
  .modal-dialog{grid-template-columns:1fr}
  .modal-copy{padding:34px 26px}
}

@media(max-width:480px){
  .header-inner{width:min(100% - 24px,1220px);gap:12px}
  .logo{font-size:1.55rem}
  .header-tools{display:none}
  .section{width:min(100% - 24px,1220px)}
  .collection-card{flex-basis:64%}
  .collection-panel{padding-left:12px;padding-right:12px}
  .panel-header h2{font-size:2rem}
  .custom-features{grid-template-columns:1fr 1fr}
}


/* =========================================================
   SECTIONS BAS DE PAGE : ESCAPADE, GALERIE, À PROPOS, CONTACT
   ========================================================= */

html { scroll-behavior: smooth; }

#chapeaux, #escapade, #galerie, #apropos, #contact {
  scroll-margin-top: 88px;
}

.coming-section {
  padding: clamp(58px, 7vw, 88px) 24px;
  text-align: center;
  border-top: 1px solid rgba(48,43,39,.10);
}

.coming-escapade {
  background:
    radial-gradient(circle at 12% 25%, rgba(151,160,130,.16), transparent 28%),
    linear-gradient(135deg, #f4eee4 0%, #fbf8f2 55%, #ebe7dc 100%);
}

.coming-gallery {
  background:
    radial-gradient(circle at 88% 25%, rgba(124,151,153,.13), transparent 30%),
    linear-gradient(135deg, #fbf8f2 0%, #f1eee7 100%);
}

.coming-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.coming-section h2,
.about-section h2,
.contact-section h2 {
  margin: 8px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.coming-section p:not(.section-kicker) {
  max-width: 660px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.coming-badge {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(94,80,66,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: #6b5b4b;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-section {
  background: #fffdf9;
  padding-top: clamp(65px, 8vw, 100px);
  padding-bottom: clamp(65px, 8vw, 100px);
}

.about-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.about-copy {
  max-width: 650px;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.about-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: #51483f !important;
}

.about-signature {
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.18rem;
}

.about-values {
  padding-left: clamp(28px, 5vw, 58px);
  border-left: 1px solid rgba(48,43,39,.14);
}

.about-values div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(48,43,39,.10);
}

.about-values strong,
.about-values span {
  display: block;
}

.about-values strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.13rem;
  color: #3e3731;
}

.about-values span {
  margin-top: 4px;
  color: #8a7d72;
  font-size: .92rem;
}

.contact-section {
  text-align: center;
  background: #eee8dd;
  padding-top: clamp(62px, 7vw, 90px);
  padding-bottom: clamp(62px, 7vw, 90px);
}

.contact-inner {
  width: min(700px, 100%);
  margin: 0 auto;
}

.contact-inner > p:not(.section-kicker) {
  margin: 0 auto 20px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-email {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  color: #51483f;
  text-decoration: none;
  border-bottom: 1px solid rgba(81,72,63,.35);
  padding-bottom: 3px;
}

.contact-btn {
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 760px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-values {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid rgba(48,43,39,.14);
  }

  .coming-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 760px) {
  .hat-card{
    flex-basis:145px;
    width:145px;
  }
}


/* ===== NOTE FORMULAIRE SUR MESURE ===== */
.form-note{
  margin:8px 0 2px;
  padding:18px 20px;
  background:var(--cream-2);
  border-left:3px solid var(--accent);
  color:var(--ink);
  line-height:1.5;
}
.form-note strong{
  display:block;
  margin-bottom:6px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.05rem;
  font-weight:400;
}
.form-note p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}
