/* ============================================================
   Le 38-40 — « Convivial »
   UX/UI chaleureuse : rythme éditorial (sections alternées),
   formes très arrondies, ombres douces, palette terre & crème.
   ============================================================ */
:root {
  --bg: #faf3e8;            /* crème chaud */
  --surface: #fffaf1;
  --surface-2: #f3e8d7;
  --ink: #33261d;           /* brun chaud profond */
  --ink-soft: #7d6a5b;
  --line: #ecdfcd;
  --accent: #c96b41;        /* terre cuite */
  --accent-d: #b0562f;
  --olive: #6f7d5a;         /* olive doux */
  --sand: #e6b877;          /* sable doré */
  --radius: 22px;
  --radius-lg: 34px;
  --radius-pill: 100px;
  --shadow-sm: 0 10px 26px -16px rgba(120,70,40,.4);
  --shadow: 0 34px 66px -30px rgba(120,70,40,.42);
  --maxw: 1180px;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Newsreader', Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--accent); margin-bottom: .8rem; }
.sec-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .96rem; padding: .95rem 1.7rem; border-radius: var(--radius-pill); cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 28px -12px rgba(201,107,65,.6); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, box-shadow .3s, padding .3s; padding: 1.1rem 0; }
.nav.scrolled { background: rgba(250,243,232,.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding: .55rem 0; }
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 52px; width: auto; transition: height .3s; }
.nav.scrolled .nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a.nl { font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a.nl:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff; padding: .62rem 1.25rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; transition: .2s; }
.nav-cta:hover { background: var(--accent-d); transform: translateY(-2px); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; z-index: 70; }
.burger span { width: 25px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding-top: 6.5rem; }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: 2rem 0 3rem; }
.hero-text h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 1.2rem; }
.hero-text h1 em { font-style: italic; color: var(--accent); }
.hero-text .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img .ph { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/6; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -1.2rem; bottom: 1.6rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem 1.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.hero-badge .b-label { font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.hero-badge .b-num { font-family: var(--display); font-size: 2rem; color: var(--accent); line-height: 1.05; }
.hero-badge small { color: var(--ink-soft); font-size: .82rem; margin-top: .15rem; }
.hero-deco { position: absolute; right: -1.4rem; top: -1.4rem; width: 110px; height: 110px; background: var(--sand); border-radius: 50%; z-index: -1; opacity: .55; }

/* ===== Bande de pastilles ===== */
.pills { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; padding-bottom: 1rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .6rem 1.2rem; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.pill b { color: var(--accent); }

/* ===== Lignes éditoriales alternées ===== */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.row + .row { margin-top: clamp(3rem, 6vw, 5.5rem); }
.row-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.row.rev .row-img { order: 2; }
.row-text .num { font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.row-text h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .3rem 0 .8rem; }
.row-text p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.row-text ul { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.row-text li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.row-text li::before { content: '✓'; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.price-tag { display: inline-flex; align-items: baseline; gap: .4rem; background: var(--ink); color: #fff; border-radius: var(--radius-pill); padding: .5rem 1.1rem; font-weight: 600; }
.price-tag b { font-family: var(--display); font-size: 1.4rem; }

/* ===== Services (chips) ===== */
.amen { background: var(--surface-2); }
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.5rem; }
.amen-card { background: var(--surface); border-radius: var(--radius); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-sm); transition: transform .3s; }
.amen-card:hover { transform: translateY(-5px); }
.amen-card .ic { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.4rem; background: var(--accent); color: #fff; border-radius: 50%; }
.amen-card h4 { font-family: var(--font); font-weight: 700; font-size: 1.02rem; margin-bottom: .2rem; }
.amen-card p { color: var(--ink-soft); font-size: .88rem; }

/* ===== Galerie ===== */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 1rem; margin-top: 2.5rem; }
.gal a { border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; box-shadow: var(--shadow-sm); position: relative; }
.gal a::after { content: ''; position: absolute; inset: 0; background: rgba(51,38,29,0); transition: .3s; }
.gal a:hover::after { background: rgba(51,38,29,.18); }
.gal .big { grid-column: span 2; grid-row: span 2; }
.gal .wide { grid-column: span 2; }

/* ===== Emplacement ===== */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.loc-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); background: var(--surface); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-list { list-style: none; display: grid; gap: .7rem; margin: 1.3rem 0 1.8rem; }
.loc-list li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.loc-list li::before { content: '📍'; position: absolute; left: 0; }

/* ===== Avis ===== */
.avis { background: var(--surface-2); }
.avis-badge { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; padding: 1rem 1.8rem; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); }
.avis-badge .ab-score { font-family: var(--display); font-size: 3.2rem; font-weight: 600; line-height: 1; color: var(--olive); }
.avis-badge .ab-info { display: flex; flex-direction: column; gap: .15rem; }
.avis-badge .stars { color: #f5a300; font-size: 1.9rem; line-height: 1; letter-spacing: .08em; }
.avis-badge small { color: var(--ink-soft); }
.avis-badge:hover { box-shadow: var(--shadow); }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.avis-card { background: var(--surface); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.avis-card .quote { font-family: var(--display); font-size: 3rem; line-height: .5; color: var(--sand); }
.avis-card .stars { color: #e8a317; letter-spacing: .15em; font-size: 1.1rem; }
.avis-card p { margin: .6rem 0 1.2rem; }
.avis-card footer { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.avis-card .av { width: 44px; height: 44px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.avis-card small { color: var(--ink-soft); display: block; }

/* ===== Contact ===== */
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.cc-left { padding: clamp(2rem,4vw,3.4rem); }
.cc-left h2 { color: #fff; font-size: clamp(1.8rem,3.4vw,2.7rem); margin-bottom: .7rem; }
.cc-left p { color: rgba(255,255,255,.75); margin-bottom: 1.4rem; }
.c-info { list-style: none; display: grid; gap: .9rem; }
.c-info li { color: rgba(255,255,255,.92); line-height: 1.5; }
.c-info strong { color: #fff; font-weight: 600; }
.c-info .c-sub { color: rgba(255,255,255,.6); font-size: .9em; }
.c-info a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.cc-right { padding: clamp(2rem,4vw,3.4rem); background: rgba(255,255,255,.04); }
.field { position: relative; margin-bottom: 1rem; }
.field input, .field select, .field textarea { width: 100%; padding: .95rem 1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-family: inherit; font-size: 1rem; transition: .2s; }
.field textarea { resize: vertical; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); background: rgba(255,255,255,.1); }
.field label { position: absolute; left: 1rem; top: .95rem; color: rgba(255,255,255,.5); pointer-events: none; transition: .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: -.55rem; left: .7rem; font-size: .7rem; background: var(--ink); padding: 0 .4rem; color: var(--sand); }
.form-success { display: none; color: var(--sand); font-weight: 600; text-align: center; margin-top: .9rem; }
.form-success.show { display: block; }
.form-error { display: none; color: #ffb4a2; font-weight: 500; text-align: center; margin-top: .9rem; }
.form-error.show { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: rgba(255,255,255,.72); line-height: 1.5; margin: .1rem 0 1.1rem; }
.consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.consent a { color: var(--sand); text-decoration: underline; }

/* ===== Pages légales ===== */
.nav--solid { position: static; background: var(--surface); box-shadow: 0 1px 0 var(--line); padding: .9rem 0; }
.nav--solid .nl { color: var(--ink-soft); font-weight: 600; }
.legal { max-width: 800px; margin: 0 auto; padding: 3rem 1.3rem 4rem; }
.legal h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.4rem; }
.legal h2 { font-family: var(--display); font-size: 1.4rem; margin: 2.1rem 0 .6rem; color: var(--accent-d); }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .8rem; }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--accent-d); text-decoration: underline; }
.legal-back { margin-top: 2.4rem; font-weight: 600; }

/* ===== Footer ===== */
.ft { padding: 2.6rem 0; }
.ft-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.ft img { height: 74px; }
.ft-links { display: flex; gap: 1.4rem; }
.ft-links a { color: var(--ink-soft); font-size: .92rem; }
.ft-links a:hover { color: var(--accent); }
.ft-copy { width: 100%; text-align: center; border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 1.6rem; color: var(--ink-soft); font-size: .84rem; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-img { order: -1; }
  .row { grid-template-columns: 1fr; gap: 1.8rem; }
  .row.rev .row-img { order: 0; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .loc, .contact-card { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal .big, .gal .wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; background: var(--bg); padding: 2.5rem 2rem; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow); z-index: 65; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a.nl { font-size: 1.15rem; }
  .burger { display: flex; }
  .hero-badge { left: 0; }
}
@media (max-width: 540px) {
  .amen-grid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .gal .big, .gal .wide { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
