/* =========================================================
   UCHI CONCIERGERIE — FEUILLE DE STYLE
   Fichier organisé par section : modifie librement les
   variables ci-dessous pour changer les couleurs partout.
   ========================================================= */

:root {
  /* --- Charte graphique UCHI --- */
  --green: #758d70;
  --green-dark: #5d715a;
  --green-pale: #e5ebe3;
  --cream: #f0e8db;
  --cream-dark: #e7dcc7;
  --black: #000000;
  --gray: #d9d9d9;
  --white: #ffffff;

  /* --- Typographie --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Rythme --- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --section-padding: 6.5rem;
  --container-width: 1180px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

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

section[id] { scroll-margin-top: 90px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 600;
}
.eyebrow-line { margin-bottom: 0.75rem; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 42ch;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--green-dark);
}
.section-intro {
  max-width: 60ch;
  color: #3a3a38;
  font-size: 1.05rem;
  margin-bottom: 2.75rem;
}

.footnote {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #5a5a56;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-small { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-full { width: 100%; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 232, 219, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand-logo { height: 52px; width: auto; }

.main-nav {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a:hover { color: var(--green-dark); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(240,232,219,0.93) 0%, rgba(240,232,219,0.82) 45%, rgba(240,232,219,0.95) 100%),
    url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-house {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 480px;
  height: 480px;
  color: var(--green);
  opacity: 0.06;
  pointer-events: none;
}
.hero-house svg { width: 100%; height: 100%; }

.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0.75rem 0 0.5rem;
}


.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: #3a3a38;
  max-width: 56ch;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section { padding: var(--section-padding) 0; }
.section-alt { background: var(--white); }

/* ---------- Identité ---------- */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2.5rem;
}
.lead-question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.uchi-def { color: #333; margin-bottom: 1.5rem; }
.uchi-def strong { color: var(--green-dark); }

.callout {
  background: var(--green);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.98rem;
}

.values-label {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 1.25rem;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--green-dark);
}
.value-item p { font-size: 0.92rem; color: #3a3a38; }

.quote-line {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: #6a6a66;
  margin-top: 3.5rem;
  font-size: 1.05rem;
}

/* ---------- Mission ---------- */
.mission-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.mission-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--gray);
}
.mission-row:last-child { border-bottom: none; padding-bottom: 0; }
.mission-heading h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.mission-heading p { color: #4a4a46; font-style: italic; }

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.check-list li:last-child { margin-bottom: 0; }

/* ---------- Pourquoi / Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3rem;
  margin-top: 2.5rem;
}
.why-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.why-item h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.why-item p { color: #3a3a38; font-size: 0.95rem; }

.result-banner {
  margin-top: 3rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.result-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.result-arrow { font-size: 1.2rem; }
.result-text { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }

/* ---------- Méthodologie ---------- */
.methodo-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}
.methodo-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.step { display: flex; gap: 1rem; }
.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.9rem; color: #4a4a46; }

.methodo-aside {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.methodo-aside h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.methodo-aside h3:not(:first-child) { margin-top: 1.75rem; }
.objective-list li, .plain-list li {
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}
.objective-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
}
.plain-list li::before {
  content: "•";
  position: absolute;
  left: 0;
}

/* ---------- Prestations ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.service-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 1.5rem 1.75rem 1.75rem; }
.service-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-body p { font-size: 0.9rem; color: #4a4a46; }

/* ---------- Tarifs ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
}
.price-card-featured {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(93,113,90,0.25);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.price-name { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.25rem; }
.price-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.price-card-featured .price-tag { color: var(--cream); }

.price-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}
.price-value span { font-size: 1.4rem; font-weight: 500; }
.price-basis { font-size: 0.85rem; color: #5a5a56; margin-bottom: 1.75rem; }
.price-card-featured .price-basis { color: var(--cream); }

.price-list { margin-bottom: 0.5rem; }
.price-card-featured .check-list li::before { color: var(--cream); }

.price-fineprint {
  font-size: 0.78rem;
  color: #6a6a66;
  margin-top: 1rem;
  line-height: 1.5;
}
.price-card-featured .price-fineprint { color: rgba(255,255,255,0.85); }
.price-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.9);
}

.price-card-featured .btn-primary { background: var(--black); }
.price-card-featured .btn-outline { border-color: var(--white); color: var(--white); }
.price-card-featured .btn-outline:hover { background: var(--white); color: var(--green-dark); }

/* ---------- Contact / Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
  align-items: start;
}

.booking-form {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field-full { margin-top: 1.25rem; }
.form-field label { font-size: 0.85rem; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--gray);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--black);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  outline: none;
}
.form-field textarea { resize: vertical; }

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}
.form-status.success { color: var(--green-dark); font-weight: 600; }
.form-status.error { color: #b3261e; font-weight: 600; }

.contact-block { margin-bottom: 2rem; }
.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.contact-block a { color: var(--green-dark); font-weight: 600; }
.contact-block a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--cream);
  padding-top: 3.5rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-logo { height: 44px; filter: brightness(0) invert(1); margin-bottom: 0.5rem; }
.footer-brand p { font-family: var(--font-display); font-style: italic; color: var(--gray); }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a, .footer-social a { color: var(--gray); font-size: 0.9rem; }
.footer-links a:hover, .footer-social a:hover { color: var(--white); }
.footer-social { display: flex; gap: 1.25rem; }

.footer-bottom {
  border-top: 1px solid #262626;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: #8a8a86;
  text-align: center;
}
.footer-bottom a { color: #8a8a86; text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Page légale (mentions-legales.html) ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.75rem 6rem;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--green-dark);
}
.legal-page p, .legal-page li { font-size: 0.95rem; color: #333; margin-bottom: 0.6rem; }
.legal-page ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-page a { color: var(--green-dark); text-decoration: underline; }
.legal-page .back-link { display: inline-block; margin-bottom: 2rem; font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .identity-grid,
  .methodo-layout,
  .contact-layout { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .mission-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 4rem; }

  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gray);
    padding: 1.5rem 1.75rem;
    gap: 1.25rem;
  }

  .hero { padding: 4.5rem 0 3.5rem; }
  .hero-house { width: 320px; height: 320px; top: -40px; right: -80px; }

  .services-grid { grid-template-columns: 1fr; }
  .methodo-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-actions .btn-small { display: none; }
}
