/* ════════ MAISON GUILLEMOT — site événementiel — design system ════════
   Palette et typo actées (brainstorming) : Cormorant Garamond + Jost,
   brun / or / terracotta / crème. Structure et patterns (nav sticky,
   page-hero, grilles responsives, footer 3 colonnes) repris de la même
   famille graphique que guillemot.boutique (assets/css/relook.css),
   recolorés et retypographiés pour ce site cousin. */

:root {
  --brun: #773118;
  --brun-fonce: #2a1a0e;
  --or: #D9A441;
  --or-fonce: #B9842F;
  --terracotta: #993300;
  --creme: #f5f0eb;
  --creme2: #ede5da;
  --creme-claire: #fbf8f4;
  --gris: #6b6056;
  --blanc: #fff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 26px rgba(42, 26, 14, .10);
  --shadow-lg: 0 16px 48px rgba(42, 26, 14, .16);
  --shadow-or: 0 10px 28px rgba(217, 164, 65, .32);

  --ff-title: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Jost', Arial, sans-serif;
  --max-w: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--brun-fonce);
  background: var(--creme);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
li { list-style: none; }
h1, h2, h3, h4, .eyebrow-title {
  font-family: var(--ff-title);
  line-height: 1.18;
  font-weight: 600;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.4rem; }

/* ── Sections ── */
.section { padding: 5.5rem 0; }
.section--creme2 { background: var(--creme-claire); }
.section--brun {
  background: linear-gradient(135deg, var(--brun-fonce) 0%, var(--brun) 100%);
  color: var(--blanc);
}
.section--brun h2, .section--brun h3 { color: var(--blanc); }
.section--brun p { color: rgba(255, 255, 255, .85); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or-fonce);
  background: rgba(217, 164, 65, .14);
  padding: .35rem .9rem;
  border-radius: 999px;
}
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--brun); margin: .9rem 0 .6rem; }
.sec-head p { color: var(--gris); font-size: 1.05rem; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-gold { background: var(--or); color: var(--brun-fonce); box-shadow: var(--shadow-or); }
.btn-gold:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brun); border-color: var(--brun); }
.btn-outline:hover { background: var(--brun); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }

/* ── Navigation sticky (header.php) ── */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(251, 248, 244, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 164, 65, .22);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(42, 26, 14, .10); }
.site-nav-c {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  height: 76px;
  gap: 1.2rem;
}
.site-nav-logo img { height: 46px; }
.site-nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
.site-nav-links a {
  padding: .55rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--brun);
  transition: color .2s, background .2s;
}
.site-nav-links a:hover,
.site-nav-links a.active { color: var(--terracotta); background: rgba(217, 164, 65, .16); }
.site-nav .nav-cta { flex-shrink: 0; }

/* body offset pour compenser le header fixed */
main { padding-top: 76px; }

/* ── Page hero (sous-pages) ── */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brun);
  text-align: center;
  color: var(--blanc);
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(42, 26, 14, .78) 0%, rgba(119, 49, 24, .58) 55%, rgba(153, 51, 0, .30) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 7rem 1.4rem 3.2rem; max-width: 760px; margin: 0 auto; }
.page-hero-tag {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(217, 164, 65, .92);
  color: var(--brun-fonce);
  padding: .42rem 1.05rem;
  border-radius: 999px;
}
.page-hero-content h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: .8rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.page-hero-content p { font-size: clamp(1rem, 2vw, 1.18rem); opacity: .95; max-width: 580px; margin: 0 auto; }

/* ── Hero plein cadre (accueil) ── */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brun);
  text-align: center;
  color: var(--blanc);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(42, 26, 14, .72) 0%, rgba(119, 49, 24, .54) 55%, rgba(153, 51, 0, .24) 100%); }
.hero-content { position: relative; z-index: 2; padding: 2rem 1.4rem; max-width: 840px; margin: 0 auto; }
.hero-content h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-bottom: 1.1rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-content h1 em { color: var(--or); font-style: italic; }
.hero-content p { font-size: clamp(1.02rem, 2vw, 1.22rem); opacity: .95; margin-bottom: 2.1rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Grilles / cartes réutilisables (univers, prestations, piliers…) ── */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1.6rem; }
.card {
  display: block;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; }
.card-body h3 { font-size: 1.25rem; color: var(--brun); margin-bottom: .45rem; }
.card-body p { font-size: .9rem; color: var(--gris); }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .84rem; font-weight: 600; color: var(--terracotta); }

/* Bandeau 3 colonnes (piliers du sur-mesure) */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.mini { background: var(--blanc); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); transition: transform .25s ease; }
.mini:hover { transform: translateY(-5px); }
.mini .ic {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217, 164, 65, .16); color: var(--or-fonce);
  margin-bottom: .9rem;
}
.mini h3 { font-size: 1.1rem; color: var(--brun); margin-bottom: .5rem; }
.mini p { font-size: .9rem; color: var(--gris); }

/* Split texte / image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split h2 { color: var(--brun); margin: .9rem 0 .5rem; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; text-align: center; }
.stat-box { background: var(--blanc); border-radius: var(--radius-lg); padding: 2rem 1.4rem; box-shadow: var(--shadow); border-top: 4px solid var(--or); }
.stat-box .n { font-family: var(--ff-title); font-size: 2rem; font-weight: 600; color: var(--terracotta); }
.stat-box .l { font-size: .86rem; color: var(--gris); margin-top: .3rem; }

/* ── Galerie mosaïque ── */
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.galerie-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie-item:hover img { transform: scale(1.05); }
.galerie-cap {
  position: absolute; inset: auto 0 0 0;
  padding: .85rem 1.1rem;
  background: linear-gradient(to top, rgba(42, 26, 14, .82), transparent);
  color: #fff; font-size: .84rem; font-weight: 500;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--creme2); padding: 1.3rem 0; }
.faq-item h3 { font-size: 1.08rem; color: var(--brun); margin-bottom: .5rem; }
.faq-item p { font-size: .92rem; color: var(--gris); }

/* ── Formulaire / iframe de contact ── */
.form-card { max-width: 760px; margin: 0 auto; background: var(--blanc); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.form-card iframe { width: 100%; border: 0; display: block; min-height: 760px; }

/* ── CTA bandeau pleine largeur ── */
.cta-banner { background: linear-gradient(135deg, var(--brun-fonce) 0%, var(--brun) 100%); color: #fff; text-align: center; padding: 4rem 1.4rem; }
.cta-banner h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: .7rem; }
.cta-banner p { opacity: .9; margin-bottom: 1.8rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta-banner .btn-outline:hover { background: #fff; color: var(--brun); }

/* ── Footer (footer.php) ── */
.site-footer { background: var(--brun-fonce); color: rgba(255, 255, 255, .8); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.6rem; margin-bottom: 2.6rem; }
.footer-logo { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-tagline { font-size: .88rem; opacity: .8; font-style: italic; }
.footer-col h4 { font-family: var(--ff-title); font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { font-size: .88rem; opacity: .78; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--or); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .8rem;
  opacity: .7;
}
.footer-bottom a { opacity: 1; text-decoration: underline; }

/* ── Animation douce ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-nav-c { height: auto; flex-wrap: wrap; padding: .8rem 1.2rem; }
  .site-nav-links { justify-content: center; order: 3; width: 100%; gap: .2rem .4rem; padding-top: .4rem; }
  .site-nav-links a { font-size: .74rem; padding: .4rem .55rem; }
  main { padding-top: 0; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .fade-up { opacity: 1; transform: none; }
}
