/* =========================================================
   Reflexo Lodge — feuille de style
   Ambiance "nature / terre" : sauge, beige, bois, encre
   ========================================================= */

:root {
  --sage:        #7d8c6a;   /* vert sauge */
  --sage-deep:   #5c6a4c;   /* sauge foncé */
  --terracotta:  #b06a45;   /* bois / terre cuite */
  --terracotta-d:#915438;
  --sand:        #f4efe6;   /* sable clair (fond) */
  --cream:       #fbf8f2;   /* crème (cartes) */
  --ink:         #34372f;   /* texte foncé (encre) */
  --ink-soft:    #5b5e52;
  --dark:        #2e342a;   /* section sombre */
  --radius:      14px;
  --shadow:      0 18px 40px -22px rgba(52, 55, 47, .45);
  --maxw:        1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .brand-footer {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(52, 55, 47, .08);
}
.brand { font-size: 1.5rem; color: var(--ink); letter-spacing: .02em; }
.brand span { color: var(--terracotta); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--sage); color: #fff !important;
  padding: 9px 20px; border-radius: 999px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--sage-deep); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(52, 55, 47, .25);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-2px); }
.section-dark .btn-ghost { color: #ece7dc; border-color: rgba(236, 231, 220, .4); }
.section-dark .btn-ghost:hover { color: #fff; border-color: #a9b598; background: rgba(169, 181, 152, .12); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: url("../images/EntreeCabinet.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: 80px 24px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,52,42,.45) 0%, rgba(46,52,42,.65) 100%);
}
.hero-content { position: relative; max-width: 720px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .78rem; font-weight: 600; opacity: .92;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(3rem, 9vw, 5.5rem); margin-bottom: 18px; }
.hero-tagline { font-size: clamp(1.05rem, 2.5vw, 1.35rem); font-weight: 300; margin-bottom: 36px; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 1.4rem; color: #fff; opacity: .8;
  animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .24em;
  font-size: .76rem; font-weight: 700; color: var(--terracotta);
  margin-bottom: 14px;
}
.kicker.light { color: #d9b79f; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 22px; }
.section p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- SPLIT (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-text h2 { color: var(--ink); }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.media-deco {
  position: absolute; right: -18px; bottom: -18px;
  width: 130px; height: 130px; z-index: -1;
  border-radius: 18px;
  background: repeating-linear-gradient(45deg, var(--sage) 0 2px, transparent 2px 12px);
  opacity: .5;
}

.values, .badges { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.values li, .badges li { position: relative; padding-left: 28px; color: var(--ink); }
.values li::before, .badges li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--sage); transform: rotate(45deg);
}

/* ---------- CARTES PRESTATIONS ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 24px 30px; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--ink); }
.card-meta {
  margin-top: 18px; font-weight: 700; color: var(--terracotta);
  font-size: .95rem; letter-spacing: .02em;
}

/* ---------- APPLICATIONS ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.app-card {
  display: flex; flex-direction: column;
  background: var(--sand);
  border: 1px solid rgba(52, 55, 47, .08);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(125, 140, 106, .45);
}
.app-card h3 {
  font-size: 1.3rem; color: var(--ink); margin-bottom: 12px;
  padding-left: 26px; position: relative;
}
.app-card h3::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--sage); transform: rotate(45deg);
}
.app-card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 18px; flex: 1; }
.app-link {
  align-self: flex-start;
  font-weight: 700; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--terracotta);
}
.app-card:hover .app-link { color: var(--terracotta-d); }
.app-link::after { content: " →"; }
.app-actions, .contact-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 44px; justify-content: center;
}
.contact-actions { margin-top: 10px; justify-content: flex-start; }

/* ---------- TARIFS ---------- */
.pricing { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.pricing tr { border-bottom: 1px solid rgba(52,55,47,.12); }
.pricing th {
  text-align: left; font-family: "Marcellus", serif; font-weight: 400;
  font-size: 1.25rem; padding: 20px 0; color: var(--ink);
}
.pricing td { padding: 20px 0; color: var(--ink-soft); text-align: right; }
.pricing td.price { font-weight: 700; color: var(--terracotta); white-space: nowrap; padding-left: 24px; }
.pricing-note { margin-top: 26px; font-size: .9rem; color: var(--ink-soft); text-align: center; }

/* ---------- CONTACT (sombre) ---------- */
.section-dark { background: var(--dark); color: #ece7dc; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #c9c4b6; }
.contact .split-media img { box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.contact-list { list-style: none; margin: 30px 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-label {
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 700; color: #a9b598;
}
.contact-list a, .contact-list span { color: #ece7dc; font-size: 1.1rem; }
.contact-list a:hover { color: #d9b79f; }

/* ---------- FOOTER ---------- */
.site-footer { text-align: center; padding: 56px 24px; background: var(--sage-deep); color: #eef1e7; }
.brand-footer { font-size: 1.7rem; margin-bottom: 6px; }
.site-footer p { margin-bottom: 8px; opacity: .92; }
.footer-links a { color: #fff; font-weight: 600; }
.footer-links a:hover { color: #f0d9c9; }
.copyright { font-size: .82rem; opacity: .7; margin-top: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  /* header sur deux rangées : la marque, puis la navigation complète */
  .site-header { flex-wrap: wrap; row-gap: 12px; padding: 14px 20px; }
  .nav { width: 100%; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .nav a:not(.nav-cta) { font-size: .86rem; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .media-deco { display: none; }
}
@media (max-width: 520px) {
  .site-header { padding: 12px 16px; }
  .brand { font-size: 1.25rem; }
  /* sur les plus petits écrans, la nav tient sur une rangée : on retire le lien
     le moins utile (la section reste atteignable en défilant) */
  .nav { gap: 10px 12px; }
  .nav a[href="#approche"] { display: none; }
  .nav a:not(.nav-cta) { font-size: .78rem; }
  .nav-cta { padding: 7px 14px; font-size: .8rem; }
  .app-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .app-actions .btn, .contact-actions .btn { text-align: center; }
}
