/* Kal'Art — styles spécifiques à la page d'accueil */

:root{
  --ink:#262420;
  --ink-soft:#4a463e;
  --mariage-bg:#F4EEE2;
  --entreprise-bg:#14213D;
  --cream:#F4EEE2;
  --line:rgba(38,36,32,.12);
}

body{
  color:var(--ink);
  background:#ffffff;
  transition:background-color .6s ease;
}
body.mode-mariage{background-color:var(--mariage-bg);}
body.mode-entreprise{background-color:var(--entreprise-bg);}

/* En-tête : logo en grand + nav, empilés et centrés comme sur le prototype d'origine */
.site-header{
  flex-direction:column;
  padding:36px 20px 0;
}
.site-logo img{width:92px;}
.accroche{
  margin:16px 0 0;
  padding:0 20px 20px;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
  color:var(--ink);
  transition:color .6s ease;
}
body.mode-mariage .accroche{color:var(--entreprise-bg);}
body.mode-entreprise .accroche{color:var(--mariage-bg);}

.hero{
  display:flex;
  height:min(76vh,700px);
  min-height:400px;
}
.panel{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  flex:0 0 50%;
  transition:flex-basis .7s cubic-bezier(.22,.8,.2,1);
}
.panel-mariage{background-color:var(--mariage-bg);}
.panel-entreprise{background-color:var(--entreprise-bg);}
.panel-img{
  position:absolute;inset:0;
  background-size:cover;
  background-repeat:no-repeat;
}
.panel-mariage .panel-img{background-position:center 24%;}
.panel-entreprise .panel-img{background-position:25% 28%;}
.panel-overlay{
  position:absolute;inset:0;
  background:radial-gradient(circle at center, rgba(12,10,8,.4), rgba(12,10,8,.06) 68%);
  transition:opacity .6s ease;
}
.panel-label{
  position:relative;
  z-index:2;
  color:#F8F4EA;
  text-shadow:0 2px 20px rgba(0,0,0,.45);
  text-align:center;
  padding:0 24px;
}
.panel-mariage .panel-label{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-weight:500;
  font-size:clamp(32px,5.2vw,60px);
  letter-spacing:.01em;
  white-space:nowrap;
}
.panel-entreprise .panel-label{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:clamp(15px,2.1vw,26px);
  letter-spacing:.2em;
  text-transform:uppercase;
  white-space:nowrap;
}

@media (hover:hover) and (pointer:fine){
  .panel:hover .panel-overlay{opacity:.5;}
  .hero:has(.panel-mariage:hover) .panel-mariage{flex-basis:62%;}
  .hero:has(.panel-mariage:hover) .panel-entreprise{flex-basis:38%;}
  .hero:has(.panel-entreprise:hover) .panel-entreprise{flex-basis:62%;}
  .hero:has(.panel-entreprise:hover) .panel-mariage{flex-basis:38%;}
}
.panel.tap-active .panel-overlay{opacity:.5;}

.scroll-cue{
  position:relative;
  z-index:4;
  margin:-32px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.9);
  color:var(--ink);
  font-size:15px;
  cursor:pointer;
  transition:opacity .4s ease;
  animation:bob 2.4s ease-in-out infinite;
}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
.scroll-cue.hidden{opacity:0;pointer-events:none;}

section.case{padding:70px 24px 10px;max-width:1040px;margin:0 auto;}
.case-head{text-align:center;margin-bottom:36px;}
.case-head .eyebrow{color:#8a8578;}
.case-head h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-style:italic;font-size:clamp(26px,4vw,34px);}

.reveal-wrap .fade{
  background:linear-gradient(to bottom, rgba(244,238,226,0), var(--cream));
}

section.about{padding:80px 24px 20px;max-width:600px;margin:0 auto;text-align:center;}
.about h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-style:italic;font-size:28px;margin:0 0 14px;}
.about p{font-size:15px;line-height:1.75;color:var(--ink-soft);}

footer{color:#9a9689;}

@media (max-width:720px){
  .hero{flex-direction:column;height:auto;}
  .panel{aspect-ratio:16/10;height:auto;flex-basis:auto !important;}
  .panel-img{background-size:cover;}
  .panel-mariage .panel-img{background-position:center 20%;}
  .panel-entreprise .panel-img{background-position:22% 26%;}
  .accroche{font-size:11px;}
  .panel-mariage .panel-label{font-size:38px;}
  .panel-entreprise .panel-label{font-size:20px;}
  .grid3{columns:2;}
  .site-logo img{width:68px;}
}
