:root {
    --paper: #EAF4F1;
    --paper-deep: #DCEEE8;
    --ink: #0E2A2E;
    --ink-soft: #3C5457;
    --line: #BFDAD2;
    --amber: #F5A623;
    --amber-deep: #D6870A;
    --amber-soft: #FCEACA;
    --copper: #B5651D;
    --copper-deep: #8F4E16;
    --teal: #167D6F;
    --teal-deep: #0E5B50;
    --teal-soft: #D2EDE5;
    --sky: #DCEBFB;
    --sky-deep: #B9D9F5;
    --slate: #5B6664;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

a {
    color: inherit;
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper-deep);
    font-weight: 600;
}

.btn-copper {
    background: var(--amber);
    border: 1px solid var(--amber);
    color: var(--ink);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 10px 22px -10px rgba(214, 135, 10, 0.55);
}

.btn-copper:hover {
    background: var(--amber-deep);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-ink {
    border: 1px solid var(--ink);
    color: var(--ink);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background: transparent;
}

.btn-outline-ink:hover {
    background: var(--ink);
    color: #fff;
}

/* ---------- NAV ---------- */
.site-nav {
    background: rgba(234, 244, 241, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    text-decoration: none;
}

.nav-link-custom {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 0.4rem 0.1rem;
}

.nav-link-custom:hover {
    color: var(--copper-deep);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding-top: 6.5rem;
    padding-bottom: 4rem;
    overflow: hidden;
    color: #fff;
    background-color: var(--ink);
    background-image:
        radial-gradient(ellipse at 85% 10%, rgba(245, 166, 35, 0.16), transparent 55%),
        linear-gradient(135deg, #0E2A2E 0%, #0E4C46 48%, #167D6F 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px);
}

.hero .eyebrow {
    color: var(--amber);
}

.hero .headline {
    color: #fff;
}

.hero .headline .accent {
    color: var(--amber);
}

.hero .hero-sub {
    color: #CFE3DE;
}

.hero .tick-item {
    color: #F2F7F5;
}

.hero .btn-outline-ink {
    border-color: #fff;
    color: #fff;
}

.hero .btn-outline-ink:hover {
    background: #fff;
    color: var(--ink);
}

.schematic {
    position: absolute;
    right: -40px;
    top: 0;
    height: 100%;
    width: 46%;
    opacity: 0.9;
    pointer-events: none;
}

@media (max-width:991px) {
    .schematic {
        display: none;
    }
}

.flow-dot {
    animation: travel 5.5s linear infinite;
}

@keyframes travel {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    6% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

.headline {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
    max-width: 640px;
}

.headline .accent {
    color: var(--copper);
}

.hero-sub {
    max-width: 520px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.tick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    margin-top: 1.6rem;
}

.tick-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
}

.tick-item svg {
    flex: none;
}

/* ---------- QUOTE CARD ---------- */
.quote-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.9rem 1.8rem 1.6rem;
    position: relative;
    box-shadow: 0 24px 48px -24px rgba(14, 42, 46, 0.28);
}

.quote-card::before,
.quote-card::after,
.quote-card .corner-br,
.quote-card .corner-bl {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--amber);
    border-style: solid;
}

.quote-card::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.quote-card::after {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
}

.quote-card .corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
}

.quote-card .corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

.savings-seal {
    position: absolute;
    top: -22px;
    right: 26px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    box-shadow: 0 14px 26px -10px rgba(214, 135, 10, 0.6), 0 0 0 4px var(--ink);
    z-index: 2;
}

.savings-seal .n {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.savings-seal .t {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (max-width:400px) {
    .savings-seal {
        width: 68px;
        height: 68px;
        right: 12px;
        top: -18px;
    }

    .savings-seal .n {
        font-size: 1.2rem;
    }
}

.quote-card h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 1.3rem;
}

.quote-card .lead-figure {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--copper);
    font-weight: 600;
}

.form-control-custom {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    background: var(--paper-deep);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(31, 111, 100, 0.14);
}

.drop-zone {
    border: 1.5px dashed var(--line);
    border-radius: 6px;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: var(--slate);
    background: var(--paper-deep);
    cursor: pointer;
}

.drop-zone:hover {
    border-color: var(--teal);
}

.drop-zone input {
    display: none;
}

.trust-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.trust-item {
    text-align: center;
    font-size: 0.72rem;
    color: var(--ink-soft);
    font-weight: 500;
    flex: 1;
}

.trust-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
}

.privacy-note {
    font-size: 0.7rem;
    color: var(--slate);
    margin-top: 0.7rem;
}

.privacy-note a {
    color: var(--teal);
    text-decoration: underline;
}

/* ---------- SUPPLIER STRIP ---------- */
.supplier-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--sky);
    padding: 2.4rem 0;
}

.supplier-strip .label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-deep);
    font-weight: 700;
}

.supplier-count {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--copper-deep);
    line-height: 1;
}

.supplier-word {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--sky-deep);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.92rem;
}

/* ---------- SECTION GENERAL ---------- */
section {
    padding: 5rem 0;
}

.section-tag {
    display: inline-block;
    background: var(--teal-soft);
    color: var(--teal);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 700;
    max-width: 640px;
}

.section-lead {
    color: var(--ink-soft);
    max-width: 560px;
}

/* ---------- COMPARATEUR ---------- */
.compare-panel {
    background: var(--ink);
    color: #F5F6F2;
    border-radius: 12px;
    padding: 2.6rem 2.4rem;
}

.compare-panel .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #E9B27C;
}

.compare-panel .section-title {
    color: #fff;
}

.compare-panel .section-lead {
    color: #B8C4C2;
}

.bar-row {
    margin-bottom: 1.5rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: #DDE4E2;
}

.bar-track {
    height: 14px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 7px;
    width: 0%;
    transition: width 1.4s cubic-bezier(.2, .8, .2, 1);
}

.bar-fill.old {
    background: #5B6664;
}

.bar-fill.new {
    background: var(--copper);
}

.bar-track.reveal .bar-fill.old {
    width: 96%;
}

.bar-track.reveal .bar-fill.new {
    width: 71%;
}

.compare-stats {
    display: flex;
    gap: 2.2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.compare-stat .num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--copper);
    line-height: 1;
}

.compare-stat .lbl {
    font-size: 0.8rem;
    color: #B8C4C2;
    margin-top: 0.35rem;
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.8rem;
    height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -28px rgba(14, 42, 46, 0.35);
    border-color: var(--teal);
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 1.1rem;
}

.service-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ---------- PROCESS ---------- */
.process-step {
    position: relative;
    padding-top: 0.2rem;
}

.process-index {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: var(--copper);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.process-step h4 {
    font-size: 1.02rem;
    margin: 0.5rem 0 0.5rem;
}

.process-step p {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.process-rule {
    height: 1px;
    background: var(--line);
    margin: 0 0 1.4rem;
}

@media (min-width:768px) {
    .process-col {
        border-left: 2px solid var(--line);
        padding-left: 1.4rem;
    }
}

/* ---------- TESTIMONIALS ---------- */
.testi-card {
    background: var(--teal-soft);
    border-radius: 10px;
    padding: 1.8rem;
    height: 100%;
}

.testi-quote {
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 1.3rem;
}

.testi-meta {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.testi-meta strong {
    color: var(--ink);
    display: block;
    font-family: 'Space Grotesk', sans-serif;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 55%, #E08A1F 130%);
    color: #fff;
    border-radius: 14px;
    padding: 3rem 2.4rem;
    text-align: center;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    color: #DCEAE7;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--ink);
    color: #B8C4C2;
    padding: 3.5rem 0 1.6rem;
    font-size: 0.9rem;
}

footer h5 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

footer a {
    color: #B8C4C2;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

footer .brand-mark {
    color: #fff;
}

.footer-rule {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2.4rem 0 1.4rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: #7E9391;
}

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

[data-reveal].in {
    opacity: 1;
    transform: none;
}

.toast-success {
    display: none;
    background: var(--teal-soft);
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    margin-top: 0.9rem;
}
