/* Base─*/
html { scroll-behavior: smooth; }

/* Fade-in on scroll */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(6px);
    }
    50% {
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
}

.fade-in.visible {
    animation: fadeInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Scroll bounce */
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
.bounce { animation: bounce 1.8s infinite; }

/* Texte décoratif géant (watermark) */
.deco-text {
    position: absolute;
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* Grands chiffres (section stats) */
.stat-value {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

/* Section clip diagonal  */
.clip-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}
.clip-top {
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
    margin-top: -3rem;
}

/* Service list rows */
.service-row {
    position: relative;
    padding: 1.75rem 1rem;
    border-radius: 12px;
    transition: background 0.2s ease, padding-left 0.2s ease;
    cursor: default;
}
.service-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    pointer-events: none;
}
.service-row:last-child::after { display: none; }
.service-row:hover {
    background: #F4F6F8;
    padding-left: 1.5rem;
}
.service-row .sr-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #E67E22;
    letter-spacing: 0.05em;
}
.service-row .sr-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1A1A2E;
    transition: color 0.2s;
}
.service-row:hover .sr-title { color: #1E3A5F; }
.service-row .sr-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.2rem;
}
.service-row .sr-arrow {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.2s;
    color: #2E86C1;
}
.service-row:hover .sr-arrow { opacity: 1; transform: translateX(0); }

/* Separateur avec texte  */
.label-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2E86C1;
}
.label-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.3;
}

/* Review quote */
.review-card {
    border-left: 3px solid #E67E22;
    transition: border-color 0.2s;
}
.review-card:hover { border-color: #2E86C1; }

/* WhatsApp floating button─*/
@keyframes wa-ring {
    0%   { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0);   }
}
.wa-btn { animation: wa-ring 2.5s infinite; }

/* Accent stripe*/
.accent-bar {
    display: inline-block;
    width: 2.5rem;
    height: 3px;
    background: #E67E22;
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* Markdown content (prose)*/
.prose {
    line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-weight: 700;
    color: #1A1A2E;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

.prose h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.prose h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    border-bottom: 2px solid #E67E22;
    padding-bottom: 0.5em;
}

.prose h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}

.prose h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.prose p {
    margin: 1em 0;
    color: #4b5563;
}

.prose ul,
.prose ol {
    margin: 1.25em 0;
    padding-left: 2em;
}

.prose li {
    margin: 0.5em 0;
    color: #4b5563;
}

.prose ul li {
    list-style-type: disc;
}

.prose ol li {
    list-style-type: decimal;
}

.prose strong {
    font-weight: 700;
    color: #1A1A2E;
}

.prose em {
    font-style: italic;
    color: #4b5563;
}

.prose code {
    background: #f3f4f6;
    color: #e67e22;
    padding: 0.25em 0.5em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.prose pre {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.prose blockquote {
    border-left: 4px solid #E67E22;
    padding-left: 1.5em;
    margin-left: 0;
    margin-right: 0;
    color: #6b7280;
    font-style: italic;
}

.prose a {
    color: #2E86C1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #2E86C1;
    transition: color 0.2s, border-color 0.2s;
}

.prose a:hover {
    color: #E67E22;
    border-bottom-color: #E67E22;
}

.prose hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #E67E22, transparent);
    margin: 2em 0;
}
