/* ============================================
   Isaque Pinturas - Stylesheet
   Cores: #121C3A | #CB0027 | #63697C
   ============================================ */

:root {
    --color-primary: #121C3A;
    --color-accent: #CB0027;
    --color-secondary: #63697C;
    --color-white: #FFFFFF;
    --color-light: #F4F6F9;
    --color-light-blue: #E8EBF0;
    --color-gray: #8A8F9C;
    --color-dark: #0A1020;
    --color-success: #10B981;
    --color-error: #EF4444;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(18, 28, 58, 0.08);
    --shadow-md: 0 4px 20px rgba(18, 28, 58, 0.12);
    --shadow-lg: 0 10px 40px rgba(18, 28, 58, 0.18);
    --shadow-accent: 0 8px 30px rgba(203, 0, 39, 0.25);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-primary);
    background: var(--color-white);
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #a00020;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 24px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ========== TYPOGRAPHY ========== */
.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section__title span {
    color: var(--color-accent);
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--color-secondary);
    max-width: 640px;
    margin-bottom: 48px;
}

.section__subtitle--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section {
    padding: 80px 0;
}

.section--light {
    background: var(--color-light);
}

.section--dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.section--dark .section__title {
    color: var(--color-white);
}

.section--dark .section__subtitle {
    color: var(--color-light-blue);
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__header .section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
    background: #a00020;
    border-color: #a00020;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(203, 0, 39, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn--dark {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--dark:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 28, 58, 0.06);
    transition: box-shadow var(--transition);
}

@media (min-width: 769px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        height: var(--header-height);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0 24px;
        z-index: 1001;
        transform: none;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        pointer-events: none;
    }

    .header__nav .nav__list {
        pointer-events: auto;
    }
}

.header .container {
    width: 100%;
    max-width: 1200px;
}

.header--scrolled {
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--header-height);
    min-width: 0;
    width: 100%;
}

.header__logo {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.header__nav {
    display: flex;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-accent);
}

.nav__link--cta {
    background: var(--color-accent);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: #a00020;
    transform: translateY(-1px);
}

.header__toggle {
    display: none;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 0;
    z-index: 1003;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
}

.header__toggle:active {
    background: var(--color-light);
}

/* Overlay do menu mobile */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 28, 58, 0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.header__toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.header__toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.header__toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(18, 28, 58, 0.92) 0%,
        rgba(18, 28, 58, 0.75) 50%,
        rgba(203, 0, 39, 0.4) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 60px 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(203, 0, 39, 0.9);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title span {
    color: var(--color-accent);
    display: block;
}

.hero__text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* ========== SERVICES ========== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--color-light-blue);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-accent);
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-white);
    font-size: 1.5rem;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.service-card__text {
    font-size: 0.92rem;
    color: var(--color-secondary);
    line-height: 1.6;
}

/* ========== RETROFIT SECTION ========== */
.retrofit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.retrofit__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.retrofit__image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.retrofit__badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
}

.retrofit__content .section__title {
    text-align: left;
}

.retrofit__list {
    margin: 24px 0 32px;
}

.retrofit__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.retrofit__list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== BENEFITS ========== */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.benefit-card__icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.benefit-card__text {
    font-size: 0.92rem;
    color: var(--color-light-blue);
    line-height: 1.6;
}

/* ========== PROJECTS SHOWCASE ========== */
/* Layout da página inicial: 1 grande à esquerda + 4 pequenas à direita (2x2) */
.projects__layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(200px, 1fr));
    gap: 20px;
    min-height: 460px;
}

.projects__layout > .project-card--large {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
}

.projects__side {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    min-height: 0;
}

.projects__layout .project-card--large img {
    min-height: 100%;
    height: 100%;
}

.projects__side .project-card {
    aspect-ratio: auto;
    min-height: 0;
    height: 100%;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-card--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 28, 58, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background var(--transition);
}

.project-card:hover .project-card__overlay {
    background: linear-gradient(to top, rgba(203, 0, 39, 0.8) 0%, rgba(18, 28, 58, 0.4) 60%);
}

.project-card__tag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
}

/* ========== ABOUT ========== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Sobre nós — logomarca com efeito visual */
.about__image--logo {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        145deg,
        #f8f9fc 0%,
        #ffffff 35%,
        #eef1f6 70%,
        #e8ebf2 100%
    );
    border: 1px solid rgba(18, 28, 58, 0.08);
}

.about__image-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(203, 0, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(18, 28, 58, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(99, 105, 124, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.about__image-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 0, 39, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: about-glow 4s ease-in-out infinite;
}

.about__image-shine {
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(
        115deg,
        transparent 42%,
        rgba(255, 255, 255, 0.55) 49%,
        rgba(255, 255, 255, 0.2) 51%,
        transparent 58%
    );
    pointer-events: none;
    animation: about-shine 6s ease-in-out infinite;
}

.about__image--logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--color-accent), #e8334f);
    z-index: 2;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.about__image--logo::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 2px solid rgba(18, 28, 58, 0.06);
    border-radius: calc(var(--radius-lg) - 6px);
    pointer-events: none;
    z-index: 1;
}

.about__logo-frame {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 400px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 6px rgba(18, 28, 58, 0.04),
        0 20px 50px rgba(18, 28, 58, 0.1),
        0 0 0 1px rgba(18, 28, 58, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about__image--logo:hover .about__logo-frame {
    transform: translateY(-4px);
    box-shadow:
        0 8px 12px rgba(18, 28, 58, 0.06),
        0 28px 60px rgba(203, 0, 39, 0.12),
        0 0 0 1px rgba(203, 0, 39, 0.1);
}

.about__logo-accent {
    position: absolute;
    top: -3px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
    border-radius: 3px 3px 0 0;
}

.about__image--logo .about__logo-frame img {
    width: 100%;
    height: auto;
    max-height: 210px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(18, 28, 58, 0.08));
    transition: transform var(--transition);
}

.about__image--logo:hover .about__logo-frame img {
    transform: scale(1.02);
}

@keyframes about-shine {
    0%, 100% { transform: translateX(-12%) translateY(-8%) rotate(0deg); opacity: 0.5; }
    50% { transform: translateX(8%) translateY(6%) rotate(0deg); opacity: 1; }
}

@keyframes about-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
}

@media (max-width: 768px) {
    .about__image--logo {
        min-height: 320px;
    }

    .about__logo-frame {
        max-width: 300px;
        padding: 22px 24px;
    }

    .about__image--logo .about__logo-frame img {
        max-height: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about__image-shine {
        animation: none;
    }
}

.about__text p {
    margin-bottom: 16px;
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.about__highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* ========== CERTIFICATIONS ========== */
.certifications__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-light-blue);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
}

.cert-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.cert-item__icon {
    width: 36px;
    height: 36px;
    background: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    font-size: 1rem;
}

/* ========== LOCATIONS ========== */
.locations__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.location-tag {
    padding: 12px 24px;
    background: var(--color-white);
    border: 2px solid var(--color-light-blue);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition);
}

.location-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a2848 50%, var(--color-accent) 150%);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(203, 0, 39, 0.15);
    border-radius: 50%;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-banner__text {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* ========== CONTACT ========== */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact__info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact__info-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__info-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.contact__info-value {
    font-weight: 600;
    color: var(--color-primary);
}

.contact__info-value a {
    color: var(--color-primary);
}

.contact__info-value a:hover {
    color: var(--color-accent);
}

.contact__form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-light-blue);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    border: 2px solid var(--color-light-blue);
    border-radius: var(--radius-sm);
    background: var(--color-light);
    color: var(--color-primary);
    transition: border-color var(--transition);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__message {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}

.form__message--success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    display: block;
}

.form__message--error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    display: block;
}

.form__submit {
    width: 100%;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand img {
    margin-bottom: 16px;
    filter: brightness(1.1);
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    align-items: flex-start;
}

.footer__contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    font-size: 0.85rem;
}

.footer__virtunet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.footer__virtunet a {
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.footer__virtunet a:hover {
    opacity: 1;
}

.footer__virtunet img {
    height: 36px;
    width: auto;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--color-white);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ========== PAGE HERO (subpages) ========== */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a2848 100%);
    padding: calc(var(--header-height) + 60px) 0 60px;
    text-align: center;
    color: var(--color-white);
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero__text {
    font-size: 1.1rem;
    color: var(--color-light-blue);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--color-light-blue);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero--compact {
    padding: calc(var(--header-height) + 48px) 0 48px;
}

.page-hero__badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== ÁLBUNS & CARROSSEL ========== */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.album-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-light-blue);
    transition: transform var(--transition), box-shadow var(--transition);
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.album-card__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.album-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.album-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-card:hover .album-card__image img {
    transform: scale(1.06);
}

.album-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 28, 58, 0.92) 0%, rgba(18, 28, 58, 0.15) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background var(--transition);
}

.album-card:hover .album-card__overlay {
    background: linear-gradient(to top, rgba(203, 0, 39, 0.88) 0%, rgba(18, 28, 58, 0.35) 60%);
}

.album-card__tag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.album-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
}

.album-card__count {
    font-size: 0.88rem;
    color: var(--color-light-blue);
    margin-bottom: 12px;
}

.album-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
}

.album-card__footer {
    padding: 18px 22px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.album-card__desc {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin: 0;
}

.album-card__page-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
}

.album-card__page-link:hover {
    text-decoration: underline;
}

.album-detail__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.album-detail__meta {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin: 0;
}

.album-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.album-photo {
    position: relative;
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--color-light);
}

.album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.album-photo:hover img {
    transform: scale(1.05);
}

.album-photo__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(18, 28, 58, 0.75);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.album-photo:hover .album-photo__zoom {
    opacity: 1;
}

.album-detail__nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

/* Carrossel home */
.album-carousel {
    --carousel-per-view: 4;
    --carousel-gap: 14px;
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 44px;
}

.album-carousel__viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.album-carousel__track {
    display: flex;
    gap: var(--carousel-gap);
    transition: transform 0.5s ease;
    will-change: transform;
}

.album-carousel__slide {
    flex: 0 0 calc((100% - (var(--carousel-per-view) - 1) * var(--carousel-gap)) / var(--carousel-per-view));
    min-width: 0;
}

.album-carousel__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    transition: transform var(--transition), box-shadow var(--transition);
}

.album-carousel__trigger:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.album-carousel__trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 10px 10px;
    background: linear-gradient(to top, rgba(18, 28, 58, 0.88), transparent);
}

.album-carousel__album {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background var(--transition), color var(--transition);
}

.album-carousel__nav:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.album-carousel__nav--prev { left: -18px; }
.album-carousel__nav--next { right: -18px; }

.album-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.album-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-light-blue);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}

.album-carousel__dot.is-active {
    background: var(--color-accent);
    transform: scale(1.15);
}

/* Lightbox */
.album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.album-lightbox[hidden] {
    display: none !important;
}

.album-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 32, 0.92);
    backdrop-filter: blur(6px);
}

.album-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.album-lightbox__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: var(--color-primary);
    color: var(--color-white);
}

.album-lightbox__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-light-blue);
    margin: 0 0 4px;
}

.album-lightbox__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0;
}

.album-lightbox__counter {
    font-size: 0.85rem;
    color: var(--color-light-blue);
    margin: 6px 0 0;
}

.album-lightbox__close {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-lightbox__close:hover {
    background: var(--color-accent);
}

.album-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: #0a1020;
    flex: 1;
}

.album-lightbox__figure {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 56px;
}

.album-lightbox__image {
    max-width: 100%;
    max-height: min(62vh, 620px);
    max-height: min(62dvh, 620px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.album-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.album-lightbox__nav:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.album-lightbox__nav--prev { left: 12px; }
.album-lightbox__nav--next { right: 12px; }

.album-lightbox__thumbs {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    overflow-x: auto;
    background: var(--color-light);
    border-top: 1px solid var(--color-light-blue);
}

.album-lightbox__thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: none;
    opacity: 0.65;
    transition: opacity var(--transition), border-color var(--transition);
}

.album-lightbox__thumb.is-active,
.album-lightbox__thumb:hover {
    opacity: 1;
    border-color: var(--color-accent);
}

.album-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .album-photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .album-carousel {
        --carousel-per-view: 2;
        padding: 0 32px;
    }

    .album-carousel__nav--prev { left: 0; }
    .album-carousel__nav--next { right: 0; }

    .album-lightbox {
        padding: 0;
    }

    .album-lightbox__panel {
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        height: 100%;
    }

    .album-lightbox__figure {
        padding: 8px 44px;
    }

    .album-lightbox__image {
        max-height: 50vh;
        max-height: 50dvh;
    }
}

@media (max-width: 480px) {
    .album-photos {
        grid-template-columns: 1fr;
    }

    .album-carousel {
        --carousel-per-view: 1;
        max-width: 450px;
        padding: 0 32px;
    }

    .album-card__title {
        font-size: 1.15rem;
    }
}

/* ========== ERROR PAGES ========== */
.error-section {
    padding: calc(var(--header-height) + 48px) 0 80px;
    min-height: calc(100vh - var(--header-height));
    background:
        linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 40%, var(--color-light-blue) 100%);
}

.error-section--standalone {
    padding: 48px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.error-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-light-blue);
    max-width: 960px;
    margin: 0 auto;
}

.error-card__visual {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: linear-gradient(155deg, var(--color-primary) 0%, #1a2848 50%, #0d1528 100%);
    overflow: hidden;
}

.error-card__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(203, 0, 39, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 105, 124, 0.2) 0%, transparent 45%);
    pointer-events: none;
}

.error-card__visual::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--color-accent), #8b001c);
    z-index: 2;
}

.error-card__logo {
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition);
}

.error-card__logo:hover {
    transform: scale(1.03);
}

.error-card__logo img {
    width: 180px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}

.error-card__code-wrap {
    position: relative;
    z-index: 2;
}

.error-card__code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.85;
    text-shadow: 0 4px 24px rgba(203, 0, 39, 0.4);
}

.error-card__content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

.error-card__text {
    font-size: 1.02rem;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.error-card__hint {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--color-light);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.error-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.error-card__btn-whatsapp {
    border-color: #25D366 !important;
    color: #25D366 !important;
}

.error-card__btn-whatsapp:hover {
    background: #25D366 !important;
    color: var(--color-white) !important;
}

.error-card__nav-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.error-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.error-card__links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.error-card__links a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Legado — compatibilidade */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: var(--color-light);
}

.error-page--inner {
    min-height: calc(100vh - var(--header-height));
    padding-top: 40px;
}

.error-page--standalone {
    min-height: 100vh;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.error-page__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 16px 0;
    color: var(--color-primary);
}

.error-page__text {
    color: var(--color-secondary);
    margin-bottom: 32px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .retrofit,
    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects__layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
        gap: 14px;
    }

    .projects__layout > .project-card--large {
        grid-column: 1;
        grid-row: auto;
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: min(240px, 50vw);
    }

    .projects__side {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 14px;
    }

    .projects__layout .project-card--large img {
        min-height: 0;
        height: 100%;
    }

    .projects__side .project-card {
        aspect-ratio: 4 / 3;
        min-height: 0;
        height: auto;
        max-height: min(160px, 32vw);
    }

    .project-card__overlay {
        padding: 16px;
    }

    .project-card__title {
        font-size: 0.95rem;
    }

    .projects__grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card--large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .header {
        overflow: visible;
    }

    .header .container {
        padding-left: 16px;
        padding-right: 12px;
    }

    .header__inner {
        gap: 8px;
    }

    .header__logo {
        max-width: calc(100% - 52px);
    }

    .header__logo img {
        height: 40px;
        max-width: 160px;
    }

    .header__toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-overlay {
        display: block;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(300px, 86vw);
        max-width: 100%;
        margin: 0;
        height: 100vh;
        height: 100dvh;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: calc(var(--header-height) + 20px) 20px 24px;
        transition: transform var(--transition), visibility var(--transition);
        z-index: 999;
        transform: translateX(100%);
        visibility: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
        justify-content: flex-start;
    }

    .header__nav.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav__link--cta {
        margin-left: 0;
        text-align: center;
        margin-top: 12px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .projects__layout {
        gap: 12px;
    }

    .projects__layout > .project-card--large {
        aspect-ratio: 16 / 10;
        max-height: min(200px, 48vw);
    }

    .projects__side {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .projects__side .project-card {
        max-height: min(120px, 26vw);
        aspect-ratio: 4 / 3;
    }

    .project-card__overlay {
        padding: 12px;
    }

    .project-card__tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .project-card__title {
        font-size: 0.85rem;
    }

    .projects__grid {
        grid-template-columns: 1fr;
    }

    .about__highlights {
        grid-template-columns: 1fr;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .contact__form {
        padding: 28px 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .retrofit__image img {
        height: 300px;
    }

    .error-section {
        padding: calc(var(--header-height) + 24px) 0 48px;
    }

    .error-card {
        grid-template-columns: 1fr;
    }

    .error-card__visual {
        min-height: 260px;
        padding: 28px 20px;
    }

    .error-card__content {
        padding: 28px 22px;
    }

    .error-card__actions {
        flex-direction: column;
    }

    .error-card__actions .btn {
        width: 100%;
    }

    .error-card__links {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding-left: 14px;
        padding-right: 10px;
    }

    .header__logo img {
        height: 36px;
        max-width: 140px;
    }

    .header__toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    .projects__layout > .project-card--large {
        max-height: min(180px, 46vw);
    }

    .projects__side .project-card {
        max-height: min(105px, 24vw);
    }
}

/* ========== PRINT ========== */
@media print {
    .header, .whatsapp-float, .contact__form, .footer__virtunet {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .hero__overlay {
        background: none;
    }

    .hero__title, .hero__text {
        color: var(--color-primary);
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
