/* COSPERF — Électricien jaune + noir, hero wave bottom */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --cp-yellow: #fbb040;
    --cp-yellow-deep: #f0a020;
    --cp-dark: #1a1a1a;
    --cp-dark-soft: #2a2a2a;
    --cp-text: #1a1a1a;
    --cp-text-mute: #6a6a6a;
    --cp-red: #e63946;
    --cp-cream: #fff8eb;
    --cp-line: #f0e0c0;
    --cp-font: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--cp-text); font-family: var(--cp-font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s; }
button { background: 0; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }

/* HEADER yellow */
.cp-header { background: var(--cp-yellow); padding: 1rem 2.5rem; }
.cp-header__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1300px; margin: 0 auto; gap: 2rem; }
.cp-logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.35rem; color: var(--cp-dark); }
.cp-logo__heart { color: var(--cp-red); }
.cp-nav ul { display: flex; gap: 1.85rem; }
.cp-nav a { font-size: .88rem; color: var(--cp-dark); font-weight: 500; }
.cp-nav a:hover { font-weight: 700; }
.cp-nav a.is-active { color: var(--cp-red); font-weight: 700; }

.cp-btn { display: inline-flex; align-items: center; padding: .85rem 1.85rem; border-radius: 999px; font-size: .82rem; font-weight: 700; transition: all .25s; cursor: pointer; }
.cp-btn--dark { background: var(--cp-dark); color: #fff; }
.cp-btn--dark:hover { background: var(--cp-dark-soft); transform: translateY(-2px); }
.cp-btn--yellow { background: var(--cp-yellow); color: var(--cp-dark); }
.cp-btn--yellow:hover { background: var(--cp-yellow-deep); transform: translateY(-2px); }

.cp-eyebrow { display: inline-block; color: var(--cp-red); font-size: .82rem; font-weight: 600; margin-bottom: .75rem; }
.cp-section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--cp-dark); letter-spacing: -.02em; margin-bottom: .85rem; }

/* HERO yellow with wave */
.cp-hero { position: relative; background: var(--cp-yellow); padding: 3rem 2.5rem 5rem; overflow: hidden; }
.cp-hero__inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; padding-bottom: 3rem; }
.cp-hero__eyebrow { display: inline-block; color: var(--cp-red); font-size: .92rem; font-weight: 600; margin-bottom: 1rem; }
.cp-hero__title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--cp-dark); margin-bottom: 1.25rem; }
.cp-hero__lead { color: rgba(26,26,26,.75); margin-bottom: 2rem; max-width: 480px; }
.cp-hero__photo { aspect-ratio: 4/5; max-width: 480px; margin-left: auto; }
.cp-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.cp-hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; width: 100%; height: 80px; }
@media (max-width: 800px) { .cp-hero__inner { grid-template-columns: 1fr; } }

/* SERVICES 3 cards centered */
.cp-services { background: #fff; padding: clamp(3rem, 5vw, 5rem) 2.5rem; }
.cp-services__inner { max-width: 1100px; margin: 0 auto; }
.cp-services__head { text-align: center; margin-bottom: 3rem; }
.cp-services__lead { color: var(--cp-text-mute); max-width: 540px; margin: 0 auto; font-size: .95rem; }
.cp-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cp-services__card { background: var(--cp-cream); padding: 2.5rem 2rem; border-radius: 14px; text-align: center; transition: transform .3s; }
.cp-services__card:hover { transform: translateY(-4px); }
.cp-services__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cp-yellow); color: var(--cp-dark); font-size: 1.5rem; margin-bottom: 1.25rem; }
.cp-services__card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .65rem; }
.cp-services__card p { color: var(--cp-text-mute); font-size: .9rem; line-height: 1.6; margin-bottom: 1.5rem; }
@media (max-width: 800px) { .cp-services__grid { grid-template-columns: 1fr; } }

/* RECOWN split with circle photo */
.cp-recown { background: #fff; padding: clamp(3rem, 5vw, 5rem) 2.5rem; }
.cp-recown__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cp-recown__text p { color: var(--cp-text-mute); margin: 1rem 0 1.5rem; line-height: 1.8; }
.cp-recown__features { padding: 0; margin-bottom: 1.85rem; }
.cp-recown__features li { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; font-weight: 500; }
.cp-recown__check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cp-yellow); color: var(--cp-dark); font-size: .7rem; font-weight: 800; }
.cp-recown__visual { aspect-ratio: 1; background: var(--cp-yellow); border-radius: 50%; overflow: hidden; max-width: 460px; margin-left: auto; }
.cp-recown__visual img { width: 100%; height: 100%; object-fit: cover; }
.cp-recown__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cp-yellow) 0%, var(--cp-yellow-deep) 100%); }
@media (max-width: 800px) { .cp-recown__inner { grid-template-columns: 1fr; } }

/* FOOTER */
.cp-footer { background: var(--cp-dark); color: rgba(255,255,255,.7); padding: 2rem 2.5rem; }
.cp-footer__bottom { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; font-size: .85rem; }

.preview-banner { background: var(--cp-yellow); color: var(--cp-dark); text-align: center; padding: .5rem; font-weight: 700; font-size: .82rem; }
[x-cloak] { display: none !important; }
