:root {
    --noir: #050505;
    --noir-profond: #010101;
    --anthracite: #141414;
    --anthracite-clair: #202020;
    --orange: #ff7900;
    --orange-clair: #ff9d21;
    --blanc: #ffffff;
    --ivoire: #f4f1eb;
    --gris: #333333;
    --gris-clair: #e9e9e9;
    --ombre: 0 24px 80px rgba(0, 0, 0, 0.28);
    --radius: 28px;
    --topbar-height: 104px;
}

/* Reset propre */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding-top: var(--topbar-height);
    font-family: 'Lato', Arial, sans-serif;
    color: var(--noir);
    background: var(--ivoire);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 121, 0, 0.12), transparent 22%),
        radial-gradient(circle at 88% 10%, rgba(0, 0, 0, 0.08), transparent 26%),
        linear-gradient(135deg, #f4f1eb 0%, #eeeeeb 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.035;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.24) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.24) 1px, transparent 1px);
    background-size: 76px 76px;
}

main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section,
header,
footer {
    max-width: 100%;
}

section[id],
:target {
    scroll-margin-top: calc(var(--topbar-height) + 34px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 1.75;
}

h1,
h2,
h3,
p,
a,
span,
strong {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

button,
input,
textarea {
    font-family: inherit;
}

/* Header fixe */

.topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: var(--topbar-height);
    z-index: 2000 !important;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6vw;
    background: rgba(1, 1, 1, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 4px solid var(--orange);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38);

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.brand {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.brand img {
    height: 78px;
    width: auto;
    object-fit: contain;
    background: var(--noir);
    border-radius: 18px;
    padding: 6px;
    border: 1px solid rgba(255, 121, 0, 0.55);
}

/* Ancien menu horizontal, conservé si besoin */

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--blanc);
}

.nav a {
    position: relative;
    padding: 10px 0;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--orange-clair);
    transition: width 0.25s ease;
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: var(--orange);
    border-radius: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--blanc);
    display: block;
}

/* Hero */

.hero {
    width: 100%;
    max-width: 100%;
    min-height: calc(100svh - var(--topbar-height));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 5vw;
    padding: clamp(64px, 8vh, 104px) 8vw clamp(56px, 8vh, 96px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    right: -12vw;
    top: 8vh;
    width: min(55vw, 680px);
    height: min(55vw, 680px);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.14), rgba(255, 121, 0, 0.18));
    z-index: -1;
    pointer-events: none;
}

.hero-content,
.hero-media {
    min-width: 0;
}

.eyebrow {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    margin: 0 0 16px;
}

.hero h1,
.section-title h2,
.parquet-panel h2,
.cta h2,
.contact-card h2 {
    margin: 0;
    color: var(--noir);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    max-width: 920px;
}

.hero-text {
    max-width: 720px;
    font-size: 1.22rem;
    color: #222222;
    margin: 28px 0 24px;
    font-weight: 500;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 34px;
}

.hero-tags span {
    max-width: 100%;
    white-space: normal;
    background: var(--blanc);
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--noir);
    font-weight: 900;
    font-size: 0.82rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.84rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-clair));
    color: var(--noir);
    box-shadow: 0 18px 38px rgba(255, 121, 0, 0.34);
}

.btn-secondary {
    color: var(--noir);
    border-color: var(--noir);
    background: var(--blanc);
}

/* Photos hero */

.hero-media {
    min-height: 560px;
    position: relative;
    max-width: 100%;
}

.photo-frame {
    position: absolute;
    overflow: hidden;
    background: var(--noir-profond);
    box-shadow: var(--ombre);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-frame:hover img {
    transform: scale(1.05);
}

.main-photo {
    width: 78%;
    height: 440px;
    right: 0;
    top: 30px;
    border-radius: 44px;
    border: 12px solid var(--blanc);
}

.small-photo {
    width: 46%;
    height: 250px;
    left: 0;
    bottom: 20px;
    border-radius: 34px;
    border: 10px solid var(--blanc);
}

.logo-medallion {
    position: absolute;
    left: 42%;
    bottom: 34px;
    width: 190px;
    min-height: 150px;
    background: var(--noir);
    border-radius: 32px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 4px solid var(--orange);
}

.logo-medallion img {
    width: 100%;
    height: auto;
}

/* Sections */

.section,
.section-narrow,
.parquet-section,
.contact-section {
    width: 100%;
    max-width: 100%;
    padding: 9vh 8vw;
    overflow-x: hidden;
}

.section-narrow {
    max-width: 1050px;
    margin: 0 auto;
    padding-top: 2vh;
    padding-bottom: 4vh;
    font-size: 1.25rem;
    color: #161616;
    text-align: center;
    font-weight: 500;
}

.section-dark {
    background: var(--noir) !important;
    color: var(--blanc) !important;
    position: relative;
}

.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 121, 0, 0.18), transparent 24%),
        linear-gradient(135deg, #050505 0%, #111111 100%);
    pointer-events: none;
}

.section-dark > * {
    position: relative;
    z-index: 1;
}

.section-dark .eyebrow {
    color: var(--orange-clair) !important;
}

.section-dark .section-title h2 {
    color: var(--blanc) !important;
}

.section-title {
    max-width: 920px;
    margin-bottom: 46px;
}

.section-title h2,
.parquet-panel h2,
.cta h2,
.contact-card h2 {
    font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.service-card,
.project-card,
.step,
details,
.coordination-box {
    background: var(--blanc);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
    min-width: 0;
}

.service-card {
    padding: 30px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.section-dark .service-card {
    background: var(--anthracite) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.50) !important;
}

.section-dark .service-card h3,
.section-dark .service-card p {
    color: var(--blanc) !important;
}

.service-card.highlight,
.section-dark .service-card.highlight {
    background: linear-gradient(145deg, var(--orange), var(--orange-clair)) !important;
    color: var(--noir) !important;
    grid-row: span 2;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.section-dark .service-card.highlight h3,
.section-dark .service-card.highlight p,
.service-card.highlight h3,
.service-card.highlight p {
    color: var(--noir) !important;
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(255, 121, 0, 0.16);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 24px;
}

.section-dark .service-card .icon {
    background: rgba(255, 121, 0, 0.20) !important;
    color: var(--orange-clair) !important;
}

.section-dark .service-card.highlight .icon,
.highlight .icon {
    background: rgba(0, 0, 0, 0.14) !important;
    color: var(--noir) !important;
}

.service-card h3,
.project-card h3,
.step h3,
.coordination-box h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    color: var(--noir);
}

.service-card p,
.project-card p,
.step p,
details p,
.coordination-box p {
    margin: 0;
    color: var(--gris);
    font-weight: 500;
}

/* Coordination */

.light-section {
    background: var(--blanc) !important;
}

.coordination-box {
    padding: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.coordination-list {
    display: grid;
    gap: 14px;
}

.coordination-list p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--noir);
}

.coordination-list i {
    color: var(--orange);
}

/* Tarifs */

.parquet-section {
    position: relative;
}

.parquet-panel {
    background: var(--noir) !important;
    color: var(--blanc);
    border-radius: 44px;
    padding: 6vw;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 5vw;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: var(--ombre);
}

.parquet-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.parquet-panel::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 121, 0, 0.36);
    pointer-events: none;
}

.parquet-panel h2,
.parquet-panel p {
    color: var(--blanc) !important;
}

.parquet-panel > * {
    position: relative;
    z-index: 1;
}

.parquet-list {
    display: grid;
    gap: 18px;
}

.parquet-list div {
    background: var(--anthracite) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    padding: 24px;
}

.parquet-list span {
    color: var(--orange-clair);
    font-weight: 900;
    letter-spacing: 0.16em;
}

.parquet-list strong {
    display: block;
    margin: 8px 0;
    font-size: 1.15rem;
    color: var(--blanc);
}

.pricing-list strong {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    color: var(--blanc);
}

/* Méthode */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.step {
    padding: 28px;
}

.step span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--noir);
    color: var(--blanc);
    font-weight: 900;
    margin-bottom: 20px;
}

/* Réalisations */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    overflow: hidden;
}

.project-card h3,
.project-card p {
    padding-left: 26px;
    padding-right: 26px;
}

.project-card h3 {
    padding-top: 24px;
}

.project-card p {
    padding-bottom: 30px;
}

.project-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* CTA */

.cta {
    margin: 4vh 8vw;
    padding: 44px;
    background: var(--noir) !important;
    color: var(--blanc) !important;
    border-radius: 34px;
    box-shadow: var(--ombre);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    border: 1px solid rgba(255, 121, 0, 0.38);
}

.cta h2,
.cta p {
    color: var(--blanc) !important;
}

.cta p:last-child {
    margin-bottom: 0;
}

/* FAQ */

.faq {
    display: grid;
    gap: 16px;
    max-width: 980px;
}

details {
    padding: 22px 26px;
}

summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--noir);
    font-size: 1.1rem;
}

details p {
    margin-top: 16px;
}

/* Contact */

.contact-section {
    padding-bottom: 12vh;
}

.contact-card {
    background: var(--blanc);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 44px;
    box-shadow: var(--ombre);
    padding: 5vw;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 5vw;
}

.contact-info {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    color: var(--noir);
    font-weight: 900;
}

.contact-info a,
.contact-info span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    color: var(--orange);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--noir);
    font-weight: 900;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-radius: 18px;
    padding: 16px 18px;
    font: inherit;
    background: #f8fafc;
    color: var(--noir);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.14);
}

textarea {
    resize: vertical;
}

.contact-form .btn {
    border: 0;
    margin-top: 8px;
}

/* Footer */

.footer {
    background: var(--noir);
    color: var(--blanc);
    min-height: 190px;
    padding: 38px 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 4px solid var(--orange);
}

.footer img {
    height: 82px;
    background: var(--noir);
    border-radius: 18px;
    padding: 8px;
    border: 1px solid rgba(255, 121, 0, 0.50);
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
}

.footer a {
    color: var(--blanc);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Bouton flottant appel direct */

.call-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2300;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    min-height: 64px;
    padding: 12px 22px 12px 16px;

    color: var(--noir);
    background: linear-gradient(135deg, var(--orange), var(--orange-clair));
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    text-decoration: none;

    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.call-floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    background: linear-gradient(135deg, var(--noir), #171717);
    color: var(--blanc);
}

.call-floating i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.12);
    border-radius: 50%;

    font-size: 1.25rem;
    color: currentColor;
}

.call-floating span {
    display: grid;
    line-height: 1.1;
}

.call-floating strong {
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.call-floating small {
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 900;
}

.call-floating::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    border: 2px solid rgba(255, 121, 0, 0.35);
    animation: callPulse 1.8s infinite;
    pointer-events: none;
}

@keyframes callPulse {
    0% {
        opacity: 0.9;
        transform: scale(0.96);
    }

    100% {
        opacity: 0;
        transform: scale(1.16);
    }
}

/* Animations désactivées pour éviter l’effet de voile blanc si le script ne se déclenche pas */

.reveal,
.reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.delay-1,
.delay-2,
.delay-3 {
    transition-delay: 0s !important;
}

/* Responsive tablette */

@media screen and (max-width: 1100px) {
    .hero,
    .parquet-panel,
    .contact-card,
    .coordination-box {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 520px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Responsive mobile */

@media screen and (max-width: 780px) {
    :root {
        --topbar-height: 86px;
    }

    body {
        padding-top: var(--topbar-height);
    }

    .topbar {
        height: var(--topbar-height);
        padding: 0 5vw;
    }

    .brand img {
        height: 64px;
        border-radius: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--topbar-height);
        left: 5vw;
        right: 5vw;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--noir-profond);
        border-radius: 0 0 24px 24px;
        box-shadow: var(--ombre);
        padding: 12px;
    }

    .menu-open .nav {
        display: flex;
    }

    .nav a {
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 42px 6vw 6vh;
        gap: 4vh;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.15rem, 10vw, 3.4rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .hero-text {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-actions,
    .cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-media {
        min-height: auto;
        display: grid;
        gap: 18px;
    }

    .photo-frame,
    .main-photo,
    .small-photo,
    .logo-medallion {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 100%;
    }

    .main-photo,
    .small-photo {
        height: 290px;
        border-radius: 28px;
        border: 8px solid var(--blanc);
    }

    .logo-medallion {
        min-height: auto;
        padding: 16px;
    }

    .logo-medallion img {
        max-width: 260px;
        margin: 0 auto;
    }

    .section,
    .section-narrow,
    .parquet-section,
    .contact-section {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .section-narrow {
        font-size: 1.05rem;
    }

    .section-title h2,
    .parquet-panel h2,
    .cta h2,
    .contact-card h2 {
        font-size: clamp(2rem, 9vw, 3rem);
        max-width: 100%;
    }

    .services-grid,
    .projects-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .service-card.highlight {
        grid-row: auto;
    }

    .parquet-panel,
    .contact-card,
    .coordination-box {
        border-radius: 30px;
        padding: 30px;
    }

    .cta {
        margin: 4vh 6vw;
        padding: 30px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .call-floating {
        right: 16px;
        bottom: 16px;

        width: 62px;
        height: 62px;
        min-height: 62px;

        padding: 0;
        justify-content: center;
    }

    .call-floating i {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
    }

    .call-floating span {
        display: none;
    }
}

/* Très petit écran */

@media screen and (max-width: 440px) {
    .hero {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .hero h1 {
        font-size: clamp(2rem, 9.5vw, 2.8rem);
    }

    .hero-tags span {
        font-size: 0.78rem;
        padding: 7px 11px;
    }

    .section-title h2,
    .parquet-panel h2,
    .cta h2,
    .contact-card h2 {
        font-size: 2.1rem;
    }

    .service-card,
    .step,
    details,
    .coordination-box,
    .contact-card,
    .parquet-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .project-card h3,
    .project-card p {
        padding-left: 22px;
        padding-right: 22px;
    }
}
