@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.hidden {
    display: none !important;
}

body.has-cookie-banner {
    padding-bottom: 6rem;
}

#cookie-banner {
    z-index: 100;
}

#cookie-banner button {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

#scroll-to-top {
    z-index: 90;
}

body.has-cookie-banner #scroll-to-top {
    bottom: 6.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Perfect centering for step numbers in circles */
.step-number-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hero with French flag background */
.hero-france {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #002395;
    background-image:
        linear-gradient(
            160deg,
            rgba(0, 20, 60, 0.5) 0%,
            rgba(0, 35, 149, 0.4) 40%,
            rgba(160, 20, 40, 0.45) 100%
        ),
        linear-gradient(
            100deg,
            #002395 0%,
            #002395 32%,
            #ffffff 32%,
            #ffffff 68%,
            #ef2939 68%,
            #ef2939 100%
        );
    background-size: cover;
    background-position: center;
}

.hero-france > .container {
    position: relative;
    z-index: 1;
}

/* Phone field with +33 prefix */
.phone-field {
    display: flex;
    align-items: stretch;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    color: #374151;
    font-weight: 600;
    white-space: nowrap;
}

.phone-field #phone-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 1rem !important;
}
