body {
    font-family: 'Inter', sans-serif;
}

/* Container animation */
.hero-enter {
    opacity: 0;
    transform: translateY(30px);
}

/* Active state */
.hero-enter.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease;
}

/* Stagger enfants */
.hero-enter>* {
    opacity: 0;
    transform: translateY(20px);
}

/* Animation progressive */
.hero-enter.active>*:nth-child(1) {
    transition: all 0.6s ease;
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.hero-enter.active>*:nth-child(2) {
    transition: all 0.6s ease;
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.hero-enter.active>*:nth-child(3) {
    transition: all 0.6s ease;
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.hero-enter.active>*:nth-child(4) {
    transition: all 0.6s ease;
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

.glitch-hover:hover {
    animation: glitch 0.3s ease-in-out;
}

.custom-bg {
    background:
        /* fade noir TOP */
        linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0.9) 15%, transparent 30%),

        /* fade noir BOTTOM */
        linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.9) 15%, transparent 30%),

        /* lumières vert forêt SUBTILES */
        radial-gradient(circle at top left, rgba(31, 61, 43, 0.10) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(31, 61, 43, 0.06) 0%, transparent 45%),

        /* base */
        linear-gradient(135deg, #000000 0%, #0d0d0d 40%, #020202 100%);
}

.card-titanium {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(31, 61, 43, 0.25);

    background:
        linear-gradient(160deg, #0a0a0a 0%, #141414 60%, #0a0a0a 100%),
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.12), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.06), transparent 50%);

    transition: all 0.35s ease;
}

.card-titanium:hover {
    border: 1px solid rgba(31, 61, 43, 0.6);
    box-shadow: 0 10px 40px rgba(31, 61, 43, 0.25);
    transform: translateY(-6px) scale(1.01);

    background:
        linear-gradient(160deg, #0f0f0f 0%, #1a1a1a 60%, #0f0f0f 100%),
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.18), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.10), transparent 50%);
}

/* effet surface premium */
.card-titanium::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;

    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-titanium:hover::after {
    opacity: 1;
}

.card-premium {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(31, 61, 43, 0.25);
    background:
        linear-gradient(160deg, #0a0a0a 0%, #141414 60%, #0a0a0a 100%),
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.10), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.05), transparent 50%);
    transition: all 0.35s ease;
}

.card-premium:hover {
    border: 1px solid rgba(31, 61, 43, 0.6);
    box-shadow: 0 10px 40px rgba(31, 61, 43, 0.20);
    transform: translateY(-4px);
}

.card-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;

    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-premium:hover::after {
    opacity: 1;
}

.card-premium a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.card-premium:hover a {
    color: #1F3D2B;
    letter-spacing: 0.05em;
}

.card-premium i {
    background: rgba(31, 61, 43, 0.15);
    padding: 10px;
    border-radius: 8px;

    box-shadow: 0 0 0 rgba(31, 61, 43, 0);
    transition: all 0.3s ease;
}

.card-premium:hover i {
    background: rgba(31, 61, 43, 0.25);
    box-shadow: 0 0 20px rgba(31, 61, 43, 0.4);
}

.icon-box {
    background: rgba(31, 61, 43, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card-titanium:hover .icon-box {
    background: rgba(31, 61, 43, 0.25);
    box-shadow: 0 0 20px rgba(31, 61, 43, 0.4);
}

.card-titanium p {
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
}

.card-titanium:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.card-titanium a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.card-titanium:hover a {
    color: #1F3D2B;
    letter-spacing: 0.05em;
}

#navbar {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 61, 43, 0.22);
    transition: all 0.35s ease;
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid rgba(31, 61, 43, 0.35);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: rgba(31, 61, 43, 0.9);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-contact {
    border-radius: 9999px;
    border: 1px solid rgba(31, 61, 43, 0.35);
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-nav-contact:hover {
    border-color: rgba(31, 61, 43, 0.65);
    box-shadow: 0 8px 24px rgba(31, 61, 43, 0.18);
    transform: translateY(-1px);
}

#hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.16) 0%, transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(31, 61, 43, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 35%),
        linear-gradient(180deg, #000000 0%, #050505 45%, #000000 100%);
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 36px 36px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-title {
    letter-spacing: -0.06em;
    line-height: 0.9;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.04);
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.55);
}

.hero-subtext {
    color: rgba(255, 255, 255, 0.68);
}

.hero-subtext strong,
.hero-subtext .accent-forest {
    color: #d8e6dc;
}

.btn-hero-primary {
    border-radius: 9999px;
    border: 1px solid rgba(31, 61, 43, 0.35);
    background:
        linear-gradient(135deg, #101010 0%, #191919 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(31, 61, 43, 0.12);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    border-color: rgba(31, 61, 43, 0.65);
    box-shadow: 0 14px 36px rgba(31, 61, 43, 0.22);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
}

#methodologie .card-titanium {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#methodologie .icon-box {
    border-radius: 12px;
}

#methodologie h4 {
    letter-spacing: -0.02em;
}

#cta-clean h3 {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.04);
}

#cta-clean .icon-box {
    background: rgba(31, 61, 43, 0.15);
    border-radius: 12px;
}

.input-premium {
    width: 100%;
    padding: 12px 16px;

    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    color: white;
    outline: none;

    transition: all 0.25s ease;

    /* IMPORTANT pour enlever le style natif */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}


.input-premium::placeholder {
    color: rgba(255, 255, 255, 0.38);
    opacity: 1;
}

.input-premium:focus {
    border-color: rgba(31, 61, 43, 0.6);
    box-shadow: 0 0 0 2px rgba(31, 61, 43, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

select.input-premium {
    width: 100%;
    padding: 16px 52px 16px 20px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    border-radius: 18px;
    border: 1px solid rgba(31, 61, 43, 0.32);

    background:
        linear-gradient(160deg, rgba(10, 10, 10, 0.96) 0%, rgba(20, 20, 20, 0.96) 100%),
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.10), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.05), transparent 50%);

    color: white;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 rgba(0, 0, 0, 0);

    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

select.input-premium:hover {
    border-color: rgba(31, 61, 43, 0.45);
}

select.input-premium:focus {
    border-color: rgba(31, 61, 43, 0.65);
    box-shadow: 0 0 0 3px rgba(31, 61, 43, 0.14);
}

/* options */
select.input-premium option {
    background: #050505;
    color: white;
}

/* option active / selected - support variable selon navigateur */
select.input-premium option:checked {
    background: #1a1a1a;
    color: white;
}

.input-premium:focus {
    border-color: rgba(31, 61, 43, 0.6);
    box-shadow: 0 0 0 2px rgba(31, 61, 43, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.footer-link {
    position: relative;
    transition: all 0.25s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: rgba(31, 61, 43, 0.8);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.social-icon {
    width: 40px;
    height: 40px;

    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(31, 61, 43, 0.2);
    border-color: rgba(31, 61, 43, 0.5);
    transform: translateY(-2px);
}

.form-panel {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(31, 61, 43, 0.25);

    background:
        linear-gradient(160deg, #0a0a0a 0%, #141414 60%, #0a0a0a 100%),
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.10), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.05), transparent 50%);
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    width: 100%;
    padding: 16px 52px 16px 20px;
    text-align: left;

    border-radius: 18px;
    border: 1px solid rgba(31, 61, 43, 0.32);

    background:
        linear-gradient(160deg, rgba(10, 10, 10, 0.96) 0%, rgba(20, 20, 20, 0.96) 100%),
        radial-gradient(circle at 20% 20%, rgba(31, 61, 43, 0.10), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.05), transparent 50%);

    color: white;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;
    cursor: pointer;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.custom-select-trigger:hover {
    border-color: rgba(31, 61, 43, 0.45);
}

.custom-select-trigger:focus {
    border-color: rgba(31, 61, 43, 0.65);
    box-shadow: 0 0 0 3px rgba(31, 61, 43, 0.14);
}

.custom-select.open .custom-select-trigger {
    border-color: rgba(31, 61, 43, 0.65);
    box-shadow: 0 0 0 3px rgba(31, 61, 43, 0.14);
}

.custom-select-arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.55);
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.custom-select.open .custom-select-arrow {
    transform: translateY(-35%) rotate(225deg);
    border-color: rgba(255, 255, 255, 0.9);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 8px;

    border-radius: 20px;
    border: 1px solid rgba(31, 61, 43, 0.28);

    background:
        linear-gradient(160deg, rgba(7, 7, 7, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%),
        radial-gradient(circle at top left, rgba(31, 61, 43, 0.08), transparent 45%);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.02);

    backdrop-filter: blur(14px);
}

.custom-select-menu.hidden {
    display: none;
}

.custom-select-option {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.custom-select-option:hover,
.custom-select-option.is-active {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.custom-select-option.is-selected {
    background: rgba(31, 61, 43, 0.18);
    color: white;
}

.custom-select-option:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
    .custom-select-trigger {
        padding: 14px 48px 14px 18px;
        border-radius: 16px;
    }

    .custom-select-menu {
        border-radius: 16px;
    }
}