:root {
    --navy: #1f3d5c;
    --navy-deep: #163047;
    --gold: #c4a35a;
    --gold-dark: #9a7a38;
    --gold-soft: #d4bc86;
    --blue: #7ea3c4;
    --blue-hover: #6b90b3;
    --blue-soft: #e8eef4;
    --text: #2a4660;
    --muted: #6b7f93;
    --white: #ffffff;
    --cream: #f7f5f1;
    --line: #e4d9c4;
    --danger: #9b3b3b;
    --ok: #2f6b4f;
    --header-h: 92px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", system-ui, sans-serif;
    --script: "Great Vibes", cursive;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-weight: 400;
}

img {
    max-width: 100%;
    display: block;
}

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.container-wide {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-solid {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-solid:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(196, 163, 90, 0.18);
}

.header-inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    min-height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 600;
}

.brand-sub {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.nav-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.header-cta {
    white-space: nowrap;
    padding: 10px 18px;
    min-height: 42px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 4px auto;
    background: var(--navy);
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--white);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 6vw 80px 8vw;
    max-width: 720px;
    z-index: 2;
}

h1.hero-title {
    font-family: var(--sans);
    font-weight: 500;
    color: var(--navy);
}

.hero-kicker {
    font-family: var(--serif);
    font-size: clamp(42px, 5.4vw, 72px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
    font-weight: 600;
}

.hero-brand {
    display: block;
    margin: 6px 0 28px;
    font-size: clamp(16px, 1.6vw, 22px);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-lead {
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
    max-width: 420px;
    margin-bottom: 32px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 48px 48px 0;
}

.hero-circle {
    position: relative;
    width: min(560px, 40vw);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(31, 61, 92, 0.18);
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Sections */
.section {
    padding: 88px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-head p {
    color: var(--muted);
    font-size: 15px;
}

.center { text-align: center; }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 18px;
    margin-bottom: 48px;
}

.service-card {
    text-align: center;
    padding: 8px 8px 0;
}

.icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 18px;
    color: var(--gold);
}

.icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.65;
}

/* About */
.about {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual > img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.about-visual .envelope {
    position: absolute;
    inset: 18% 14% auto;
    background: linear-gradient(180deg, #d7e4ef 0%, #b7cde0 100%);
    padding: 42px 28px 36px;
    box-shadow: 0 18px 40px rgba(22, 48, 71, 0.18);
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
}

.about-visual .envelope img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.about-visual .envelope span {
    font-family: var(--serif);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
    font-size: 13px;
}

.about-copy {
    position: relative;
    padding: 20px 0 20px 10px;
}

.about-copy::before {
    content: "C";
    position: absolute;
    right: 0;
    top: 10%;
    font-family: var(--serif);
    font-size: 280px;
    line-height: 0.8;
    color: rgba(126, 163, 196, 0.13);
    pointer-events: none;
    font-weight: 500;
}

.about-copy h2 {
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-copy p {
    color: var(--muted);
    max-width: 520px;
}

.signature {
    margin: 28px 0 32px;
}

.signature-name {
    font-family: var(--script);
    font-size: 48px;
    color: var(--gold);
    line-height: 1;
}

.signature-role {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* Values */
.values {
    background: var(--blue-soft);
    padding: 42px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.value-item {
    text-align: center;
    padding: 8px 16px;
}

.value-item h3 {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 12px 0 8px;
}

.value-item p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* Page hero */
.page-hero {
    background: linear-gradient(180deg, #f4f7fa 0%, #fff 100%);
    padding: 72px 0 48px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-hero p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

/* Services page */
.service-blocks {
    display: grid;
    gap: 28px;
}

.service-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--white);
}

.service-block:nth-child(even) {
    grid-template-columns: 1fr 280px;
}

.service-block:nth-child(even) .service-block-img {
    order: 2;
}

.service-block img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-block h2 {
    font-size: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-block p { color: var(--muted); margin-bottom: 0; }

.gold-title {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Forms */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.contact-aside h2 {
    font-size: 34px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-aside p { color: var(--muted); }

.contact-meta {
    margin-top: 28px;
    display: grid;
    gap: 10px;
    font-size: 14px;
}

.contact-meta strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.form {
    display: grid;
    gap: 16px;
    background: var(--cream);
    padding: 36px;
    border: 1px solid var(--line);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    border: 1px solid #d8cbb0;
    background: var(--white);
    color: var(--text);
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
    padding: 12px 14px;
    outline: none;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
}

.field-error {
    color: var(--danger);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}

.alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #e8f4ec;
    color: var(--ok);
    border: 1px solid #b7d7c3;
}

.alert-error {
    background: #f8ecec;
    color: var(--danger);
    border: 1px solid #e0c4c4;
}

/* Footer */
.site-footer {
    background: var(--navy-deep);
    color: #d7e0e8;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: #b7c4d0;
    max-width: 360px;
    margin-top: 14px;
}

.brand-footer .brand-name { color: var(--white); }

.site-footer h3 {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a:hover { color: var(--gold-soft); }

.footer-bottom {
    border-top: 1px solid rgba(196, 163, 90, 0.25);
    padding: 18px 24px;
    text-align: center;
    font-size: 12px;
    color: #9aadb8;
}

.footer-bottom p { margin: 0; }

/* Admin */
.admin-app {
    min-height: 100vh;
    background: #f4f7fa;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: linear-gradient(180deg, #163047 0%, #1f3d5c 100%);
}

.admin-login-card {
    width: min(420px, 100%);
    background: var(--white);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--line);
}

.admin-login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
}

.admin-login-brand {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--gold);
    margin: 0 0 8px;
}

.admin-login h1 {
    font-size: 32px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-login-lead {
    color: var(--muted);
    font-size: 14px;
}

.admin-login-form {
    display: grid;
    gap: 16px;
    text-align: left;
    margin: 24px 0 18px;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-toggle .icon-eye-off,
.password-toggle.is-visible .icon-eye {
    display: none;
}

.password-toggle.is-visible .icon-eye-off {
    display: block;
}

.admin-back {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.admin-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 28px;
    background: #163047;
    color: #fff;
}

.admin-bar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-bar-brand img {
    width: 42px;
    height: 42px;
}

.admin-bar-brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0.06em;
}

.admin-bar-brand span {
    font-size: 12px;
    color: var(--gold-soft);
}

.admin-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-bar-actions a {
    color: #d7e0e8;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-main {
    width: min(1180px, calc(100% - 40px));
    margin: 32px auto 64px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stats article {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 20px;
}

.admin-stats span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.admin-stats strong {
    font-family: var(--serif);
    font-size: 36px;
    color: var(--navy);
}

.admin-toolbar {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 16px;
}

.admin-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: var(--white);
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding: 12px 10px;
    vertical-align: top;
}

.admin-table th {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: #faf8f4;
}

.admin-table tbody tr:hover {
    background: #f7fafc;
}

.admin-message {
    max-width: 320px;
    white-space: pre-wrap;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.badge-devis {
    border-color: var(--blue);
    color: var(--navy);
    background: var(--blue-soft);
}

@media (max-width: 800px) {
    .admin-bar,
    .admin-stats,
    .admin-toolbar {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-toolbar { display: grid; }
}

/* Engagements extras */
.engage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.engage-card {
    padding: 32px;
    border: 1px solid var(--line);
    background: var(--white);
}

.engage-card h3 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-nap {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: #d7e0e8;
    margin: 0 0 14px;
}

.footer-nap a:hover { color: var(--gold-soft); }

.faq {
    max-width: 760px;
    margin: 0 auto;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    font-size: 16px;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-weight: 400;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
    margin: 12px 0 4px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .header-inner { grid-template-columns: auto 1fr auto; }
    .site-nav { gap: 16px; }
    .nav-link { font-size: 10px; }
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }
    .header-cta { display: none; }
    .nav-toggle {
        display: block;
        justify-self: end;
        grid-column: 3;
    }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--line);
    }
    .site-nav.is-open { display: flex; }
    .hero,
    .about,
    .contact-layout,
    .service-block,
    .service-block:nth-child(even),
    .footer-grid,
    .values-grid,
    .engage-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    .service-block:nth-child(even) .service-block-img { order: 0; }
    .hero { min-height: auto; }
    .hero-copy {
        padding: 48px 24px 24px;
        max-width: none;
        text-align: center;
        align-items: center;
    }
    .hero-visual {
        min-height: 360px;
        padding: 0 24px 40px;
    }
    .hero-circle {
        width: min(88vw, 420px);
        margin: 0 auto;
    }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .about-copy::before { font-size: 180px; }
}

@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .form { padding: 22px; }
    .container { width: calc(100% - 32px); }
}
