*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-950: #020d1a;
    --blue-900: #051428;
    --blue-800: #0c2545;
    --blue-700: #133665;
    --blue-600: #1a4a8a;
    --blue-500: #2563b8;
    --blue-400: #3b82e0;
    --blue-300: #6fa8f0;
    --blue-200: #a8ccf7;
    --blue-100: #d6e9fc;
    --blue-50: #eef5fd;
    --gold: #c9a84c;
    --gold-light: #e8c878;
    --white: #f8faff;
    --text: #e8f0fa;
    --muted: #7fa8cc;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--blue-950);
    color: var(--text);
    overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--blue-900);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-500);
    border-radius: 3px;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4vw;
    background: rgba(2, 13, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 224, 0.15);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(59, 130, 224, 0.4));
    transition: filter 0.2s;
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 12px rgba(59, 130, 224, 0.6));
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-text span {
    color: var(--blue-400);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    line-height: 1;
}

.nav-links a:hover {
    color: var(--blue-300);
}

.nav-links a.cta {
    color: var(--white);
    border: 1.5px solid var(--blue-400);
    padding: 0 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 224, 0.1), rgba(59, 130, 224, 0.05));
    font-weight: 600;
    letter-spacing: 0.8px;
}

.nav-links a.cta:hover {
    background: linear-gradient(135deg, rgba(59, 130, 224, 0.25), rgba(59, 130, 224, 0.15));
    border-color: var(--blue-300);
    box-shadow: 0 0 16px rgba(59, 130, 224, 0.3);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4vw 5rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    top: 0;
    background-color: var(--blue-950);
    background-image:
        linear-gradient(90deg, rgba(2, 13, 26, 0.9) 0%, rgba(2, 13, 26, 0.85) 50%, rgba(26, 74, 138, 0.5) 100%),
        url('design/vidmarfundo.png');
    background-position: top left, right calc(50% + 80px);
    background-size: 100% 100%, contain;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-grid-lines {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-300);
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blue-400);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--white);
}

.hero h1 .accent {
    color: var(--blue-400);
}

.hero h1 .gold {
    color: var(--gold);
}

.hero-sub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 440px;
    border-left: 2px solid var(--blue-600);
    padding-left: 1rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-solid {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(37, 99, 184, 0.4);
}

.btn-solid:hover {
    background: var(--blue-400);
    box-shadow: 0 6px 32px rgba(59, 130, 224, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--blue-300);
    border: 1.5px solid var(--blue-600);
}

.btn-ghost:hover {
    border-color: var(--blue-400);
    color: var(--blue-200);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-photo-frame {
    position: relative;
    width: 340px;
    max-width: 100%;
}

.hero-photo-frame::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--blue-600);
    border-radius: 16px;
}

.hero-photo-placeholder {
    width: 340px;
    height: 440px;
    background: linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 100%);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--blue-700);
    position: relative;
    overflow: hidden;
}

.hero-photo-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(2, 13, 26, 0.7));
}

.hero-photo-placeholder .ph-icon {
    font-size: 4rem;
    opacity: 0.4;
}

.hero-photo-placeholder .ph-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
    opacity: 0.7;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-photo-tag {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(2, 13, 26, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--blue-600);
    border-radius: 10px;
    padding: 10px 14px;
    z-index: 2;
}

.hero-photo-tag strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.hero-photo-tag span {
    font-size: 0.75rem;
    color: var(--blue-300);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 224, 0.15);
}

.hero-stat .n {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--blue-400);
    letter-spacing: 1px;

    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px; /* força todos ficarem iguais */
}

.infinity-symbol svg {
    width: 38px;
    height: auto;
    display: block;
    transform: translateY(2px); /* ajuste fino */
}

.infinity-symbol svg {
    width: 42px;
    height: 22px;
    display: block;
}
.hero-stat .l {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── SECTIONS SHARED ─── */
section {
    padding: 4rem 4vw;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-400);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--blue-400);
}

h2.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 1px;
    line-height: 1;
    color: var(--white);
    margin-bottom: 1rem;
}

h2.section-title .accent {
    color: var(--blue-400);
}

.section-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 520px;
}

/* ─── ABOUT ─── */
#sobre {
    background: var(--blue-950);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3rem;
}

.about-photo-wrap {
    position: relative;
}

.about-photo-box {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--blue-800), var(--blue-950));
    border-radius: 14px;
    border: 1px solid var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.about-photo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: radial-gradient(ellipse at top, rgba(37, 99, 184, 0.25), transparent);
}

.about-photo-box .ph-icon {
    opacity: 0.25;
    font-size: 6rem;
}

.about-photo-box .ph-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(2, 13, 26, 0.92));
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: left;
}

.about-photo-box .ph-caption strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    font-weight: 700;
}

.about-photo-box .ph-caption span {
    font-size: 0.8rem;
    color: var(--blue-300);
}

.about-deco {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--blue-600);
    border-radius: 8px;
    opacity: 0.4;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(37, 99, 184, 0.05);
    border: 1px solid rgba(37, 99, 184, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.about-quote {
    border-left: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    background: rgba(201, 168, 76, 0.06);
    border-radius: 0 8px 8px 0;
}

.about-quote p {
    font-size: 1.05rem;
    color: var(--gold-light) !important;
    font-style: italic;
    font-weight: 500;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag {
    background: rgba(37, 99, 184, 0.15);
    border: 1px solid var(--blue-700);
    color: var(--blue-300);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ─── SERVICES ─── */
#servicos {
    background: var(--blue-900);
}

.portfolio-layout {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    grid-auto-flow: dense;
}

.portfolio-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
}

.portfolio-item {
    background: var(--blue-900);
    border: 1px solid var(--blue-800);
    border-radius: 12px;
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carousel-view {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-view .carousel-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(2, 13, 26, 0.68);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(37, 99, 184, 0.85);
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.portfolio-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.portfolio-item:hover img {
    transform: none;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 0.5rem;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s;
    border-radius: 0 0 8px 8px;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay p {
    font-size: 0.75rem;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .overlay {
        position: static;
        opacity: 1;
        border-radius: 0 0 8px 8px;
        background: rgba(37, 99, 184, 0.15);
        border: 1px solid var(--blue-700);
        padding: 12px 10px;
    }

    .overlay p {
        font-size: 0.8rem;
        color: var(--blue-300);
    }

    .hero-bg {
        background-position: top left, 0.1% bottom;
        background-size: 100% 100%, auto 100%;

    }

}

.portfolio-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.portfolio-text p {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.85;
}

.portfolio-text ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.portfolio-text li {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ─── PRICING ─── */
#preco {
    background: var(--blue-900);
}

.pricing-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-note {
    background: rgba(37, 99, 184, 0.1);
    border: 1px solid var(--blue-700);
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 0.85rem;
    color: var(--blue-300);
    max-width: 300px;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--blue-950);
    border: 1.5px solid var(--blue-800);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 100%);
    border-color: var(--blue-500);
    box-shadow: 0 0 40px rgba(37, 99, 184, 0.25);
}

.pricing-pill {
    display: inline-block;
    align-self: flex-start;
    background: var(--blue-500);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-plan {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--white);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--blue-400);
    letter-spacing: 1px;
    line-height: 1;
}

.pricing-price small {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
}

.pricing-divider {
    height: 1px;
    background: var(--blue-800);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.feat::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(37, 99, 184, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 9l3 3 6-6' stroke='%233b82e0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pricing-btn-outline {
    border: 1.5px solid var(--blue-600);
    color: var(--blue-300);
}

.pricing-btn-outline:hover {
    background: rgba(37, 99, 184, 0.15);
}

.pricing-btn-solid {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 184, 0.35);
}

.pricing-btn-solid:hover {
    background: var(--blue-400);
}

/* ─── SKILLS ─── */
#habilidades {
    background: var(--blue-950);
}

.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.skills-col h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.skill-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-row .skill-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
}

.skill-row .skill-name span {
    color: var(--muted);
    font-weight: 400;
}

.skill-bar {
    height: 5px;
    background: var(--blue-800);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    border-radius: 3px;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--blue-900);
    border: 1px solid var(--blue-800);
    border-radius: 10px;
    padding: 12px 16px;
}

.course-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-400);
    flex-shrink: 0;
}

.course-item .c-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.course-item .c-status {
    font-size: 0.75rem;
    color: var(--muted);
}

.course-badge {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.badge-active {
    background: rgba(37, 99, 184, 0.2);
    color: var(--blue-300);
    border: 1px solid var(--blue-700);
}

.badge-done {
    background: rgba(40, 120, 80, 0.15);
    color: #6ee0a0;
    border: 1px solid rgba(40, 120, 80, 0.3);
}

/* ─── CTA ─── */
#contato {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(26, 74, 138, 0.4), transparent),
        var(--blue-950);
    text-align: center;
    padding: 7rem 4vw;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

#contato .section-tag {
    justify-content: center;
}

#contato .section-tag::before {
    display: none;
}

#contato h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    letter-spacing: 1px;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

#contato h2 .accent {
    color: var(--blue-400);
}

#contato p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.contact-card {
    background: var(--blue-900);
    border: 1px solid var(--blue-700);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card .c-icon {
    font-size: 1.3rem;
}

.contact-card .c-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
}

.contact-card .c-info span {
    font-size: 0.78rem;
    color: var(--muted);
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: var(--blue-500);
    background: rgba(37, 99, 184, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-card .c-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(127, 168, 204, 0.22);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon-svg {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-svg .social-icon {
    width: 18px;
    height: 18px;
}


/* ─── FOOTER ─── */
footer {
    background: var(--blue-950);
    border-top: 1px solid rgba(59, 130, 224, 0.12);
    padding: 2.5rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--white);
}

.footer-location {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gold-light);
    margin-top: 6px;
    letter-spacing: 1px;
    font-weight: 300;
}

footer p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ─── LIGHTBOX ─── */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: transform 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .portfolio-layout {
        gap: 2.5rem;
    }

    .portfolio-images {
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5vw;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        border-left: none;
        padding-left: 0;
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-right {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-layout {
        grid-template-columns: 1fr;
    }

    .pricing-intro {
        flex-direction: column;
        gap: 1.5rem;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .pricing-note {
        max-width: 100%;
    }

    .portfolio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .portfolio-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-item {
        padding: 0;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links a:not(.cta) {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 4vw;
    }

    h2.section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .portfolio-text {
        gap: 1rem;
    }

    .portfolio-text p {
        font-size: 0.9rem;
    }

    .pricing-note {
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .contact-cards {
        flex-direction: column;
        gap: 0.8rem;
    }

    .contact-card {
        padding: 12px 16px;
    }
}

.carousel-image {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.7s ease, transform 0.7s ease;
    opacity: 1;
}

.carousel-image.is-changing {
    opacity: 0.18;
    transform: scale(1.02);
}


.carousel-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.portfolio-item:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-view {
      position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.03);
    isolation: isolate;
}

.carousel-track {
    display: flex;
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.carousel-image {
    display: block;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 0 0 100%;
    border-radius: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* máscara extra para esconder qualquer filete nas bordas */
.carousel-view::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px transparent;
    pointer-events: none;
    z-index: 3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(2, 13, 26, 0.68);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.portfolio-item:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: rgba(37, 99, 184, 0.9);
    transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

/* lista profissional no portfólio */
.portfolio-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.portfolio-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* bolinha azul minimalista */
.portfolio-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-400);
    box-shadow: 0 0 6px rgba(59, 130, 224, 0.6);
}

/* style.css */

/* cards de contato como CTA principal */
.contact-cards-single-action {
    max-width: 760px;
    margin: 0 auto;
}

.contact-card-cta {
    width: min(100%, 360px);
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.contact-card-cta:hover {
    transform: translateY(-3px);
    border-color: var(--blue-500);
    background: rgba(37, 99, 184, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.contact-card-cta .c-info {
    flex: 1;
    text-align: left;
}

.contact-card-cta .c-info strong {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.contact-card-cta .c-info span {
    font-size: 0.8rem;
    color: var(--blue-300);
}

.contact-arrow {
    font-size: 1rem;
    color: var(--blue-300);
    opacity: 0.9;
    transition: transform 0.22s ease, opacity 0.22s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.contact-card-cta:hover .contact-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
}

.contact-card-cta:focus-visible {
    outline: 2px solid var(--blue-300);
    outline-offset: 4px;
    border-color: var(--blue-400);
}

@media (max-width: 768px) {
    .contact-card-cta {
        width: 100%;
    }
}

/* style.css */

.btn-link-advanced {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blue-300);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.25s ease;
}

/* linha animada abaixo */
.btn-link-advanced::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1.5px;
    background: var(--blue-400);
    transition: width 0.3s ease;
}

/* seta */
.btn-link-advanced .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* hover completo */
.btn-link-advanced:hover {
    color: var(--white);
}

.btn-link-advanced:hover::after {
    width: 100%;
}

.btn-link-advanced:hover .arrow {
    transform: translateX(4px);
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}