﻿:root {
            --color-teal: #164D56;
            --color-terra: #B6543C;
            --color-beige: #E5D7C0;
            --color-pear: #F3EFE9;
            --color-dark: #2F2F2F;
            --color-muted: #6f6a63;
    
            --font-title: "Playfair Display", serif;
            --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
            --radius-lg: 18px;
            --radius-md: 12px;
            --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
        }
    
        * {
            box-sizing: border-box;
        }
    
        html {
            scroll-behavior: smooth;
        }
    
        body {
            margin: 0;
            font-family: var(--font-body);
            background-color: var(--color-pear);
            color: var(--color-dark);
        }
    
        a {
            text-decoration: none;
            color: inherit;
        }
    
        img {
            max-width: 100%;
            display: block;
        }
    
        /* Layout base */
        .page {
            background: radial-gradient(circle at top left, #e8e1d7 0, #f1ebe3 45%, #e8f0ef 100%);
            min-height: 100vh;
            color: var(--color-dark);
        }
    
        .container {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
    
        /* Header */
        header {
            position: sticky;
            top: 0;
            z-index: 50;
            backdrop-filter: blur(14px);
            background: rgba(255, 255, 255, 0.92);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }
    
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.8rem 0;
        }
    
        .brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
    
        .brand-logo {
            width: 40px;
            height: 40px;
            border-radius: 14px;
            background: #f3e2d5;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }
    
        .brand-logo img {
            width: 34px;
            height: auto;
        }
    
        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }
    
        .brand-name {
            font-family: var(--font-title);
            font-size: 1.1rem;
            letter-spacing: 0.06em;
            color: var(--color-dark);
        }
    
        .brand-sub {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.22em;
            color: var(--color-muted);
        }
    
        nav {
            display: flex;
            align-items: center;
            gap: 1.8rem;
        }
    
        .nav-link {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: rgba(47, 47, 47, 0.8);
            position: relative;
        }
    
        .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -0.3rem;
            width: 0;
            height: 2px;
            background: var(--color-terra);
            border-radius: 999px;
            transition: width 0.2s ease-out;
        }
    
        .nav-link:hover::after {
            width: 100%;
        }
    
        .nav-cta {
            padding: 0.55rem 1.2rem;
            border-radius: 999px;
            border: 1px solid rgba(182, 84, 60, 0.55);
            font-size: 0.8rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            background: #ffffff;
            color: var(--color-terra);
        }
    
        .nav-cta:hover {
            background: var(--color-terra);
            border-color: var(--color-terra);
            color: #fff;
        }
    
        /* Links de idioma com bandeiras */
        .nav-lang {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
    
        .flag-icon {
            width: 20px;
            height: 15px;
            object-fit: cover;
            border-radius: 2px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            vertical-align: middle;
        }
    
        /* Mobile menu */
        .menu-toggle {
            display: none;
            width: 32px;
            height: 32px;
            border-radius: 999px;
            border: 1px solid rgba(0, 0, 0, 0.12);
            background: #ffffff;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
    
        .menu-toggle span {
            width: 16px;
            height: 2px;
            border-radius: 999px;
            background: rgba(47, 47, 47, 0.9);
            position: relative;
        }
    
        .menu-toggle span::before,
        .menu-toggle span::after {
            content: "";
            position: absolute;
            left: 0;
            width: 16px;
            height: 2px;
            border-radius: 999px;
            background: inherit;
        }
    
        .menu-toggle span::before {
            top: -5px;
        }
    
        .menu-toggle span::after {
            top: 5px;
        }
    
        .nav-mobile {
            display: none;
            flex-direction: column;
            gap: 0.7rem;
            padding-bottom: 0.8rem;
        }
    
        .nav-mobile a {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: rgba(47, 47, 47, 0.9);
        }
    
        .nav-mobile a.nav-cta {
            align-self: flex-start;
        }
    
        /* Hero */
        .hero {
            padding: 4.5rem 0 3.5rem;
            position: relative;
        }

        .hero-container {
            position: relative;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
            gap: 2.4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            max-width: 37rem;
        }

        .hero-kicker {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.26em;
            color: var(--color-muted);
            margin-bottom: 0.7rem;
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-family: var(--font-title);
            font-size: clamp(2.4rem, 3.1vw, 3.1rem);
            line-height: 1.1;
            margin: 0 0 0.8rem;
            letter-spacing: 0.03em;
            position: relative;
            z-index: 2;
            color: #124c56;
        }

        .hero-title span {
            color: var(--color-terra);
        }

        .hero-sub {
            font-size: 0.98rem;
            max-width: 32rem;
            color: rgba(80, 70, 60, 0.8);
            position: relative;
            z-index: 2;
        }

        .hero-sub strong {
            color: var(--color-dark);
            font-weight: 600;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin: 1.8rem 0 1.2rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            border-radius: 999px;
            border: 1px solid transparent;
            padding: 0.7rem 1.4rem;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.08s ease-out,
            box-shadow 0.08s ease-out,
            background 0.15s ease-out,
            border-color 0.15s ease-out,
            color 0.15s ease-out;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--color-terra);
            color: #fff;
            box-shadow: 0 10px 22px rgba(182, 84, 60, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 30px rgba(182, 84, 60, 0.45);
        }

        .btn-ghost {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.06);
            color: var(--color-dark);
        }

        .btn-semantyq {
            background: #4b2a7a;
            border-color: #4b2a7a;
            color: #fff7f2;
            box-shadow: 0 10px 22px rgba(75, 42, 122, 0.35);
        }

        .btn-semantyq:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 30px rgba(75, 42, 122, 0.45);
            background: #3e2265;
            border-color: #3e2265;
            color: #ff806d;
        }

        .btn-ghost:hover {
            background: #f5ebe0;
            border-color: rgba(182, 84, 60, 0.4);
            color: var(--color-terra);
        }

        .hero-meta {
            display: flex;
            gap: 0.7rem;
            flex-wrap: wrap;
            margin-top: 1.1rem;
            font-size: 0.8rem;
            color: var(--color-muted);
        }

        .hero-meta span {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.45rem 0.65rem;
            border-radius: 999px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            background: rgba(255, 255, 255, 0.55);
        }

        .hero-meta-dot {
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: var(--color-terra);
        }

        .hero-media {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            grid-template-rows: auto auto;
            gap: 0.9rem;
        }

        .hero-media-card {
            background: #f9f4ed;
            border-radius: 18px;
            border: 1px solid rgba(0, 0, 0, 0.06);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            min-height: 140px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.9rem;
        }

        .hero-media-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .hero-media-card-main {
            grid-column: 1 / 2;
            grid-row: 1 / 3;
            min-height: 320px;
            padding: 1rem;
        }

        .hero-media-card-top,
        .hero-media-card-bottom {
            min-height: 155px;
        }

        .hero-highlights {
            padding-top: 0.3rem;
            padding-bottom: 3.4rem;
        }

        .hero-highlights-head {
            margin-bottom: 1.2rem;
        }

        .hero-highlights-head h2 {
            margin: 0 0 0.35rem;
            font-family: var(--font-title);
            font-size: 1.45rem;
            letter-spacing: 0.03em;
            color: var(--color-dark);
        }

        .hero-highlights-head p {
            margin: 0;
            font-size: 0.92rem;
            color: var(--color-muted);
            max-width: 43rem;
        }

        .hero-highlights-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.85rem;
        }

        .hero-highlight-card {
            background: #f8f2ea;
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 14px;
            padding: 0.9rem 0.9rem 0.85rem;
        }

        .hero-highlight-card h3 {
            margin: 0 0 0.35rem;
            font-size: 0.72rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--color-dark);
        }

        .hero-highlight-card p {
            margin: 0;
            font-size: 0.84rem;
            line-height: 1.45;
            color: var(--color-muted);
        }

        .hero-highlights-foot {
            margin: 0.95rem 0 0;
            font-size: 0.78rem;
            color: var(--color-muted);
        }

        /* Seções genéricas */
        section {
            padding: 3.8rem 0;
        }
    
        .section-header {
            margin-bottom: 2rem;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
    
        .section-kicker {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.26em;
            color: var(--color-muted);
        }
    
        .section-title {
            font-family: var(--font-title);
            font-size: 1.7rem;
            letter-spacing: 0.04em;
            color: var(--color-dark);
        }

        .section-title-small {
            font-size: 1.4rem;
            margin-bottom: 2rem;
        }
    
        .section-description {
            font-size: 0.95rem;
            max-width: 32rem;
            color: var(--color-muted);
        }
    
        /* Serviços */
        .section-services {
            background: linear-gradient(to bottom, #f3ece4, #efe7df);
            border-top: 1px solid rgba(0, 0, 0, 0.04);
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        }

        .services-divider {
            border: none;
            border-top: 1px solid #e5dbcf;
            margin: 40px 0;
            opacity: 0.5;
        }
    
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.5rem;
        }
    
        .service-card {
            background: #f9f4ed;
            border-radius: var(--radius-lg);
            padding: 1.4rem 1.3rem 1.3rem;
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
        }
    
        .service-tag {
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--color-teal);
            margin-bottom: 0.5rem;
        }
    
        .service-title {
            font-size: 1rem;
            font-family: var(--font-title);
            margin-bottom: 0.5rem;
            color: var(--color-dark);
        }
    
        .service-text {
            font-size: 0.9rem;
            color: var(--color-muted);
            margin-bottom: 0.8rem;
        }
    
        .service-list {
            list-style: none;
            padding: 0;
            margin: 0 0 0.8rem;
            font-size: 0.85rem;
            color: var(--color-muted);
        }
    
        .service-list li {
            padding-left: 1.1rem;
            position: relative;
            margin-bottom: 0.25rem;
        }
    
        .service-list li::before {
            content: "•";
            position: absolute;
            left: 0.1rem;
            top: 0;
            color: var(--color-terra);
        }
    
        .service-note {
            font-size: 0.78rem;
            color: var(--color-muted);
        }
    
        /* Portfólio */
        .section-portfolio {
            background: #ebe5dd;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        }

        /* Serviços de Desenvolvimento - tom mais claro e levemente mais frio */
        .section-services-dev {
            background: #f0ebe3;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        }

        /* Serviços Editoriais - tom mais quente/amarelado */
        .section-services-edit {
            background: #e8e0d5;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        }
    
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.4rem;
        }
    
        .portfolio-card {
            background: #f9f4ed;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(0, 0, 0, 0.05);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.03);
        }
    
        .portfolio-thumb {
            background: linear-gradient(135deg, rgba(182, 84, 60, 0.25), rgba(22, 77, 86, 0.25));
            aspect-ratio: 4 / 3;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(47, 47, 47, 0.9);
            font-family: var(--font-title);
            letter-spacing: 0.12em;
            text-transform: uppercase;
            font-size: 0.8rem;
            overflow: hidden;
        }
        
        .portfolio-thumb img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }
    
        .portfolio-body {
            padding: 0.9rem 1rem 1rem;
            flex: 1;
        }
    
        .portfolio-title {
            font-size: 1.05rem; /* ligeiro aumento para dar mais destaque aos títulos dos cards */
            font-family: var(--font-title);
            margin-bottom: 0.4rem;
            color: var(--color-dark);
        }
    
        .portfolio-type {
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--color-muted);
            margin-bottom: 0.3rem;
        }
    
        .portfolio-text {
            font-size: 0.85rem;
            color: var(--color-muted);
        }

        .portfolio-text p {
            margin: 0 0 0.8rem 0;
        }

        .portfolio-text p:last-child {
            margin-bottom: 0;
        }

        .portfolio-text ul {
            margin: 0.6rem 0 0 0;
            padding-left: 1.1rem;
        }

        .portfolio-text ul li {
            margin-bottom: 0.25rem;
        }

        .portfolio-text strong {
            color: var(--color-dark);
            font-weight: 600;
        }

        .portfolio-text .service-note {
            margin-top: 0.8rem;
            margin-bottom: 0;
            font-size: 0.78rem;
            color: var(--color-muted);
        }
    
        /* APPS – usa .apps-section do seu HTML */
        .apps-section {
            background: #f3f7f6;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
            padding: 3.8rem 1.5rem;
        }
    
        .apps-section .section-title {
            text-align: center;
            margin-bottom: 2rem;
        }
    
        .apps-grid {
            max-width: 1180px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.5rem;
        }
    
        .app-card {
            background: #f9f4ed;
            border-radius: var(--radius-lg);
            padding: 1.4rem 1.3rem 1.3rem;
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }
    
        .app-icon {
            min-width: 64px;
            height: 64px;
            border-radius: 20px;
            background: linear-gradient(135deg, #f6d5c8, #f1ebe4);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: var(--color-terra);
            font-weight: 600;
        }
    
        .app-body {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
    
        .app-title {
            font-family: var(--font-title);
            font-size: 1.05rem;
            color: var(--color-dark);
            margin: 0;
        }
    
        .app-text {
            font-size: 0.9rem;
            color: var(--color-muted);
        }
    
        .btn-app {
            margin-top: 0.6rem;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--color-terra);
        }
    
        .btn-app:hover {
            text-decoration: underline;
        }
    
        /* SOBRE – usa .about-section / .about-wrapper / .about-photo */
        .about-section {
            background: #ffffff;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
            padding: 3.8rem 1.5rem;
        }
    
        .about-section .section-title {
            text-align: center;
            margin-bottom: 2rem;
        }
    
        .about-wrapper {
            max-width: 1180px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
            gap: 2.5rem;
            align-items: flex-start;
        }
    
        .about-text {
            text-align: justify;
            font-size: 0.95rem;
            color: var(--color-muted);
            line-height: 1.6;
        }
    
        .about-highlight {
            margin-top: 1rem;
            padding: 1.2rem 1.1rem;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(0, 0, 0, 0.05);
            background: #f8f3ea;
            font-size: 0.86rem;
            color: var(--color-muted);
        }
    
        .about-highlight strong {
            color: var(--color-dark);
        }
    
        .about-list {
            list-style: none;
            padding: 0;
            margin: 0.4rem 0 0;
        }
    
        .about-list li {
            padding-left: 1.1rem;
            position: relative;
            margin-bottom: 0.25rem;
        }
    
        .about-list li::before {
            content: "—";
            position: absolute;
            left: 0.1rem;
            top: 0;
            color: var(--color-terra);
        }
    
        .about-img {
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .about-photo {
            width: 350px;
            height: auto;
            object-fit: contain;
            display: block;
        }
    
        /* DIVIDER */
        .divider {
            border: 0;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            margin: 3rem auto;
            width: 100%;
            max-width: 1180px;
        }
    
        /* SEÇÃO MAIS SOBRE SERVIÇOS */
        .section-more {
            background: #f4eee7;
            padding: 3.8rem 1.5rem;
        }
        
        .section-more .section-title {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--color-dark);
        }
        
        .section-more .section-description {
            max-width: 800px;
            margin: 0 auto 1.5rem;
            text-align: justify;
            color: var(--color-muted);
            line-height: 1.7;
        }
    
        /* CONTATO – usa .contact-section / .contact-form etc. */
        .contact-section {
            background: #f6f2ea;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
            padding: 3.8rem 1.5rem;
        }
    
        .contact-section .section-title,
        .contact-section h2.section-title {
            text-align: center;
            margin-bottom: 2rem;
        }
    
        .contact-form {
            max-width: 640px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 1.6rem 1.4rem;
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
        }
    
        .contact-label {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: var(--color-muted);
        }
    
        .contact-input {
            width: 100%;
            border-radius: 10px;
            border: 1px solid rgba(0, 0, 0, 0.12);
            background: #ffffff;
            padding: 0.55rem 0.7rem;
            font-size: 0.9rem;
            color: var(--color-dark);
            font-family: var(--font-body);
        }
    
        .contact-input::placeholder {
            color: rgba(111, 106, 99, 0.5);
        }
    
        .contact-textarea {
            resize: vertical;
            min-height: 120px;
        }
    
        .btn-submit {
            margin-top: 0.4rem;
            align-self: flex-start;
            background: var(--color-teal);
            color: #ffffff;
            border-radius: 999px;
            border: none;
            padding: 0.7rem 1.6rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            cursor: pointer;
            box-shadow: 0 10px 22px rgba(22, 77, 86, 0.35);
            transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background 0.15s ease-out;
        }
    
        .btn-submit:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 14px 30px rgba(22, 77, 86, 0.45);
            background: #123c44;
        }
    
        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
    
        .contact-alt {
            margin-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: var(--color-muted);
        }
    
        .contact-alt a {
            color: var(--color-terra);
        }
    
        /* Mensagem de feedback do formulário */
        .contact-message {
            max-width: 640px;
            margin: 0 auto 1.5rem;
            padding: 1.2rem 1.4rem;
            border-radius: var(--radius-lg);
            display: none;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            animation: slideDown 0.3s ease-out;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }
    
        .contact-message.show {
            display: flex;
        }
    
        .contact-message.success {
            background: #e8f5e9;
            border: 1px solid #4caf50;
            color: #2e7d32;
        }
    
        .contact-message.error {
            background: #ffebee;
            border: 1px solid #f44336;
            color: #c62828;
        }
    
        .contact-message-content {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex: 1;
        }
    
        .contact-message-icon {
            font-size: 1.4rem;
            line-height: 1;
        }
    
        .contact-message-text {
            font-size: 0.95rem;
            font-weight: 500;
        }
    
        .contact-message-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: inherit;
            cursor: pointer;
            opacity: 0.7;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.2s ease;
        }
    
        .contact-message-close:hover {
            opacity: 1;
        }
    
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
        /* Footer */
        footer,
        .footer {
            padding: 1.2rem 0 1.5rem;
            background: #d9cec0;
            border-top: 1px solid rgba(0, 0, 0, 0.06);
            font-size: 0.8rem;
            color: rgba(47, 47, 47, 0.8);
        }
    
        .footer-inner {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
        }
    
        .footer-copyright {
            text-align: center;
            width: 100%;
        }
    
        .footer-links {
            display: flex;
            gap: 0.9rem;
            flex-wrap: wrap;
        }
    
        .footer-links a {
            color: rgba(47, 47, 47, 0.9);
        }
    
                /* Responsivo */
        @media (max-width: 960px) {
            .hero-grid,
            .services-grid,
            .portfolio-grid,
            .about-wrapper,
            .apps-grid {
                grid-template-columns: minmax(0, 1fr);
                gap: 1.5rem;
            }

            .hero {
                padding-top: 3rem;
                padding-bottom: 2.5rem;
            }

            .hero-grid {
                gap: 2rem;
            }

            .hero-media {
                max-width: 680px;
            }

            .about-photo {
                width: 180px;
                height: 180px;
            }

            .portfolio-grid {
                gap: 1.2rem;
            }

            .section-header {
                margin-bottom: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 1rem;
            }

            nav {
                display: none;
            }

            .menu-toggle {
                display: inline-flex;
            }

            .hero {
                padding: 2.5rem 0 2rem;
            }

            .hero-grid {
                gap: 1.5rem;
            }

            .hero-title {
                font-size: clamp(1.8rem, 5vw, 2.2rem);
                line-height: 1.15;
            }

            .hero-sub {
                font-size: 0.9rem;
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch;
                gap: 0.7rem;
            }

            .hero-actions .btn {
                width: 100%;
                justify-content: center;
                padding: 0.65rem 1.3rem;
                font-size: 0.88rem;
                white-space: normal;
            }

            .btn {
                white-space: normal;
                word-break: break-word;
            }

            .hero-meta {
                flex-direction: column;
                gap: 0.6rem;
            }

            .hero-meta span {
                width: fit-content;
                max-width: 100%;
            }

            .hero-media {
                grid-template-columns: 1fr 1fr;
                max-width: 620px;
            }

            .hero-media-card-main {
                grid-column: 1 / -1;
                grid-row: auto;
                min-height: 230px;
            }

            .hero-media-card-top,
            .hero-media-card-bottom {
                min-height: 145px;
            }

            .hero-highlights {
                padding-top: 0.2rem;
                padding-bottom: 2.6rem;
            }

            .hero-highlights-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.7rem;
            }

            section {
                padding: 2.5rem 0;
            }

            .section-title {
                font-size: clamp(1.5rem, 4vw, 1.8rem);
            }

            .section-description {
                font-size: 0.9rem;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .portfolio-card {
                margin-bottom: 0;
            }

            .portfolio-body {
                padding: 0.8rem 0.9rem 0.9rem;
            }

            .portfolio-title {
                font-size: 1rem;
            }

            .portfolio-text {
                font-size: 0.83rem;
            }

            .portfolio-text p {
                margin-bottom: 0.7rem;
            }

            .portfolio-text ul {
                margin-top: 0.5rem;
                padding-left: 1rem;
            }

            .portfolio-text .service-note {
                margin-top: 0.6rem;
                font-size: 0.75rem;
            }

            .portfolio-text li {
                margin-bottom: 0.2rem;
                line-height: 1.5;
            }

            .service-list {
                padding-left: 1rem;
            }

            .about-photo {
                width: 150px;
                height: 150px;
            }

            .contact-form {
                padding: 1.4rem 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 0.9rem;
            }

            .hero {
                padding: 2rem 0 1.5rem;
            }

            .hero-title {
                font-size: clamp(1.6rem, 6vw, 2rem);
            }

            .hero-media {
                grid-template-columns: 1fr;
                gap: 0.7rem;
            }

            .hero-media-card-main,
            .hero-media-card-top,
            .hero-media-card-bottom {
                grid-column: auto;
                min-height: 170px;
            }

            .hero-highlights-grid {
                grid-template-columns: 1fr;
            }

            section {
                padding: 2rem 0;
            }

            .section-title {
                font-size: clamp(1.4rem, 5vw, 1.7rem);
            }

            .portfolio-body {
                padding: 0.75rem 0.8rem 0.85rem;
            }

            .section-header {
                margin-bottom: 1.2rem;
            }

            .portfolio-text {
                font-size: 0.8rem;
            }

            .hero-actions .btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.85rem;
            }

            .portfolio-title {
                font-size: 0.95rem;
            }

            .portfolio-text p {
                margin-bottom: 0.6rem;
            }

            .portfolio-text strong {
                font-size: 0.82rem;
            }
        }



/* === Home Refactor v2 (Hero + Above the fold) === */
.hero {
    padding: 5.2rem 0 2.2rem;
    position: relative;
    background:
        radial-gradient(circle at 8% 12%, rgba(182, 84, 60, 0.10), transparent 35%),
        radial-gradient(circle at 88% 8%, rgba(22, 77, 86, 0.12), transparent 34%);
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.hero-content {
    max-width: 52rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(22, 77, 86, 0.18);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
}

.hero-title {
    font-size: clamp(2.4rem, 4.7vw, 4rem);
    line-height: 1.03;
    margin-bottom: 1rem;
    max-width: 18ch;
}

.hero-sub {
    font-size: 1.04rem;
    line-height: 1.58;
    max-width: 60ch;
}

.hero-actions {
    margin: 1.9rem 0 1.25rem;
    gap: 0.85rem;
}

.btn {
    border-radius: 12px;
    padding: 0.78rem 1.2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(180deg, #c0634a, #a94d37);
    border-color: #a94d37;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(182, 84, 60, 0.28);
}

.btn-semantyq {
    background: linear-gradient(180deg, #4d2e7d, #3e2365);
    border-color: #3e2365;
    color: #fff;
}

.btn-semantyq:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(75, 42, 122, 0.28);
    color: #fff;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.hero-meta span {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    padding: 0.52rem 0.62rem;
    min-height: 46px;
}

.hero-highlights {
    padding-top: 1.2rem;
    padding-bottom: 3.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-highlights-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.1rem;
}

.hero-highlights-head h2 {
    margin: 0;
    font-size: 1.55rem;
}

.hero-highlights-head p {
    text-align: right;
    margin: 0;
    font-size: 0.92rem;
}

.hero-highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-highlight-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #fbf6ef, #f5ece1);
    padding: 0.88rem;
}

.hero-highlight-card h3 {
    font-size: 0.73rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.45rem;
}

.hero-highlight-card p {
    font-size: 0.83rem;
    line-height: 1.46;
}

.hero-highlights-foot {
    margin-top: 0.8rem;
    font-size: 0.78rem;
}

/* Light modernization for following sections */
.section-header {
    gap: 0.5rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
}

.portfolio-grid {
    gap: 1rem;
}

.portfolio-card {
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

@media (max-width: 960px) {
    .hero {
        padding-top: 3.4rem;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-highlights-head {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .hero-highlights-head p {
        text-align: left;
    }

    .hero-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 2.7rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8.6vw, 2.6rem);
        max-width: 16ch;
    }

    .hero-sub {
        font-size: 0.94rem;
        line-height: 1.56;
    }

    .hero-actions {
        margin-top: 1.4rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-highlights {
        padding-top: 0.8rem;
        padding-bottom: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero-meta span {
        min-height: 0;
    }

    .hero-highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero width fix (desktop) */
@media (min-width: 961px) {
    .hero-content {
        max-width: none;
        width: 100%;
    }

    .hero-title {
        max-width: none;
    }

    .hero-sub {
        max-width: 74ch;
    }
}


/* Hero full-width text fix */
@media (min-width: 961px) {
    .hero-content,
    .hero-title,
    .hero-sub {
        max-width: none !important;
        width: 100%;
    }
}

@media (min-width: 961px) {
    .hero-title {
        font-size: clamp(2rem, 3.7vw, 3.1rem);
        white-space: nowrap;
    }
}



/* Contact quick actions fallback */
.contact-quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1.1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-quick-btn:hover {
    transform: translateY(-1px);
}

.contact-quick-email {
    color: #fff;
    background: linear-gradient(180deg, #be6148, #a94d37);
    border-color: #a94d37;
    box-shadow: 0 10px 20px rgba(169, 77, 55, 0.25);
}

.contact-quick-whatsapp {
    color: #fff;
    background: linear-gradient(180deg, #2ebf66, #249e54);
    border-color: #249e54;
    box-shadow: 0 10px 20px rgba(36, 158, 84, 0.25);
}

@media (max-width: 768px) {
    .contact-quick-actions {
        flex-direction: column;
    }

    .contact-quick-btn {
        width: 100%;
    }
}

/* Semantyq card CTA alignment */
.portfolio-cta {
    margin-top: 0.95rem;
    display: flex;
    justify-content: center;
}
