/* Vitrine gazideco.com : styles communs a toutes les pages. */
:root {
  --ivory: #FAF6EF;
  --sand: #F1E7D7;
  --sand-2: #E4D3B8;
  --terra: #B4532A;
  --terra-deep: #8E3D1D;
  --gold: #C99A3B;
  --gold-soft: #E2BC66;
  --green: #1E3A34;
  --ink: #241F1A;
  --muted: #6E6257;
  --line: rgba(36, 31, 26, .12);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 16px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; color: var(--terra); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; letter-spacing: .01em;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- En-tete ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 246, 239, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { text-decoration: none; font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.logo em { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header .btn { padding: 12px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 110px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); margin: 22px 0 24px; }
.hero h1 em { font-weight: 500; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 500px; margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-keys {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--line); list-style: none;
  font-size: 15px; font-weight: 600;
}
.hero-keys li { display: inline-flex; align-items: center; gap: 10px; }
.hero-keys li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-media { position: relative; padding: 0 0 48px 64px; }
.hero-main {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 18px 18px;
}
.hero-second {
  position: absolute; left: 0; bottom: 0; width: 46%;
  aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid var(--ivory); border-radius: 18px;
  box-shadow: 0 24px 50px -24px rgba(36, 31, 26, .45);
}

/* ---------- Sections ---------- */
section.block { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); margin-top: 16px; }
.section-head p { color: var(--muted); margin: 0; max-width: 480px; justify-self: end; }

/* Prestations */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service-photo { overflow: hidden; aspect-ratio: 4 / 3; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.service:hover .service-photo img { transform: scale(1.04); }
.service-body { padding: 28px 28px 30px; }
.service h3 { font-size: 30px; margin-bottom: 12px; }
.service p { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.service ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sand); }

/* Ambiances */
.moods-bg { background: var(--sand); }
.moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mood { border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mood-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.mood-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.mood:hover .mood-photo img { transform: scale(1.05); }
.mood-body { padding: 18px 20px 22px; }
.mood-body h3 { font-size: 25px; margin-bottom: 4px; }
.mood-body p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.credit-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* Demarche */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.process-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.process h2 { font-size: clamp(36px, 4.6vw, 58px); margin: 16px 0 36px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); font-style: italic; }
.step h3 { font-size: 26px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* Contact */
.contact { padding: 0 0 110px; }
.contact-card {
  border-radius: 24px; overflow: hidden;
  background: var(--green); color: var(--ivory);
  display: grid; grid-template-columns: 1.1fr .9fr;
}
.contact-text { padding: 72px 56px; }
.contact-card h2 { font-size: clamp(38px, 4.6vw, 58px); margin-top: 16px; }
.contact-card h2 em { color: var(--gold-soft); }
.contact-card p { color: rgba(250, 246, 239, .8); margin: 18px 0 32px; max-width: 480px; }
.contact-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.btn-wa { background: var(--ivory); color: var(--green); }
.btn-wa:hover { background: #fff; }
.contact-note { display: block; margin-top: 14px; font-size: 14px; color: rgba(250, 246, 239, .66); }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer small { font-size: 12.5px; }

/* Bandeau dakar.dev */
.made-by { background: var(--ink); color: #EDE6DC; padding: 46px 0; }
.made-by .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.made-by-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.made-by h2 { font-family: var(--sans); font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 8px 0 12px; line-height: 1.3; }
.dd { font-weight: 800; color: #fff; }
.dd b { color: var(--gold); }
.made-by ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: rgba(237, 230, 220, .75); }
.made-by li { display: inline-flex; align-items: center; gap: 8px; }
.made-by li svg { width: 16px; height: 16px; color: var(--gold); }
.btn-dd { background: var(--gold); color: var(--ink); }
.btn-dd:hover { background: #DDB25A; }

.dd-pill {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  background: rgba(36, 31, 26, .92); color: #EDE6DC; text-decoration: none;
  font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
  transform: translateY(120%); opacity: 0; transition: transform .4s ease, opacity .4s ease;
}
.dd-pill.show { transform: none; opacity: 1; }
.dd-pill .spark { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 12px; }

/* Apparition au defilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 560px; width: 100%; margin: 0 auto; }
  .services { grid-template-columns: 1fr 1fr; }
  .moods { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; gap: 48px; }
  .process-photo { aspect-ratio: 16 / 10; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-photo { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a { display: none; }
  .header .wrap { height: 66px; }
  .logo { font-size: 27px; }
  .hero { padding: 32px 0 76px; }
  .hero p.lead { font-size: 17px; }
  .hero-media { padding: 0 0 36px 36px; }
  section.block { padding: 76px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section-head p { justify-self: start; }
  .services { grid-template-columns: 1fr; }
  .contact { padding-bottom: 76px; }
  .contact-card { border-radius: 20px; }
  .contact-text { padding: 48px 24px; }
}
@media (max-width: 420px) {
  .header .btn span { display: none; }
  .header .btn { padding: 11px 13px; }
  .moods { grid-template-columns: 1fr; }
  .mood-photo { aspect-ratio: 4 / 3; }
  .hero-ctas .btn { width: 100%; }
  .hero-keys { font-size: 14px; gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Evenements ---------- */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.event-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.event-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.event:hover .event-photo img { transform: scale(1.04); }
.event-photo::after {
  content: ""; position: absolute; inset: 45% 0 0 0;
  background: linear-gradient(to top, rgba(20, 16, 12, .72), rgba(20, 16, 12, 0));
}
.event-photo h3 {
  position: absolute; left: 22px; right: 22px; bottom: 16px; z-index: 1;
  color: #fff; font-size: 30px;
}
.event-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.event-body p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; flex: 1; }
.event-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--terra); text-decoration: none;
}
.event-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.event-link:hover svg { transform: translateX(3px); }

/* ---------- Page contact ---------- */
.page-hero { padding: 56px 0 36px; }
.page-hero h1 { font-size: clamp(44px, 5.6vw, 76px); margin: 20px 0 18px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; padding-bottom: 110px; }
.channel {
  display: block; background: var(--green); color: var(--ivory); text-decoration: none;
  border-radius: 20px; padding: 28px 28px 30px; margin-bottom: 18px;
}
.channel-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.channel-number { display: block; font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1.1; margin: 10px 0 18px; font-variant-numeric: lining-nums; }
.channel .btn { pointer-events: none; }
.channel:hover .btn-wa { background: #fff; }
.call-line { margin: 0 0 28px; font-size: 15px; color: var(--muted); }
.call-line a { color: var(--ink); font-weight: 700; }
.tips { background: var(--sand); border-radius: 20px; padding: 26px 28px; }
.tips h2 { font-size: 26px; margin-bottom: 12px; }
.tips ul { list-style: none; margin: 0; padding: 0; }
.tips li { position: relative; padding: 6px 0 6px 26px; font-size: 15.5px; }
.tips li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px;
  border-left: 2px solid var(--terra); border-bottom: 2px solid var(--terra); transform: rotate(-45deg);
}
.contact-side-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-top: 18px; }

.form-card { background: #fff; border-radius: 22px; padding: 40px; box-shadow: 0 30px 60px -40px rgba(36, 31, 26, .4); }
.form-card h2 { font-size: 36px; margin-bottom: 6px; }
.form-card > p { margin: 0 0 26px; color: var(--muted); font-size: 15.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); background: #fff; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn-send { background: #1F8F4E; color: #fff; }
.btn-send:hover { background: #18733F; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 300px; }

@media (max-width: 1020px) {
  .events { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 36px 0 28px; }
  .page-hero p { font-size: 17px; }
  .events { grid-template-columns: 1fr; }
  .contact-layout { padding-bottom: 76px; gap: 28px; }
  .form-card { padding: 28px 20px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .channel-number { font-size: 32px; }
}

/* Bloc contact de l'accueil : second bouton vers le formulaire */
.btn-outline-light { border-color: rgba(250, 246, 239, .45); color: var(--ivory); margin-left: 8px; }
.btn-outline-light:hover { border-color: var(--ivory); }
.contact-note a { color: var(--ivory); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) {
  .btn-outline-light { margin: 12px 0 0; }
}
