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

:root {
    --bg: #f7f8fa;
    --white: #ffffff;
    --text: #111827;
    --text-light: #667085;
    --dark: #0c111d;
    --dark-light: #151b29;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --border: #e4e7ec;
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 248, 250, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 231, 236, 0.8);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 0.94rem;
    font-weight: 500;
}

.nav a {
    transition: 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--dark);
    color: white !important;
    padding: 10px 18px;
    border-radius: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

/* HERO */
.hero {
    padding: 110px 0 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
    max-width: 820px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-text {
    margin-top: 28px;
    max-width: 630px;
    color: var(--text-light);
    font-size: 1.18rem;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    border-radius: 11px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: #c7ccd5;
    transform: translateY(-2px);
}

.hero-features {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--text-light);
    font-size: 0.87rem;
}

/* MOCKUP */
.hero-card {
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #dbeafe;
    filter: blur(80px);
    z-index: -1;
    top: -80px;
    right: -100px;
}

.browser {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.14);
    overflow: hidden;
    transform: rotate(1.5deg);
}

.browser-top {
    height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 0 14px;
    gap: 18px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d0d5dd;
}

.browser-url {
    flex: 1;
    max-width: 230px;
    background: var(--bg);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--text-light);
}

.browser-content {
    padding: 70px 44px 90px;
    background: radial-gradient(circle at top right, #dbeafe, transparent 45%), white;
}

.mock-label {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.browser-content h2 {
    margin-top: 16px;
    font-size: 2.4rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.browser-content p {
    color: var(--text-light);
    margin-top: 18px;
}

.mock-button {
    display: inline-block;
    margin-top: 28px;
    background: var(--dark);
    color: white;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
}

/* SECTIONS */
.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-heading h2,
.why-grid h2,
.about-grid h2 {
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-heading p {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* SERVICES */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    padding: 34px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
}

.service-number {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
}

.service-card h3 {
    margin-top: 30px;
    font-size: 1.25rem;
}

.service-card p {
    margin-top: 14px;
    color: var(--text-light);
    font-size: 0.92rem;
}

/* DARK */
.dark-section {
    background: var(--dark);
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.light-eyebrow {
    color: #93c5fd;
}

.why-content {
    color: #c8ced9;
    font-size: 1.05rem;
}

.why-content p + p {
    margin-top: 20px;
}

.why-points {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.why-points span {
    padding: 14px 16px;
    background: var(--dark-light);
    border: 1px solid #273142;
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
}

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.process-step {
    position: relative;
    border-top: 2px solid var(--border);
    padding-top: 30px;
}

.process-step span {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
}

.process-step h3 {
    margin-top: 18px;
}

.process-step p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* PRICING */
.pricing-section {
    background: #eef2f7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.price-card {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: translateY(-12px);
}

.recommended {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.price-label {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-card h3 {
    margin-top: 28px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.price {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.custom-price {
    font-size: 2.3rem;
    font-weight: 800;
    margin-top: 5px;
}

.price-card > p {
    color: var(--text-light);
    margin-top: 10px;
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
}

.price-card li {
    padding: 8px 0;
    color: #475467;
    font-size: 0.9rem;
}

.price-card li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 10px;
}

.full-button {
    width: 100%;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.project-preview {
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-pronos {
    background: linear-gradient(135deg, #071a35, #123f75);
    color: white;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    letter-spacing: -0.03em;
}

.coming-soon {
    background: #eef2f7;
    color: #98a2b3;
    font-size: 1.6rem;
    font-weight: 700;
}

.project-info {
    padding: 28px;
}

.project-info span {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
}

.project-info h3 {
    margin-top: 10px;
    font-size: 1.3rem;
}

.project-info p {
    margin-top: 10px;
    color: var(--text-light);
}

/* ABOUT */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
}

.about-text p + p {
    margin-top: 22px;
}

/* CONTACT */
.contact-section {
    padding: 90px 0;
    background: var(--dark);
}

.contact-box {
    color: white;
    max-width: 900px;
}

.contact-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-heading h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.contact-heading p {
    margin: 24px auto 0;
    max-width: 600px;
    color: #c8ced9;
}

.contact-form {
    background: white;
    color: var(--text);
    padding: 42px;
    border-radius: var(--radius);
    text-align: left;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
}

.form-group label span {
    color: var(--text-light);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #f9fafb;
    padding: 14px 15px;
    border-radius: 10px;
    color: var(--text);
    outline: none;
    transition: 0.2s;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.form-note {
    margin-top: 14px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
}

.hidden-field {
    display: none;
}



/* FORM STATUS */

.form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.form-status.error {
    display: block;
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.form-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.form-note a {
    color: var(--primary);
    font-weight: 600;
}

.form-note a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: #080c14;
    color: white;
    padding: 34px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer p,
.footer-right {
    color: #7f899b;
    font-size: 0.82rem;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .hero-grid,
    .why-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 60px;
    }

    .cards-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .why-grid,
    .about-grid {
        gap: 45px;
    }
}

@media (max-width: 720px) {
    .nav {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: white;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 80px 0;
    }

    .cards-grid,
    .process-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .why-points {
        grid-template-columns: 1fr;
    }

    .browser-content {
        padding: 50px 28px 65px;
    }

    .browser-content h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* BRANDING */

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: 220px;
    height: auto;
}

@media (max-width: 720px) {
    .site-logo {
        width: 185px;
    }
}

/* LEGAL / PRIVACY */

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a7b0bf;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.privacy-notice {
    margin-top: 18px;
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.6;
    text-align: center;
}

.privacy-notice a {
    color: var(--primary);
    font-weight: 600;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.legal-main {
    min-height: calc(100vh - 76px);
    padding: 90px 0 110px;
    background: var(--bg);
}

.legal-container {
    width: min(92%, 900px);
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 45px;
}

.legal-header .eyebrow {
    margin-bottom: 14px;
}

.legal-header h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.legal-intro {
    margin-top: 20px;
    max-width: 720px;
    color: var(--text-light);
    font-size: 1.02rem;
}

.legal-updated {
    margin-top: 12px;
    color: #98a2b3;
    font-size: 0.82rem;
}

.legal-warning {
    margin: 0 0 30px;
    padding: 18px 20px;
    border: 1px solid #f5d98b;
    border-radius: 14px;
    background: #fff9e8;
    color: #725b13;
    font-size: 0.9rem;
}

.legal-warning strong {
    color: #5d4708;
}

.legal-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px;
    margin-bottom: 20px;
}

.legal-card h2 {
    margin-bottom: 18px;
    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.legal-card h3 {
    margin: 24px 0 10px;
    font-size: 1.05rem;
}

.legal-card p + p {
    margin-top: 12px;
}

.legal-card p,
.legal-card li {
    color: #475467;
}

.legal-card ul {
    padding-left: 20px;
    margin-top: 12px;
}

.legal-card li + li {
    margin-top: 8px;
}

.legal-card a {
    color: var(--primary);
    font-weight: 600;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-data {
    display: grid;
    gap: 10px;
}

.legal-data strong {
    color: var(--text);
}

.legal-placeholder {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    background: #fff4e5;
    color: #a15c00;
    font-weight: 700;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 600;
}

.legal-back:hover {
    text-decoration: underline;
}

.legal-nav {
    display: flex;
}

@media (max-width: 720px) {
    .footer-right {
        align-items: flex-start;
    }

    .legal-main {
        padding: 65px 0 85px;
    }

    .legal-card {
        padding: 25px 20px;
    }

    .legal-nav {
        display: none;
    }
}


/* PRICING DETAILS */

.price-details {
    margin: -10px 0 26px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-light) !important;
    font-size: 0.8rem;
    line-height: 1.5;
}

.pricing-note {
    max-width: 780px;
    margin: 38px auto 0;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.pricing-note p {
    color: var(--text-light);
    font-size: 0.84rem;
}

.pricing-note p + p {
    margin-top: 6px;
}

.pricing-note strong {
    color: var(--text);
}


/* PORTFOLIO TEMPORAIRE */

.concepts-preview {
    position: relative;
    overflow: hidden;
    padding: 35px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 42%),
        linear-gradient(135deg, #f7f8fa, #e9eef6);
}

.concepts-preview::before,
.concepts-preview::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.concepts-preview::before {
    width: 220px;
    height: 220px;
    top: -85px;
    right: -50px;
}

.concepts-preview::after {
    width: 120px;
    height: 120px;
    bottom: -45px;
    left: -25px;
}

.concepts-preview-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.concepts-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.concepts-preview strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.concepts-preview p {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.project-tags span {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    color: #475467;
    font-size: 0.75rem;
    font-weight: 600;
}

.projects-note {
    max-width: 760px;
    margin: 28px auto 0;
    color: var(--text-light);
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.55;
}


/* REAL PROJECT SHOWCASE */

.project-card-real {
    position: relative;
}

.project-visual-link {
    display: block;
}

.project-showcase {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: #061020;
}

.project-desktop-shot {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.project-mobile-shot {
    position: absolute;
    right: 24px;
    bottom: -22px;
    width: 105px;
    height: 230px;
    object-fit: cover;
    object-position: top center;
    border: 5px solid #0c111d;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    transition: transform 0.45s ease;
}

.project-open-label {
    position: absolute;
    left: 22px;
    bottom: 20px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(6, 16, 32, 0.78);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.3s ease;
}

.project-card-real:hover .project-desktop-shot {
    transform: scale(1.025);
    filter: brightness(0.86);
}

.project-card-real:hover .project-mobile-shot {
    transform: translateY(-7px) rotate(1deg);
}

.project-card-real:hover .project-open-label {
    opacity: 1;
    transform: translateY(0);
}

.project-info h3 a:hover {
    color: var(--primary);
}

.project-case-main {
    background: var(--bg);
}

.case-hero {
    padding: 75px 0 55px;
}

.case-back {
    display: inline-flex;
    margin-bottom: 35px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.case-back:hover {
    text-decoration: underline;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.case-meta span {
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: white;
    color: #475467;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-hero h1 {
    max-width: 900px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.case-lead {
    max-width: 760px;
    margin-top: 25px;
    color: var(--text-light);
    font-size: 1.08rem;
}

.case-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.case-cover {
    margin-top: 55px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #061020;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.14);
}

.case-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.case-section {
    padding: 80px 0;
}

.case-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.case-grid h2,
.case-gallery-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.case-copy {
    color: var(--text-light);
    font-size: 1.02rem;
}

.case-copy p + p {
    margin-top: 18px;
}

.case-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
}

.case-feature {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.case-feature strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.case-feature p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.case-gallery-section {
    padding: 85px 0 110px;
    background: #eef2f7;
}

.case-gallery-heading {
    max-width: 720px;
    margin-bottom: 45px;
}

.case-gallery-heading p {
    margin-top: 15px;
    color: var(--text-light);
}

.case-gallery {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 24px;
    align-items: start;
}

.case-gallery-desktop {
    display: grid;
    gap: 24px;
}

.case-gallery figure {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
}

.case-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

.case-gallery figcaption {
    padding: 15px 18px;
    color: var(--text-light);
    font-size: 0.82rem;
}

.case-mobile-frame {
    max-width: 360px;
    margin: 0 auto;
}

.case-cta {
    padding: 90px 0;
    background: var(--dark);
    color: white;
}

.case-cta-box {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.case-cta h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.case-cta p {
    max-width: 600px;
    margin: 22px auto 30px;
    color: #c8ced9;
}

@media (max-width: 850px) {
    .case-grid,
    .case-gallery {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .case-feature-list {
        grid-template-columns: 1fr;
    }

    .case-mobile-frame {
        max-width: 330px;
    }
}

@media (max-width: 720px) {
    .project-showcase,
    .project-desktop-shot {
        min-height: 270px;
        height: 270px;
    }

    .project-mobile-shot {
        width: 88px;
        height: 190px;
        right: 16px;
        bottom: -18px;
    }

    .project-open-label {
        opacity: 1;
        transform: none;
        left: 15px;
        bottom: 15px;
    }

    .case-hero {
        padding-top: 55px;
    }

    .case-cover {
        margin-top: 40px;
        border-radius: 16px;
    }
}
