/* ROOFPRO — Roofing / maçonnerie · dark navy + orange */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --rp-navy: #0e2240;
    --rp-navy-soft: #173158;
    --rp-orange: #f37121;
    --rp-orange-deep: #d75d10;
    --rp-gray: #f3f4f7;
    --rp-cream: #fffaf3;
    --rp-text: #16243d;
    --rp-text-mute: #6a7689;
    --rp-line: #e3e6ec;
    --rp-white: #ffffff;
    --rp-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --rp-display: 'Bebas Neue', 'Inter', sans-serif;
    --rp-radius: 14px;
    --rp-shadow: 0 18px 40px -22px rgba(14, 34, 64, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--rp-white); color: var(--rp-text); font-family: var(--rp-font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
button { background: 0; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
[x-cloak] { display: none !important; }

/* Preview banner */
.preview-banner {
    background: var(--rp-orange);
    color: #fff;
    text-align: center;
    padding: .6rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .02em;
}

/* Buttons */
.rp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.6rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background .2s, transform .2s, box-shadow .2s;
    cursor: pointer;
    line-height: 1;
}
.rp-btn--orange { background: var(--rp-orange); color: #fff; box-shadow: 0 8px 20px -10px rgba(243, 113, 33, .65); }
.rp-btn--orange:hover { background: var(--rp-orange-deep); transform: translateY(-2px); }
.rp-btn--pill { border-radius: 999px; padding: .7rem 1.35rem; font-size: .82rem; }
.rp-btn--lg { padding: 1.05rem 2rem; font-size: .95rem; }

/* Eyebrow / badge */
.rp-badge {
    display: inline-block;
    background: rgba(243, 113, 33, .1);
    color: var(--rp-orange);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    padding: .55rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.rp-section-title {
    font-family: var(--rp-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    color: var(--rp-navy);
    letter-spacing: .01em;
    margin-bottom: 1rem;
    font-weight: 400;
}
.rp-section-title--center { text-align: center; }

/* HEADER */
.rp-header { background: var(--rp-navy); padding: 1.05rem 2rem; position: sticky; top: 0; z-index: 50; }
.rp-header__inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.rp-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.25rem; color: var(--rp-orange); letter-spacing: -.01em; }
.rp-logo__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--rp-orange); color: #fff; border-radius: 8px; }
.rp-logo--light { color: var(--rp-orange); }
.rp-logo__text { font-family: var(--rp-display); font-size: 1.5rem; letter-spacing: .04em; font-weight: 400; }

.rp-nav ul { display: flex; gap: 1.7rem; }
.rp-nav a { color: rgba(255, 255, 255, .82); font-size: .9rem; font-weight: 500; }
.rp-nav a:hover, .rp-nav a.is-active { color: var(--rp-orange); }

/* HERO */
.rp-hero {
    background: var(--rp-gray);
    padding: 4.5rem 2rem 5rem;
}
.rp-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.rp-hero__title {
    font-family: var(--rp-display);
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 1;
    letter-spacing: .005em;
    color: var(--rp-navy);
    margin-bottom: 1.4rem;
    font-weight: 400;
}
.rp-hero__lead { color: var(--rp-text-mute); margin-bottom: 2rem; max-width: 500px; font-size: 1.05rem; }
.rp-hero__photo {
    border-radius: var(--rp-radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--rp-shadow);
}
.rp-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* MISSION */
.rp-mission { background: #fff; padding: 5rem 2rem; }
.rp-mission__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
}
.rp-mission__photo { border-radius: var(--rp-radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--rp-shadow); }
.rp-mission__photo img { width: 100%; height: 100%; object-fit: cover; }
.rp-mission__lead { color: var(--rp-text-mute); margin-bottom: 2rem; max-width: 540px; }

.rp-mission__cards { display: flex; flex-direction: column; gap: 1rem; }
.rp-mission__card {
    background: var(--rp-orange);
    color: #fff;
    border-radius: var(--rp-radius);
    padding: 1.4rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
    align-items: center;
    box-shadow: 0 14px 30px -18px rgba(243, 113, 33, .55);
    transition: transform .25s;
}
.rp-mission__card:hover { transform: translateY(-3px); }
.rp-mission__num {
    font-family: var(--rp-display);
    font-size: 2.1rem;
    line-height: 1;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .02em;
}
.rp-mission__body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.rp-mission__body p { font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.rp-mission__arrow {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
}

/* SERVICES */
.rp-services { background: var(--rp-gray); padding: 5rem 2rem; }
.rp-services__inner { max-width: 1280px; margin: 0 auto; }
.rp-services__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.rp-services__intro { color: var(--rp-text-mute); }

.rp-services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.rp-services__list { display: flex; flex-direction: column; gap: 1rem; }
.rp-services__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 1.15rem 1.35rem;
    transition: transform .2s, box-shadow .2s;
}
.rp-services__list li:hover { transform: translateX(4px); box-shadow: var(--rp-shadow); }
.rp-services__check {
    width: 36px; height: 36px;
    background: rgba(243, 113, 33, .14);
    color: var(--rp-orange);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.rp-services__name { font-weight: 600; color: var(--rp-navy); font-size: 1rem; }

.rp-services__visual { display: flex; flex-direction: column; gap: 1.25rem; }
.rp-services__photo { border-radius: var(--rp-radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--rp-shadow); }
.rp-services__photo img { width: 100%; height: 100%; object-fit: cover; }
.rp-services__desc { color: var(--rp-text-mute); }
.rp-services__visual .rp-btn { align-self: flex-start; }

/* WHY */
.rp-why { background: #fff; padding: 5rem 2rem; }
.rp-why__inner { max-width: 1280px; margin: 0 auto; }
.rp-why__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.rp-why__intro { color: var(--rp-text-mute); }

.rp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.rp-why__card {
    background: var(--rp-cream);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 1.85rem 1.5rem;
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rp-why__card:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow); border-color: var(--rp-orange); }
.rp-why__icon {
    width: 56px; height: 56px;
    background: rgba(243, 113, 33, .12);
    color: var(--rp-orange);
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.rp-why__card h3 { font-size: 1.1rem; font-weight: 700; color: var(--rp-navy); margin-bottom: .55rem; }
.rp-why__card p { font-size: .92rem; color: var(--rp-text-mute); line-height: 1.6; }

/* CTA band */
.rp-cta { background: var(--rp-navy); padding: 4.5rem 2rem; }
.rp-cta__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.rp-cta__title {
    font-family: var(--rp-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    letter-spacing: .01em;
    font-weight: 400;
}

/* FOOTER */
.rp-footer { background: var(--rp-navy); color: rgba(255, 255, 255, .82); padding: 4rem 2rem 1.6rem; }
.rp-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.rp-footer__col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .01em; }
.rp-footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.rp-footer__col a { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.rp-footer__col a:hover { color: var(--rp-orange); }
.rp-footer__brand p { font-size: .92rem; color: rgba(255, 255, 255, .72); margin-top: 1rem; max-width: 320px; }
.rp-footer__contact li { font-size: .9rem; color: rgba(255, 255, 255, .72); }

.rp-footer__divider {
    height: 3px;
    background: var(--rp-orange);
    max-width: 1280px;
    margin: 2.5rem auto 1.4rem;
    border-radius: 2px;
}
.rp-footer__bottom {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
}
.rp-footer__socials { letter-spacing: .12em; }

/* Generic 404 + contact (clone helpers) */
.not-found { padding: 5rem 2rem; text-align: center; }
.not-found .container { max-width: 700px; margin: 0 auto; }
.not-found h1 { font-family: var(--rp-display); font-size: 2.4rem; color: var(--rp-navy); margin-bottom: 1rem; font-weight: 400; }
.not-found p { color: var(--rp-text-mute); margin-bottom: 1.5rem; }
.btn { display: inline-flex; padding: .85rem 1.6rem; border-radius: 10px; font-weight: 700; }
.btn-primary { background: var(--rp-orange); color: #fff; }
.btn-primary:hover { background: var(--rp-orange-deep); }

.contact-page { padding: 4rem 2rem; background: var(--rp-gray); }
.contact-page .container { max-width: 1100px; margin: 0 auto; }
.contact-page .two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-page h1 { font-family: var(--rp-display); font-size: 2.4rem; color: var(--rp-navy); margin-bottom: 1.25rem; font-weight: 400; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; border-radius: var(--rp-radius); padding: 2rem; box-shadow: var(--rp-shadow); }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--rp-navy); }
.contact-form input, .contact-form textarea, .contact-form select {
    padding: .75rem .9rem; border: 1px solid var(--rp-line); border-radius: 8px; font: inherit; color: var(--rp-text); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: 2px solid var(--rp-orange); outline-offset: 1px; border-color: var(--rp-orange);
}
.contact-form .hp { position: absolute; left: -10000px; height: 1px; width: 1px; opacity: 0; }
.contact-form button { background: var(--rp-orange); color: #fff; padding: .9rem 1.4rem; border-radius: 10px; font-weight: 700; }
.contact-form button:hover { background: var(--rp-orange-deep); }
.flash { padding: .85rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; }
.flash-success { background: #e6f7ee; color: #0a6b3a; }
.flash-error { background: #fde7e7; color: #a02020; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .rp-hero__inner,
    .rp-mission__inner,
    .rp-services__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .rp-why__grid { grid-template-columns: repeat(2, 1fr); }
    .rp-footer__inner { grid-template-columns: 1fr 1fr; }
    .rp-hero__photo, .rp-mission__photo { aspect-ratio: 16 / 10; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 720px) {
    .rp-header { padding: .9rem 1.1rem; }
    .rp-header__inner { gap: 1rem; }
    .rp-nav { display: none; }
    .rp-hero, .rp-mission, .rp-services, .rp-why, .rp-cta, .rp-footer { padding-left: 1.2rem; padding-right: 1.2rem; }
    .rp-hero { padding-top: 3rem; padding-bottom: 3.5rem; }
    .rp-mission, .rp-services, .rp-why { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .rp-cta { padding-top: 3rem; padding-bottom: 3rem; }
    .rp-why__grid { grid-template-columns: 1fr; }
    .rp-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .rp-footer__bottom { flex-direction: column; gap: .6rem; text-align: center; }
    .rp-mission__card { grid-template-columns: auto 1fr; }
    .rp-mission__arrow { display: none; }
    .contact-page .two-col { grid-template-columns: 1fr; }
}
