@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --h-bg: #f4f1ee;
    --h-bg-deep: #e9e2dc;
    --h-surface: #ffffff;
    --h-surface-soft: #faf8f6;
    --h-line: #ddd2c9;
    --h-ink: #1f1a17;
    --h-muted: #655c55;
    --h-brand: #7b4a4c;
    --h-brand-strong: #61393c;
    --h-accent: #c79d80;
    --h-shadow: 0 18px 34px rgba(48, 35, 28, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--h-ink);
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at 10% -8%, rgba(123, 74, 76, 0.16), transparent 40%),
        radial-gradient(circle at 90% 8%, rgba(199, 157, 128, 0.14), transparent 36%),
        linear-gradient(160deg, var(--h-bg) 0%, var(--h-bg-deep) 100%);
}

body[data-page="coiffeur"] {
    position: relative;
    overflow-x: hidden;
}

body[data-page="coiffeur"]::before,
body[data-page="coiffeur"]::after {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

body[data-page="coiffeur"]::before {
    left: -32px;
    top: 20vh;
    width: 260px;
    height: 160px;
    opacity: 0.2;
    transform: rotate(-8deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 170' fill='none'%3E%3Crect x='16' y='24' width='248' height='38' rx='14' stroke='%237b4a4c' stroke-width='7'/%3E%3Cpath d='M44 62v88M63 62v92M82 62v86M101 62v92M120 62v88M139 62v94M158 62v88M177 62v92M196 62v86M215 62v92M234 62v88' stroke='%237b4a4c' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

body[data-page="coiffeur"]::after {
    right: -38px;
    top: 58vh;
    width: 250px;
    height: 200px;
    opacity: 0.2;
    transform: rotate(10deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 220' fill='none'%3E%3Ccircle cx='74' cy='74' r='30' stroke='%2361393c' stroke-width='8'/%3E%3Ccircle cx='166' cy='74' r='30' stroke='%2361393c' stroke-width='8'/%3E%3Cpath d='M95 95l98 98' stroke='%2361393c' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M145 95L47 193' stroke='%2361393c' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}

.halo-page {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 42px;
}

.halo-nav,
.halo-hero-copy,
.halo-panel,
.halo-services article,
.halo-client-card,
.halo-result,
.halo-contact,
footer {
    border: 1px solid var(--h-line);
    border-radius: 18px;
    background: var(--h-surface);
    box-shadow: var(--h-shadow);
}

.halo-nav {
    position: sticky;
    top: 12px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.halo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.halo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: "Newsreader", serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--h-brand), var(--h-brand-strong));
}

.halo-brand strong {
    display: block;
    font-family: "Newsreader", serif;
    font-size: 1.06rem;
}

.halo-brand small {
    color: var(--h-muted);
}

.halo-nav nav {
    display: flex;
    gap: 18px;
}

.halo-nav nav a {
    color: var(--h-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.halo-nav nav a:hover,
.halo-nav nav a:focus-visible {
    color: var(--h-brand);
}

.halo-cta,
.btn-solid {
    border-radius: 999px;
    padding: 11px 18px;
    border: 1px solid transparent;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--h-brand), var(--h-brand-strong));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.halo-cta:hover,
.btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(97, 57, 60, 0.25);
}

.btn-outline {
    border-radius: 999px;
    padding: 10px 17px;
    border: 1px solid var(--h-line);
    background: var(--h-surface-soft);
    color: var(--h-ink);
    font-weight: 700;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: #cdbeb2;
    background: #fff;
}

main {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.halo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
    gap: 14px;
}

.halo-hero-copy,
.halo-panel {
    padding: 26px;
}

.halo-kicker,
.halo-services p,
.halo-client-info p {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: var(--h-brand-strong);
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0;
    color: #1b1613;
    font-family: "Newsreader", serif;
    line-height: 1.03;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.7rem);
    max-width: 14ch;
}

h2 {
    font-size: clamp(1.45rem, 3.2vw, 2.3rem);
}

h3 {
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
}

.halo-hero-lead,
.halo-panel span,
.halo-services span,
.halo-client-info span,
.halo-result > span,
.halo-contact p {
    color: var(--h-muted);
    line-height: 1.56;
    font-size: 1.02rem;
}

.halo-actions,
.halo-contact-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.halo-panel {
    background:
        linear-gradient(180deg, #ffffff 0%, #faf8f6 100%);
}

.halo-panel p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.73rem;
    color: var(--h-brand-strong);
    font-weight: 700;
}

.halo-panel strong {
    display: block;
    margin-top: 6px;
    font-family: "Newsreader", serif;
    font-size: 1.36rem;
    line-height: 1.08;
}

.halo-panel hr {
    border: 0;
    border-top: 1px solid var(--h-line);
    margin: 16px 0;
}

.halo-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.halo-services article {
    padding: 22px;
    min-height: 200px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.halo-clients {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.halo-client-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: 190px auto;
}

.halo-client-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.halo-client-info {
    padding: 16px 18px 18px;
    display: grid;
    gap: 8px;
}

.halo-result {
    padding: 22px;
    display: grid;
    gap: 12px;
}

.halo-result h2 {
    max-width: 16ch;
}

.halo-compare-slider {
    --position: 50%;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--h-line);
    background: #efe8e2;
    aspect-ratio: 4 / 3;
}

.compare-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.compare-before-layer {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.compare-tag {
    position: absolute;
    top: 10px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #fff;
    background: rgba(24, 20, 18, 0.58);
    pointer-events: none;
}

.compare-tag-before {
    left: 10px;
}

.compare-tag-after {
    right: 10px;
}

.compare-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 2px;
    background: rgba(255, 255, 255, 0.92);
    transform: translateX(-1px);
    z-index: 2;
    pointer-events: none;
}

.compare-thumb {
    position: absolute;
    top: 50%;
    left: var(--position);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, var(--h-brand), var(--h-accent));
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 8px 16px rgba(21, 16, 13, 0.25);
    pointer-events: none;
}

.compare-thumb::before,
.compare-thumb::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.compare-thumb::before {
    left: 10px;
    transform: translateY(-50%) rotate(-135deg);
}

.compare-thumb::after {
    right: 10px;
    transform: translateY(-50%) rotate(45deg);
}

.compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
}

.halo-contact {
    padding: 24px;
    display: grid;
    gap: 14px;
}

footer {
    margin-top: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--h-muted);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .halo-nav {
        flex-wrap: wrap;
    }

    .halo-hero {
        grid-template-columns: 1fr;
    }

    .halo-services,
    .halo-clients {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .halo-page {
        width: min(1180px, calc(100% - 16px));
        padding-top: 10px;
    }

    .halo-nav nav {
        width: 100%;
        overflow-x: auto;
        gap: 12px;
    }

    .halo-cta {
        width: 100%;
        text-align: center;
    }

    .halo-hero-copy,
    .halo-panel,
    .halo-services article,
    .halo-client-card,
    .halo-result,
    .halo-contact,
    footer {
        border-radius: 15px;
    }

    .halo-services article,
    .halo-result,
    .halo-contact,
    footer {
        padding: 18px;
    }

    .halo-services,
    .halo-clients {
        grid-template-columns: 1fr;
    }

    body[data-page="coiffeur"]::before {
        left: -74px;
        top: 16vh;
        width: 210px;
        height: 140px;
        opacity: 0.15;
    }

    body[data-page="coiffeur"]::after {
        right: -84px;
        top: 67vh;
        width: 200px;
        height: 164px;
        opacity: 0.15;
    }

    .compare-thumb {
        width: 36px;
        height: 36px;
    }
}
