/* =====================================================
   Montcel Evenement — feuille de style
   Palette inspirée des Toiles de Jouy : bleu profond, crème, or
   ===================================================== */

:root {
  --blue: #1f3a5f;
  --blue-dark: #142842;
  --blue-soft: #e8eef6;
  --cream: #f7f2e8;
  --cream-dark: #eee6d6;
  --gold: #b8955a;
  --gold-light: #e5c688;
  --ink: #1c1f26;
  --ink-soft: #5a6070;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(20, 40, 66, 0.35);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--blue-dark);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
h5 { font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; margin: 1.6em 0 0.5em; color: var(--blue-dark); }

p { margin: 0 0 1.1em; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a3824b; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: rgba(255,255,255,0.04); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 40, 66, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none !important; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--blue-dark); letter-spacing: 0.01em; }
.brand-tagline { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.brand.light .brand-name { color: var(--white); }
.brand.light .brand-tagline { color: rgba(255,255,255,0.65); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-size: 0.92rem; font-weight: 400; color: var(--ink); }
.main-nav a:hover { color: var(--blue); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-dark); transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184, 149, 90, 0.35), transparent 60%),
    linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 55%, #2b4c78 100%);
  overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.12;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath d='M60 10c10 15 25 20 40 20-15 5-25 20-25 35 0-15-10-30-25-35 15 0 30-5 40-20'/%3E%3Cpath d='M20 80c8 4 12 12 12 20 0-8 4-16 12-20-8 0-16-4-12-12'/%3E%3Ccircle cx='95' cy='90' r='8'/%3E%3Cpath d='M0 120c20-10 40-10 60 0s40 10 60 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 90%);
}
.hero-inner { position: relative; padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6rem); max-width: 820px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.hero .lead { font-size: 1.15rem; max-width: 640px; color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3.5rem; }
.hero-facts {
  list-style: none; margin: 0; padding: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
.hero-facts span { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.35rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--blue-dark); color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.light .eyebrow { color: var(--gold-light); }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.grid-2.reverse > :first-child { order: 2; }
.grid-2.reverse > :last-child { order: 1; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Visuel "à propos" (cadres décoratifs, sans image externe) */
.about-visual { position: relative; aspect-ratio: 4 / 5; max-width: 460px; }
.frame { position: absolute; border-radius: var(--radius); }
.frame-a {
  inset: 0 12% 12% 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%),
    radial-gradient(circle at 30% 30%, #2f5384, var(--blue-dark) 70%);
  box-shadow: var(--shadow);
}
.frame-a::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(229,198,136,0.5);
  border-radius: calc(var(--radius) - 6px);
}
.frame-b {
  right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  background: var(--gold);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.frame-year {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.05;
}

/* ---------- Cartes prestations ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(20, 40, 66, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Le lieu ---------- */
.access { display: grid; gap: 0.9rem; margin: 1.8rem 0 0; }
.access div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(20,40,66,0.08); }
.access dt { font-weight: 500; color: var(--blue-dark); }
.access dd { margin: 0; color: var(--ink-soft); }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-dark); }
.map-wrap iframe { width: 100%; aspect-ratio: 4 / 5; border: 0; display: block; }
.map-link {
  position: absolute; right: 1rem; bottom: 1rem;
  background: var(--white); padding: 0.5rem 0.9rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; box-shadow: 0 6px 16px -8px rgba(0,0,0,0.4);
}

/* ---------- Étapes ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.18); }
.step-num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-light); line-height: 1; display: block; margin-bottom: 0.8rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.75); }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-details { font-style: normal; display: grid; gap: 1.3rem; margin-top: 2rem; }
.contact-details div { display: grid; gap: 0.2rem; }
.contact-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: grid; gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 500; color: var(--blue-dark); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(20,40,66,0.15);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,58,95,0.15);
}
.contact-form textarea { resize: vertical; }
.contact-form .invalid { border-color: #c0392b; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 300 !important; color: var(--ink-soft) !important; font-size: 0.82rem !important; }
.consent input { width: auto; margin-top: 0.2rem; }
.form-note { font-size: 0.75rem; color: var(--ink-soft); margin: 0; }
.form-feedback { margin: 0; font-size: 0.9rem; font-weight: 500; min-height: 1.3em; }
.form-feedback.ok { color: #1e7a4a; }
.form-feedback.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p { margin-top: 1.2rem; color: rgba(255,255,255,0.65); }
.site-footer h4 { color: var(--gold-light); font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }

/* Mentions légales */
.legal { padding: 2rem 0 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.legal details { border-top: 1px solid rgba(255,255,255,0.08); }
.legal details:first-child { border-top: 0; }
.legal summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font-size: 1.3rem; color: var(--gold-light); transition: transform 0.2s; }
.legal details[open] summary::after { transform: rotate(45deg); }
.legal summary h4 { margin: 0; }
.legal-body { padding: 0 0 1.5rem; max-width: 900px; font-size: 0.86rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.legal-body h5 { color: var(--white); }
.legal-body dl { display: grid; gap: 0.35rem; margin: 0; }
.legal-body dl div { display: grid; grid-template-columns: 240px 1fr; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.legal-body dt { color: rgba(255,255,255,0.55); }
.legal-body dd { margin: 0; color: var(--white); }
.legal-body em { color: var(--gold-light); font-style: italic; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0 1.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-bottom p { margin: 0; }
.back-top { font-weight: 500; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  margin-inline: auto; max-width: 720px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.45);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid rgba(20,40,66,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.95rem 1.5rem; border-top: 1px solid rgba(20,40,66,0.06); }
  .main-nav .btn { margin: 0.9rem 1.5rem 1.2rem; }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse > :first-child { order: 1; }
  .grid-2.reverse > :last-child { order: 2; }
  .about-visual { max-width: 360px; margin-inline: auto; }
  .map-wrap iframe { aspect-ratio: 16 / 11; }
  .form-row { grid-template-columns: 1fr; }
  .legal-body dl div { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (max-width: 560px) {
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .brand-tagline { display: none; }
}
