:root {
    --primary: #0A2A1E;
    --primary-light: #133D32;
    --primary-dark: #061c13;
    --gold: #C8A97E;
    --gold-light: #DFCA9D;
    --gold-dark: #A58051;
    --light: #FDFBF7;
    --dark: #1C1C1C;
    --text-color: #ECECEC;
    --text-dark: #333333;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-arch: 200px 200px 0 0;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.mobile-break {
    display: none;
}

h1,
h2,
h3,
h4,
.subtitle {
    font-family: var(--font-serif);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.dark-text {
    color: var(--primary-dark);
}

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--gold);
    margin: 0 auto;
}

.dark-divider {
    background-color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-dark);
    border: 1px solid var(--gold);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
    box-shadow: 0 8px 25px rgba(200, 169, 126, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(200, 169, 126, 0.3);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    margin-top: 1.5rem;
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--light);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: rgba(10, 42, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    transition: var(--transition);
}

.header.scrolled .logo {
    height: 60px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,100 C150,200 350,0 500,100 C650,200 850,0 1000,100 C1150,200 1350,0 1500,100 C1650,200 1850,0 2000,100 L2000,0 L0,0 Z' fill='none' stroke='%23C8A97E' stroke-width='2' opacity='0.3'/%3E%3Cpath d='M0,300 C200,400 400,100 600,200 C800,300 1000,100 1200,200 C1400,300 1600,100 1800,200 L2000,300 L2000,0 L0,0 Z' fill='none' stroke='%23C8A97E' stroke-width='1.5' opacity='0.5'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: flowLines 30s linear infinite alternate;
}

@keyframes flowLines {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, 2%);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.subtitle {
    display: block;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero .title {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--light);
}

.title-nowrap {
    white-space: nowrap;
}

.hero .description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: flex-end;
}

.arch-frame {
    width: 100%;
    max-width: 480px;
    height: 550px;
    border-radius: var(--border-radius-arch);
    overflow: hidden;
    position: relative;
    border: 2px solid var(--gold);
    padding: 10px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-arch);
    transition: transform 10s ease;
}

.arch-frame:hover {
    box-shadow: 0 20px 50px rgba(200, 169, 126, 0.25);
}

.arch-frame:hover img {
    transform: scale(1.05);
}

.arch-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-arch);
    pointer-events: none;
}

.services {
    padding: 8rem 0;
    background-color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background: linear-gradient(145deg, rgba(19, 61, 50, 0.6) 0%, rgba(10, 42, 30, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 169, 126, 0.15);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.service-card:hover {
    border-color: rgba(200, 169, 126, 0.5);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(19, 61, 50, 0.8) 0%, rgba(10, 42, 30, 0.95) 100%);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.highlighted-service {
    border: 2px solid var(--gold);
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(200, 169, 126, 0.1) 0%, rgba(10, 42, 30, 0.95) 100%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .highlighted-service:hover {
        transform: scale(1.08) translateY(-12px);
    }
}

.highlight-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold);
    color: var(--primary-dark);
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom-left-radius: 16px;
    z-index: 5;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.service-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: rgba(200, 169, 126, 0.3);
    transition: width 0.4s ease, background-color 0.4s ease;
}

.service-card:hover h3::after {
    width: 80px;
    background-color: var(--gold-light);
}

.service-card p {
    color: #e6e6e6;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.services-cta {
    text-align: center;
}

.about {
    padding: 8rem 0;
    background-color: var(--primary-light);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonials {
    padding: 8rem 0;
    position: relative;
    background-color: var(--primary);
    overflow: hidden;
}

.testimonials-bg-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(19, 61, 50, 0.6) 0%, rgba(10, 42, 30, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(200, 169, 126, 0.2);
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 10rem;
    color: var(--gold);
    opacity: 0.08;
    position: absolute;
    top: -40px;
    left: 10px;
    line-height: 1;
    z-index: -1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(200, 169, 126, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(200, 169, 126, 0.25);
    background: linear-gradient(145deg, rgba(19, 61, 50, 0.8) 0%, rgba(10, 42, 30, 0.95) 100%);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(200, 169, 126, 0.2);
    padding-top: 1.5rem;
}

.author-name {
    color: var(--gold);
    font-family: var(--font-serif);
    font-weight: 600;
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(200, 169, 126, 0.4);
}

.contact-footer-wrapper {
    background-color: var(--primary-light);
}

.contact {
    padding: 8rem 0;
    background-color: transparent;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
}

.contact-info .info-block {
    margin-bottom: 2rem;
}

.contact-info h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-info p,
.contact-info a {
    color: #dddddd;
    font-size: 1.05rem;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--gold-light);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    border-bottom: 1px solid transparent;
}

.social-links a:hover {
    border-color: var(--gold-light);
}

.schedule ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.schedule li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.schedule .closed {
    color: var(--gold);
    font-weight: 500;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    height: 85%;
    width: 90%;
    align-self: center;
    justify-self: center;
    min-height: 250px;
    border: 1px solid rgba(200, 169, 126, 0.3);
}

.footer {
    background-color: transparent;
    padding: 2.5rem 0 2rem;
    text-align: center;
    position: relative;
}

@keyframes footerPulse {
    0% {
        width: 30%;
    }

    50% {
        width: 90%;
    }

    100% {
        width: 30%;
    }
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1000px;
    height: 2px;
    background-color: var(--gold);
    animation: footerPulse 4s ease-in-out infinite;
    z-index: 2;
}

.footer p {
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--gold-light);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.product-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.product-img-wrapper {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(200, 169, 126, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-img-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(200, 169, 126, 0.2);
    border-color: rgba(200, 169, 126, 0.6);
}

.logo-pattern-bg {
    position: relative;
    overflow: hidden;
}

.logo-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.12;
    background-image: url('fotos/logo%20sem%20fundo.png');
    background-size: 550px;
    background-repeat: repeat;
    background-position: center;
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.logo-pattern-bg>.container {
    position: relative;
    z-index: 1;
}

.product-img-wrapper:hover img {
    transform: scale(1.1);
}

@media (min-width: 992px) {
    .product-layout {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .title {
        font-size: 3.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image-wrapper {
        justify-content: center;
    }

    .hero .description {
        margin: 0 auto 2.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image-wrapper {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding-top: 140px;
    }

    .hero .title {
        font-size: 2.8rem;
    }

    .hero .description {
        font-size: 1rem;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .hero .title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }

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

    .arch-frame {
        height: 450px;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
    }

    .testimonial-card {
        padding: 2.5rem 1.5rem;
    }

    .rights-reserved {
        display: block;
        margin-top: 5px;
    }
}