:root {
    --primary-color: #222529;
    /* Cinza-chumbo escuro */
    --secondary-color: #FFD700;
    /* Amarelo-dourado vibrante */
    --light-bg: #f4f4f4;
    /* Cinza claro */
    --dark-bg: #1a1c1e;
    /* Quase preto */
    --text-color-dark: #333;
    /* Texto para fundos claros */
    --text-color-light: #eaeaea;
    /* Texto para fundos escuros */
    --white: #ffffff;
    --border-radius: 8px;
    --border-color: #444;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--white);
}

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

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

.section-padded {
    padding: 80px 0;
    border-bottom: 1px solid #e0e0e0;
}

#sobre {
    border-top: 1px solid #e0e0e0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    border-bottom: 1px solid var(--border-color);
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    line-height: 1.2;
    /* color: var(--primary-color); */
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
    color: var(--white);
}

h1 {
    font-size: 3.8em;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

h2 {
    font-size: 2.8em;
    margin-top: 0;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p.lead {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #ffc400;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}


/* Header / Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1605559424843-9e4c228bf1c2?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--dark-bg);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}


.nav-links a:hover {
    color: var(--secondary-color);
}

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


/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--dark-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--secondary-color);
}

.service-item .service-icon {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 215, 0, 0.8), transparent);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    font-size: 1.5em;
    font-family: 'Oswald', sans-serif;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-shadow: 1px 1px 3px #000;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 2;
    /* equivale a 2/3 */
}

.contact-form {
    flex: 1;
    /* equivale a 1/3 */
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.service-item p {
    color: var(--white);
}

.service-item h3 {
    color: var(--secondary-color);
}

.contact-info p i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.4em;
    width: 25px;
    text-align: center;
}

#contato .contact-info p {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 1rem;
    margin-bottom: 14px;
}

#contato .contact-info p strong {
    white-space: nowrap;
}

#contato .contact-info p .detail {
    font-size: 0.9rem;
    line-height: 1.45;
}

#contato a {
    color: #ffd700;
    text-decoration: none;
    /* opcional: remove sublinhado */
    transition: color 0.3s ease;
}

#contato a:hover {
    color: #fff200;
    /* tom mais claro ou outro tom de destaque */
    text-decoration: underline;
    /* opcional: adiciona sublinhado no hover */
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: var(--text-color-light);
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

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

iframe {
    border-radius: var(--border-radius);
    filter: invert(90%) grayscale(60%);
}

/* Footer */
.footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 0;
    font-size: 0.9em;
    border-top: 3px solid var(--secondary-color);
}

.footer p {
    margin-bottom: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.hero-logo-mobile {
    display: none;
}

/* Responsividade */
@media (max-width: 992px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.2em;
    }

    .section-padded {
        padding: 60px 0;
    }

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

@media (max-width: 768px) {
    .navbar .logo {
        display: none;
    }

    .hero-logo-mobile {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-logo-mobile img {
        max-width: 180px;
        height: auto;
    }

    .hero-content {
        text-align: center;
        padding-top: 20px;
    }

    .hero {
        padding: 100px 20px;
        min-height: auto;
    }

    .navbar {
        padding: 15px;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    p.lead {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 15px 25px;
        width: 100%;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .section-padded {
        padding: 50px 0;
    }

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