:root {
    --green-950: #0c120e;
    --green-900: #111914;
    --green-850: #172019;
    --green-800: #1e2a21;
    --green-700: #304235;
    --gold: #d8ad62;
    --gold-light: #efd29a;
    --cream: #f4f0e7;
    --cream-dark: #e8e1d4;
    --white: #ffffff;
    --text: #233028;
    --muted: #69736c;
    --border: rgba(17, 25, 20, 0.13);
    --dark-border: rgba(255, 255, 255, 0.12);
    --shadow: 0 28px 80px rgba(11, 18, 14, 0.14);
    --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.32);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 34px;
    --container: 1240px;
    --header-height: 88px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    overflow-x: hidden;
    color: var(--text);
    background: var(--cream);
    font-family: "Manrope", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 130px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--green-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.section-label-light {
    color: var(--gold-light);
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 64px;
}

.section-intro h2,
.about-content h2,
.contact-inner h2 {
    max-width: 790px;
    color: var(--green-950);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.section-intro > p {
    max-width: 470px;
    color: var(--muted);
    font-size: 17px;
}

.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: var(--green-950);
    background: var(--gold);
    border-color: var(--gold);
}

.button-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.button-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.button-glass:hover {
    background: rgba(255, 255, 255, 0.16);
}

.button-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.button-outline:hover {
    color: var(--green-950);
    background: var(--white);
    border-color: var(--white);
}

.button-large {
    min-height: 64px;
    padding: 18px 32px;
    font-size: 15px;
}

/* Cabeçalho */

.site-header {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    left: 0;
    color: var(--white);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: rgba(12, 18, 14, 0.92);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 173, 98, 0.48);
    border-radius: 15px;
    color: var(--green-950);
    background: var(--gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-copy strong {
    color: var(--white);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
}

.logo-copy small {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 13px;
    font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
}

.main-nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.main-nav > a:not(.nav-cta):hover {
    color: var(--white);
}

.main-nav > a:not(.nav-cta):hover::after {
    transform: scaleX(1);
}

.nav-cta {
    padding: 12px 20px;
    border: 1px solid rgba(216, 173, 98, 0.55);
    border-radius: 999px;
    color: var(--gold-light);
}

.nav-cta:hover {
    color: var(--green-950);
    background: var(--gold);
    border-color: var(--gold);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    margin: 6px auto;
    background: var(--white);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle.active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */

.hero {
    position: relative;
    min-height: 940px;
    display: flex;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(8, 14, 10, 0.96) 0%, rgba(8, 14, 10, 0.74) 48%, rgba(8, 14, 10, 0.2) 100%),
        var(--hero-image) center 38% / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 36%, rgba(216, 173, 98, 0.14), transparent 34%),
        linear-gradient(to top, rgba(7, 11, 8, 0.8), transparent 45%);
}

.hero-shade {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, black, transparent 72%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: 940px;
    display: flex;
    padding-top: 180px;
    padding-bottom: 55px;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    max-width: 920px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(58px, 7.5vw, 105px);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.hero h1 em {
    display: block;
    color: var(--gold-light);
    font-style: italic;
    font-weight: 600;
}

.hero-content > p {
    max-width: 670px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(17px, 2vw, 21px);
}

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

.hero-bottom {
    display: grid;
    grid-template-columns: 230px 260px 1fr;
    align-items: end;
    gap: 60px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-stat strong {
    color: var(--gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 43px;
    line-height: 1;
}

.hero-stat span {
    max-width: 130px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.hero-scroll {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-scroll i {
    position: relative;
    width: 52px;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.hero-scroll i::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    animation: scrollDot 2.2s infinite ease-in-out;
}

@keyframes scrollDot {
    0% {
        transform: translateX(0);
    }

    70%,
    100% {
        transform: translateX(47px);
    }
}

/* Faixa de confiança */

.trust-strip {
    padding: 25px 0;
    color: rgba(255, 255, 255, 0.7);
    background: var(--green-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid span {
    padding: 5px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.trust-grid span:last-child {
    border-right: 0;
}

/* Serviços */

.services {
    background:
        radial-gradient(circle at 100% 0%, rgba(216, 173, 98, 0.13), transparent 28%),
        var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 420px;
    display: flex;
    overflow: hidden;
    padding: 34px;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.52);
    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(216, 173, 98, 0.25);
    border-radius: 50%;
    transition: transform 0.45s ease;
}

.service-card:hover {
    color: rgba(255, 255, 255, 0.74);
    background: var(--green-900);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: scale(1.4);
}

.service-index {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.service-icon {
    width: 68px;
    height: 68px;
    display: grid;
    margin: 48px 0 32px;
    place-items: center;
    border: 1px solid rgba(216, 173, 98, 0.34);
    border-radius: 20px;
    color: var(--gold);
    font-size: 31px;
}

.service-card h3 {
    color: var(--green-950);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 29px;
    line-height: 1.1;
    transition: color 0.35s ease;
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    transition: color 0.35s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.62);
}

.service-card a {
    display: flex;
    margin-top: auto;
    padding-top: 30px;
    align-items: center;
    justify-content: space-between;
    color: var(--green-700);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.35s ease;
}

.service-card:hover a {
    color: var(--gold-light);
}

/* Sobre */

.about {
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 100px;
}

.about-media {
    position: relative;
    min-height: 730px;
}

.about-media::before {
    content: "";
    position: absolute;
    top: 36px;
    right: -30px;
    width: 70%;
    height: 84%;
    border: 1px solid rgba(216, 173, 98, 0.45);
    border-radius: var(--radius-lg);
}

.about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 730px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    z-index: 2;
    right: -25px;
    bottom: 52px;
    max-width: 240px;
    padding: 28px;
    border-radius: 20px;
    color: var(--white);
    background: var(--green-950);
    box-shadow: var(--shadow-dark);
}

.about-badge strong,
.about-badge span {
    display: block;
}

.about-badge strong {
    color: var(--gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
}

.about-badge span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
}

.about-content h2 {
    font-size: clamp(42px, 5vw, 68px);
}

.about-content > p {
    max-width: 650px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 16px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 38px;
}

.about-list div {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--cream);
}

.about-list strong,
.about-list span {
    display: block;
}

.about-list strong {
    color: var(--green-950);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
}

.about-list span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.text-link {
    display: inline-flex;
    margin-top: 38px;
    align-items: center;
    gap: 20px;
    color: var(--green-950);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.text-link span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.text-link:hover span {
    color: var(--green-950);
    background: var(--gold);
}

/* Projetos */

.projects {
    color: var(--white);
    background:
        radial-gradient(circle at 12% 10%, rgba(216, 173, 98, 0.12), transparent 24%),
        var(--green-950);
}

.projects-intro h2 {
    color: var(--white);
}

.projects-intro > p {
    color: rgba(255, 255, 255, 0.55);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 100px;
}

.video-card {
    overflow: hidden;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    background: var(--green-850);
    box-shadow: var(--shadow-dark);
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    background: #070b08;
}

.video-wrapper::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    box-shadow: inset 0 -90px 100px rgba(0, 0, 0, 0.18);
}

.video-wrapper video {
    width: 100%;
    height: min(68vh, 650px);
    object-fit: contain;
    background: #070b08;
}

.video-info {
    display: flex;
    padding: 26px 28px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.video-info span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.video-info strong {
    max-width: 310px;
    color: var(--white);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    text-align: right;
}

.gallery-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.gallery-title > div > span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-title h3 {
    margin-top: 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(35px, 4vw, 52px);
}

.gallery-title > strong {
    padding: 10px 15px;
    border: 1px solid var(--dark-border);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.premium-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
    gap: 14px;
}

.gallery-card {
    position: relative;
    grid-column: span 3;
    min-height: 300px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: var(--green-800);
    cursor: zoom-in;
}

.gallery-card:nth-child(8n + 1),
.gallery-card:nth-child(8n + 6) {
    grid-column: span 6;
    min-height: 480px;
}

.gallery-card:nth-child(10n + 4) {
    grid-column: span 4;
}

.gallery-card:nth-child(10n + 5) {
    grid-column: span 5;
}

.gallery-card:nth-child(10n + 7) {
    grid-column: span 3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition:
        transform 0.55s cubic-bezier(0.2, 0.65, 0.3, 1),
        filter 0.4s ease;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5, 9, 6, 0.85), transparent 56%);
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.065);
    filter: brightness(0.8);
}

.gallery-card:hover::after {
    opacity: 0.85;
}

.gallery-card-overlay {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 23px;
    left: 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transform: translateY(8px);
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card-overlay {
    transform: translateY(0);
}

.gallery-card-overlay strong {
    color: var(--white);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
}

.gallery-card-overlay small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
}

.gallery-card-icon {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--white);
    background: rgba(12, 18, 14, 0.48);
    font-size: 18px;
    opacity: 0;
    transform: translateY(-6px);
    backdrop-filter: blur(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.gallery-card:hover .gallery-card-icon {
    opacity: 1;
    transform: translateY(0);
}

.gallery-button-wrap {
    display: none;
    margin-top: 32px;
    text-align: center;
}

/* Processo */

.process {
    background: var(--cream);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-card {
    min-height: 285px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
}

.process-card > span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(216, 173, 98, 0.52);
    border-radius: 50%;
    color: var(--green-700);
    font-size: 12px;
    font-weight: 800;
}

.process-card h3 {
    margin-top: 55px;
    color: var(--green-950);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
}

.process-card p {
    margin-top: 13px;
    color: var(--muted);
    font-size: 13px;
}

/* Contato */

.contact {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--green-950);
}

.contact-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 13, 9, 0.98), rgba(8, 13, 9, 0.64) 58%, rgba(8, 13, 9, 0.26)),
        var(--contact-image) center / cover no-repeat;
}

.contact-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 50%, rgba(216, 173, 98, 0.15), transparent 28%);
}

.contact-inner {
    position: relative;
    z-index: 2;
    padding-top: 110px;
    padding-bottom: 110px;
}

.contact-inner h2 {
    max-width: 880px;
    color: var(--white);
    font-size: clamp(50px, 6.5vw, 88px);
}

.contact-inner p {
    max-width: 620px;
    margin: 26px 0 36px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
}

/* Rodapé */

.footer {
    padding: 85px 0 28px;
    color: rgba(255, 255, 255, 0.62);
    background: #090e0b;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
}

.footer-column > strong {
    margin-bottom: 10px;
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    margin-top: 70px;
    padding-top: 25px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* WhatsApp */

.whatsapp-float {
    position: fixed;
    z-index: 1100;
    right: 24px;
    bottom: 24px;
    display: flex;
    min-height: 58px;
    padding: 8px 20px 8px 9px;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #082f18;
    background: #27d367;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.27);
    font-size: 12px;
    font-weight: 900;
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
}

.whatsapp-symbol {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.15);
    font-size: 20px;
}

/* Lightbox */

.lightbox {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: none;
    padding: 65px 95px;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 6, 0.97);
    backdrop-filter: blur(16px);
}

.lightbox.open {
    display: flex;
}

.lightbox figure {
    max-width: min(1100px, 88vw);
    max-height: 90vh;
    text-align: center;
}

.lightbox figure img {
    max-width: 100%;
    max-height: 82vh;
    margin: auto;
    border-radius: 15px;
    object-fit: contain;
    box-shadow: var(--shadow-dark);
}

.lightbox figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    top: 22px;
    right: 22px;
    width: 50px;
    height: 50px;
    font-size: 32px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    width: 58px;
    height: 58px;
    font-size: 43px;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

/* Animações */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */

@media (max-width: 1100px) {
    .main-nav {
        gap: 20px;
    }

    .section-intro {
        gap: 40px;
    }

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

    .about-layout {
        gap: 60px;
    }

    .premium-gallery {
        grid-template-columns: repeat(6, 1fr);
    }

    .gallery-card,
    .gallery-card:nth-child(10n + 4),
    .gallery-card:nth-child(10n + 5),
    .gallery-card:nth-child(10n + 7) {
        grid-column: span 2;
    }

    .gallery-card:nth-child(8n + 1),
    .gallery-card:nth-child(8n + 6) {
        grid-column: span 3;
    }

    .footer-main {
        grid-template-columns: 1.4fr repeat(2, 1fr);
    }

    .footer-column:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 78px;
    }

    .section {
        padding: 100px 0;
    }

    .menu-toggle {
        z-index: 3;
        display: block;
    }

    .main-nav {
        position: fixed;
        z-index: 2;
        top: 0;
        right: 0;
        width: min(420px, 88vw);
        height: 100vh;
        display: flex;
        padding: 120px 35px 40px;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        background: rgba(10, 16, 12, 0.98);
        box-shadow: -30px 0 70px rgba(0, 0, 0, 0.3);
        transform: translateX(105%);
        transition: transform 0.35s ease;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav > a:not(.nav-cta) {
        padding: 15px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-family: "Playfair Display", Georgia, serif;
        font-size: 26px;
    }

    .nav-cta {
        margin-top: 20px;
        padding: 16px 22px;
        text-align: center;
    }

    .hero,
    .hero-layout {
        min-height: 820px;
    }

    .hero-layout {
        padding-top: 150px;
    }

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

    .hero-scroll {
        display: none;
    }

    .section-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-media {
        min-height: 600px;
    }

    .about-media img {
        height: 600px;
    }

    .about-badge {
        right: 20px;
    }

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

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

    .footer-logo {
        grid-column: 1 / 3;
    }

    .footer-column:last-child {
        grid-column: auto;
    }
}

/* Celular */

@media (max-width: 650px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 80px 0;
    }

    .logo-mark {
        width: 43px;
        height: 43px;
    }

    .logo-copy strong {
        font-size: 20px;
    }

    .hero {
        min-height: 760px;
        background:
            linear-gradient(to top, rgba(7, 12, 8, 0.98) 0%, rgba(7, 12, 8, 0.75) 62%, rgba(7, 12, 8, 0.35)),
            var(--hero-image) 58% center / cover no-repeat;
    }

    .hero-layout {
        min-height: 760px;
        padding-top: 135px;
        padding-bottom: 35px;
    }

    .hero h1 {
        font-size: clamp(49px, 15vw, 68px);
        line-height: 0.98;
    }

    .hero-content > p {
        margin-top: 24px;
        font-size: 16px;
    }

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

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

    .hero-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-stat {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .hero-stat strong {
        font-size: 34px;
    }

    .hero-stat span {
        max-width: 140px;
        font-size: 10px;
    }

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

    .trust-grid span {
        padding: 13px 8px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 9px;
    }

    .section-intro h2,
    .about-content h2 {
        font-size: 42px;
    }

    .services-grid,
    .process-grid,
    .about-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 360px;
    }

    .about-media {
        min-height: 470px;
    }

    .about-media img {
        height: 470px;
    }

    .about-media::before {
        display: none;
    }

    .about-badge {
        right: 14px;
        bottom: 20px;
        left: 14px;
        max-width: none;
    }

    .video-wrapper video {
        height: 540px;
    }

    .video-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .video-info strong {
        text-align: left;
    }

    .gallery-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .premium-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-card,
    .gallery-card:nth-child(8n + 1),
    .gallery-card:nth-child(8n + 6),
    .gallery-card:nth-child(10n + 4),
    .gallery-card:nth-child(10n + 5),
    .gallery-card:nth-child(10n + 7) {
        grid-column: span 1;
        min-height: 235px;
    }

    .gallery-card:nth-child(5n + 1) {
        grid-column: span 2;
        min-height: 330px;
    }

    .gallery-hidden-mobile {
        display: none;
    }

    .premium-gallery.show-all .gallery-hidden-mobile {
        display: block;
    }

    .gallery-button-wrap {
        display: block;
    }

    .gallery-card-overlay {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .gallery-card-overlay strong {
        font-size: 16px;
    }

    .gallery-card-icon {
        width: 38px;
        height: 38px;
        opacity: 1;
        transform: none;
    }

    .contact {
        min-height: 650px;
    }

    .contact-inner h2 {
        font-size: 48px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-logo,
    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        min-height: 53px;
        padding-right: 10px;
    }

    .whatsapp-text {
        display: none;
    }

    .lightbox {
        padding: 70px 12px 90px;
    }

    .lightbox figure {
        max-width: 100%;
    }

    .lightbox figure img {
        max-height: 70vh;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 20px;
        width: 48px;
        height: 48px;
        transform: none;
    }

    .lightbox-prev {
        left: calc(50% - 58px);
    }

    .lightbox-next {
        right: calc(50% - 58px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
