/* Rénova Déco — www.renovadeco.be. Mobile first, no framework. */
:root {
  --orange: #f16723;
  --orange-icon: #fe8502;
  --blue: #0279bb;
  --blue-dark: #016198;
  --ink: #0a0a0a;
  --hero-ink: #0a0000;
  --muted: #555;
  --line: #ccc;
  --font: 'Lato', Helvetica, Arial, sans-serif;
  --shadow: 0 12px 18px -6px rgba(0, 0, 0, .3);
  --wave-hero: 60px;
  --wave: 50px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font); font-weight: 900; color: var(--orange); margin: 0; line-height: 1.2; }
h2 { font-size: 24px; padding-bottom: 10px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--orange); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.feature--blue :focus-visible, .contact-sec :focus-visible, .footer :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: #fff; color: var(--blue); padding: 8px 12px; }
.container { width: calc(100% - 48px); max-width: 1080px; margin: 0 auto; }
.container--wide { width: calc(100% - 32px); max-width: 1350px; margin: 0 auto; }
.center { text-align: center; }
svg { flex: none; }

/* ---------- buttons (orange, uppercase, circled arrow) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .35em; font: 700 16px/1.7 var(--font); text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: #fff; background: var(--orange); border: 0; border-radius: 12px; padding: 13px 22px; cursor: pointer; transition: background-color .3s, color .3s; text-align: center; }
.btn:hover, .btn:focus-visible { background: var(--blue); color: #fff; }
.feature--blue .btn:hover, .contact-sec .btn:hover { background: var(--blue-dark); }
.btn svg { width: 1em; height: 1em; }
.btn--hero { border-radius: 10px; padding: 7px 16px 7px 15px; font-size: 18px; }
.btn--sm { font-size: 14px; padding: 14px 24px; }
.btn--phone { font-size: 18px; padding: 14px 26px; text-transform: none; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 20px; }

/* ---------- header ---------- */
.topbar { background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; }
.topbar .container--wide { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; }
.header { position: relative; z-index: 50; background: #fff; box-shadow: 0 0 7px rgba(0, 0, 0, .1); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand img { width: auto; height: 64px; transition: height .3s; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--orange); cursor: pointer; }
.nav-toggle svg { width: 32px; height: 32px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 2px 5px rgba(0, 0, 0, .1); padding: 10px 0 20px; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0 auto; padding: 0; width: calc(100% - 48px); }
.nav li a { display: block; padding: 10px 5%; color: var(--blue); font-weight: 700; font-size: 16px; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid rgba(0, 0, 0, .03); }
.nav li a:hover, .nav li a[aria-current="page"] { color: var(--orange); }
.nav li.nav__cta { margin-top: 14px; text-align: center; }
.nav .pill, .nav li a.pill { display: inline-block; background: var(--orange); color: #fff; border-radius: 50px; padding: 10px 22px; font-size: 15px; border: 0; transition: background-color .3s, transform .3s; }
.nav .pill:hover { background: var(--blue); color: #fff; }

@media (min-width: 981px) {
  .site-top { position: sticky; top: 0; z-index: 60; }
  .topbar { overflow: hidden; max-height: 40px; transition: max-height .4s ease-in-out; }
  .topbar .container--wide { justify-content: flex-start; padding: 8px 0; }
  .is-scrolled .topbar { max-height: 0; }
  .header__in { padding: 11px 0; }
  .brand img { height: 90px; }
  .is-scrolled .brand img { height: 66px; }
  .nav-toggle { display: none; }
  .nav { display: block; position: static; border: 0; box-shadow: none; padding: 0; background: none; }
  .nav ul { display: flex; align-items: center; gap: 22px; width: auto; }
  .nav li a { padding: 8px 0; border: 0; position: relative; }
  .nav li.nav__cta { margin: 0 0 0 4px; }
  .nav li:not(.nav__cta) a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%) scale(0);
    background: var(--orange); box-shadow: 10px 0 var(--orange), -10px 0 var(--orange); transition: transform .3s ease-in-out; }
  .nav li a:hover::after, .nav li a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
  .nav .pill:hover { transform: scale(1.05); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; padding: 2vh 0 calc(var(--wave-hero) + 40px); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__in { position: relative; z-index: 2; }
.hero__box { background: rgba(255, 255, 255, .55); border-radius: 30px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  padding: 20px; text-align: center; color: var(--hero-ink); }
.hero__box h1 { color: var(--hero-ink); font-size: 24px; line-height: 1.2; padding-bottom: 10px; }
.hero__box h2 { color: var(--hero-ink); font-size: 18px; line-height: 1.2; }
.hero__box p { font-size: 18px; margin-top: .4em; }
.hero .btn-row { flex-direction: column; align-items: center; margin-top: 32px; gap: 20px; }
.has-wave { position: relative; }
.has-wave::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave); z-index: 1; pointer-events: none;
  background: url(/assets/img/wave-white.svg) 0 0 / 100% 100% no-repeat; }
.hero.has-wave::after { height: var(--wave-hero); }
.has-wave--blue::after { background-image: url(/assets/img/wave-blue.svg); }
.has-wave--flip::after { transform: scaleX(-1); }

/* ---------- intro + cards ---------- */
.intro { padding: 0 0 40px; text-align: center; }
.badge { width: 175px; margin: 0 auto 30px; border-radius: 12px; overflow: hidden; }
.intro h2 { font-size: 24px; }
.intro p { font-size: 18px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 54px; padding: 0 0 20px; list-style: none; }
.card { background: #fff; border-radius: 30px; box-shadow: var(--shadow); padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.card__icon { width: 66px; height: 66px; color: var(--orange-icon); margin: 6px 0 24px; }
.card h3 { font-size: 22px; padding-bottom: 10px; }
.card p { margin: 0; }
.card .btn { margin-top: auto; }
.card p + .btn { margin-top: 24px; }

/* ---------- feature sections (alternating blue / white) ---------- */
.feature { padding: 40px 0 calc(var(--wave) + 50px); }
.feature--blue { background: var(--blue); color: #fff; }
.feature--blue h2 { color: #fff; }
.feature--white { background: #fff; }
.feature__head { text-align: center; padding: 27px 0; }
.feature__head h2 { line-height: 1.1; }
.feature__checks { font-weight: 700; }
.feature__row { display: flex; flex-direction: column; gap: 0; padding-top: 10px; }
.feature__media { order: 1; }
.feature__media img { width: 100%; border: 3px solid var(--orange); border-radius: 0 50px 0 50px; }
.feature__text { order: 2; }
.bubble { background: #fff; border: 3px solid var(--blue); border-radius: 50px 50px 50px 0; padding: 30px; margin: 40px 0 20px; }
.bubble p { color: var(--blue); font-weight: 900; font-size: 22px; line-height: 1.2; margin: 0; }

/* ---------- contact block ---------- */
.contact-sec { background: var(--blue); color: #fff; padding: 40px 0; margin-bottom: 2px; }
.contact-sec h2 { color: #fff; }
.contact-sec__intro { text-align: center; padding: 27px 0 10px; }
.contact-sec__intro p { font-weight: 700; }
.contact-btns { display: grid; grid-template-columns: 1fr; gap: 20px; justify-items: center; padding: 27px 0; }
.contact-btns .btn { max-width: 100%; white-space: normal; word-break: break-word; }
.contact-page { padding: 50px 0 60px; }
.contact-page h1 { font-size: 24px; text-align: center; padding-bottom: 10px; }
.contact-page__text { text-align: center; }

/* ---------- form ---------- */
.cform { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; margin: 10px 0 0; font-size: 16px; }
.contact-page .cform { padding: 20px 0; }
.cform fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.cform legend, .cform .lbl { display: block; font-weight: 700; font-size: 16px; padding: 0; margin: 0 0 4px; }
.cform .req { color: #d63637; font-weight: 400; }
.cform__name { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cform__sub { display: block; font-size: 13px; color: #444; margin-top: 2px; }
.field { margin: 0 0 20px; }
.cform input[type="text"], .cform input[type="email"], .cform textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 2px; padding: 8px 10px; min-height: 44px; }
.cform textarea { min-height: 130px; resize: vertical; }
.cform input:focus, .cform textarea:focus { border-color: var(--blue); outline: 2px solid rgba(2, 121, 187, .25); outline-offset: 0; }
.is-invalid input, .is-invalid textarea, input.is-invalid { border-color: #b3261e; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.cform__consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.cform__consent a { color: var(--blue); }
.cform__consent.is-invalid { color: #b3261e; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cform__status { margin: 0; font-size: 15px; font-weight: 700; }
.cform__status.is-ok { color: #1e6b34; }
.cform__status.is-error { color: #b3261e; }
.cform.is-sending button { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
.footer { background: var(--blue); color: #fff; padding: 40px 0 0; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; padding-bottom: 40px; }
.footer__info { margin: 0; font-size: 18px; line-height: 1.6; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__logo { display: flex; justify-content: center; }
.footer__logo img { width: 190px; border-radius: 10px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .35); padding: 16px 0 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__credit a { text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.footer .linkbtn { text-decoration: none; }
.footer .linkbtn:hover { text-decoration: underline; }

/* ---------- legal pages ---------- */
.phead { padding: 50px 0 10px; text-align: center; }
.phead h1 { font-size: 28px; }
.phead p { color: var(--muted); }
.prose { max-width: 860px; margin: 0 auto; padding: 20px 0 70px; font-size: 17px; }
.prose h2 { font-size: 22px; margin: 36px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--blue); }
.prose ul { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose code { font-size: .88em; background: #f2f4f6; padding: 2px 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.prose th { text-align: left; padding: 10px 12px 10px 0; border-bottom: 2px solid var(--blue); }
.prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid #dde3e8; vertical-align: top; }
.prose__date { font-size: 14px; color: var(--muted); }
.todo { background: #fff3cd; padding: 0 4px; }
.prefs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; margin: 8px 0 28px; background: #f2f7fb; border-left: 4px solid var(--blue); }
.prefs p { margin: 0; }
.notfound { padding: 70px 0 90px; text-align: center; }

/* ---------- cookie consent ---------- */
.consent { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 200; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px;
  padding: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .35); border-top: 4px solid var(--orange); border-radius: 12px; font-size: 15px; line-height: 1.55; }
.consent[hidden] { display: none; }
.consent__text p { margin: 0 0 8px; }
.consent__text p:last-child { margin-bottom: 0; }
.consent__text a { color: var(--blue); }
.consent__title { font-weight: 900; font-size: 18px; color: var(--blue); }
.consent__details, .consent__current { font-size: 13px; color: var(--muted); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.consent__actions .linkbtn { flex-basis: 100%; font-size: 14px; font-weight: 700; color: var(--blue); text-align: left; }
.consent__actions .btn { flex: 1; min-height: 44px; font-size: 15px; padding: 9px 18px; }

/* ---------- tablet ---------- */
@media (min-width: 600px) {
  .cform__name { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-btns { grid-template-columns: 1fr 1fr; }
  .consent { flex-direction: row; align-items: flex-end; gap: 24px 32px; padding: 24px 28px; left: 16px; right: 16px; bottom: 16px; }
  .consent__actions { flex: none; flex-wrap: nowrap; }
  .consent__actions .linkbtn { flex-basis: auto; margin-right: 6px; }
}
@media (min-width: 768px) {
  :root { --wave-hero: 180px; --wave: 100px; }
  body { font-size: 20px; }
  .container { width: 80%; }
  h2, .intro h2 { font-size: 27px; }
  .intro p, .hero__box p { font-size: 20px; }
  .hero { min-height: 75vh; padding-top: 10vh; padding-bottom: calc(var(--wave-hero) + 20px); }
  .hero__box h1 { font-size: 44px; }
  .hero__box h2 { font-size: 27px; }
  .hero .btn-row { flex-direction: row; margin-top: 20px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 40px 5.5%; }
  .card h3 { font-size: 23px; }
  .feature { padding-bottom: 100px; }
  .feature__row { flex-direction: row; align-items: center; gap: 5.5%; padding-top: 9px; }
  .feature__text { order: 1; flex: 0 0 57.8%; }
  .feature__media { order: 2; flex: 0 0 36.7%; }
  .bubble { margin: 0 50px 20px 0; }
  .bubble p { font-size: 27px; }
  .btn { font-size: 18px; padding: 15px 22px; }
  .btn--hero { padding: 7px 16px 7px 15px; }
  .btn--sm { font-size: 14px; padding: 14px 24px; }
  .contact-page h1 { font-size: 27px; }
  .cform__name, .cform .field--half { max-width: 60%; }
  .cform .field--half input { width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 5.5%; }
  .footer__info { font-size: 20px; }
  .phead h1 { font-size: 34px; }
}
@media (min-width: 981px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 5.5%; }
  .phone-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-top, .consent, .contact-sec, .hero__bg, .has-wave::after { display: none !important; }
}
