/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
    font-family: var(--font-family-heading);
    margin: 0;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: 0.07em;
}

h3, h4 {
    font-family: var(--font-family-heading);
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.03em;
}

h5, h6 {
    font-family: var(--font-family-heading);
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

button {
    font-family: var(--font-family-base);
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--color-primary-light);
    color: var(--color-dark);
}

/* Menu Open State */
body.menu-open {
    overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Ornamental Dividers */
.section-ornament {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    pointer-events: none;
}

.section-ornament img {
    width: 240px;
    height: auto;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .section-ornament img {
        width: 180px;
    }
}

/* Ambient Floating Orbs */
.ambient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    animation: orb-drift linear infinite;
}

.ambient-orb--1 {
    width: 300px;
    height: 300px;
    background: rgba(190, 130, 189, 0.12);
    top: 10%;
    left: -5%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.ambient-orb--2 {
    width: 250px;
    height: 250px;
    background: rgba(209, 176, 115, 0.10);
    top: 30%;
    right: -8%;
    animation-duration: 30s;
    animation-delay: -8s;
}

.ambient-orb--3 {
    width: 200px;
    height: 200px;
    background: rgba(190, 130, 189, 0.08);
    bottom: 20%;
    left: 10%;
    animation-duration: 22s;
    animation-delay: -14s;
}

.ambient-orb--4 {
    width: 280px;
    height: 280px;
    background: rgba(209, 176, 115, 0.07);
    top: 60%;
    right: 5%;
    animation-duration: 28s;
    animation-delay: -5s;
}

.ambient-orb--5 {
    width: 180px;
    height: 180px;
    background: rgba(190, 130, 189, 0.06);
    top: 80%;
    left: 40%;
    animation-duration: 20s;
    animation-delay: -12s;
}

@keyframes orb-drift {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8);
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(40px, -30px) scale(1.1);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-20px, 40px) scale(0.9);
    }
}

/* Scroll Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger service cards */
.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.2s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--color-bg-subtle);
    position: relative;
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.faq__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.faq__title::after {
    content: '';
    display: block;
    width: 160px;
    height: 28px;
    background: url('../images/ornament-heading.svg') center / contain no-repeat;
    margin: 1rem auto 0;
    opacity: 0.75;
}

.faq__item {
    border-bottom: 1px solid rgba(190, 130, 189, 0.15);
}

.faq__item:first-child {
    border-top: 1px solid rgba(190, 130, 189, 0.15);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-family: var(--font-family-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text);
    cursor: pointer;
    letter-spacing: 0.02em;
    list-style: none;
    transition: color 0.3s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::marker {
    display: none;
    content: '';
}

.faq__question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq__item[open] .faq__question::after {
    content: '\2212';
}

.faq__item[open] .faq__question {
    color: var(--color-primary);
}

.faq__answer {
    padding: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .faq {
        padding: 5rem 0;
    }
    .faq__question {
        font-size: 1.05rem;
        padding: 1rem 0;
    }
    .faq__answer {
        font-size: 0.9rem;
    }
}

/* Cookie Consent (RGPD) */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 26, 34, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    z-index: 9999;
    transition: transform 0.4s ease;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-consent__content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent__content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent__accept {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: none;
    font-family: var(--font-family-base);
    transition: all 0.3s ease;
}

.cookie-consent__accept:hover {
    background: var(--color-primary-dark);
}

.cookie-consent__decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-family-base);
    transition: all 0.3s ease;
}

.cookie-consent__decline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    .cookie-consent__content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .cookie-consent__content p {
        font-size: 0.8rem;
    }
}
