/* ============================================
   EasyAdmin MS — Styles
   Palette : Bleu nuit + Doré
   ============================================ */

:root {
    --navy-900: #0A1530;
    --navy-800: #0E1B3D;
    --navy-700: #15244A;
    --navy-600: #1E3160;
    --gold-500: #C9A24E;
    --gold-400: #D9B66F;
    --gold-300: #E8CB94;
    --gold-700: #8C6D2E;
    --cream:    #FAF7F0;
    --offwhite: #F8F6F2;
    --white:    #FFFFFF;
    --gray-100: #F1F3F7;
    --gray-200: #E5E8EE;
    --gray-400: #9AA3B2;
    --gray-600: #4A5568;
    --gray-800: #2A3142;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;

    --shadow-sm: 0 2px 8px rgba(14, 27, 61, 0.06);
    --shadow-md: 0 8px 24px rgba(14, 27, 61, 0.10);
    --shadow-lg: 0 20px 48px rgba(14, 27, 61, 0.18);
    --shadow-gold: 0 8px 24px rgba(201, 162, 78, 0.25);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --container-max: 1180px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 600; }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin: 0 0 1rem;
    position: relative;
    padding-left: 38px;
}
.eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--gold-500);
}
.eyebrow.light { color: var(--gold-400); }
.eyebrow.light::before { background: var(--gold-400); }

.accent { color: var(--gold-500); font-style: italic; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all .25s ease;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 162, 78, 0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--navy-800);
    border: 1.5px solid var(--navy-800);
}
.btn-ghost:hover {
    background: var(--navy-800);
    color: var(--white);
}
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}
.logo-link { display: block; }
.logo-img { height: 48px; width: auto; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy-800);
    position: relative;
}
.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 1.5px;
    width: 0;
    background: var(--gold-500);
    transition: width .25s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    background: var(--navy-800);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--gold-500); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--navy-800);
    transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(201, 162, 78, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(14, 27, 61, 0.05), transparent 60%),
        var(--cream);
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 78, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 { margin-top: 0.5rem; }
.hero-text .lead {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin: 1.5rem 0 2rem;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-values {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}
.hero-values li {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-600);
    font-weight: 500;
    position: relative;
    padding-left: 22px;
}
.hero-values li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(201, 162, 78, 0.15);
    position: relative;
    transform: rotate(-2deg);
    transition: transform .4s ease;
}
.hero-card:hover { transform: rotate(0deg) scale(1.02); }
.hero-card::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1.5px solid var(--gold-500);
    border-radius: var(--radius-lg);
    opacity: 0.35;
    z-index: -1;
    transform: rotate(3deg);
}
.hero-logo { width: 220px; }

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    top: -10px;
}
.section-head .eyebrow { padding: 14px 0 0; }
.section-sub {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ===== Services ===== */
.services { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-700));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
    color: var(--navy-800);
    margin-bottom: 10px;
}
.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== About ===== */
.about {
    background: var(--offwhite);
    position: relative;
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.about-text p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin: 0 0 1.2rem;
}
.values {
    display: grid;
    gap: 24px;
}
.value-item {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold-500);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.value-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}
.value-num {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--gold-500);
    font-style: italic;
    margin-bottom: 6px;
}
.value-item h3 { margin-bottom: 6px; color: var(--navy-800); }
.value-item p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }

/* ===== Contact ===== */
.contact {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 78, 0.10), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    position: relative;
    z-index: 1;
}
.contact h2 { color: var(--white); }
.contact-lead {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}
.contact-list {
    display: grid;
    gap: 20px;
}
.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid var(--gold-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: background .2s ease;
}
.contact-list li:hover { background: rgba(255, 255, 255, 0.08); }
.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
    font-weight: 600;
}
.contact-list a {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
}
.contact-list a:hover { color: var(--gold-400); }

/* ===== Form ===== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--gray-800);
}
.contact-form h3 {
    color: var(--navy-800);
    margin-bottom: 24px;
    font-size: 1.4rem;
    font-family: var(--font-serif);
    font-weight: 600;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-800);
    letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-800);
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 162, 78, 0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 12px 0 0;
    text-align: center;
}
.form-success {
    background: #E8F5EA;
    color: #1F5C2D;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.95rem;
    border-left: 3px solid #2E8C46;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
}
.footer-brand p {
    margin: 16px 0 0;
    font-size: 0.95rem;
    max-width: 320px;
}
.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer-cols h4 {
    color: var(--gold-400);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}
.footer-cols a:hover { color: var(--gold-400); }
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero-inner,
    .about-inner,
    .contact-inner,
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual { order: -1; }
    .hero-card { transform: rotate(0); padding: 40px 32px; }
    .hero-logo { width: 180px; }
    section { padding: 70px 0; }
    .hero { padding: 60px 0 80px; }
}

@media (max-width: 720px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform .3s ease;
        align-items: stretch;
        border-top: 1px solid var(--gray-200);
    }
    .main-nav.is-open { transform: translateY(0); }
    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    .main-nav a:last-child { border-bottom: none; }
    .nav-cta { text-align: center; margin-top: 12px; }
    .logo-img { height: 40px; }
    .contact-form { padding: 28px 22px; }
    .footer-cols { grid-template-columns: 1fr; gap: 28px; }
    .hero-actions .btn { flex: 1; }
}
