:root {
  --ground: #F5F6F2;
  --ink: #12211C;
  --green: #1E4A3D;
  --tomato: #C13D25;
  --muted: #3E4C46;
  --muted-2: #4A5852;
  --line: #DDE2DA;
  --soft: #E6ECE4;
  --card: #FFFFFF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.55; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.dark { background: var(--ink); color: #fff; }
.soft { background: var(--soft); }
.brand { background: var(--green); color: #fff; }
.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.dark .eyebrow { color: #9FD3BC; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.lead { font-size: 18px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.row > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--tomato); color: #fff; }
.btn-primary:hover { background: #A63220; color: #fff; }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--ink); }

/* header */
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 24px; }
.nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-weight: 500; }
.nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav .btn { color: #fff; background: var(--green); min-height: 44px; padding: 0 18px; }

/* hero */
.hero { padding: 40px 0 72px; }
.switch-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 34rem; }
.switch button { cursor: pointer; font: inherit; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; color: var(--ink); border: 2px solid #C9D0C5; }
.switch button strong { font-size: 18px; }
.switch button span { font-size: 14px; opacity: .85; }
.switch button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; }
.hero .lead { font-size: 20px; max-width: 34rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
[data-aud] { display: none; }
body[data-view="resto"] [data-aud="resto"], body[data-view="client"] [data-aud="client"] { display: flex; }

.panel { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(18,33,28,.35); display: flex; flex-direction: column; gap: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 20px; }
.panel-head span { font-size: 14px; color: var(--muted-2); }
.plan { position: relative; height: 300px; background: #F0F2EC; border-radius: 16px; overflow: hidden; }
.plan .windows { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: #A9C7D6; }
.plan .windows-label { position: absolute; left: 18px; top: 10px; font-size: 12px; color: var(--muted-2); }
.plan .kitchen { position: absolute; right: 0; top: 0; width: 26%; height: 22%; background: #E3E6DE; border-bottom-left-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted-2); }
.table { position: absolute; transform: translateY(-50%); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; border-radius: 10px; }
.table.round { border-radius: 999px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 999px; }
.panel-foot { background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-foot small { color: #B9C9C1; font-size: 13px; }

/* cards */
.step { border: 1px solid #2E4239; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step .when { font-family: var(--display); color: #9FD3BC; font-size: 15px; }
.step h3 { font-size: 22px; }
.step p { color: #C8D5CF; }
.card { background: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 var(--line); }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); }

/* calculator */
.calc { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.calc label { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 6px; }
.calc input[type=range] { width: 100%; accent-color: var(--green); }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.result { border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: var(--ground); }
.result span { font-size: 14px; color: var(--muted-2); }
.result output { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--tomato); }
.result.good { background: var(--green); color: #fff; }
.result.good span { color: #C8D5CF; }
.result.good output { color: #fff; }
.fine { font-size: 14px; color: var(--muted-2); }

/* phone */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #fff; border-radius: 36px; border: 8px solid var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.phone h3 { font-size: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 1.5px solid var(--green); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; padding: 8px 10px; min-height: 36px; border-radius: 999px; background: #fff; color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); color: #fff; }
.dish { display: flex; gap: 12px; align-items: center; transition: opacity .2s; }
.dish.off { opacity: .3; }
.dish .ph { width: 56px; height: 56px; border-radius: 12px; background: #E3E6DE; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted-2); }
.dish strong { display: block; }
.dish small { font-size: 13px; color: var(--muted-2); }
ul.ticks { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }

/* faq */
details { background: #fff; border-radius: 16px; padding: 18px 22px; }
summary { font-weight: 600; font-size: 18px; cursor: pointer; }
details p { margin-top: 10px; color: var(--muted); }

/* contact */
.contact-card { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 0 var(--line); }
.contact-card h2 { font-size: 22px; }
.contact-card a.mail { font-size: 19px; font-weight: 600; word-break: break-all; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; color: var(--muted-2); font-size: 14px; }

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .results { grid-template-columns: 1fr; }
  .switch button strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* consent bar */
button.btn { font: inherit; cursor: pointer; background: transparent; }
button.btn-primary { background: var(--tomato); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 10px 40px -10px rgba(18,33,28,.45); display: flex; flex-direction: column; gap: 12px; z-index: 10; }
.consent[hidden] { display: none; }

/* review 2026-10-18: text links, numbered cards */
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--tomato); }
.steps-3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* coming-soon page (main branch) */
.soon { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 16px; }
.soon-card { max-width: 560px; width: 100%; background: #fff; border-radius: 24px; padding: 40px 32px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(18,33,28,.35); }
.soon h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.05; }
.soon .btn { word-break: break-all; }
@media (max-width: 560px) {
  .soon { min-height: 100svh; justify-content: space-between; align-items: stretch; gap: 32px; padding: 40px 20px 24px; }
  .soon-card { background: transparent; box-shadow: none; padding: 0; gap: 20px; margin: auto 0; }
  .soon h1 { font-size: 44px; }
  .soon .lead { font-size: 18px; }
  .soon .btn { width: 100%; font-size: 16px; padding: 0 16px; }
  .soon .fine { text-align: center; }
}
