/* ========== VARIABLES ========== */
:root {
    /* Colors */
    --primary-color: #8B5A3C;
    --secondary-color: #D4A574;
    --accent-color: #F5E6D3;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: #FAF8F5;
    --shadow: rgba(139, 90, 60, 0.1);
    
    /* Typography */
    --title-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;
    
    --h1-size: 3rem;
    --h2-size: 2.25rem;
    --h3-size: 1.5rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;
    
    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

@media screen and (max-width: 968px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.25rem;
        --section-padding: 3rem 0;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-size);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--title-font);
    font-weight: 600;
    line-height: 1.2;
}

ul {
    list-style: none;
}

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

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

/* ========== REUSABLE CLASSES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: var(--h2-size);
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.section__subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: var(--normal-size);
}

.button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

.button--small {
    padding: 0.75rem 1.5rem;
    font-size: var(--small-size);
}

.button--full {
    width: 100%;
    justify-content: center;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 100;
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav__logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.nav__logo-text {
    width: auto !important;
    height: 48px !important;
    border-radius: 0 !important;
    object-fit: contain;
    max-width: 250px;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-color) 100%);
    padding-top: var(--header-height);
    position: relative;
}

.hero__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero__content {
    animation: fadeInLeft 1s ease;
}

.hero__title {
    font-size: var(--h1-size);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__button {
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
}

.hero__image {
    animation: fadeInRight 1s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero__image:hover img {
    transform: scale(1.05);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero__scroll-link {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ========== PRODUTOS ========== */
.produtos {
    background: var(--white);
}

.produtos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.produto__card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.produto__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.produto__image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.produto__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.produto__card:hover .produto__image img {
    transform: scale(1.1);
}

.produto__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 90, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.produto__card:hover .produto__overlay {
    opacity: 1;
}

.produto__content {
    padding: 1.5rem;
}

.produto__title {
    font-size: var(--h3-size);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.produto__description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== CARDÁPIO ========== */
.cardapio {
    background: var(--bg-light);
}

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

.cardapio__category {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.cardapio__category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.cardapio__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.cardapio__header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.cardapio__header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cardapio__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cardapio__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cardapio__name {
    font-weight: 600;
    color: var(--text-dark);
}

.cardapio__description {
    font-size: var(--small-size);
    color: var(--text-light);
}

.cardapio__cta {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.cardapio__cta p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========== SOBRE ========== */
.sobre {
    background: var(--white);
}

.sobre__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.sobre__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.sobre__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre__content {
    padding: 2rem 0;
}

.sobre__text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.sobre__text strong {
    color: var(--primary-color);
}

.sobre__text em {
    color: var(--secondary-color);
    font-style: italic;
}

.sobre__features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 50px;
    transition: var(--transition);
}

.feature:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature span {
    font-weight: 600;
    color: var(--primary-color);
}

/* ========== DEPOIMENTOS ========== */
.depoimentos {
    background: var(--bg-light);
}

.depoimentos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.depoimento__card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.depoimento__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.depoimento__stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.depoimento__text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.depoimento__author {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========== CONTATO ========== */
.contato {
    background: var(--white);
}

.contato__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contato__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contato__item i {
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 40px;
}

.contato__item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contato__item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contato__item a {
    color: var(--text-light);
    transition: var(--transition);
}

.contato__item a:hover {
    color: var(--primary-color);
}

.contato__form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    font-family: var(--body-font);
    font-size: var(--normal-size);
    color: var(--text-dark);
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer__description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer__links h3,
.footer__contact h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer__links ul,
.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    opacity: 0.9;
    transition: var(--transition);
}

.footer__links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer__bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer__bottom a {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

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

/* ========== SCROLL UP ========== */
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    z-index: 10;
}

.scrollup:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.show-scroll {
    bottom: 2rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(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%);
    }
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 20px var(--shadow);
        padding: 4rem 2rem;
        transition: var(--transition);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }
    
    .hero__container,
    .sobre__container,
    .contato__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__image {
        order: -1;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .produtos__grid,
    .cardapio__grid,
    .depoimentos__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav__logo-text {
        height: 32px !important;
        max-width: 180px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) 0 2rem;
    }
    
    .button {
        padding: 0.875rem 1.5rem;
    }
    
    .sobre__features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature {
        width: 100%;
    }
}
