/* ============================================================
   LES 100 CIELS EN SOI — Julie Ventre, Sophrologue
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #B8874A;
  --gold-dark:   #7A5728;
  --gold-light:  #F6EDD8;
  --cream:       #FDFAF5;
  --sand:        #F0E6D0;
  --rose:        #C07860;
  --rose-light:  #F5E0D6;
  --dark:        #1E160B;
  --text:        #2E2014;
  --text-mid:    #6B5540;
  --text-light:  #9A836A;
  --white:       #FFFFFF;
  --font-head:   'Libre Baskerville', Georgia, serif;
  --font-body:   'Lato', sans-serif;
  --radius:      12px;
  --shadow:      0 2px 20px rgba(30,22,11,.09);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.75; overflow-x: hidden; background: var(--white); }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-head); line-height: 1.2; color: var(--gold-dark);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: .9rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .45rem; }
p  { font-size: .95rem; color: var(--text-mid); margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container   { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 5.5rem 0; }
.section--alt  { background: var(--cream); }
.section--sand { background: var(--sand); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .75rem;
}

/* --- Buttons — never illegible --- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .8rem 1.9rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700; font-size: .82rem; letter-spacing: .05em;
  border: 2px solid transparent;
  cursor: pointer; transition: background .22s, color .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
}
/* Gold filled */
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; box-shadow: 0 4px 16px rgba(184,135,74,.35); }
/* Outline white (on dark/photo bg) */
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover { background: #fff; color: var(--gold-dark); border-color: #fff; }
/* Outline gold (on light bg) */
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
/* Dark on contact section */
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: #fff; color: var(--gold-dark); border-color: #fff; }

/* --- Loader --- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin: 0 4px; animation: bop .9s infinite ease-in-out; }
.dot:nth-child(2) { animation-delay: .15s; }
.dot:nth-child(3) { animation-delay: .3s; }
@keyframes bop { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* --- Navbar --- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .9rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
nav.solid {
  background: rgba(253,250,245,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(30,22,11,.08);
  padding: .65rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; }
.nav-logo-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.brand-text   { font-family: var(--font-head); }
.brand-name   { font-size: .98rem; font-weight: 700; color: #fff; line-height: 1.2; transition: color .3s; }
.brand-sub    { font-family: var(--font-body); font-size: .72rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.7); transition: color .3s; }
nav.solid .brand-name { color: var(--gold-dark); }
nav.solid .brand-sub  { color: var(--text-mid); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 1rem; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.88); transition: color .25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--gold); transition: width .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
nav.solid .nav-links a { color: var(--text-mid); }
nav.solid .nav-links a:hover { color: var(--gold-dark); }

/* Nav CTA button — always readable */
.nav-cta-btn {
  padding: .65rem 1.5rem; font-size: .95rem;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
nav.solid .hamburger span { background: var(--gold-dark); }

/* Mobile menu */
.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--dark);
  flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
}
.mob-menu.open { display: flex; }
.mob-menu a { font-family: var(--font-head); font-size: 1.6rem; color: #fff; font-weight: 700; }
.mob-menu a:hover { color: var(--gold-light); }
.mob-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; color: rgba(255,255,255,.6); font-size: 2rem; cursor: pointer; line-height: 1; }

/* --- Hero --- */
#hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: url('../images/banner.jpg') center/cover no-repeat; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(175deg, rgba(30,22,11,.45) 0%, rgba(122,87,40,.2) 60%, rgba(30,22,11,.35) 100%);
}
.hero-body { position: relative; z-index: 1; padding: 5.5rem 1.5rem 3rem; max-width: 700px; }
.hero-logo {
  width: 100px; height: 100px; margin: 0 auto 1.75rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.4));
}
.hero-eyebrow { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .6rem; }
.hero-body h1 { color: #fff; margin-bottom: 1rem; }
.hero-body > p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 2.25rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* Hero divider wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* --- Services --- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 2.75rem;
}
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .28s, box-shadow .28s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,22,11,.14); }
.card-img { height: 210px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 1.35rem; }
.card-body h3 { color: var(--gold-dark); }
.card-body p  { font-size: .87rem; color: var(--text-light); }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4.5rem; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 40px rgba(30,22,11,.15); aspect-ratio: 2/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1.1rem; }
.signature { font-family: var(--font-head); font-style: italic; font-size: 1.4rem; color: var(--gold); margin-top: 1.5rem; display: block; }

/* --- Quote banner --- */
.quote-banner {
  background: var(--gold-dark); padding: 4rem 0; text-align: center;
}
.quote-banner blockquote {
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.8rem); color: var(--gold-light);
  max-width: 680px; margin: 0 auto; line-height: 1.5;
}
.quote-banner cite { display: block; margin-top: 1.2rem; font-family: var(--font-body); font-style: normal; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(246,237,216,.5); }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.price-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.2rem 1.75rem; text-align: center;
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
  transition: transform .25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card h3 { color: var(--gold-dark); font-size: 1.4rem; margin-bottom: .75rem; }
.price-card p  { font-size: .87rem; color: var(--text-light); margin-bottom: .3rem; }
.price-num {
  display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 900;
  color: var(--gold); margin: 1rem 0 .25rem; line-height: 1;
}
.price-unit { font-size: .78rem; color: var(--text-light); }
.price-note {
  display: inline-block; margin-top: .9rem;
  background: var(--gold-light); color: var(--gold-dark);
  padding: .3rem .9rem; border-radius: 50px;
  font-size: .76rem; font-weight: 700;
}

/* --- Cabinet --- */
.cabinet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.info-block { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.info-block h3 { color: var(--gold-dark); margin-bottom: .6rem; }
.days { display: inline-block; background: var(--rose-light); color: var(--rose); padding: .25rem .85rem; border-radius: 50px; font-size: .75rem; font-weight: 700; margin: .4rem 0 1rem; letter-spacing: .04em; }
.info-block p { font-size: .9rem; }
.info-block a:not(.btn) { color: var(--gold); font-weight: 600; }
.info-block a:not(.btn):hover { text-decoration: underline; }

/* --- Footer / Contact --- */
footer {
  background: #130E06; color: rgba(255,255,255,.4);
  padding: 2rem 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.foot-logo { width: 32px; height: 32px; object-fit: contain; opacity: .7; }
.foot-brand { display: flex; align-items: center; gap: .6rem; }
.foot-brand .brand-name { color: rgba(255,255,255,.8); font-size: .95rem; }
.foot-brand .brand-sub  { color: rgba(255,255,255,.45); font-size: .72rem; }
.foot-contact { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.foot-contact a {
  color: rgba(255,255,255,.8); font-size: 1.05rem; font-weight: 600;
  display: flex; align-items: center; gap: .55rem;
  transition: color .2s;
}
.foot-contact a i { color: var(--gold); font-size: 1rem; }
.foot-contact a:hover { color: #fff; }

/* --- Fade animations --- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.fade.in { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid  { grid-template-columns: 1fr 1fr; }
  .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo   { max-height: 380px; aspect-ratio: unset; }
  .cabinet-grid  { grid-template-columns: 1fr; }
  .nav-links     { display: none; }
  .hamburger     { display: flex; }
  .brand-text    { display: none; }
}
@media (max-width: 580px) {
  .section { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .row           { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; align-items: center; text-align: center; }
  .foot-contact  { justify-content: center; }
}
