/* Reset e base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #555;
    cursor: auto;
    background-color: #fff;
    overflow-x: hidden;
}

a { color: #1f1f1f; text-decoration: none; transition: color 0.3s; }
a:hover { color: #565656; }

img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

.whole-layout { position: relative; }

.page-background {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #fff;
    z-index: -1;
    pointer-events: none;
}

/* Header */
#header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background-color: transparent;
    border-bottom: none;
}

#header .head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px 0;
    min-height: 72px;
}

.logo-container { min-width: auto; flex-shrink: 0; }

.logo.image-logo img {
    width: 120px;
    height: auto;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s;
}

.logo.image-logo:hover img { opacity: 0.5; }

.navigation-bar { flex: 0 1 auto; display: flex; justify-content: flex-start; }

.top-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.top-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    transition: color 0.3s, background-color 0.3s;
}

.top-menu li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

.top-menu li.current-menu-item a {
    color: #dd9933;
    background-color: rgba(221, 153, 51, 0.25);
}

.top-menu li.current-menu-item a:hover {
    color: #fff;
    background-color: rgba(221, 153, 51, 0.4);
}

body:not(.inner-page) .top-menu li.current-menu-item a {
    background-color: transparent;
}

body:not(.inner-page) .top-menu li.current-menu-item a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

#header-tools {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger { display: block; width: 24px; height: 18px; position: relative; }
.hamburger i,
.hamburger i::before,
.hamburger i::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.85);
    position: absolute;
    transition: background-color 0.3s;
}
.hamburger i { top: 50%; transform: translateY(-50%); }
.hamburger i::before { content: ''; top: -7px; }
.hamburger i::after { content: ''; bottom: -7px; }

.mobile-menu-btn:hover .hamburger i,
.mobile-menu-btn:hover .hamburger i::before,
.mobile-menu-btn:hover .hamburger i::after {
    background-color: #dd9933;
}

/* Mobile menu */
.mobile-menu-panel {
    display: none;
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
}

.mobile-menu-panel.open { right: 0; }

.mobile-menu-list { list-style: none; }
.mobile-menu-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu-list a {
    display: block;
    padding: 15px 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: color 0.3s, background-color 0.3s;
}
.mobile-menu-list a:hover {
    color: #fff;
    background-color: rgba(221, 153, 51, 0.35);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}
.menu-overlay.open { display: block; }

/* Main content */
#mid { position: relative; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões */
.btn {
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    text-transform: none;
    line-height: 1em;
    letter-spacing: 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.11);
    border-radius: 100px;
    padding: 20px 35px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-gold { background-color: #BEA915; color: #fff; }
.btn-gold:hover { background-color: #6B6300; color: #fff; }

.btn-orange { background-color: #E29600; color: #fff; }
.btn-orange:hover { background-color: #7C5900; color: #fff; }

/* Títulos de seção */
.section-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 59px;
    font-weight: 500;
    text-transform: none;
    line-height: 1.2;
    letter-spacing: -3px;
    color: #303030;
    text-align: center;
    margin-bottom: 16px;
}

.section-title b { font-weight: 700; }

.section-subtitle {
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: #000;
    margin-top: 0;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-grid a:hover img { transform: scale(1.05); }

/* Depoimentos */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.testimonial-card {
    padding: 30px 40px;
    background: #e2ce96;
    border-bottom: 4px solid transparent;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    border-bottom-color: #222;
    box-shadow: 0 0 56px rgba(0,0,0,0.2);
}

.testimonial-content {
    color: #000;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.5em;
    margin-bottom: 20px;
}

.testimonial-meta { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.testimonial-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
}

.testimonial-name { font-size: 17px; color: #303030; }

.testimonial-job {
    color: rgba(0,0,0,0.5);
    font-size: 10px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Blog */
.blog-section { background-color: #f7f7f7; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 43px;
    margin-top: 30px;
}

.blog-card .blog-image {
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
}

.blog-card .blog-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img { transform: scale(1.03); }

.blog-date {
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
}

.blog-title a { color: #303030; }
.blog-title a:hover { color: #666; }

.blog-excerpt { font-size: 15px; color: #555; margin-bottom: 10px; }

.more-link {
    font-size: 14px;
    color: #1f1f1f;
    font-weight: 600;
}

/* Contato */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-title {
    font-size: clamp(2.25rem, 4.5vw, 3.65rem);
    font-weight: 400;
    line-height: 0.78;
    letter-spacing: -1px;
    color: #fff;
    margin: 0 0 28px;
}

.contact-title strong {
    font-weight: 700;
    display: block;
    margin-top: 3px;
}

.contact-map {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.contact-map iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
}

.contact-text {
    flex: 1;
    min-width: 0;
}

.contact-text--hours {
    line-height: 1.35;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 16px;
}

.contact-text a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-text a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Formulário */
.contact-form-wrap {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 44px 32px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.contact-form .form-group { margin-bottom: 22px; }

.contact-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contact-form .form-label .required { color: #cf2e2e; }

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form .form-row--name .form-field { min-width: 0; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #E29600;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(226, 150, 0, 0.15);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.contact-form .form-actions {
    margin-top: 8px;
}

.contact-submit {
    background: linear-gradient(135deg, #F2AD43 0%, #E29600 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 4px 16px rgba(226, 150, 0, 0.35);
}

.contact-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(226, 150, 0, 0.45);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.form-message.success { background: #d4edda; color: #155724; display: block; }
.form-message.error { background: #f8d7da; color: #721c24; display: block; }

/* Scroll down */
.scroll-down {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.scroll-down img {
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Back to top */
.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,0.1);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, background-color 0.3s;
}

.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { background-color: #dd9933; color: #fff; }

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(32,32,32,0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.open { display: flex; }

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Animações */
.fade-in-down {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.bounce-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsivo */
@media (max-width: 1024px) {
    .navigation-bar { display: none; }
    #header-tools { display: block; }
    .mobile-menu-panel { display: block; }

    .section-title { font-size: 50px; }
    .contact-title { font-size: 2.75rem; }

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

@media (max-width: 767px) {
    .section-title { font-size: 44px; letter-spacing: 0; }
    .contact-title { font-size: 2rem; letter-spacing: 0; }

    .hero-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-form-wrap { margin-top: 0; padding: 32px 24px 24px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .contact-map iframe { height: 220px; }

    .testimonial-card { padding: 30px 20px; }
}
