@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

:root {
  --white:       #FFFFFF;
  --bg:          #FAFAFA;
  --bg-2:        #F4F1F0;
  --bg-card:     #FFFFFF;

  /* Deep crimson/mahogany ink palette */
  --ink:         #100007;
  --ink-2:       #200116;
  --ink-3:       #2D0605;
  --muted:       #7a5060;
  --muted-2:     #b08090;

  /* Primary brand accent — Crimson Violet */
  --gold:        #4C0827;
  --gold-light:  #7a1040;
  --gold-pale:   #f9eef2;
  --gold-border: rgba(76,8,39,0.18);

  --blue-pale:   #f0eaf2;
  --blue:        #4C0827;

  --border:      rgba(76,8,39,0.10);

  /* Legacy aliases */
  --noir-1:      var(--ink);
  --noir-2:      var(--bg-2);
  --noir-3:      var(--bg);
  --noir-4:      var(--bg);
  --blanc:       var(--ink);
  --blanc-2:     var(--ink-2);
  --gris:        var(--muted);
  --gris-clair:  var(--ink-3);
  --font-title:   'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:      10px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --transition:  all 0.28s cubic-bezier(0.22,0.61,0.36,1);
  --shadow-sm:   0 1px 8px rgba(76,8,39,0.07);
  --shadow-md:   0 6px 28px rgba(76,8,39,0.11);
  --shadow-lg:   0 18px 54px rgba(76,8,39,0.15);
  --shadow-gold: 0 8px 28px rgba(76,8,39,0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 98px; /* topbar 36px + navbar ~62px */
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
::selection { background: var(--gold-pale); color: var(--ink); }

h1,h2,h3,h4,h5 { font-family: var(--font-title); font-weight: 600; line-height: 1.18; color: var(--ink); }
h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.7rem,3.2vw,2.6rem); }
h3 { font-size: clamp(1.05rem,2vw,1.35rem); }
p  { color: var(--ink-3); line-height: 1.88; font-size: 0.97rem; }
a  { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--ink); }

.container    { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 760px;  margin: 0 auto; padding: 0 2rem; }
section { padding: 88px 0; position: relative; }

/* LABELS */
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-title); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem;
}
.section-label::before { content:''; display:block; width:20px; height:2px; background:var(--gold); border-radius:2px; flex-shrink:0; }

/* NAVBAR — voir bloc complet "NAVBAR REFONTE" plus bas */

/* BOUTONS */
.btn { display:inline-flex; align-items:center; gap:0.5rem; padding:0.82rem 1.9rem; font-family:var(--font-title); font-size:0.85rem; font-weight:600; border:none; cursor:pointer; transition:var(--transition); border-radius:var(--radius); white-space:nowrap; line-height:1; }
.btn-primary { background:var(--ink); color:var(--white); }
.btn-primary:hover { background:var(--ink-2); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-gold { background:var(--gold); color:var(--white); }
.btn-gold:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:var(--shadow-gold); }
.btn-outline { background:transparent; color:var(--ink); border:1.5px solid var(--border); }
.btn-outline:hover { border-color:var(--ink); background:var(--ink); color:var(--white); transform:translateY(-2px); }
.btn-outline-gold { background:transparent; color:var(--gold); border:1.5px solid var(--gold-border); }
.btn-outline-gold:hover { background:var(--gold); color:var(--white); }

/* ====== HERO ====== */
.hero { min-height:100vh; display:grid; grid-template-columns:55% 45%; padding-top:0; padding-bottom:0; overflow:hidden; background:var(--white); }
.hero-left { display:flex; flex-direction:column; justify-content:center; padding:5rem 4rem 5rem 0; position:relative; z-index:2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0;
  margin-bottom: 2rem; width: fit-content;
  position: relative;
}
.hero-badge-flag {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1rem 0.45rem 1.1rem;
  border-radius: 6px 0 0 6px;
  display: flex; align-items: center; gap: 0.5rem;
  position: relative;
}
.hero-badge-flag::after {
  content: '';
  position: absolute; right: -8px; top: 0; bottom: 0;
  width: 16px;
  background: var(--ink);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.hero-badge-year {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.9rem 0.45rem 1.2rem;
  border-radius: 0 6px 6px 0;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(1.7)} }

.hero h1 { margin-bottom:0.4rem; }
.hero-typed-wrap { min-height:1.25em; color:var(--gold); display:block; }
.typed-cursor { display:inline-block; width:3px; height:0.8em; background:var(--gold); margin-left:3px; vertical-align:middle; border-radius:2px; animation:blink 0.9s step-end infinite; }
@keyframes blink { 50%{opacity:0} }

.hero-desc { font-size:1.05rem; color:var(--ink-3); max-width:500px; margin:1.6rem 0 2.2rem; line-height:1.9; }
.hero-actions { display:flex; gap:0.8rem; flex-wrap:wrap; margin-bottom:3rem; }

.hero-trust { display:flex; gap:1.8rem; padding-top:2rem; border-top:1px solid var(--border); flex-wrap:wrap; }
.hero-trust-item { display:flex; align-items:center; gap:0.5rem; font-family:var(--font-title); font-size:0.78rem; font-weight:500; color:var(--ink-3); }
.hero-trust-item svg { color:var(--gold); flex-shrink:0; }

.hero-right { position:relative; overflow:hidden; }
.hero-right-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; }
.hero-right-overlay { position:absolute; inset:0; background:linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,0.2) 35%, transparent 60%); z-index:1; }

.hero-float-card { position:absolute; bottom:2.5rem; left:2rem; z-index:3; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.4rem 1.8rem; box-shadow:var(--shadow-lg); display:flex; gap:2rem; }
.hfc-item { text-align:center; }
.hfc-num { font-family:var(--font-title); font-size:1.7rem; font-weight:700; color:var(--ink); display:block; }
.hfc-label { font-size:0.72rem; color:var(--muted); margin-top:0.1rem; }

/* TRUST BAR */
.trust-bar { background:var(--white); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:0; overflow:hidden; position:relative; }
.trust-bar::before,
.trust-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }
.trust-bar-track {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
  padding: 1.2rem 0;
}
.trust-bar-track:hover { animation-play-state: paused; }
@keyframes trust-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-bar-item { display:flex; align-items:center; gap:0.55rem; font-family:var(--font-title); font-size:0.78rem; font-weight:500; color:var(--ink-3); white-space:nowrap; padding: 0 2.5rem; border-right: 1px solid var(--border); }
.trust-bar-item:last-child { border-right: none; }
.trust-bar-item svg { color:var(--gold); flex-shrink:0; }

/* SIMULATEUR */
.sim-section { background:var(--bg-2); }
.sim-wrapper { display:grid; grid-template-columns:1.1fr 0.9fr; gap:3.5rem; align-items:start; }
.sim-form-box { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-xl); padding:2.5rem; box-shadow:var(--shadow-sm); }
.sim-form-box h3 { margin-bottom:0.4rem; }
.sim-form-box > p { margin-bottom:2rem; font-size:0.9rem; }

.form-group { margin-bottom:1.8rem; }
.form-group label { display:block; font-family:var(--font-title); font-size:0.7rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-3); margin-bottom:0.7rem; }
.range-display { font-family:var(--font-title); font-size:1.9rem; font-weight:700; color:var(--ink); text-align:center; margin-bottom:0.6rem; }
input[type="range"] { -webkit-appearance:none; width:100%; height:4px; background:var(--bg-2); border-radius:2px; outline:none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance:none; width:20px; height:20px; background:var(--gold); border-radius:50%; cursor:pointer; border:3px solid var(--white); box-shadow:0 2px 8px rgba(184,136,42,0.35); transition:var(--transition); }
input[type="range"]::-webkit-slider-thumb:hover { transform:scale(1.15); }
.range-labels { display:flex; justify-content:space-between; font-size:0.72rem; color:var(--muted); margin-top:0.4rem; }

.sim-results { display:flex; flex-direction:column; gap:1.2rem; }
.sim-result-item { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.5rem 1.8rem; display:flex; justify-content:space-between; align-items:center; transition:var(--transition); }
.sim-result-item:hover { border-color:var(--gold-border); box-shadow:var(--shadow-sm); }
.sim-result-item.primary { background:var(--ink); border-color:var(--ink); }
.sim-result-label { font-family:var(--font-title); font-size:0.78rem; font-weight:500; color:var(--ink-3); }
.sim-result-item.primary .sim-result-label { color:rgba(255,255,255,0.65); }
.sim-result-value { font-family:var(--font-title); font-size:1.55rem; font-weight:700; color:var(--ink); }
.sim-result-item.primary .sim-result-value { color:var(--white); }
.sim-cta-box { background:var(--gold-pale); border:1px solid var(--gold-border); border-radius:var(--radius-lg); padding:1.8rem 2rem; text-align:center; }
.sim-cta-box h4 { font-family:var(--font-title); font-size:1.1rem; margin-bottom:0.4rem; }
.sim-cta-box p { font-size:0.85rem; margin-bottom:1.3rem; }

/* PRODUITS */
.products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.product-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:var(--transition); display:flex; flex-direction:column; }
.product-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--gold-border); }
.product-card-img { height:185px; overflow:hidden; position:relative; }
.product-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.product-card:hover .product-card-img img { transform:scale(1.05); }
.product-card-body { padding:1.5rem; flex:1; display:flex; flex-direction:column; }
.product-card-icon { width:38px; height:38px; background:var(--gold-pale); border-radius:9px; display:flex; align-items:center; justify-content:center; margin-bottom:0.9rem; color:var(--gold); }
.product-tag { display:inline-block; background:var(--blue-pale); color:var(--blue); font-family:var(--font-title); font-size:0.63rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:0.2rem 0.6rem; border-radius:4px; margin-bottom:0.7rem; }
.product-card h3 { margin-bottom:0.5rem; }
.product-card p { font-size:0.84rem; margin-bottom:1.1rem; flex:1; }
.product-rate { font-family:var(--font-title); font-size:1.25rem; font-weight:700; color:var(--gold); margin-bottom:1.1rem; }
.product-rate span { font-family:var(--font-body); font-size:0.75rem; color:var(--muted); font-weight:400; }

/* LEAD FORM */
.lead-section { background:var(--bg-2); }
.lead-wrapper { display:grid; grid-template-columns:1fr 1.25fr; gap:5rem; align-items:center; }
.lead-info h2 { margin-bottom:1rem; }
.lead-info > p { margin-bottom:2rem; }
.trust-list { display:flex; flex-direction:column; gap:1rem; }
.trust-list-item { display:flex; align-items:flex-start; gap:0.9rem; font-size:0.88rem; color:var(--ink-3); }
.trust-list-icon { width:36px; height:36px; flex-shrink:0; background:var(--gold-pale); border:1px solid var(--gold-border); border-radius:9px; display:flex; align-items:center; justify-content:center; color:var(--gold); }

.lead-form-box { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-xl); padding:2.8rem; box-shadow:var(--shadow-md); }
.lead-form-box h3 { margin-bottom:0.4rem; }
.lead-form-box > p { margin-bottom:2rem; font-size:0.88rem; }

.input-group { margin-bottom:1.1rem; }
.input-group label { display:block; font-family:var(--font-title); font-size:0.68rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-3); margin-bottom:0.45rem; }
.input-group input, .input-group select, .input-group textarea { width:100%; background:var(--bg); border:1.5px solid var(--border); border-radius:var(--radius); padding:0.75rem 1rem; color:var(--ink); font-family:var(--font-body); font-size:0.9rem; transition:var(--transition); outline:none; -webkit-appearance:none; appearance:none; }
.input-group select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A90A4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.5rem; cursor:pointer; }
.input-group textarea { resize:vertical; min-height:100px; }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color:var(--gold); background:var(--white); box-shadow:0 0 0 3px rgba(184,136,42,0.1); }
.input-row { display:grid; grid-template-columns:1fr 1fr; gap:0.9rem; }
.form-disclaimer { font-size:0.72rem; color:var(--muted); margin-top:1rem; line-height:1.7; }
.form-success { display:none; text-align:center; padding:2rem 0; }
.form-success h4 { font-family:var(--font-title); font-size:1.6rem; color:var(--gold); margin-bottom:0.5rem; }

/* PROCESS */
.process-section { background:var(--white); }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-grid::after { content:''; position:absolute; top:38px; left:12%; right:12%; height:1px; background:linear-gradient(90deg,var(--gold-border),var(--gold),var(--gold-border)); }
.process-step { text-align:center; padding:0 1.5rem 2rem; }
.process-num { width:76px; height:76px; border:2px solid var(--gold-border); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 1.5rem; font-family:var(--font-title); font-size:1.5rem; font-weight:700; color:var(--gold); background:var(--white); position:relative; z-index:1; transition:var(--transition); }
.process-step:hover .process-num { background:var(--gold); color:var(--white); border-color:var(--gold); box-shadow:var(--shadow-gold); }
.process-step h4 { font-size:1rem; margin-bottom:0.5rem; }
.process-step p { font-size:0.82rem; color:var(--muted); }

/* IMG+TEXTE */
.img-text-section { background:var(--white); }
.img-text-wrapper { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.img-text-wrapper.reverse { direction:rtl; }
.img-text-wrapper.reverse > * { direction:ltr; }
.img-text-photo { border-radius:var(--radius-xl); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:4/3; }
.img-text-photo img { width:100%; height:100%; object-fit:cover; }
.avantages-list { display:flex; flex-direction:column; gap:1.2rem; margin-top:2rem; }
.avantage-row { display:flex; gap:1rem; align-items:flex-start; padding:1.1rem 1.3rem; background:var(--white); border:1px solid var(--border); border-radius:var(--radius); transition:var(--transition); }
.avantage-row:hover { border-color:var(--gold-border); box-shadow:var(--shadow-sm); }
.avantage-icon { width:38px; height:38px; flex-shrink:0; background:var(--gold-pale); border-radius:9px; display:flex; align-items:center; justify-content:center; color:var(--gold); }
.avantage-row h4 { font-size:0.95rem; margin-bottom:0.2rem; }
.avantage-row p { font-size:0.82rem; margin:0; }

/* TESTIMONIALS */
.testimonials-section { background:var(--ink-2); position:relative; overflow:hidden; }
.testimonials-section::before { content:''; position:absolute; inset:0; background:url('/assets/images/section-handshake.jpg') center/cover no-repeat; opacity:0.07; }
.testimonials-section .section-label { color:var(--gold-light); }
.testimonials-section .section-label::before { background:var(--gold-light); }
.testimonials-section h2 { color:var(--white); }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; position:relative; z-index:1; }
.testimonial-card { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.11); border-radius:var(--radius-lg); padding:2rem; transition:var(--transition); backdrop-filter:blur(6px); }
.testimonial-card:hover { background:rgba(255,255,255,0.1); transform:translateY(-4px); }
.stars { color:var(--gold-light); font-size:0.85rem; letter-spacing:0.05em; margin-bottom:1rem; }
.testimonial-text { font-size:0.9rem; color:rgba(255,255,255,0.78); font-style:italic; line-height:1.85; margin-bottom:1.5rem; }
.testimonial-author { display:flex; align-items:center; gap:0.9rem; }
.author-initials { width:40px; height:40px; background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-title); font-size:1rem; font-weight:700; color:var(--white); }
.author-name { font-family:var(--font-title); font-size:0.88rem; font-weight:600; color:var(--white); }
.author-role { font-size:0.75rem; color:rgba(255,255,255,0.5); }

/* BLOG */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.8rem; }
.blog-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:var(--transition); display:flex; flex-direction:column; }
.blog-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--gold-border); }
.blog-thumb { height:190px; overflow:hidden; background:var(--bg-2); position:relative; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; display:block; }
.blog-card:hover .blog-thumb img { transform:scale(1.05); }
.blog-body { padding:1.5rem; flex:1; display:flex; flex-direction:column; }
.blog-category { font-family:var(--font-title); font-size:0.65rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin-bottom:0.6rem; }
.blog-card h3 { font-size:1rem; line-height:1.35; margin-bottom:0.6rem; }
.blog-card p { font-size:0.82rem; flex:1; margin-bottom:1.2rem; }
.blog-meta { display:flex; justify-content:space-between; align-items:center; font-size:0.72rem; color:var(--muted); }

/* FAQ */
.faq-section { background:var(--bg-2); }
.faq-list { max-width:760px; margin:0 auto; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-question { display:flex; justify-content:space-between; align-items:center; padding:1.4rem 0; cursor:pointer; font-family:var(--font-title); font-size:1rem; font-weight:500; color:var(--ink); transition:var(--transition); gap:1rem; }
.faq-question:hover { color:var(--gold); }
.faq-toggle { width:30px; height:30px; flex-shrink:0; border:1.5px solid var(--border); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--muted); transition:var(--transition); }
.faq-item.open .faq-toggle { background:var(--gold); border-color:var(--gold); color:var(--white); transform:rotate(45deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.4s ease; }
.faq-answer p { padding-bottom:1.4rem; font-size:0.9rem; line-height:1.85; }
.faq-item.open .faq-answer { max-height:280px; }

/* CTA BANNER */
.cta-banner { background:var(--ink); border-radius:var(--radius-xl); padding:3.5rem 4rem; display:grid; grid-template-columns:1fr auto; gap:3rem; align-items:center; position:relative; overflow:hidden; }
.cta-banner::before { content:''; position:absolute; top:-50%; right:-10%; width:500px; height:500px; background:radial-gradient(circle,rgba(184,136,42,0.15) 0%,transparent 65%); pointer-events:none; }
.cta-banner h2 { color:var(--white); margin-bottom:0.6rem; }
.cta-banner p { color:rgba(255,255,255,0.6); font-size:1rem; }
.cta-banner-actions { display:flex; gap:0.8rem; flex-shrink:0; flex-wrap:wrap; }

/* FOOTER */
footer { background:var(--ink-2); padding:5rem 0 2rem; }
.footer-grid { display:grid; grid-template-columns:1.8fr 1fr 1fr 1.4fr; gap:3.5rem; margin-bottom:4rem; }
.footer-logo-link { display:inline-block; margin-bottom:1rem; }
.footer-logo { font-family:var(--font-title); font-size:1.45rem; font-weight:700; color:var(--white); margin-bottom:1rem; }
.footer-logo span { color:var(--gold-light); }
.footer-desc { font-size:0.85rem; color:rgba(255,255,255,0.5); line-height:1.8; }
.footer-col-title { font-family:var(--font-title); font-size:0.68rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold-light); margin-bottom:1.4rem; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:0.7rem; }
.footer-links a { font-size:0.85rem; color:rgba(255,255,255,0.55); transition:var(--transition); }
.footer-links a:hover { color:var(--white); padding-left:4px; }
.footer-contact-item { display:flex; align-items:flex-start; gap:0.7rem; font-size:0.85rem; color:rgba(255,255,255,0.55); margin-bottom:0.8rem; }
.footer-contact-item svg { color:var(--gold-light); flex-shrink:0; margin-top:2px; }
.footer-contact-item a { color:rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color:var(--white); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding-top:2rem; display:flex; justify-content:space-between; align-items:center; font-size:0.78rem; color:rgba(255,255,255,0.35); flex-wrap:wrap; gap:1rem; }
.footer-legal { display:flex; gap:1.8rem; }
.footer-legal a { color:rgba(255,255,255,0.35); transition:var(--transition); }
.footer-legal a:hover { color:rgba(255,255,255,0.7); }
.footer-disclaimer { text-align:center; margin-top:1.5rem; font-size:0.72rem; color:rgba(255,255,255,0.28); line-height:1.7; }

/* PAGE INTÉRIEURE */
.page-hero { padding:3rem 0 72px; background:var(--white); border-bottom:1px solid var(--border); }
.breadcrumb { display:flex; align-items:center; gap:0.5rem; font-size:0.78rem; color:var(--muted); margin-bottom:1.2rem; }
.breadcrumb a { color:var(--gold); }

/* ALERT */
.alert { padding:0.9rem 1.2rem; border-radius:var(--radius); font-size:0.85rem; margin-bottom:1rem; }
.alert-error { background:#FEF2F2; border:1px solid #FECACA; color:#DC2626; }
.alert-success { background:#F0FDF4; border:1px solid #BBF7D0; color:#16A34A; }

/* REVEAL */

/* RESPONSIVE */
@media (max-width:1024px) {
  .hero { grid-template-columns:1fr; min-height:auto; }
  .hero-right { display:none; }
  .hero-left { padding:4rem 0; }
  .sim-wrapper { grid-template-columns:1fr; }
  .lead-wrapper { grid-template-columns:1fr; }
  .img-text-wrapper { grid-template-columns:1fr; gap:2.5rem; }
  .img-text-wrapper.reverse { direction:ltr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .testimonials-grid { grid-template-columns:1fr 1fr; }
  .blog-grid { grid-template-columns:1fr 1fr; }
  .products-grid { grid-template-columns:1fr 1fr; }
  .cta-banner { grid-template-columns:1fr; text-align:center; }
  .cta-banner-actions { justify-content:center; }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .process-grid { grid-template-columns:1fr 1fr; }
  .process-grid::after { display:none; }
  .testimonials-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; text-align:center; }
  /* trust-bar : scroll infini, pas d'override nécessaire */
  .hero-float-card { display:none; }
  .input-row { grid-template-columns:1fr; }
  section { padding:56px 0; }
  .cta-banner { padding:2.5rem 1.5rem; }
}

/* ============================================================
   MEINRENTENKOMPASS — Erweiterungen v2
   Topbar · Nouveau menu · Pages intérieures · Blog · Pro
============================================================ */

/* ===== TOPBAR ===== */
.topbar {
  background: var(--ink);
  height: 36px;
  line-height: 36px;
  padding: 0;
  font-size: 0.76rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  gap: 1rem;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.5rem; }
.topbar.hidden { transform: translateY(-100%); }
.topbar-item {
  display: flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-title);
  font-size: 0.72rem;
  transition: var(--transition);
  text-decoration: none;
}
.topbar-item:hover { color: var(--gold-light); }
.topbar-item svg { flex-shrink: 0; color: var(--gold-light); }

/* topbar height définie dans le bloc principal ci-dessus */
#navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1000;
  top: 36px;
  background: rgba(245,247,250,0.98);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: top 0.3s ease, box-shadow 0.32s ease, padding 0.32s ease;
}
#navbar.scrolled {
  top: 0;
  background: rgba(245,247,250,0.98);
  padding: 0.7rem 0;
  box-shadow: 0 2px 20px rgba(15,28,46,0.1);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo-text { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--gold); }
.nav-logo-img { display: block; height: 38px; width: auto; }

/* Liens nav */
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-title); font-size: 0.83rem; font-weight: 500;
  color: var(--ink-3); padding: 0.5rem 0.8rem; border-radius: 7px;
  transition: var(--transition); position: relative; text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--ink); background: rgba(15,28,46,0.05); }
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-chevron { transition: transform 0.25s ease; margin-left: 2px; opacity: 0.5; }

/* Dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 60px rgba(15,28,46,0.14); min-width: 500px;
  display: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-30%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1100;
}
.nav-has-dropdown .nav-dropdown.open {
  display: block;
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-30%) translateY(0);
}
.nav-has-dropdown .nav-chevron.open { transform: rotate(180deg); }
.nav-dropdown-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 1.2rem; }
.nav-dropdown-group { padding: 0.5rem; }
.nav-dropdown-label {
  font-family: var(--font-title); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  padding: 0 0.6rem; margin-bottom: 0.5rem;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0.8rem; border-radius: 9px;
  color: var(--ink); text-decoration: none;
  transition: var(--transition); cursor: pointer;
}
.nav-dropdown-item:hover { background: var(--bg); }
.nav-dd-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.nav-dropdown-item > span:not(.nav-dd-icon) { display: flex; flex-direction: column; min-width: 0; }
.nav-dropdown-item strong { display: block; font-family: var(--font-title); font-size: 0.85rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-dropdown-item small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 1px; white-space: nowrap; }

/* Actions nav */
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-cta { font-size: 0.82rem !important; padding: 0.62rem 1.2rem !important; }

/* ===== MENU MOBILE ===== */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 23px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15,28,46,0.5);
  z-index: 998; backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }

.nav-mobile {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw);
  background: var(--white); z-index: 999;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -8px 0 40px rgba(15,28,46,0.15);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--bg); border: none; border-radius: 50%;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-3); transition: var(--transition);
}
.nav-mobile-close:hover { background: var(--bg-2); color: var(--ink); }
.nav-mobile-inner { display: flex; flex-direction: column; gap: 0; padding: 4.5rem 1.5rem 2rem; flex: 1; }
.nav-mobile-logo {
  display: none; /* Logo déjà visible dans la navbar fixe au-dessus */
}
.nav-mobile-logo span { color: var(--gold); }
.nav-mobile-links { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.nav-mobile-link {
  display: block; padding: 0.75rem 1rem; border-radius: 9px;
  font-family: var(--font-title); font-size: 1rem; font-weight: 500; color: var(--ink-3);
  text-decoration: none; transition: var(--transition);
}
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--ink); background: var(--bg); }
.nav-mobile-link.active { color: var(--gold); }

/* Groupe accordion mobile */
.nav-mobile-group { }
.nav-mobile-group-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.75rem 1rem; border-radius: 9px;
  font-family: var(--font-title); font-size: 1rem; font-weight: 500; color: var(--ink-3);
  background: none; border: none; cursor: pointer; transition: var(--transition);
}
.nav-mobile-group-btn:hover { color: var(--ink); background: var(--bg); }
.nav-mobile-group-btn svg { transition: transform 0.25s ease; opacity: 0.5; }
.nav-mobile-group-btn.open svg { transform: rotate(180deg); }
.nav-mobile-sub {
  display: none; flex-direction: column; gap: 0; padding: 0 0 0.5rem 1.5rem;
}
.nav-mobile-sub.open { display: flex; }
.nav-mobile-sub-link {
  display: block; padding: 0.55rem 0.8rem; border-radius: 7px;
  font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: var(--transition);
}
.nav-mobile-sub-link:hover { color: var(--ink); background: var(--bg); }

.nav-mobile-footer {
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem;
}
.nav-mobile-contact {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.nav-mobile-contact a {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: var(--transition);
}
.nav-mobile-contact a:hover { color: var(--gold); }
.nav-mobile-contact svg { color: var(--gold); flex-shrink: 0; }

/* ===== PAGE-HERO offset topbar ===== */

/* ===== FOOTER SOCIAL ===== */
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all 0.3s;
}
.footer-social:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ===== GOLD LINE ===== */
.gold-line { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1.2rem 0 1.8rem; }

/* ===== PARTICULARES — Produits ===== */
.produto-row {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem;
  align-items: center;
  margin-bottom: 6rem; padding-bottom: 6rem;
  border-bottom: 1px solid var(--border);
}
.produto-row--reverse { direction: rtl; }
.produto-row--reverse > * { direction: ltr; }
.produto-row:last-child { border-bottom: none; margin-bottom: 0; }

.produto-visual { position: relative; }
.produto-img-wrap {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-lg); position: relative;
}
.produto-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.produto-row:hover .produto-img-wrap img { transform: scale(1.04); }
.produto-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,28,46,0.2) 0%, transparent 60%);
}
.produto-badge-icon {
  position: absolute; bottom: -18px; right: 2rem;
  width: 56px; height: 56px; background: var(--white); border: 2px solid var(--gold-border);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); box-shadow: var(--shadow-md);
}

.produto-content h2 { font-family: var(--font-title); font-size: clamp(1.6rem,2.8vw,2.2rem); margin-bottom: 0.8rem; }
.produto-desc { color: var(--ink-3); line-height: 1.9; margin-bottom: 1.8rem; }

.produto-features { display: flex; flex-direction: column; gap: 0; }
.produto-feature {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.produto-feature:last-child { border-bottom: none; }
.produto-feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--gold-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.produto-feature-label { color: var(--muted); font-weight: 500; white-space: nowrap; }
.produto-feature-val { color: var(--ink); font-weight: 600; }

/* Processo - override avec icones SVG */
.process-num {
  position: relative; flex-direction: column; gap: 0.3rem;
}
.process-num-badge {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; background: var(--gold); color: var(--white);
  border-radius: 50%; font-size: 0.62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}

/* ===== PROFISSIONAIS ===== */
.pro-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-bottom: 3rem; }
.pro-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden; transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.pro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.pro-card-tag {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--gold); color: var(--white);
  font-family: var(--font-title); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 100px;
}
.pro-card-img { height: 200px; overflow: hidden; position: relative; }
.pro-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pro-card:hover .pro-card-img img { transform: scale(1.06); }
.pro-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(15,28,46,0.3)); }
.pro-card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.pro-card-icon { color: var(--gold); margin-bottom: 0.8rem; }
.pro-card-title { font-family: var(--font-title); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.pro-card-desc { font-size: 0.86rem; color: var(--ink-3); flex: 1; margin-bottom: 1.2rem; line-height: 1.75; }
.pro-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.pro-card-meta-label { font-size: 0.68rem; color: var(--muted); font-family: var(--font-title); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.pro-card-meta-val { font-family: var(--font-title); font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.pro-card-meta-val--gold { color: var(--gold); }

.pro-independente {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.pro-independente-img { position: relative; }
.pro-independente-img img {
  width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover; display: block;
}
.pro-independente-badge {
  position: absolute; bottom: -16px; right: 1.5rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem; box-shadow: var(--shadow-md);
  color: var(--gold);
}
.pro-independente-badge strong { display: block; font-family: var(--font-title); font-size: 0.85rem; color: var(--ink); }
.pro-independente-badge span { font-size: 0.72rem; color: var(--muted); }

.pro-docs-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem;
}
.pro-docs-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-title); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.pro-doc-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.87rem; color: var(--ink-3);
}
.pro-doc-item:last-child { border-bottom: none; }
.pro-doc-item svg { color: var(--gold); flex-shrink: 0; }

.avantages-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.avantage-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.avantage-item:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.avantage-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--gold-pale); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.avantage-title { font-family: var(--font-title); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.avantage-desc { font-size: 0.83rem; color: var(--muted); margin: 0; }

/* ===== QUEM SOMOS ===== */
.qs-mission { display: grid !important; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.qs-mission-content h2 { font-family: var(--font-title); font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 1rem; }

.qs-team-values { display: flex; flex-direction: column; gap: 0.8rem; }
.qs-team-value-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.9rem 1rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border);
}
.qs-check {
  width: 24px; height: 24px; flex-shrink: 0; background: var(--gold-pale);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-top: 2px;
}
.qs-team-value-item strong { display: block; font-family: var(--font-title); font-size: 0.88rem; color: var(--ink); margin-bottom: 0.15rem; }
.qs-team-value-item p { color: var(--muted); }

.qs-mission-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.qs-img-stack { position: relative; }
.qs-img-main { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; display: block; }
.qs-img-secondary {
  position: absolute; bottom: -2rem; right: -1.5rem;
  width: 48%; border-radius: var(--radius-lg); border: 4px solid var(--white);
  box-shadow: var(--shadow-lg); aspect-ratio: 1/1; object-fit: cover;
}
.qs-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0.8rem; margin-top: 2rem;
}
.qs-stat {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.2rem; text-align: center; transition: var(--transition);
}
.qs-stat:hover { border-color: var(--gold-border); }
.qs-stat-num { font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; color: var(--gold); margin-bottom: 0.2rem; }
.qs-stat-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }

.qs-valores-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.qs-valor-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2rem; transition: var(--transition);
}
.qs-valor-card:hover { border-color: var(--gold-border); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.qs-valor-icon {
  width: 46px; height: 46px; background: var(--gold-pale); border: 1px solid var(--gold-border);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1.2rem;
}
.qs-valor-card h4 { font-family: var(--font-title); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.qs-valor-card p { font-size: 0.86rem; color: var(--ink-3); margin: 0; line-height: 1.75; }

/* ===== BLOG ===== */
.blog-filtros {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding-top: 2.5rem;
}
.blog-filtro-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.1rem; border-radius: 100px;
  font-family: var(--font-title); font-size: 0.75rem; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--ink-3); cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.blog-filtro-btn:hover { border-color: var(--gold-border); color: var(--gold); }
.blog-filtro-btn--active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.blog-filtro-btn svg { opacity: 0.7; }

.blog-destaque {
  display: grid !important; grid-template-columns: 1fr 1fr; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border); text-decoration: none; color: inherit;
  margin-bottom: 3rem; transition: var(--transition); box-shadow: var(--shadow-sm);
}
.blog-destaque:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.blog-destaque-img { position: relative; min-height: 320px; overflow: hidden; }
.blog-destaque-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-destaque:hover .blog-destaque-img img { transform: scale(1.05); }
.blog-destaque-img-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(15,28,46,0.3),transparent); }
.blog-destaque-content {
  background: var(--white); padding: 3rem; display: flex; flex-direction: column; justify-content: center;
}
.blog-destaque-badge {
  display: inline-block; background: var(--gold-pale); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.65rem; font-family: var(--font-title); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 100px;
  width: fit-content; margin-bottom: 1rem;
}
.blog-destaque-title { font-family: var(--font-title); font-size: 1.7rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
.blog-destaque-resumo { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.75; }
.blog-destaque-meta { display: flex; gap: 1.5rem; font-size: 0.75rem; color: var(--muted); }
.blog-destaque-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* Blog card refonte avec images — blog-thumb já definido acima */
.blog-thumb-icon {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  width: 34px; height: 34px; background: var(--white);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); box-shadow: var(--shadow-sm);
}
.blog-content { padding: 1.4rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-leitura { display: flex; align-items: center; gap: 0.3rem; }

/* Artigo individuel */
.artigo-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.artigo-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.artigo-cover { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16/7; margin-bottom: 2.5rem; }
.artigo-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artigo-body {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 3rem; margin-bottom: 2rem;
}
.artigo-resumo { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 2rem; font-style: italic; line-height: 1.85; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.artigo-content { color: var(--ink-3); line-height: 1.9; }
.artigo-content h3 { font-family: var(--font-title); font-size: 1.15rem; color: var(--ink); margin: 2rem 0 0.8rem; }
.artigo-content p { margin-bottom: 1.2rem; }
.artigo-content ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.artigo-content li { margin-bottom: 0.5rem; }

.artigo-cta-box {
  background: linear-gradient(135deg, var(--gold-pale), rgba(184,136,42,0.05));
  border: 1px solid var(--gold-border); border-radius: var(--radius-xl);
  padding: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.artigo-cta-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--gold); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.artigo-cta-box h3 { font-family: var(--font-title); font-size: 1.2rem; margin-bottom: 0.3rem; }
.artigo-cta-box p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.artigo-cta-box .btn { margin-left: auto; flex-shrink: 0; }

.artigo-related {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem; text-decoration: none; color: inherit; transition: var(--transition);
}
.artigo-related:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.artigo-related-icon {
  width: 38px; height: 38px; flex-shrink: 0; background: var(--gold-pale);
  border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.artigo-related-cat { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; font-family: var(--font-title); font-weight: 700; }
.artigo-related-title { font-family: var(--font-title); font-size: 0.92rem; font-weight: 500; color: var(--ink); margin: 0; }
.artigo-related-arrow { margin-left: auto; flex-shrink: 0; color: var(--muted); }

/* Newsletter CTA */
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.newsletter-input {
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius); padding: 0.85rem 1.3rem; color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem; outline: none; width: 300px;
  transition: var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.15); }

/* ===== RESPONSIVE EXTENSIONS ===== */
@media (max-width: 1024px) {
  .topbar { display: none; }
  #navbar { top: 0 !important; }
  body { padding-top: 62px; }
  .page-hero { padding-top: 2rem !important; }
  .nav-dropdown { display: none !important; }
  .hamburger { display: flex; }
  .nav-links { display: none; }

  .produto-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .produto-row--reverse { direction: ltr; }
  .produto-badge-icon { bottom: 1rem; right: 1rem; }

  .pro-cards-grid { grid-template-columns: 1fr 1fr; }
  .pro-independente { grid-template-columns: 1fr; gap: 3rem; }
  .pro-independente-badge { display: none; }

  .qs-mission { grid-template-columns: 1fr; gap: 3rem; }
  .qs-img-secondary { display: none; }
  .qs-stats-grid { grid-template-columns: repeat(2,1fr); }
  .qs-valores-grid { grid-template-columns: 1fr; }

  .avantages-grid { grid-template-columns: 1fr; }

  .blog-destaque { grid-template-columns: 1fr; }
  .blog-destaque-img { min-height: 220px; }
}

@media (max-width: 768px) {
  .pro-cards-grid { grid-template-columns: 1fr; }
  .artigo-cta-box { flex-direction: column; }
  .artigo-cta-box .btn { margin-left: 0; width: 100%; justify-content: center; }
  .qs-stats-grid { grid-template-columns: repeat(2,1fr); }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { width: 100%; }
  .blog-filtros { gap: 0.4rem; }
  .blog-filtro-btn { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
}

/* ===== SCROLL ANCHOR OFFSET — compense topbar + navbar fixes ===== */
[id] { scroll-margin-top: 100px; }
@media (max-width: 1024px) { [id] { scroll-margin-top: 70px; } }
@media (max-width: 480px)  { [id] { scroll-margin-top: 65px; } }

.btn-outline-white { background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.75); color:var(--white); }

/* btn-dark (FAQ nav) */
.btn-dark {
  background: var(--bg); color: var(--ink-3);
  border: 1.5px solid var(--border);
}
.btn-dark:hover { background: var(--bg-2); border-color: var(--gold-border); color: var(--gold); }

/* faq-icon alias pour compatibilité index.php */
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: var(--transition);
  font-size: 1.1rem; font-weight: 300; line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--gold); border-color: var(--gold); color: var(--white); transform: rotate(45deg);
}

/* blog-body — .blog-category já definida globalmente acima */

/* ===== CONTACTO ===== */
.contacto-grid {
  display: grid; grid-template-columns: 1fr 1.8fr; gap: 5rem; align-items: start;
}
.contacto-info-title {
  font-family: var(--font-title); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 2rem; color: var(--ink);
}
.contacto-info-list { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 1.8rem; }
.contacto-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contacto-info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contacto-info-label {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-family: var(--font-title); font-weight: 700;
  margin-bottom: 0.2rem;
}
.contacto-info-val {
  font-size: 0.9rem; color: var(--ink-3); display: block; line-height: 1.5;
  text-decoration: none; transition: var(--transition);
}
a.contacto-info-val:hover { color: var(--gold); }

.contacto-resp-box {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg); padding: 1.2rem; margin-bottom: 2rem;
}
.contacto-resp-icon {
  width: 32px; height: 32px; flex-shrink: 0; background: var(--gold);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white);
}
.contacto-resp-title {
  font-family: var(--font-title); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem;
}
.contacto-resp-text { font-size: 0.84rem; color: var(--ink-3); margin: 0; line-height: 1.6; }
.contacto-resp-text strong { color: var(--gold); }

.contacto-img {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; margin-top: 1rem;
}
.contacto-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contacto-success {
  text-align: center; background: var(--bg); border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl); padding: 4rem 3rem;
}
.contacto-success-icon {
  width: 72px; height: 72px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  margin: 0 auto 1.5rem;
}
.contacto-success h2 { font-family: var(--font-title); font-size: 2rem; color: var(--gold); margin-bottom: 0.8rem; }
.contacto-success p { color: var(--muted); max-width: 360px; margin: 0 auto; }

/* Responsive contacto */
@media (max-width: 1024px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contacto-img { display: none; }
}

/* ===== BLOG CARDS — classes explicites ===== */
.blog-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.blog-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* S'assurer que blog-card p ne reset pas le flex:1 de blog-excerpt */
.blog-card .blog-content p.blog-excerpt { flex: 1; }
.blog-card .blog-content { padding: 1.4rem 1.5rem 1.5rem; }

/* Destaque responsive fix */
.blog-destaque-content { padding: 2.5rem; }
@media (max-width: 768px) {
  .blog-destaque-content { padding: 1.5rem; }
}


/* ============================================================
   RESPONSIVE MOBILE CONSOLIDÉ — correctifs globaux
   Tous les décalages, padding, FAQ, blog, sections
============================================================ */

/* ── Overflow horizontal global ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { box-sizing: border-box; }

/* ── Container safe ── */
.container, .container-sm {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

/* ── FAQ — correctifs décalage mobile ── */
.faq-question {
  padding: 1.2rem 0;
  font-size: 0.93rem;
  gap: 0.8rem;
  word-break: break-word;
}
.faq-answer p {
  font-size: 0.87rem;
  line-height: 1.8;
  word-break: break-word;
}
/* max-height trop petite sur mobile pour les longues réponses */
.faq-item.open .faq-answer { max-height: 600px; }

/* ── Section grid index : FAQ + texte côte à côte → colonne mobile ── */
@media (max-width: 768px) {
  /* FAQ grid sur index.php */
  .faq-section .container > div[style*="grid-template-columns"] {
    display: block !important;
  }
  .faq-section .container > div > div:first-child {
    margin-bottom: 2rem;
  }

  /* trust-bar — le scroll infini fonctionne sur tous écrans */

  /* Hero */
  .hero { min-height: auto; padding-top: 0; padding-bottom: 0; grid-template-columns: 1fr; }
  .hero-left { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Simulateur */
  .sim-form-box { padding: 1.5rem; }
  .range-display { font-size: 1.5rem; }

  /* Produits */
  .products-grid { grid-template-columns: 1fr; }

  /* Lead form */
  .lead-form-box { padding: 1.5rem; }
  .lead-wrapper > .lead-info > div[style*="aspect-ratio"] { display: none; }

  /* Processus */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-grid::after { display: none; }
  .process-num { width: 60px; height: 60px; font-size: 1.2rem; }

  /* CTA banner */
  .cta-banner { padding: 2rem 1.5rem; grid-template-columns: 1fr; text-align: center; }
  .cta-banner-actions { justify-content: center; flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  /* Sections img+texte */
  .img-text-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .img-text-wrapper.reverse { direction: ltr; }
  .img-text-photo { aspect-ratio: 16/9; }

  /* Témoignages */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Blog cartes */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card .blog-content { padding: 1.2rem; }
  .blog-filtros { gap: 0.4rem; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .blog-filtro-btn { flex-shrink: 0; font-size: 0.72rem; padding: 0.45rem 0.9rem; }

  /* Blog destaque */
  .blog-destaque { grid-template-columns: 1fr !important; }
  .blog-destaque-img { min-height: 200px; }
  .blog-destaque-content { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.8rem; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Sections padding */
  section { padding: 48px 0; }
  .page-hero { padding-top: 1.5rem !important; padding-bottom: 48px; }

  /* Particulares */
  .produto-row { grid-template-columns: 1fr; gap: 2rem; }
  .produto-row--reverse { direction: ltr; }
  .produto-features { gap: 0; }

  /* Profissionais */
  .pro-cards-grid { grid-template-columns: 1fr; }
  .pro-independente { grid-template-columns: 1fr; gap: 2rem; }
  .avantages-grid { grid-template-columns: 1fr; }

  /* Quem somos */
  .qs-mission { grid-template-columns: 1fr; gap: 2rem; }
  .qs-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .qs-stat-num { font-size: 1.3rem; }
  .qs-valores-grid { grid-template-columns: 1fr; }
  .qs-img-secondary { display: none; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contacto-img { display: none; }

  /* Input rows */
  .input-row { grid-template-columns: 1fr; }

  /* Forms */
  .form-disclaimer { font-size: 0.7rem; }

  /* Textes longs */
  h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
}

@media (max-width: 480px) {
  .container, .container-sm { padding-left: 1rem; padding-right: 1rem; }

  /* FAQ encore plus petit écran */
  .faq-question { font-size: 0.88rem; }
  .faq-toggle { width: 26px; height: 26px; flex-shrink: 0; }

  /* Process 1 colonne sur très petit écran */
  .process-grid { grid-template-columns: 1fr; }

  /* Nav mobile */
  .nav-mobile { width: 100vw; }

  /* Zahlen & Fakten — Über uns */
  .qs-stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Blog filtros */
  .blog-filtros { gap: 0.3rem; }

  /* Topbar complètement cachée */
  .topbar { display: none !important; }
  #navbar { top: 0 !important; }
  body { padding-top: 58px; }
  .page-hero { padding-top: 1rem !important; }

  /* Buttons full width sur mobile */
  /* hero-badge adapté automatiquement */

  /* Footer */
  .footer-disclaimer { font-size: 0.68rem; }
}

/* FAQ index grid */
.faq-index-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .faq-index-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ================================================================
   MEINRENTENKOMPASS — Erweiterte Animationen & Dynamik
================================================================ */

/* --- Font display override for headings --- */
h1, h2 {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
}
h3, h4, h5, .nav-logo-text, .btn {
  font-family: var(--font-title) !important;
}

/* --- Scroll-reveal animations --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 20px; }
}


/* --- Hero enhancements --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(76,8,39,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 30%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(76,8,39,0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -15px) scale(1.05); }
  66%       { transform: translate(-10px, 12px) scale(0.97); }
}

/* Hero left text animate on load */
.hero-left {
  animation: fadeSlideUp 0.9s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-badge {
  animation: fadeSlideUp 0.7s 0.15s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero h1 {
  animation: fadeSlideUp 0.8s 0.25s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-desc {
  animation: fadeSlideUp 0.8s 0.4s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-actions {
  animation: fadeSlideUp 0.8s 0.55s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-trust {
  animation: fadeSlideUp 0.8s 0.7s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-right {
  animation: scaleIn 1.1s 0.3s cubic-bezier(0.22,0.61,0.36,1) both;
}
.hero-float-card {
  animation: fadeSlideLeft 0.9s 0.8s cubic-bezier(0.22,0.61,0.36,1) both;
}

/* Float card continuous subtle float */
.hero-float-card {
  animation: fadeSlideLeft 0.9s 0.8s cubic-bezier(0.22,0.61,0.36,1) both,
             cardFloat 5s 1.7s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* --- Navbar smooth appear --- */
#navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(76,8,39,0.09);
}

/* --- Section label animation --- */
.section-label::before {
  animation: lineGrow 0.6s ease both;
}

/* --- Product cards hover lift with glow --- */
.product-card {
  transition: transform 0.38s cubic-bezier(0.22,0.61,0.36,1),
              box-shadow 0.38s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.38s ease;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(76,8,39,0.14);
}

/* --- Testimonial cards --- */
.testimonial-card {
  transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1),
              background 0.35s ease,
              box-shadow 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
}

/* --- Process steps sequential animation --- */
.process-step {
  transition: transform 0.3s ease;
}
.process-step:hover {
  transform: translateY(-4px);
}

/* --- Advantage rows slide on hover --- */
.avantage-row {
  transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.avantage-row:hover {
  transform: translateX(6px);
}

/* --- Section background texture for dark sections --- */
.testimonials-section {
  background: var(--ink-2) !important;
  position: relative;
}
.testimonials-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(76,8,39,0.03) 40px,
    rgba(76,8,39,0.03) 80px
  );
  pointer-events: none;
}

/* --- CTA Banner accent gradient --- */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 50%, #3a0818 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(76,8,39,0.6) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.65); }

/* --- Input focus ring --- */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(76,8,39,0.09);
}

/* --- Range slider crimson --- */
input[type="range"]::-webkit-slider-thumb {
  background: var(--gold) !important;
  box-shadow: 0 2px 8px rgba(76,8,39,0.35) !important;
}

/* --- Blog card hover --- */
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(76,8,39,0.12);
}

/* --- Trust bar item accent --- */
.trust-bar-item svg { color: var(--gold) !important; }

/* --- Footer background --- */
footer {
  background: linear-gradient(180deg, var(--ink) 0%, #0a0004 100%) !important;
}

/* --- Floating label animation on form inputs --- */
.input-group {
  position: relative;
}
.input-group input,
.input-group select,
.input-group textarea {
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

/* --- Button micro-interaction --- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn:active::after {
  opacity: 1;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* --- Scroll progress indicator --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Section dividers with geometric accent --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  margin: 0;
}


/* ================================================================
   NAVBAR & TOPBAR — Couleurs brand MeinRentenKompass
================================================================ */
.topbar {
  background: var(--ink);
  border-bottom: 1px solid rgba(76,8,39,0.3);
}
.topbar-item { color: rgba(255,255,255,0.6); }
.topbar-item svg { color: var(--gold-light); }
.topbar-item:hover { color: var(--white); }

#navbar {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}
.nav-logo-text { font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.nav-logo-text span { color: var(--gold); }
.nav-link { font-family: var(--font-title); font-size: 0.88rem; font-weight: 500; color: var(--ink-3); }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { background: var(--gold); }

/* ── Navbar scrolled override ── */
#navbar.scrolled .nav-link { color: var(--ink-3); }
#navbar.scrolled .nav-link:hover { color: var(--gold); }

/* ── Dropdown ── */
.nav-dropdown-label { color: var(--gold) !important; }
.nav-dropdown-item:hover { background: var(--gold-pale); }
.nav-dd-icon { background: var(--gold-pale); color: var(--gold); }

/* ── Mobile ── */
.nav-mobile { background: var(--white); }
.nav-mobile-logo span { color: var(--gold); }

/* ── Section-label line color ── */
.section-label { color: var(--gold); }
.section-label::before { background: var(--gold); }

/* ── Hero badge ── */
.hero-badge-flag { background: var(--ink); }
.hero-badge-year { background: var(--gold); }
.badge-dot { background: var(--gold-light); }

/* ── Process number active ── */
.process-step:hover .process-num {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ── Sim primary row ── */
.sim-result-item.primary { background: var(--ink); border-color: var(--ink); }

/* ── Author initials gradient ── */
.author-initials {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* ── CTA Banner text colors ── */
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ================================================================
   CORRECTIONS AFFICHAGE INDEX + PAGES
================================================================ */

/* Sections espacées */
section { padding: 88px 0; position: relative; }
.hero { padding: 0; }
.trust-bar ~ section { padding-top: 80px; }

/* Lead section form success hidden by default */
.form-success { display: none; }
.form-success.visible { display: block; text-align: center; padding: 2rem 0; }

/* Stars rating */
.stars-svg { color: #e8a800; font-size: 1rem; letter-spacing: 2px; }

/* Hero right column fixed height for grid */
.hero-right {
  min-height: 560px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, #3a0818 100%);
}

/* Hero left inner padding fix */
.hero > .container:first-child {
  padding-left: 6vw;
  padding-right: 2vw;
}

/* Sim results dark box */
.sim-results {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
}
.sim-results .section-label { color: var(--gold-light); }
.sim-results .section-label::before { background: var(--gold-light); }
.sim-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sim-result-item:last-of-type { border-bottom: none; }
.sim-result-label { font-family: var(--font-title); font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 0.2rem; }
.sim-result-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 400; }
.sim-result-item.primary .sim-result-value { font-size: 1.7rem; color: var(--gold-light); }
.sim-cta-box {
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(76,8,39,0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sim-cta-box h4 { color: var(--white); margin-bottom: 0.4rem; font-size: 0.95rem; }
.sim-cta-box p { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-bottom: 1rem; }

/* Sim form box */
.sim-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.sim-form-box h3 { margin-bottom: 0.3rem; }
.sim-form-box > p { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}
.range-display {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(76,8,39,0.3);
  border: 3px solid var(--white);
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Blog card internals */
.blog-thumb { height: 200px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-category {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* FAQ section */
.faq-section { background: var(--bg-2); }
.faq-index-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq-question:hover { color: var(--gold); }
.faq-toggle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.faq-item.open .faq-toggle {
  background: var(--gold);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.2rem; }
.faq-answer p { font-size: 0.88rem; color: var(--muted); line-height: 1.8; margin: 0; }

/* Trust list */
.trust-list { display: flex; flex-direction: column; gap: 0.9rem; }
.trust-list-item { display: flex; align-items: center; gap: 0.9rem; font-size: 0.88rem; color: var(--ink-3); font-weight: 500; }
.trust-list-icon { width: 36px; height: 36px; background: var(--gold-pale); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }

/* Pro cards grid */
.pro-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .pro-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pro-cards-grid { grid-template-columns: 1fr; } }

.pro-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: var(--transition); }
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pro-card-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--gold); color: var(--white); font-family: var(--font-title); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 20px; }
.pro-card-img { height: 180px; overflow: hidden; position: relative; }
.pro-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pro-card:hover .pro-card-img img { transform: scale(1.05); }
.pro-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(76,8,39,0.3) 0%, transparent 60%); }
.pro-card-body { padding: 1.5rem; }
.pro-card-icon { width: 44px; height: 44px; background: var(--gold-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 1rem; }
.pro-card-title { font-size: 1rem; margin-bottom: 0.5rem; }
.pro-card-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }
.pro-card-meta { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); gap: 1rem; }
.pro-card-meta-label { font-family: var(--font-title); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.pro-card-meta-val { font-family: var(--font-title); font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.pro-card-meta-val--gold { color: var(--gold); }

/* Independentes section */
.pro-independente { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.pro-independente-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; position: relative; }
.pro-independente-img img { width: 100%; height: 100%; object-fit: cover; }
.pro-independente-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; background: var(--white); border-radius: var(--radius-lg); padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.8rem; box-shadow: var(--shadow-md); }
.pro-independente-badge svg { color: var(--gold); }
.pro-independente-badge strong { display: block; font-family: var(--font-title); font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.pro-independente-badge span { font-size: 0.75rem; color: var(--muted); }
.pro-docs-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.pro-docs-title { font-family: var(--font-title); font-size: 0.8rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.pro-doc-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-3); padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.pro-doc-item:last-child { border: none; }
.pro-doc-item svg { color: var(--gold); flex-shrink: 0; }

/* Gold divider line */
.gold-line { width: 40px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; }

/* Produto rows */
.produto-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 4rem 0; border-bottom: 1px solid var(--border); }
.produto-row:last-child { border-bottom: none; }
.produto-row--reverse { direction: rtl; }
.produto-row--reverse > * { direction: ltr; }
.produto-visual { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; position: relative; }
.produto-img-wrap { width: 100%; height: 100%; }
.produto-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.produto-img-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(76,8,39,0.25) 0%, transparent 60%); }
.produto-badge-icon { position: absolute; top: 1.5rem; right: 1.5rem; width: 52px; height: 52px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold); box-shadow: var(--shadow-md); }
.produto-features { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.produto-feature { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--ink-3); }
.produto-feature-check { width: 22px; height: 22px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.produto-feature-label { font-weight: 600; color: var(--ink); }
.produto-feature-val { color: var(--ink-3); }

/* Form disclaimer */
.form-disclaimer { display: flex; align-items: center; gap: 0.4rem; font-size: 0.73rem; color: var(--muted); text-align: center; justify-content: center; margin-top: 0.8rem; }

/* CTA banner buttons */
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Process step number badge */
.process-num { position: relative; display: inline-flex; }
.process-num-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
}

@media (max-width: 900px) {
  .faq-index-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pro-independente { grid-template-columns: 1fr; gap: 2.5rem; }
  .pro-independente-img { aspect-ratio: 16/7; }
  .produto-row { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
  .produto-row--reverse { direction: ltr; }
}

/* ===== BLOG FEATURED ARTICLE ===== */
.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: var(--transition); }
.blog-featured:hover img { transform: scale(1.04); }
.blog-featured:hover { box-shadow: 0 20px 60px rgba(76,8,39,0.15); }
@media (max-width: 900px) { .blog-featured { grid-template-columns: 1fr; } }

/* ===== PRO INDEPENDENTE CONTENT ===== */
.pro-independente-content { display: flex; flex-direction: column; justify-content: center; }

/* ===== MISSING AVANTAGE ITEMS FIX ===== */
.avantage-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; gap: 1.2rem; align-items: flex-start; transition: var(--transition); }
.avantage-item:hover { border-color: var(--gold-border); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.avantage-icon { width: 44px; height: 44px; min-width: 44px; background: var(--gold-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.avantage-title { font-family: var(--font-title); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.avantage-desc { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.7; }

/* ===== PRO DOCS TITLE ===== */
.pro-docs-title { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-title); font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 0.8rem; }

/* ===== QUEM-SOMOS 3-COL GRID RESPONSIVE ===== */
@media (max-width: 900px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
}




/* ===== FORM SUCCESS BOX ===== */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.visible {
  display: block;
}

/* ══════════════════════════════════════════════════
   SCROLL-REVEAL — Einheitliche Definition (final)
══════════════════════════════════════════════════ */

/* Ausgangszustand: unsichtbar */
/* ═══════════════════════════════════════════════════
   SCROLL-REVEAL — Sicheres System
   Standardmäßig SICHTBAR. JS fügt .js-animiert hinzu
   um Animationen zu aktivieren. Kein JS = alles sichtbar.
═══════════════════════════════════════════════════ */

/* Standard: immer sichtbar (kein JS-Risiko) */
.reveal,
.reveal-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Wenn JS geladen: Ausgangszustand ausblenden */
.js-animiert .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-animiert .reveal-left {
  opacity: 0;
  transform: translateX(-28px);
}

/* Sichtbar durch JS-Trigger */
.js-animiert .reveal.visible,
.js-animiert .reveal-left.visible {
  opacity: 1;
  transform: none;
}

/* Gestaffelte Kinder */
.stagger-children > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-animiert .stagger-children > * {
  opacity: 0;
  transform: translateY(18px);
}
.js-animiert .stagger-children.visible > * { opacity: 1; transform: none; }
.js-animiert .stagger-children.visible > *:nth-child(1) { transition-delay: 0.00s; }
.js-animiert .stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.js-animiert .stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.js-animiert .stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.js-animiert .stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.js-animiert .stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== WERT-KARTEN (Über uns) ===== */
.wert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
}
.wert-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
