@property --nav-spot {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 50%;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', 'Inter', sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    background-image: url('../images/abstract-bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 0;
}

body.lang-ready {
    opacity: 1;
    transition: opacity 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Variables ===== */
:root {
    --gold: #C5A47E;
    --gold-light: #d4b896;
    --navy: #002D7A;
    --navy-dark: #001a4d;
    --navy-light: #1a5bc4;
}

/* ===== Page Transitions ===== */
.page-transition {
    display: none;
}

/* Fade in on page load */
body {
    animation: pageFadeIn 0.4s ease both;
}

/* Fade out on exit */
body.page-exiting {
    animation: pageFadeOut 0.3s ease forwards;
    pointer-events: none;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pageFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 26, 77, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header.scrolled .header-logo {
    padding: 8px 50px;
}

.header.scrolled .logo-img {
    height: 50px;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 50px;
    background: transparent;
    transition: padding 0.3s ease;
}

.logo-img {
    height: 130px;
    width: auto;
    transition: height 0.3s ease;
}

/* ===== Navigation Bar ===== */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at var(--nav-spot) 50%, var(--navy-dark) 0%, var(--navy) 12%, #004AAD 30%);
    padding: 0 40px;
    position: relative;
    width: 75%;
    max-width: 900px;
    margin: 0 auto;
    transition: --nav-spot 0.5s ease;
}

.nav-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links li a {
    display: block;
    padding: 14px 28px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-links li a:hover {
    color: var(--gold-light);
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--gold-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links li a:hover::before {
    transform: scaleX(1);
}

.nav-links li a.active {
    color: #fff;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--gold);
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 14px;
    cursor: pointer;
    border: 1.5px solid var(--navy);
    border-radius: 4px;
    transition: all 0.25s ease;
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 1001;
    user-select: none;
}

.lang-selector:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1.5px solid var(--navy);
    border-radius: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.lang-dropdown li:hover {
    background: rgba(197, 164, 126, 0.1);
    color: var(--gold);
}

.lang-dropdown li.active {
    background: var(--navy);
    color: white;
}

.lang-dropdown li.active:hover {
    background: var(--navy-dark);
    color: white;
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Gold Line ===== */
.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 30px;
}

/* Gold line animation in fade-in sections */
.fade-in .gold-line,
.fade-in .gold-line-left {
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.fade-in.visible .gold-line,
.fade-in.visible .gold-line-left {
    transform: scaleX(1);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background-image: url('../images/ocean-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 850px;
    padding: 0 30px;
    animation: fadeUp 1s ease-out;
}

.hero-content h1 {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 90px;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 20px;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 24px;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.hero-desc-bold {
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Stats Section ===== */
.stats {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    padding: 60px 50px;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    height: 65px;
}

.stat-number {
    font-size: 52px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 2px;
}

.stat-suffix {
    font-size: 28px;
    font-weight: 300;
    color: var(--gold);
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    min-height: 36px;
    display: flex;
    align-items: flex-start;
}

.stat-divider {
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    align-self: center;
}

/* ===== Fade In Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--gold);
}

/* ===== Mentions Légales ===== */
.legal-page {
    padding: 280px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.legal-block {
    margin-top: 40px;
}

.legal-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.legal-block p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 8px;
}

.legal-block strong {
    color: var(--navy-dark);
}

@media (max-width: 900px) {
    .legal-page {
        padding: 160px 24px 60px;
    }
    .legal-page h1 {
        font-size: 32px;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-dark);
    color: #fff;
    padding: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-nav a:hover {
    color: var(--gold-light);
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-weight: 300;
}

.footer-gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 80px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}

.footer-legal:hover {
    color: var(--gold);
}

/* ===== Home - About Section ===== */
.home-about {
    padding: 100px 40px;
    background: #f8f8f8;
}

.home-about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.home-about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-top: 12px;
    line-height: 1.3;
}

.home-about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold);
    transition: gap 0.3s ease;
}

.home-link:hover {
    gap: 14px;
}

.home-about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-card {
    background: white;
    border-radius: 12px;
    padding: 28px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.home-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(197, 164, 126, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.home-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ===== Home - Performance Preview ===== */
.home-perf {
    padding: 100px 40px;
    background: var(--navy-dark);
    text-align: center;
}

.home-perf-inner {
    max-width: 800px;
    margin: 0 auto;
}

.home-perf .section-label {
    color: var(--gold-light);
}

.home-perf h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 600;
    color: white;
    margin-top: 12px;
}

.home-perf .gold-line {
    margin: 20px auto 50px;
}

.home-perf-bars {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-perf-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-perf-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    min-width: 200px;
    text-align: right;
}

.home-perf-track {
    flex: 1;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.home-perf-fill {
    height: 100%;
    width: var(--bar-w);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-perf-fill span {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.home-perf-gold {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.home-perf-gold span {
    color: var(--navy-dark);
}

.home-perf-btn {
    display: inline-block;
    margin-top: 50px;
    padding: 16px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.home-perf-btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

/* ===== Home - CTA Section ===== */
.home-cta {
    padding: 100px 40px;
    text-align: center;
    background: #f8f8f8;
}

.home-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.home-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--navy-dark);
}

.home-cta p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-top: 16px;
}

.home-cta-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 16px 44px;
    background: var(--gold);
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Home responsive */
@media (max-width: 900px) {
    .home-about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .home-about-text h2,
    .home-perf h2,
    .home-cta h2 {
        font-size: 28px;
    }
    .home-about, .home-perf, .home-cta {
        padding: 70px 24px;
    }
    .home-perf-row {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }
    .home-perf-name {
        text-align: left;
        min-width: unset;
    }
}

/* ===== About Page - Hero ===== */
.about-hero {
    min-height: 100vh;
    background-image: url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===== About Page - Full-Width Feature Sections ===== */
.about-feature-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-feature-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-feature-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-feature-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 15, 40, 0.7) 0%, rgba(0, 15, 40, 0.4) 45%, transparent 100%);
}

.about-feature-section + .about-feature-section::after {
    background: linear-gradient(-90deg, rgba(0, 15, 40, 0.7) 0%, rgba(0, 15, 40, 0.4) 45%, transparent 100%);
}

.about-feature-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 60px 80px;
    color: #fff;
}

.about-feature-section + .about-feature-section .about-feature-content {
    margin-left: auto;
}

.about-feature-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.about-feature-title {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.gold-line-left {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-bottom: 30px;
}

.about-feature-content p {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.about-feature-content p:first-of-type {
    font-size: 18px;
    color: #fff;
    font-weight: 400;
}

/* ===== About Page - Commitment ===== */
.about-commitment {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-commitment-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-commitment-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-commitment-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 60px 80px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 15, 40, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-commitment-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.about-commitment-title {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-commitment-text .gold-line {
    margin-bottom: 30px;
}

.about-commitment-text p {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-commitment-cta {
    font-weight: 500;
    color: var(--gold);
    margin-top: 20px;
    font-size: 20px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--gold);
    display: inline-block;
    padding-bottom: 4px;
}

/* ===== Performance Page ===== */
.perf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/perf-bg.jpg') center/cover no-repeat;
    transform: scaleX(-1);
    z-index: 0;
}

.perf-hero .hero-overlay {
    display: none;
}

.perf-hero .hero-content {
    z-index: 2;
}

.perf-hero .scroll-indicator {
    z-index: 2;
}

/* --- Performance Comparison Section --- */
.perf-comparison {
    background: linear-gradient(135deg, #000f28 0%, #001a3d 100%);
    padding: 100px 0;
}

.perf-comparison-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.perf-section-title {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.perf-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.perf-bar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.perf-bar-label {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.perf-bar-row:first-child .perf-bar-label {
    color: var(--gold);
    font-weight: 600;
}

.perf-bar-track {
    width: 100%;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.perf-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.perf-bar-fill.perf-bar-gold {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.perf-bars.animated .perf-bar-fill {
    width: var(--bar-width);
}

.perf-bar-value {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.perf-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.perf-text {
    color: #fff;
}

.perf-text .gold-line-left {
    margin-bottom: 30px;
}

.perf-text p {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

/* --- Portfolio Assets Section --- */
.perf-portfolio {
    background: #f8f8f8;
    padding: 100px 0;
}

.perf-portfolio-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.perf-portfolio-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0a1628;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.perf-portfolio .gold-line {
    margin: 0 auto 60px;
}

.perf-portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.perf-asset {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 160px;
}

.perf-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.perf-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.perf-circle-bg {
    fill: none;
    stroke: #e0dcd5;
    stroke-width: 8;
}

.perf-circle-fill {
    fill: none;
    stroke: var(--gold);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.perf-circle-fill.animated {
    stroke-dashoffset: calc(339.292 - (339.292 * var(--percent) / 100));
}

.perf-circle-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0a1628;
}

.perf-asset-name {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0a1628;
    letter-spacing: 0.5px;
}

.perf-asset-desc {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: #888;
}

.perf-portfolio-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.perf-portfolio-text p {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

/* --- Localisation Section --- */
.perf-localisation {
    background: linear-gradient(135deg, #000f28 0%, #001a3d 100%);
    padding: 100px 0;
}

.perf-localisation-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.perf-loc-bars {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.perf-loc-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perf-loc-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.perf-loc-name {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.perf-loc-percent {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
}

.perf-loc-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.perf-loc-fill {
    height: 100%;
    width: 0;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.perf-localisation-inner.visible .perf-loc-fill {
    width: var(--loc-width);
}

.perf-loc-text {
    color: #fff;
}

.perf-loc-text .gold-line-left {
    margin-bottom: 30px;
}

.perf-loc-text p {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

/* --- CTA Section --- */
.perf-cta {
    background: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}

.perf-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}

.perf-cta-subtitle {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0a1628;
    margin-bottom: 20px;
}

.perf-cta-desc {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 36px;
}

.perf-cta-desc em {
    font-style: italic;
    color: var(--gold);
}

.perf-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perf-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 164, 126, 0.3);
}

/* ===== Contact Page — Fullpage Layout ===== */
.contact-fullpage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-fullpage-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-fullpage-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-fullpage-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 15, 40, 0.75) 0%, rgba(0, 15, 40, 0.4) 50%, rgba(0, 15, 40, 0.15) 100%);
}

.contact-fullpage-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 60px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-fullpage-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.contact-fullpage-left .gold-line {
    margin-bottom: 24px;
}

.contact-fullpage-desc {
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-fullpage-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-fullpage-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
}

.contact-fullpage-item svg {
    stroke: var(--gold);
    min-width: 20px;
}

.contact-fullpage-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.contact-fullpage-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: #0a1628;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

/* Contact Form Card (kept for form styling) */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0a1628;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #333;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 164, 126, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}

.contact-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    font-family: 'Avenir', 'Avenir Next', 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 164, 126, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .header-logo {
        padding: 15px 24px;
    }

    .logo-img {
        height: 80px;
    }

    .nav-bar {
        width: auto;
        padding: 0;
        min-height: 0;
        background: none;
        position: static;
        margin: 0;
    }

    .nav-bar::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1002;
        right: auto;
        transform: none;
        padding: 10px;
    }

    .nav-toggle span {
        background-color: var(--navy);
    }

    .header.scrolled .nav-toggle span {
        background-color: #fff;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(0, 26, 77, 0.97);
        backdrop-filter: blur(10px);
        padding: 80px 0 30px;
        z-index: 1001;
        border-bottom: 2px solid var(--gold);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        padding: 16px 24px;
        width: 100%;
        text-align: center;
        font-size: 15px;
    }

    .nav-links li a.active::after {
        left: 24px;
        right: 24px;
    }

    .lang-selector {
        top: 20px;
        right: 20px;
        z-index: 1003;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-desc br {
        display: none;
    }

    .stats {
        padding: 40px 24px;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 40%;
        padding: 15px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-suffix {
        font-size: 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
    }

    .footer-gold-line {
        margin: 0 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 20px 24px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Header scrolled mobile */
    .header.scrolled .header-logo {
        padding: 6px 24px;
    }

    .header.scrolled .logo-img {
        height: 40px;
    }

    /* Nav hover underline off on mobile */
    .nav-links li a::before {
        display: none;
    }

    .about-feature-content {
        padding: 40px 24px;
        max-width: 100%;
    }

    .about-feature-section::after,
    .about-feature-section + .about-feature-section::after {
        background: rgba(0, 15, 40, 0.78);
    }

    .about-feature-section + .about-feature-section .about-feature-content {
        margin-left: 0;
    }

    .about-feature-title {
        font-size: 30px;
    }

    .about-commitment-text {
        padding: 40px 24px;
    }

    .about-commitment-title {
        font-size: 30px;
    }

    /* Performance responsive */
    .perf-comparison-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 24px;
    }

    .perf-comparison {
        padding: 60px 0;
    }

    .perf-section-title {
        font-size: 22px;
    }

    .perf-portfolio {
        padding: 60px 0;
    }

    .perf-portfolio-inner {
        padding: 0 24px;
    }

    .perf-portfolio-title {
        font-size: 30px;
    }

    .perf-portfolio-grid {
        gap: 24px;
    }

    .perf-asset {
        width: 130px;
    }

    .perf-circle {
        width: 100px;
        height: 100px;
    }

    .perf-circle-value {
        font-size: 18px;
    }

    .perf-localisation-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 24px;
    }

    .perf-localisation {
        padding: 60px 0;
    }

    .perf-cta {
        padding: 60px 0;
    }

    .perf-cta-inner {
        padding: 0 24px;
    }

    /* Contact responsive */
    .contact-fullpage-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 24px 40px;
    }

    .contact-fullpage-left h1 {
        font-size: 36px;
    }

    .contact-fullpage-card {
        padding: 32px 24px;
    }

    .contact-fullpage-bg::after {
        background: rgba(0, 15, 40, 0.6);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 38px;
        letter-spacing: 2px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .logo-img {
        height: 60px;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .stat-number {
        font-size: 36px;
    }
}
