/* ========================================
   renovation-ile-de-france.fr — Trust Pro
   ======================================== */

:root {
  --primary: #003e7e;
  --primary-dark: #002952;
  --primary-light: #0056b3;
  --accent: #ff6b35;
  --accent-hover: #e55020;
  --accent-soft: #ffe4d6;
  --success: #4ade80;
  --success-dark: #16a34a;
  --warn: #f59e0b;
  --warn-bg: #fef3c7;
  --danger: #ef4444;
  --info: #0ea5e9;
  --info-bg: #e0f2fe;
  --ink: #1a1a1a;
  --text: #333333;
  --muted: #6b6b6b;
  --light: #999999;
  --bg: #fafafa;
  --paper: #ffffff;
  --rule: #e5e5e5;
  --rule-light: #f0f0f0;
  --highlight: #fff9f5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }

.topbar { background: var(--primary); color: white; padding: 10px 0; font-size: 13px; font-weight: 500; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: white; text-decoration: none; }
.topbar span:first-child::before { content: "✓ "; color: var(--success); font-weight: bold; margin-right: 4px; }

header.main-nav { background: white; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: -0.5px; display: inline-flex; align-items: center; }
.logo span { background: var(--accent); color: white; padding: 3px 10px; border-radius: 4px; margin-left: 6px; font-size: 14px; font-weight: 800; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 14.5px; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: all 0.2s; }
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--accent); }
.nav-cta { background: var(--accent); color: white !important; padding: 11px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 14px; transition: all 0.2s; box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25); }
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35); }
@media (max-width: 968px) { .nav-links { display: none; } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
main { padding: 0 0 80px; }

.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; padding: 70px 0 60px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50%; right: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; max-width: 700px; color: white; }
.hero h1 .accent, .hero h1 span:not(.logo span) { color: var(--accent); }
.hero .deck { font-size: 18px; color: rgba(255,255,255,0.92); margin-bottom: 30px; max-width: 600px; line-height: 1.5; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.trust-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: white; }
.trust-icon { width: 32px; height: 32px; background: rgba(255,107,53,0.25); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-weight: bold; flex-shrink: 0; }

.kicker { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; display: inline-block; }

.stats-bar { background: white; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.stat { text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 500; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .stat-num { font-size: 32px; } }

h1 { font-size: 40px; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; color: var(--ink); font-weight: 800; }
h2 { font-size: 30px; line-height: 1.25; letter-spacing: -0.5px; margin: 50px 0 18px; color: var(--ink); font-weight: 700; }
h3 { font-size: 22px; margin: 32px 0 12px; color: var(--primary); font-weight: 700; }
h4 { font-size: 18px; margin: 22px 0 8px; font-weight: 700; color: var(--ink); }
p { margin-bottom: 16px; }
p strong { color: var(--ink); font-weight: 700; }
a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--accent); }
ul, ol { padding-left: 24px; margin-bottom: 20px; }
li { margin: 8px 0; }
blockquote { border-left: 4px solid var(--accent); margin: 24px 0; padding: 12px 24px; font-style: italic; color: var(--muted); font-size: 18px; background: var(--highlight); }
.byline { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 32px; }
.byline a { color: var(--primary); text-decoration: none; font-weight: 600; }

.takeaways { background: var(--info-bg); border: 1px solid #bae6fd; border-left: 4px solid var(--info); padding: 24px 28px; border-radius: 12px; margin: 32px 0; }
.takeaways h4 { color: var(--info); margin: 0 0 14px; text-transform: uppercase; font-size: 12px; letter-spacing: 2px; font-weight: 700; }
.takeaways ul { margin-bottom: 0; padding-left: 20px; }
.takeaways li { font-size: 15px; color: var(--text); }

.cta-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 16px; padding: 40px; margin: 40px 0; text-align: center; color: white; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 62, 126, 0.2); }
.cta-box::before { content: ""; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%); }
.cta-box h3 { color: white; font-size: 28px; margin-top: 0; margin-bottom: 12px; font-weight: 800; position: relative; letter-spacing: -0.5px; }
.cta-box p { color: rgba(255,255,255,0.92); font-size: 16px; margin-bottom: 24px; position: relative; }
.cta-box .btn { position: relative; }

.btn { display: inline-block; padding: 14px 28px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 6px; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: white !important; box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4); color: white; }
.btn-secondary { background: white; color: var(--primary); border: 2px solid white; }
.btn-secondary:hover { background: rgba(255,255,255,0.9); color: var(--primary); }
.btn-large { padding: 16px 32px; font-size: 16px; }

.leadrs-form { margin: 40px 0; background: white; border-radius: 16px; padding: 28px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); border: 1px solid var(--rule); }
.leadrs-form-header { text-align: center; margin-bottom: 16px; }
.leadrs-form-header h3 { margin-top: 0; color: var(--primary); }
.leadrs-form iframe { width: 100%; border: none; border-radius: 8px; background: transparent; min-height: 600px; }

table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
th { background: var(--primary); color: white; text-align: left; padding: 14px 16px; font-weight: 700; font-size: 14px; letter-spacing: 0.3px; }
td { padding: 14px 16px; border-bottom: 1px solid var(--rule-light); vertical-align: top; color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--highlight); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 32px 0; }
.card { background: white; border: 1px solid var(--rule); border-radius: 12px; padding: 28px; transition: all 0.2s; text-decoration: none; color: var(--text); display: block; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); color: var(--text); }
.card-kicker { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.card h3 { color: var(--primary); font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; line-height: 1.55; }

.info-box { background: var(--info-bg); border-left: 4px solid var(--info); padding: 20px 24px; border-radius: 10px; margin: 24px 0; }
.warn-box { background: var(--warn-bg); border-left: 4px solid var(--warn); padding: 20px 24px; border-radius: 10px; margin: 24px 0; }
.success-box { background: #f0fdf4; border-left: 4px solid var(--success-dark); padding: 20px 24px; border-radius: 10px; margin: 24px 0; }

.faq-item { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.faq-item h4 { margin: 0 0 10px; font-size: 18px; color: var(--primary); font-weight: 700; }
.faq-item p { margin-bottom: 0; }

.toc { background: white; border: 1px solid var(--rule); border-radius: 12px; padding: 24px; margin: 32px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.toc-title { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.toc ul { list-style: none; padding-left: 0; margin-bottom: 0; columns: 2; column-gap: 32px; }
.toc li { margin: 6px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; border-bottom: 1px dotted var(--muted); }
.toc a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 600px) { .toc ul { columns: 1; } }

.author-box { background: white; border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 12px; padding: 24px; margin: 40px 0; display: flex; gap: 20px; align-items: flex-start; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; flex-shrink: 0; }
.author-info h4 { margin: 0 0 6px; font-size: 18px; color: var(--primary); }
.author-info p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.author-info .credential { display: inline-block; background: var(--accent-soft); color: var(--accent-hover); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }

.sources { background: white; border: 1px solid var(--rule); border-radius: 10px; padding: 20px 24px; margin: 30px 0; font-size: 14px; }
.sources h4 { margin: 0 0 10px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: var(--muted); font-weight: 700; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li { margin: 4px 0; color: var(--muted); }

.breadcrumbs { font-size: 13px; color: var(--muted); margin: 20px 0 24px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; color: var(--light); }

.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); color: white; padding: 14px 20px; text-align: center; font-weight: 700; text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,0.2); z-index: 99; font-size: 15px; }
.sticky-cta:hover { background: var(--accent-hover); color: white; }
@media (max-width: 768px) { .sticky-cta { display: block; } main { padding-bottom: 80px; } }

footer { background: var(--primary-dark); color: white; padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 { text-transform: uppercase; font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; color: var(--accent); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 8px 0; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.6); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

footer .logo { font-size: 24px; font-weight: 800; color: white !important; display: inline-flex; align-items: center; }
footer .logo span { background: var(--accent); color: white; padding: 3px 10px; border-radius: 4px; margin-left: 6px; font-size: 14px; }

.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-hover); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin: 2px; }

@media (max-width: 768px) { .hero h1 { font-size: 34px; } .hero .deck { font-size: 17px; } .cta-box { padding: 28px 20px; } .cta-box h3 { font-size: 24px; } }
@media (max-width: 600px) { h1 { font-size: 30px; } h2 { font-size: 24px; } h3 { font-size: 20px; } body { font-size: 15px; } .container { padding: 0 16px; } .container-narrow { padding: 0 16px; } }
