/* =============================================
   RECYTECH CIRCULAR — THÈME A « BLANC ABSOLU »
   Blanc, noir, Inter, filets fins, pilules fines.
   Remplace style.css + entreprises.css + dyson.css
   ============================================= */

:root {
  --ink: #111;
  --text: #444;
  --muted: #888;
  --faint: #aaa;
  --line: #eaeaea;
  --line-strong: #d6d6d6;
  --bg: #fff;
  --bg-soft: #fafafa;
  --sans: Inter, -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; color: var(--ink); }

/* ---------- NAVIGATION ---------- */
nav.pro-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  height: 68px; padding: 0 48px;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.pro-nav .brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.pro-nav .wordmark { font-weight: 600; font-size: 17px; letter-spacing: -.3px; color: var(--ink); }
.pro-nav .pro-tag { font-size: 13px; color: var(--muted); font-weight: 400; }
.pro-nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
.pro-nav ul a { text-decoration: none; font-size: 14px; color: #666; transition: color .2s; }
.pro-nav ul a:hover { color: var(--ink); }

/* ---------- BOUTONS (pilules fines) ---------- */
.btn-primary, .btn-secondary, .btn-white, .nav-cta {
  display: inline-block; text-decoration: none; cursor: pointer; font-family: var(--sans);
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: -.1px;
  padding: 14px 28px; border-radius: 40px; background: transparent;
  transition: border-color .25s, background .25s, color .25s;
}
.btn-primary { border: 1px solid var(--ink); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-secondary { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-white { border: 1px solid var(--ink); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.pro-nav ul a.nav-cta { padding: 10px 20px; border: 1px solid var(--ink); color: var(--ink); font-size: 13px; }
.pro-nav ul a.nav-cta:hover { background: var(--ink); color: #fff; }
button.btn-primary { width: auto; }

/* ---------- EN-TÊTES ---------- */
.eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.pro-hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 96px 48px 80px;
}
.pro-hero h1 { font-size: 52px; line-height: 1.06; letter-spacing: -1.8px; margin-bottom: 22px; }
.pro-hero h1 em { font-style: normal; color: var(--faint); }
.pro-hero .lead { font-size: 17px; color: #666; line-height: 1.7; margin-bottom: 32px; max-width: 600px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; margin-top: 32px; display: grid; gap: 10px; font-size: 14px; color: #666; }
.hero-points li::before { content: "—"; color: var(--faint); margin-right: 12px; }

.page-header { max-width: 1200px; margin: 0 auto; padding: 88px 48px 56px; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: 46px; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 16px; }
.page-header p { font-size: 17px; color: #666; max-width: 640px; line-height: 1.7; }

.crumbs { max-width: 1200px; margin: 0 auto; padding: 20px 48px 0; font-size: 12px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- CARTE PRIX ---------- */
.price-card { border: 1px solid var(--line); border-radius: 6px; padding: 36px 32px; background: var(--bg); }
.price-card .pc-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.price-card .pc-price { font-size: 64px; font-weight: 500; letter-spacing: -2.5px; line-height: 1; }
.price-card .pc-price small { font-size: 18px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price-card .pc-unit { font-size: 14px; color: var(--muted); margin: 10px 0 24px; }
.price-card ul { list-style: none; display: grid; gap: 0; font-size: 14px; color: var(--text); margin-bottom: 24px; }
.price-card ul li { padding: 11px 0; border-top: 1px solid var(--line); }
.price-card ul li strong { float: right; font-weight: 500; color: var(--ink); }
.price-card .btn-white { display: block; text-align: center; }
.calc { border-top: 1px solid var(--line); padding-top: 18px; }
.calc label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 10px; }
.calc-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-row span { color: var(--faint) !important; }
.calc input { width: 90px; padding: 10px 14px; border-radius: 40px; border: 1px solid var(--line-strong); font: 500 15px var(--sans); color: var(--ink); background: #fff; outline: none; }
.calc input:focus { border-color: var(--ink); }
.calc output { font-size: 20px; font-weight: 500; letter-spacing: -.5px; }
.calc .calc-note { font-size: 12px; color: var(--faint); margin-top: 10px; }

/* ---------- CHIFFRES ---------- */
.pro-band { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pro-band div { padding: 40px 20px; text-align: center; }
.pro-band strong { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.8px; margin-bottom: 6px; }
.pro-band span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }

/* ---------- SECTIONS ---------- */
.pro-section { max-width: 1200px; margin: 0 auto; padding: 96px 48px; }
.pro-section.alt { border-top: 1px solid var(--line); }
.pro-section h2 { font-size: 36px; line-height: 1.12; letter-spacing: -1.1px; margin-bottom: 14px; }
.pro-section .intro { font-size: 16px; color: #666; line-height: 1.7; max-width: 720px; margin-bottom: 44px; }
.pro-section p, .pro-section li { line-height: 1.7; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 56px; font-size: 28px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p { font-size: 16px; color: var(--text); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: var(--text); font-size: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- CARTES ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-3 > .card, .grid-4 > .card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px 28px; }
.card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.3px; }
.card p { font-size: 14px; color: #666; margin: 0; line-height: 1.65; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 22px; }
.card .ico { display: none; }
.card.dark { background: #fff; color: var(--ink); border-color: var(--line); }
.card.dark h3, .card.dark p { color: inherit; } .card.dark p { color: #666; }
a.card { text-decoration: none; transition: border-color .25s; }
a.card:hover { border-color: var(--ink); }
.side-cards .card { padding: 24px; }

.cond { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cond ul { list-style: none; display: grid; gap: 0; font-size: 15px; color: var(--text); margin-top: 6px; }
.cond ul li { padding: 11px 0; border-top: 1px solid var(--line); }
.cond ul li:first-child { border-top: 0; }
.cond .yes li::before { content: "✓"; margin-right: 12px; color: var(--ink); }
.cond .no li::before { content: "—"; margin-right: 12px; color: var(--faint); }
.card.dark ul.yes li { color: var(--text) !important; }

/* Protocole */
.proto { list-style: none; counter-reset: s; max-width: 820px; }
.proto li { counter-increment: s; position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); }
.proto li:last-child { border-bottom: 1px solid var(--line); }
.proto li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.proto h3 { font-size: 17px; margin-bottom: 4px; }
.proto p { font-size: 15px; color: #666; margin: 0; }

/* Zones / liens en pilules */
.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zones[style] { grid-template-columns: none !important; }
.zone { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 40px; padding: 11px 20px; transition: border-color .25s; }
.zone:hover { border-color: var(--ink); }
.zone strong { font-size: 14px; font-weight: 500; }
.zone span { font-size: 12px; color: var(--faint); }
.cities { columns: 3; column-gap: 32px; list-style: none; font-size: 15px; color: var(--text); }
.cities li { break-inside: avoid; padding: 9px 0; border-top: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 820px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 500; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 15px; color: #666; padding: 0 36px 22px 0; margin: 0; }

/* ---------- TABLEAU DE PRIX ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tarifs { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tarifs th, .tarifs td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
.tarifs thead th { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--ink); }
.tarifs th:first-child { text-align: left; padding-left: 0; }
.tarifs tbody th { font-weight: 400; max-width: 360px; }
.tarifs tbody th strong { display: block; font-weight: 500; color: var(--ink); }
.tarifs tbody th small { display: block; font-size: 12px; color: var(--faint); margin-top: 4px; line-height: 1.45; }
.tarifs td { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tarifs tr.phare strong::after { content: "Recommandé"; margin-left: 10px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--ink); padding: 2px 8px; border-radius: 20px; vertical-align: 2px; font-weight: 500; }
.table-note { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.6; }

/* ---------- FORMULAIRES ---------- */
.devis { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.form-card { background: #fff; }
.form-card h2 { font-size: 32px; margin-bottom: 8px; }
.form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.form-group { margin-bottom: 22px; }
.form-group > label, .form-group > label:first-child { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 8px;
  font: 400 15px var(--sans); color: var(--ink); background: #fff; outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #666; margin-bottom: 26px; line-height: 1.55; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border: 1px solid #e5b4ae; color: #8a1f11; background: #fdf6f5; font-size: 14px; padding: 12px 16px; border-radius: 8px; margin-bottom: 22px; display: none; }
.form-error.show { display: block; }
.form-card button.btn-primary { width: 100% !important; padding: 16px !important; font-size: 15px !important; }
.side-cards { display: grid; gap: 14px; }
.side-cards a { color: var(--ink) !important; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-strong); border-radius: 40px; padding: 12px 18px; cursor: pointer; font-size: 14px; font-weight: 400 !important; margin: 0 !important; transition: border-color .2s; }
.seg label:has(input:checked) { border-color: var(--ink); }
.seg input { accent-color: var(--ink); width: 15px; height: 15px; }

/* ---------- APPEL FINAL ---------- */
.cta-band { max-width: 1200px; margin: 0 auto; padding: 88px 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: 32px; letter-spacing: -1px; }
.cta-band p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------- CERTIFICAT ---------- */
.cert { border: 1px solid var(--line); border-radius: 6px; padding: 28px; font-size: 14px; color: var(--text); max-width: 560px; }
.cert dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; }
.cert dt { color: var(--faint); }
.cert dd { font-weight: 500; margin: 0; word-break: break-word; color: var(--ink); }
.cert .stamp { display: inline-block; margin-top: 20px; border: 1px solid var(--ink); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 30px; }

/* ---------- PIED DE PAGE ---------- */
footer { border-top: 1px solid var(--line); margin-top: 0; padding: 64px 48px 32px; font-size: 13px; color: var(--muted); }
.footer-grid { max-width: 1200px; margin: 0 auto 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo-footer { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 12px; letter-spacing: -.3px; }
.footer-brand .logo-footer span { font-weight: 400; color: var(--muted); }
.footer-brand p { color: var(--muted); line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); }
.footer-bottom a { color: var(--faint); text-decoration: none; } .footer-bottom a:hover { color: var(--ink); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pro-hero { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .devis { grid-template-columns: 1fr; }
  .pro-nav ul { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  nav.pro-nav { padding: 0 20px; height: 60px; }
  .pro-nav ul li:not(:last-child) { display: none; }
  .pro-nav .pro-tag { display: none; }
  .pro-hero { padding: 56px 20px 48px; }
  .pro-hero h1 { font-size: 36px; letter-spacing: -1.1px; }
  .page-header { padding: 56px 20px 40px; }
  .page-header h1 { font-size: 34px; }
  .crumbs { padding: 16px 20px 0; }
  .pro-section { padding: 64px 20px; }
  .pro-section h2 { font-size: 28px; }
  .grid-3, .cond { grid-template-columns: 1fr; }
  .pro-band { grid-template-columns: repeat(2, 1fr); }
  .cities { columns: 2; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-band { padding: 64px 20px; }
  footer { padding: 48px 20px 28px; }
  .cert dl { grid-template-columns: 1fr; gap: 2px; } .cert dd { margin-bottom: 10px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .cities { columns: 1; }
  .seg { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-card .pc-price { font-size: 52px; }
  .pro-nav ul a.nav-cta { padding: 9px 14px; font-size: 12px; }
}
