@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #4a86b8;
    --primary-dark: #2c5d8a;
    --secondary: #006d43;
    --secondary-light: #6bfe9c;
    --tertiary-fixed: #6bfe9c;
    --surface: #f7f9fc;
    --surface-container-low: #f2f4f7;
    --on-surface-variant: #42474f;
    --outline-variant: rgba(195, 198, 208, 0.15);
}

.font-headline { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }

.glass-nav {
    background: rgba(247, 249, 252, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.active-nav {
    color: var(--secondary) !important;
}

.active-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--tertiary-fixed);
}

.inactive-nav {
    color: var(--on-surface-variant);
}

.inactive-nav:hover {
    color: var(--secondary);
}

.inactive-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--tertiary-fixed);
    transition: width 0.3s ease;
}

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

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 80px -20px rgba(0, 39, 74, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal { 
    opacity: 0;
    transform: translateY(40px) scale(0.98); 
    filter: blur(10px);
    transition: 
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff, #75f8b3, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease infinite;
}

/* Hover Effects */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 134, 184, 0.2);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
}

.btn-premium:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
}

/* Square Corners & No Border Global Rule */
* {
    border-radius: 0 !important;
    box-sizing: border-box;
}

/* Specific elements that can keep subtle rounding if necessary, 
   but the user asked for "bord carre" (square) generally. 
   I will stick to 0px everywhere. */

.signature-gradient {
    background: linear-gradient(135deg, #4a86b8 0%, #006d43 100%);
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(74, 134, 184, 0.85) 0%, rgba(0, 109, 67, 0.7) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #75f8b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-size: clamp(1.8rem, 6vw, 2.8rem) !important; /* Further reduced for a sleeker look */
}

.hero-description {
    line-height: 1.7 !important;
    font-weight: 300;
}

/* Reset borders */
.card, .bento-item, .info-box, iframe, img, button, a, div, section {
    border: none !important;
}

/* Nav & Footer borders are okay as they are divisors */
.border-b, .border-t, .border-l {
    border-color: var(--outline-variant) !important;
    border-style: solid !important;
}
