:root {
    --bg: #f6f3ed;
    --surface: #ffffff;
    --surface-alt: #eef1ec;
    --ink: #111820;
    --text: #25313d;
    --muted: #65717c;
    --primary: #08233f;
    --primary-soft: #123d66;
    --green: #204d3b;
    --accent: #b9823b;
    --accent-strong: #d89535;
    --border: rgba(17, 24, 32, 0.12);
    --shadow: 0 18px 48px rgba(8, 35, 63, 0.12);
    --radius: 8px;
}

/* EIBOARD product integration */
.eiboard-teaser,.eiboard-hero-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:64px;align-items:center}
.eiboard-hero{overflow:hidden;background:linear-gradient(135deg,#061829,#0b4a50)}
.eiboard-device{display:grid;justify-items:center;padding:34px 20px}
.eiboard-screen{display:grid;place-content:center;width:min(100%,520px);aspect-ratio:16/9;border:11px solid #111b24;border-radius:12px;background:radial-gradient(circle at 75% 25%,rgba(46,206,191,.45),transparent 30%),linear-gradient(135deg,#0b2941,#07847e);box-shadow:0 28px 60px rgba(6,24,41,.28);color:#fff;text-align:center}
.eiboard-screen span{font-size:.85rem;letter-spacing:.24em;font-weight:800}.eiboard-screen strong{font-size:clamp(2rem,5vw,4rem);line-height:1}.eiboard-screen small{margin-top:12px;color:rgba(255,255,255,.8)}
.eiboard-stand{width:34%;height:14px;border-radius:0 0 20px 20px;background:#172430;box-shadow:0 18px 0 -5px #253746}
.eiboard-photo{margin:0}.eiboard-photo img{display:block;width:100%;border-radius:24px;box-shadow:0 24px 70px rgba(6,24,41,.22)}.eiboard-photo figcaption{margin-top:8px;color:#6a7880;font-size:.78rem}.eiboard-feature{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.eiboard-device-large{padding:22px 0}.eiboard-device-large .eiboard-screen{border-color:#e7edf0}.eiboard-device-large .eiboard-stand{background:#d8e0e4}
.check-list{padding:0;list-style:none;color:var(--muted);line-height:1.65}.check-list li{position:relative;padding:8px 0 8px 30px}.check-list li::before{content:'✓';position:absolute;left:0;color:var(--green);font-weight:900}
.spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.spec-grid>div{padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff}.spec-grid strong,.spec-grid span{display:block}.spec-grid strong{margin-bottom:8px;color:var(--primary)}.spec-grid span{color:var(--muted);line-height:1.55}
@media (max-width:1020px){.eiboard-teaser,.eiboard-hero-grid,.eiboard-feature{grid-template-columns:1fr}.spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.spec-grid{grid-template-columns:1fr}.eiboard-device{padding:18px 0}.eiboard-screen{border-width:7px}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
iframe { width: 100%; border: 0; min-height: 340px; border-radius: var(--radius); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-muted { background: var(--surface-alt); }
.section-dark { background: #07192d; color: #fff; }
.page-shell { padding-bottom: 36px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.header-strip { background: var(--primary); color: rgba(255,255,255,.82); font-size: .82rem; }
.strip-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img, .footer-logo { width: 154px; object-fit: contain; }
.main-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.main-nav a { color: var(--muted); font-size: .94rem; font-weight: 700; }
.main-nav a:hover { color: var(--primary); }

.hero {
    position: relative;
    padding: 92px 0 70px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 18, 34, .94) 0%, rgba(8, 35, 63, .84) 48%, rgba(32, 77, 59, .54) 100%),
        url('/assets/images/banner-accueil.webp') center/cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 84px;
    background: linear-gradient(180deg, transparent, rgba(246, 243, 237, .95));
    pointer-events: none;
}
.hero-grid, .two-columns, .project-showcase, .contact-grid, .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: center;
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.hero-media { position: relative; z-index: 1; }
.hero-media img, .side-image img, .project-main-image img, .card img, .news-card img, .feature-card img, .partner-card img, .media-card img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.hero-media img { min-height: 430px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.2); }
.hero-proof { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-proof span {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    font-weight: 700;
}

.page-hero {
    padding: 92px 0 62px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8,35,63,.95), rgba(32,77,59,.82)),
        url('/assets/images/banner-a-propos.webp') center/cover no-repeat;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    margin-bottom: 18px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    color: inherit;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 800;
}
h1, h2, h3, h4, p { letter-spacing: 0; }
h1 { margin: 0 0 18px; font-size: clamp(2.45rem, 5.6vw, 4.9rem); line-height: 1.02; color: inherit; }
h2 { margin: 0 0 12px; font-size: clamp(1.85rem, 3vw, 3rem); line-height: 1.1; color: var(--ink); }
.section-dark h2, .page-hero h2, .hero h2, .footer-cta h2 { color: inherit; }
h3 { margin: 0 0 10px; font-size: 1.18rem; color: var(--ink); }
.card-dark h3, .section-dark h3 { color: #fff; }
.lead { margin: 0; max-width: 760px; font-size: 1.12rem; line-height: 1.75; color: rgba(255,255,255,.88); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.section-head p, .form-intro { color: var(--muted); line-height: 1.75; }

.hero-actions, .admin-actions, .row-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-accent { background: var(--primary); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-small { min-height: 38px; padding: 9px 12px; font-size: .9rem; }
.btn-danger { background: #b83a3a; color: #fff; }

.card-grid, .feature-grid, .partner-grid, .stats-grid, .gallery-grid, .news-grid, .admin-cards, .activity-list, .project-list, .editorial-grid {
    display: grid;
    gap: 22px;
}
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid-3, .partner-grid, .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.activity-list, .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-grid { grid-template-columns: 1fr; }

.card, .feature-card, .partner-card, .stat-card, .testimonial, .contact-card, .cta-banner, .admin-panel, .admin-stat, .login-card, .media-card, .intro-panel, .project-meta, .editorial-block, .visitor-tool, .faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card { overflow: hidden; }
.card-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); box-shadow: none; }
.card img, .news-card img { aspect-ratio: 4 / 3; }
.card-detail { display: grid; grid-template-columns: .95fr 1.2fr; align-items: stretch; }
.card-detail img { height: 100%; min-height: 290px; border-radius: 0; }
.project-list .card { display: grid; grid-template-columns: .9fr 1fr; }
.project-list .card img { height: 100%; min-height: 280px; border-radius: 0; }
.partner-card img, .media-card img { aspect-ratio: 16 / 10; background: #fff; padding: 18px; object-fit: contain; }
.card-body, .feature-card, .partner-card, .stat-card, .testimonial, .contact-card, .cta-banner, .admin-panel, .admin-stat, .media-card, .login-card, .intro-panel, .project-meta, .editorial-block, .visitor-tool, .faq-item {
    padding: 26px;
}
.editorial-block {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
}
.editorial-block img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
}
.editorial-dark {
    background: var(--primary);
    color: #fff;
}
.editorial-dark h2,
.editorial-dark .rich-text,
.editorial-dark .rich-text p { color: #fff; }
.visitor-tool {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 32px;
    align-items: start;
    background: linear-gradient(135deg, #fff, #f8f2e8);
}
.visitor-tool p { color: var(--muted); line-height: 1.75; }
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    cursor: pointer;
    padding: 20px 24px;
    color: var(--ink);
    font-weight: 800;
}
.faq-item .rich-text { padding: 0 24px 22px; }
.diagnostic-meter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(184, 130, 59, .28);
    border-radius: var(--radius);
    background: rgba(184, 130, 59, .08);
}
.diagnostic-meter span { color: var(--muted); font-weight: 800; }
.diagnostic-meter strong { color: var(--primary); }
.diagnostic-meter div {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(8, 35, 63, .12);
}
.diagnostic-meter i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--accent-strong));
    transition: width .2s ease;
}
.feature-card { display: grid; gap: 14px; align-content: start; }
.feature-card img { aspect-ratio: 16 / 9; }
.stat-card strong { display: block; margin-bottom: 8px; color: var(--accent); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }

/* Refonte 2026 — architecture intégrateur de solutions */
.refonte-home { overflow: hidden; }
.hero-refonte { min-height: 690px; padding: 82px 0 76px; background: linear-gradient(125deg,#06182c 0%,#0b2c4c 62%,#0d5f64 100%); }
.hero-refonte::after { display:none; }
.hero-refonte .hero-grid { grid-template-columns: 1.04fr .96fr; gap:54px; }
.hero-refonte h1 { max-width:780px; font-size:clamp(2.7rem,5vw,5.2rem); letter-spacing:-.045em; }
.hero-refonte .hero-media img { min-height:520px; aspect-ratio:4/5; object-fit:cover; object-position:62% center; border-radius:24px; }
.hero-refonte .hero-media { position:relative; }
.image-caption { position:absolute; left:-28px; bottom:28px; padding:18px 22px; background:#fff; color:var(--primary); box-shadow:var(--shadow); border-radius:12px; font-size:1.05rem; }
.hero-proof { align-items:center; }
.hero-proof b { color:#e5a13c; font-size:1.2rem; }
.need-nav { position:relative; z-index:3; margin-top:-28px; }
.need-grid { display:grid; grid-template-columns:repeat(6,1fr); background:#fff; border-radius:14px; box-shadow:0 22px 60px rgba(6,24,44,.16); overflow:hidden; }
.need-grid a { min-height:108px; padding:20px 16px; display:flex; flex-direction:column; justify-content:center; gap:8px; border-right:1px solid var(--border); color:var(--primary); font-weight:800; transition:.2s ease; }
.need-grid a:last-child { border:0; }
.need-grid a:hover { background:#eef7f6; transform:translateY(-2px); }
.need-grid span,.solution-number { color:#087b80; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; font-weight:900; }
.eyebrow.ink { color:#087b80; }
.section-intro-row { display:grid; grid-template-columns:1.15fr .85fr; gap:60px; align-items:end; margin-bottom:48px; }
.section-intro-row .section-head { margin:0; }
.section-intro-row>p { color:var(--muted); line-height:1.75; }
.solution-band { display:grid; grid-template-columns:1.05fr .95fr; gap:0; margin:0 0 34px; background:#fff; border:1px solid var(--border); border-radius:18px; overflow:hidden; box-shadow:0 18px 50px rgba(8,35,63,.08); }
.solution-band>img { width:100%; height:100%; min-height:470px; object-fit:cover; }
.solution-band>div { padding:54px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.solution-band h3 { margin:12px 0 16px; max-width:560px; font-size:clamp(1.7rem,3vw,2.7rem); line-height:1.12; }
.solution-band p { color:var(--muted); line-height:1.7; }
.solution-band-reverse>img { order:2; }
.offer-links { display:grid; width:100%; margin:16px 0 26px; border-top:1px solid var(--border); }
.offer-links a { display:flex; justify-content:space-between; padding:13px 0; border-bottom:1px solid var(--border); color:var(--primary); font-weight:800; }
.offer-links span { color:#087b80; }
.execution-section { color:#fff; background:#06182c; }
.section-head.light h2,.section-head.light p { color:#fff; }
.execution-grid { display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid rgba(255,255,255,.18); }
.execution-grid article { padding:30px 24px; border-right:1px solid rgba(255,255,255,.14); }
.execution-grid article:last-child { border:0; }
.execution-grid span { color:#e5a13c; font-weight:900; }
.execution-grid h3 { color:#fff; margin-top:22px; font-size:1.35rem; }
.execution-grid p { color:rgba(255,255,255,.68); line-height:1.6; }
.cross-sell-section { background:#eef3f1; }
.cross-sell-grid,.proof-grid,.ventures-grid,.final-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:70px; align-items:center; }
.cross-sell-grid p,.proof-grid p,.final-contact p { color:var(--muted); line-height:1.75; }
.scenario-list { display:grid; gap:14px; }
.scenario-list article { display:flex; flex-wrap:wrap; gap:9px; align-items:center; padding:22px; background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(8,35,63,.07); }
.scenario-list strong { width:100%; color:var(--primary); margin-bottom:5px; }
.scenario-list span { padding:7px 10px; background:#e7f3f2; color:#086b70; border-radius:999px; font-weight:800; font-size:.8rem; }
.scenario-list i { color:var(--accent); font-style:normal; font-weight:900; }
.proof-grid img { min-height:520px; width:100%; object-fit:cover; border-radius:18px; box-shadow:var(--shadow); }
.proof-checks { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:26px 0; }
.proof-checks span { padding:13px; border:1px solid var(--border); border-radius:9px; color:var(--primary); font-weight:700; }
.ventures-section { color:#fff; background:linear-gradient(135deg,#083f44,#07192d); }
.ventures-section h2 { color:#fff; }
.ventures-section p { color:rgba(255,255,255,.74); line-height:1.75; }
.venture-cards { display:grid; gap:12px; }
.venture-cards a { display:grid; padding:22px 24px; border:1px solid rgba(255,255,255,.18); border-radius:12px; background:rgba(255,255,255,.06); transition:.2s ease; }
.venture-cards a:hover { background:rgba(255,255,255,.12); transform:translateX(5px); }
.venture-cards small { color:#e5a13c; text-transform:uppercase; letter-spacing:.08em; }
.venture-cards strong { margin:5px 0 12px; font-size:1.2rem; }
.venture-cards span { color:rgba(255,255,255,.7); }
.final-contact { background:#fff; }
.final-contact-grid { grid-template-columns:1fr auto; }
.btn-large { min-height:62px; padding:18px 26px; font-size:1.05rem; gap:20px; }
.nav-toggle { display:none; }

@media (max-width: 1020px) {
  .need-grid{grid-template-columns:repeat(3,1fr)} .execution-grid{grid-template-columns:repeat(3,1fr)}
  .solution-band,.hero-refonte .hero-grid{grid-template-columns:1fr}.solution-band-reverse>img{order:0}.hero-refonte .hero-media img{min-height:420px;aspect-ratio:16/10}
  .main-nav{display:none}.main-nav.is-open{display:flex;position:absolute;top:100%;left:16px;right:16px;padding:18px;flex-direction:column;align-items:stretch;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow)}.nav-toggle{display:inline-flex;border:1px solid var(--border);background:#fff;padding:10px 14px;border-radius:8px;font-weight:800}
}
@media (max-width: 700px) {
  .section{padding:64px 0}.header-strip{display:none}.header-contact{display:none}.topbar{min-height:68px}.brand img{width:130px}
  .hero-refonte{padding:64px 0 54px}.hero-refonte h1{font-size:clamp(2.5rem,12vw,3.8rem)}.hero-refonte .hero-media img{min-height:340px}.image-caption{left:12px;bottom:12px}
  .need-nav{margin-top:0}.need-grid{grid-template-columns:repeat(2,1fr);border-radius:0}.need-grid a{min-height:92px}
  .section-intro-row,.cross-sell-grid,.proof-grid,.ventures-grid,.final-contact-grid{grid-template-columns:1fr;gap:32px}
  .solution-band>div{padding:30px 24px}.solution-band>img{min-height:270px}.execution-grid{grid-template-columns:1fr}.execution-grid article{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}
  .proof-grid img{min-height:330px}.proof-checks{grid-template-columns:1fr}.final-contact-grid{justify-items:start}
}

.pill {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: rgba(8, 35, 63, .08);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 800;
}
.pill-accent { background: rgba(184, 130, 59, .18); color: #7a4a12; }
.card-dark .pill-accent { color: #ffd99f; }
.meta-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; color: var(--muted); font-size: .92rem; }
.meta-list span { padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.75); }
.text-link { display: inline-flex; margin-top: 10px; font-weight: 800; color: var(--primary); }
.text-link::after { content: " ->"; margin-left: 5px; color: var(--accent); }

.rich-text, .rich-text p, .contact-info p { line-height: 1.8; color: var(--muted); }
.rich-text h2, .rich-text h3 { color: var(--ink); }
.compact p:last-child { margin-bottom: 0; }
.testimonial p { color: var(--muted); }
.testimonial strong, .testimonial span { display: block; }
.news-item { padding: 0 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.news-card > div { padding: 22px; }
.news-card small { color: var(--muted); }

.cta-banner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-accent { background: linear-gradient(120deg, var(--primary), var(--green)); color: #fff; }
.contact-form, .admin-form, .admin-form-grid { display: grid; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea, .admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 15px;
    font: inherit;
    background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 3px solid rgba(184, 130, 59, .22);
    border-color: var(--accent);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.map-frame { margin-top: 24px; }
.project-meta ul { padding-left: 19px; line-height: 1.75; color: var(--muted); }
.project-meta li { margin-bottom: 10px; }

/* Project portfolio */
.projects-hero { padding-bottom: 86px; }
.projects-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 56px; align-items: end; }
.projects-disclosure { padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.projects-disclosure strong { display: block; margin-bottom: 8px; color: #fff; }
.projects-disclosure p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.65; font-size: .92rem; }
.projects-index { background: #f4f7f9; }
.projects-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 36px; }
.project-list-premium { display: grid; gap: 30px; }
.project-card-premium { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(7,25,42,.08); }
.project-card-media { position: relative; display: block; min-height: 390px; overflow: hidden; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card-premium:hover .project-card-media img { transform: scale(1.025); }
.concept-label, .project-category { position: absolute; z-index: 1; padding: 8px 11px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.concept-label { left: 18px; bottom: 18px; color: #fff; background: rgba(6,19,33,.82); }
.project-category { top: 18px; left: 18px; color: #fff; background: var(--accent); }
.project-card-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 52px); }
.project-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.project-card-heading h3 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.project-status { display: inline-flex; flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; background: #e8f3ee; color: #146447; font-size: .75rem; font-weight: 800; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 26px; }
.project-facts div { padding: 13px; border-radius: 12px; background: #f4f7f9; }
.project-facts dt, .project-detail-facts dt { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.project-facts dd, .project-detail-facts dd { margin: 4px 0 0; color: var(--ink); font-weight: 700; }
.project-card-link { color: var(--primary); font-weight: 850; }
.project-card-link span { color: var(--accent); }
.projects-method { background: #fff; }
.project-stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.project-stage-grid > div { padding: 25px; border: 1px solid var(--border); border-radius: 18px; }
.project-stage-grid span { color: var(--accent); font-weight: 900; }
.project-stage-grid h3 { margin: 13px 0 8px; }
.project-stage-grid p { margin: 0; color: var(--muted); }
.project-detail-hero { padding: 64px 0 0; color: #fff; background: linear-gradient(135deg, #061829, #113f45); }
.project-back { display: inline-flex; margin-bottom: 30px; color: rgba(255,255,255,.72); font-weight: 750; }
.project-detail-title { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.project-detail-title h1 { margin: 10px 0 14px; }
.project-status-light { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.project-detail-visual { margin: 42px 0 0; transform: translateY(68px); border-radius: 24px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.25); background: #fff; }
.project-detail-visual img { width: 100%; aspect-ratio: 16/7.6; object-fit: cover; }
.project-detail-visual figcaption { padding: 14px 20px; color: var(--muted); font-size: .86rem; }
.project-detail-content { padding-top: 142px; background: #f4f7f9; }
.project-story-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 48px; align-items: start; }
.project-rich-text h2 { margin-top: 34px; font-size: 1.7rem; }
.project-rich-text h2:first-child { margin-top: 16px; }
.project-rich-text ul { color: var(--muted); line-height: 1.75; }
.project-decision-card { position: sticky; top: 110px; padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.project-detail-facts { margin: 18px 0 26px; }
.project-detail-facts div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.project-contact-note { margin: 16px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

.site-footer { background: #061321; color: rgba(255,255,255,.76); padding: 54px 0 22px; }
.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-grid h4 { color: #fff; margin: 0 0 16px; }
.footer-grid a, .footer-contact span { display: block; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; }
.flash { width: min(1180px, calc(100% - 32px)); margin: 18px auto 0; padding: 16px 20px; border-radius: var(--radius); font-weight: 700; }
.flash-success { background: #e6f7ed; color: #0f6a3e; }
.flash-error { background: #fff0f0; color: #a93f3f; }

.login-body { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(135deg, #102c55, #1e4f95); }
.login-card { width: min(420px, calc(100% - 24px)); text-align: center; }
.install-shell { width: min(920px, calc(100% - 24px)); }
.install-card { width: 100%; text-align: left; }
.install-checks { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 22px; }
.install-check { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.install-check.ok strong { color: #0f6a3e; }
.install-check.ko strong { color: #a93f3f; }
.install-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.login-card img { width: 160px; margin: 0 auto 18px; }
.admin-body { background: #edf2f8; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { padding: 24px; background: #0d2343; color: rgba(255,255,255,.82); display: flex; flex-direction: column; gap: 10px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.admin-brand img { width: 110px; }
.admin-sidebar a { padding: 12px 14px; border-radius: var(--radius); }
.admin-sidebar a:hover { background: rgba(255,255,255,.09); }
.admin-main { padding: 30px; }
.admin-topbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 24px; }
.admin-user { padding: 10px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.admin-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.admin-stat strong { display: block; font-size: 2.2rem; color: var(--primary); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-thumb, .form-thumb { width: 80px; border-radius: var(--radius); object-fit: cover; }
.form-thumb { margin-top: 12px; }

@media (max-width: 1100px) {
    .card-grid, .card-grid-3, .partner-grid, .stats-grid, .footer-grid, .admin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-grid, .hero-grid, .two-columns, .project-showcase, .contact-grid, .content-grid, .admin-shell, .activity-list, .project-list, .editorial-block, .visitor-tool { grid-template-columns: 1fr; }
    .card-detail, .project-list .card { grid-template-columns: 1fr; }
    .card-detail img, .project-list .card img { height: auto; border-radius: 0; }
    .admin-sidebar { position: relative; height: auto; }
    .projects-hero-grid, .projects-intro, .project-story-layout { grid-template-columns: 1fr; }
    .project-card-premium { grid-template-columns: 1fr; }
    .project-card-media { min-height: 340px; }
    .project-stage-grid { grid-template-columns: repeat(2, 1fr); }
    .project-decision-card { position: static; }
}

@media (max-width: 760px) {
    .strip-inner, .footer-bottom, .topbar, .cta-banner, .footer-cta, .admin-topbar { flex-direction: column; align-items: flex-start; }
    .main-nav { gap: 12px; }
    .main-nav a { font-size: .9rem; }
    .card-grid, .card-grid-3, .partner-grid, .stats-grid, .gallery-grid, .news-grid, .admin-cards { grid-template-columns: 1fr; }
    .install-checks, .install-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .hero { padding: 70px 0 58px; }
    .hero-media img { min-height: 300px; }
    h1 { font-size: clamp(2.2rem, 13vw, 3.6rem); }
    .form-row { grid-template-columns: 1fr; }
    .card-body, .feature-card, .partner-card, .stat-card, .testimonial, .contact-card, .cta-banner, .intro-panel, .project-meta, .editorial-block, .visitor-tool, .faq-item { padding: 21px; }
    .faq-item { padding: 0; }
    .project-card-media { min-height: 255px; }
    .project-card-heading, .project-detail-title { flex-direction: column; align-items: flex-start; }
    .project-facts, .project-stage-grid { grid-template-columns: 1fr; }
    .project-detail-visual { transform: translateY(42px); }
    .project-detail-content { padding-top: 100px; }
}
