:root {
    --teal: #5ee8c8;
    --bg: #141c20;
    --bg2: #1b2830;
    --bg3: #212f38;
    --text: #e8e8e2;
    --text-muted: #8a9da8;
    --white: #ffffff;
    --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--grain);
    pointer-events: none;
    z-index: 9999;
    opacity: .5;
}

/* ══ NAV ══════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    transition: background .4s, backdrop-filter .4s, border-color .4s, box-shadow .4s;
}

nav.scrolled {
    background: rgba(20, 28, 32, .88);
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(94, 232, 200, .08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .8rem;
    text-decoration: none;
}

.nav-logo svg {
    width: 38px;
    height: 38px;
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    letter-spacing: .12em;
    color: var(--teal);
    line-height: 1.1;
}

.nav-logo-text span {
    display: block;
    font-size: .68rem;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .25em;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-cta {
    background: var(--teal);
    color: var(--bg);
    border: none;
    padding: .6rem 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .08em;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.nav-cta:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}

/* ══ HERO — full-viewport bg photo ═══════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    background:
        linear-gradient(to right, rgba(20, 28, 32, .90) 20%, rgba(20, 28, 32, .45) 60%, rgba(20, 28, 32, .2) 100%),
        url('assets/hero.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
}

/* Ken-burns animation layer */
#hero-bg-layer {
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: kenburns 18s ease-in-out infinite alternate;
    z-index: 0;
}

#hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 660px;
    animation: fadeUp .9s ease both;
}

.hero-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: .68rem;
    color: var(--teal);
    letter-spacing: .32em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    opacity: .9;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--teal);
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 5.8vw, 6rem);
    font-weight: 300;
    line-height: 1.04;
    color: var(--white);
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, .3);
}

.hero-title em {
    font-style: italic;
    color: var(--teal);
}

.hero-desc {
    font-size: .96rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 2.6rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--teal);
    color: var(--bg);
    border: none;
    padding: .95rem 2.2rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .06em;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    display: inline-block;
}

.btn-primary:hover {
    opacity: .85;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: .95rem 2.2rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: .9rem;
    letter-spacing: .06em;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(94, 232, 200, .06);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--teal);
    line-height: 1;
}

.stat-label {
    font-size: .7rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: .3rem;
}

/* ══ SECTION BASE ═════════════════════════════════ */
section {
    padding: 7rem 5%;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: .68rem;
    color: var(--teal);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.section-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--teal);
    flex-shrink: 0;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--teal);
}

/* ══ SOBRE ════════════════════════════════════════ */
#sobre {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

#sobre::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(ellipse, rgba(94, 232, 200, .05) 0%, transparent 70%);
    pointer-events: none;
}

.sobre-img-wrap {
    position: relative;
}

.sobre-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(10%);
    display: block;
    position: relative;
    z-index: 1;
}

.sobre-img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
    font-size: .78rem;
    letter-spacing: .1em;
    position: relative;
    z-index: 1;
}

.sobre-frame-deco {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 70%;
    height: 70%;
    border: 1px solid rgba(94, 232, 200, .18);
    pointer-events: none;
    z-index: 0;
}

.sobre-years {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: var(--teal);
    color: var(--bg);
    padding: 1.4rem 1.8rem;
    text-align: center;
    z-index: 2;
}

.sobre-years-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.sobre-years-text {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sobre-content p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: .95rem;
    margin-bottom: 1.2rem;
}

.sobre-content p strong {
    color: var(--text);
    font-weight: 500;
}

.sobre-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sobre-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    margin-top: .4rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ══ SERVIÇOS — cards com foto de fundo ══════════ */
#servicos {
    background: var(--bg);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: default;
    background: var(--svc-bg, var(--bg3)) center/cover no-repeat;
}

/* zoom layer */
.service-card-bg {
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform .65s cubic-bezier(.25, .46, .45, .94);
    z-index: 0;
}

.service-card:hover .service-card-bg {
    transform: scale(1.08);
}

/* dark gradient overlay */
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 18, 22, .94) 0%, rgba(10, 18, 22, .52) 40%, rgba(10, 18, 22, .08) 100%);
    z-index: 1;
    transition: background .4s;
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(10, 18, 22, .97) 0%, rgba(10, 18, 22, .6) 50%, rgba(10, 18, 22, .1) 100%);
}

/* placeholder icon shown when no photo */
.service-placeholder-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 3.5rem;
    opacity: .18;
    transition: opacity .3s;
}

.service-card:hover .service-placeholder-icon {
    opacity: .07;
}

/* text content */
.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1.8rem;
}

.service-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.service-teal-line {
    width: 0;
    height: 2px;
    background: var(--teal);
    margin-bottom: .8rem;
    transition: width .4s ease;
}

.service-card:hover .service-teal-line {
    width: 40px;
}

.service-desc {
    font-size: .82rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
    max-height: 120px;
}

.service-card:hover .service-desc {
    max-height: 120px;
    opacity: 1;
}

/* ══ PORTFÓLIO TEASER ════════════════════════════ */
#portfolio {
    background: var(--bg2);
    text-align: center;
}

.portfolio-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: .6rem;
    margin: 3.5rem 0;
}

.pt-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.pt-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.pt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
    transition: transform .5s ease, filter .4s;
    display: block;
    min-height: 180px;
}

.pt-item:first-child .pt-img {
    min-height: 360px;
}

.pt-placeholder {
    width: 100%;
    min-height: 360px;
    background: var(--bg3);
}

.pt-placeholder-sm {
    width: 100%;
    min-height: 176px;
    background: var(--bg3);
}

.pt-item:hover .pt-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.pt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(94, 232, 200, .12);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-item:hover .pt-overlay {
    opacity: 1;
}

.portfolio-cta-text {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ══ INSTAGRAM — 1 foto grande ═══════════════════ */
#instagram {
    background: var(--bg);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.insta-card {
    background: var(--bg2);
    border: 1px solid rgba(255, 255, 255, .05);
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}

.insta-card:hover {
    border-color: rgba(94, 232, 200, .28);
    transform: translateY(-5px);
}

.insta-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.insta-avatar1 {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: url('assets/studiofotoart.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.insta-avatar2 {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: url('assets/studiofotoboudoir.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.insta-avatar3 {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: url('assets/lartevisual.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.insta-handle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.insta-niche {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: .12rem;
}

.insta-ig-icon {
    margin-left: auto;
    color: var(--teal);
    opacity: .55;
}

.insta-photo-wrap {
    overflow: hidden;
}

.insta-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    filter: grayscale(12%);
    transition: transform .5s ease, filter .4s;
}

.insta-card:hover .insta-photo {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.insta-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    color: var(--text-muted);
    font-size: .72rem;
    letter-spacing: .1em;
}

.insta-footer {
    padding: 1.2rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insta-niche-tag {
    font-size: .75rem;
    color: var(--text-muted);
}

.insta-follow {
    background: none;
    border: 1px solid rgba(94, 232, 200, .35);
    color: var(--teal);
    font-family: 'DM Sans', sans-serif;
    font-size: .76rem;
    letter-spacing: .1em;
    padding: .38rem 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
    display: inline-block;
}

.insta-follow:hover {
    background: rgba(94, 232, 200, .1);
}

/* ══ DEPOIMENTOS — carousel horizontal + JSON ════ */
#depoimentos {
    background: var(--bg2);
    overflow: hidden;
}

.testimonials-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .5rem;
    margin-top: 3rem;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonials-carousel.grabbing {
    cursor: grabbing;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    scroll-snap-align: start;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 2rem;
    position: relative;
    transition: border-color .3s;
}

.testimonial-card:hover {
    border-color: rgba(94, 232, 200, .18);
}

.testimonial-card::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--teal);
    opacity: .14;
    position: absolute;
    top: .5rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-text {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.85;
    padding-top: 2.2rem;
    margin-bottom: 1.6rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(94, 232, 200, .18);
    flex-shrink: 0;
}

.author-name {
    font-size: .84rem;
    color: var(--white);
    font-weight: 500;
}

.author-service {
    font-size: .72rem;
    color: var(--teal);
}

.stars {
    color: var(--teal);
    font-size: .72rem;
    margin-bottom: .3rem;
    letter-spacing: .12em;
}

.carousel-dots {
    display: flex;
    gap: .5rem;
    margin-top: 2rem;
    justify-content: center;
}

.cdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.cdot.active {
    background: var(--teal);
    transform: scale(1.3);
}

/* ══ CTA BAND ═════════════════════════════════════ */
#cta {
    background: var(--teal);
    padding: 5.5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50vw;
    height: 200%;
    background: rgba(255, 255, 255, .06);
    transform: rotate(-15deg);
    pointer-events: none;
}

#cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--bg);
    margin-bottom: 1rem;
    position: relative;
}

#cta h2 em {
    font-style: italic;
}

#cta p {
    color: rgba(20, 28, 32, .65);
    font-size: .95rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-dark {
    background: var(--bg);
    color: var(--teal);
    border: none;
    padding: 1rem 2.5rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .06em;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s;
    display: inline-block;
}

.btn-dark:hover {
    opacity: .88;
}

.btn-ghost-dark {
    background: transparent;
    color: var(--bg);
    border: 2px solid rgba(20, 28, 32, .35);
    padding: 1rem 2.5rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .06em;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
    display: inline-block;
}

.btn-ghost-dark:hover {
    background: rgba(20, 28, 32, .1);
}

/* ══ FOOTER ═══════════════════════════════════════ */
footer {
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 4rem 5% 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-title {
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .84rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-contact-item {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin-bottom: .7rem;
}

.contact-icon {
    color: var(--teal);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .05rem;
}

.contact-text {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: .73rem;
    color: var(--text-muted);
}

.footer-made {
    font-size: .73rem;
    color: rgba(255, 255, 255, .15);
}

/* ══ WHATSAPP FLOAT ═══════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .8rem;
}

.whatsapp-bubble {
    background: var(--bg2);
    border: 1px solid rgba(94, 232, 200, .22);
    color: var(--text);
    font-size: .8rem;
    padding: .8rem 1.1rem;
    max-width: 200px;
    text-align: right;
    line-height: 1.55;
    display: none;
    position: relative;
    animation: fadeIn .3s;
}

.whatsapp-bubble.show {
    display: block;
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--bg2);
    border-right: 1px solid rgba(94, 232, 200, .22);
    border-bottom: 1px solid rgba(94, 232, 200, .22);
    transform: rotate(45deg);
}

.whatsapp-btn {
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 22px rgba(37, 211, 102, .35);
    transition: transform .2s, box-shadow .2s;
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, .5);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2.5s infinite;
    z-index: -1;
}

/* ══ ANIMATIONS ═══════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenburns {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.06) translate(-1%, 1%);
    }
}

@keyframes pulse {
    0% {
        opacity: .5;
        transform: scale(1);
    }

    70% {
        opacity: 0;
        transform: scale(1.65);
    }

    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ══ MOBILE ═══════════════════════════════════════ */
@media (max-width: 980px) {
    #sobre {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre-years {
        right: 0;
        bottom: 0;
    }

    .insta-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 calc(85% - 1rem);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-teaser-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    nav.open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg2);
        padding: 5%;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(94, 232, 200, .1);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 1.8rem;
    }

    .testimonial-card {
        flex: 0 0 calc(92% - 1rem);
    }

    /* Hero mobile — overlay muito mais escuro para legibilidade */
    #hero {
        background:
            linear-gradient(to bottom,
                rgba(20, 28, 32, .75) 0%,
                rgba(20, 28, 32, .70) 40%,
                rgba(20, 28, 32, .82) 100%),
            url('assets/hero.jpg') center/cover no-repeat;
        /* Se você tiver foto: troque a segunda camada por url('assets/hero.jpg') center/cover no-repeat */
    }

    /* Desativa o ken-burns no mobile (economiza bateria e evita tremido) */
    #hero-bg-layer {
        animation: none;
    }

    /* Caixa de texto com backdrop sutil — dá um "vidro" atrás do conteúdo */
    #hero .hero-content {
        background: rgba(14, 22, 28, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        /* padding: 2rem 1.6rem 2rem; */
        padding-left: 5%;
        padding-right: 5%;
        border-left: 2px solid rgba(94, 232, 200, .25);
    }

    /* Garante que os stats fiquem legíveis */
    .hero-stats {
        border-top-color: rgba(255, 255, 255, .15);
    }

    .stat-label {
        color: rgba(255, 255, 255, .65);
    }

}

@media (max-width: 460px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.4rem;
    }
}