/* =========================================
   CSS Variables - Design System
   ========================================= */
:root {
    /* Colors - HSL Format */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(24, 24%, 15%);

    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(24, 24%, 15%);

    /* Primary: Warm terracotta */
    --primary: hsl(16, 68%, 48%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(16, 68%, 58%);
    --primary-dark: hsl(16, 68%, 38%);

    /* Secondary: Deep forest green */
    --secondary: hsl(156, 42%, 32%);
    --secondary-foreground: hsl(0, 0%, 100%);

    /* Accent: Warm amber/golden */
    --accent: hsl(42, 88%, 52%);
    --accent-foreground: hsl(24, 24%, 15%);

    --muted: hsl(42, 44%, 95%);
    --muted-foreground: hsl(24, 12%, 45%);

    /* Commitment section orange */
    --commitment-bg: hsl(33, 87%, 44%);

    --border: hsl(30, 15%, 88%);
    --input: hsl(30, 15%, 88%);
    --ring: hsl(16, 68%, 48%);

    --radius: 2rem;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsla(16, 68%, 48%, 0.95), hsla(24, 24%, 15%, 0.85));

    /* Shadows */
    --shadow-soft: 0 2px 8px hsla(16, 68%, 48%, 0.08);
    --shadow-medium: 0 4px 16px hsla(16, 68%, 48%, 0.12);
    --shadow-large: 0 8px 32px hsla(16, 68%, 48%, 0.16);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

.text-left {
    text-align: left;
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out both;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--foreground);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--background);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.nav {
    padding: 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-dark);
}

.mobile-menu-btn {
    display: flex;
    color: var(--primary);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.mobile-nav-link {
    color: var(--primary);
    font-weight: 500;
    text-align: left;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--primary-dark);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 1rem;
}

.hero-text {
    max-width: 48rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 2rem;
    height: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-wheel {
    width: 0.375rem;
    height: 0.75rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* =========================================
   Section Styles
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-title-white {
    color: var(--foreground);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.section-subtitle-white {
    color: var(--primary-foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 6rem 0;
    background-color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   Cards
   ========================================= */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-4px);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background-color: hsla(16, 68%, 48%, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-smooth);
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.card:hover .card-icon svg {
    color: var(--primary-foreground);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--muted-foreground);
}

/* =========================================
   Commitment Section
   ========================================= */
.commitment {
    padding: 6rem 0;
    background-color: var(--commitment-bg);
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 6rem 0;
    background-color: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(16, 68%, 48%, 0.2), transparent);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text:last-of-type {
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery {
    padding: 4rem 0;
    background-color: hsla(42, 44%, 95%, 0.3);
}

.carousel-container {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0 0.5rem;
}

.carousel-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
    transition: transform 0.5s ease;
}

.carousel-img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background-color: var(--background);
    border-radius: 9999px;
    box-shadow: var(--shadow-medium);
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    background-color: var(--primary);
}

.carousel-btn:hover svg {
    color: white;
}

.carousel-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--foreground);
}

.carousel-prev {
    left: -1.5rem;
}

.carousel-next {
    right: -1.5rem;
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
    }

    .carousel-btn {
        display: flex;
    }

    .carousel-prev {
        left: -3rem;
    }

    .carousel-next {
        right: -3rem;
    }
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: 6rem 0;
    background-color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.contact-card-header {
    margin-bottom: 0.75rem;
}

.contact-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.contact-card-content p {
    color: var(--muted-foreground);
}

.contact-form-wrapper {
    display: flex;
}

.contact-form-card {
    flex: 1;
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form-header {
    margin-bottom: 1.5rem;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-form-description {
    color: var(--muted-foreground);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    border: 2px solid var(--input);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsla(16, 68%, 48%, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-textarea {
    resize: vertical;
    min-height: 8rem;
}

.form-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    height: 3rem;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--primary);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--background);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links-plain li {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--primary);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-cnpj {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 11px;
    /* Largura da barra de rolagem */
}

/* Estilizando a parte interna da barra de rolagem */
::-webkit-scrollbar-track {
    background: #303030;
    /* Cor do fundo da barra de rolagem */
}

/* Estilizando o polegar da barra de rolagem */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, hsl(16, 68%, 48%), hsl(16, 57%, 56%));
    /* Cor do polegar da barra de rolagem */
    border-radius: 15px;
    /* Bordas arredondadas no polegar */
}

/* Cor do polegar ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
    background: #f89669;
    /* Cor do polegar ao passar o mouse */
}

::selection {
    background: #ff6600;
    color: #fff;
}

::-moz-selection {
    background: #ff6600;
    color: #fff;
}

/* Whatsapp Style */
.whats {
    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    z-index: 9999;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whats:hover {
    filter: brightness(150%);
}

.whats-img {
    width: 55px;
    transition: all 0.3s ease;
}

.whats-api {
    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    z-index: 9999;
    border-radius: 50px;
    cursor: pointer;
}