
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1,
h2,
h3 {
    font-family: 'Inter', Outfit;
    font-weight: 700;
}

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

/* Header */
header {
    background: #2d5016;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



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

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    display: block;
    max-width: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #a8d48e;
}

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

.cart-btn {
    background: #4a7c24;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cart-btn:hover {
    background: #5fa030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cart-btn.has-items {
    animation: cartFlash 1s ease-in-out infinite;
}

@keyframes cartFlash {
    0%, 100% {
        background: #5fa030;
        box-shadow: 0 0 0 rgba(74, 124, 36, 0);
    }
    50% {
        background: #000000;
        box-shadow: 0 0 15px rgba(95, 160, 48, 0.6);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburguer Animado */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Carrossel */
.carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #f0f8eb;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: linear-gradient(135deg, #4a7c24 0%, #6fa842 100%);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    text-align: center;
    color: white;
    padding: 2rem;
    background-size: cover;
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #2d5016;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Produtos */
.produtos {
    padding: 4rem 0;
    background: white;
}

.produtos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 3rem;
}

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

.produto-card {
    background: white;
    border: 2px solid #e0f0d8;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.15);
}

.produto-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.produto-card:hover .produto-img {
    transform: scale(1.05);
}

.produto-card h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.produto-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.preco {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a7c24;
    margin: 1rem 0;
}

.btn-add-cart {
    background: #4a7c24;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    width: 100%;
}

.btn-add-cart:hover {
    background: #5fa030;
}

.produto-card {
    cursor: pointer;
}

/* Modal de Produto */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2d5016;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #4a7c24;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.modal-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-info h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-short-desc {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

.modal-full-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.modal-price {
    font-size: 2rem;
    font-weight: bold;
    color: #4a7c24;
    margin: 1rem 0;
}

.btn-add-cart-modal {
    background: #4a7c24;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
    width: 100%;
    margin-top: auto;
}

.btn-add-cart-modal:hover {
    background: #5fa030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Serviços */
.servicos {
    padding: 4rem 0;
    background: #f0f8eb;
}

.servicos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 3rem;
}

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

.servico-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.servico-card:hover {
    transform: translateY(-5px);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.servico-card p {
    color: #666;
}

.servicos-grid a {
    text-decoration: none;
}

/* Contato */
.contato {
    padding: 4rem 0;
    background: rgb(122, 155, 115);
    font-size: 1.5rem;
}

.contato h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fafafa;
    margin-bottom: 4rem;
}



.contato-form input,
.contato-form textarea {
    padding: 1rem;
    border: 2px solid #e0f0d8;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: #4a7c24;
}

.btn-enviar {
    background: #4a7c24;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-enviar:hover {
    background: #5fa030;
}

.contato-info {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
}

.contato-info p {
    margin: 0.5rem 0;
}

/* Carrinho Lateral */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    background: #2d5016;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0f0d8;
}

.cart-item-info h4 {
    color: #2d5016;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: #4a7c24;
    font-weight: bold;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.remove-item:hover {
    background: #c82333;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid #e0f0d8;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.btn-checkout {
    width: 100%;
    background: #4a7c24;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #5fa030;
}

/* Footer */
footer {
    background: #1d5010;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

footer a {
    
    list-style: none;
    color: white;
}

/* Sobre a Artesã */
.sobre {
    padding: 4rem 0;
    background: #fdfaf6;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-img-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.sobre-img-container::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid #a8d48e;
    border-radius: 50%;
    z-index: 0;
}

.sobre-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
}

.sobre-content h2 {
    font-size: 3rem;
    color: #2d5016;
    margin-bottom: 2rem;
}

.sobre-content p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre-content strong {
    color: #4a7c24;
}

/* Botões Sociais Flutuantes */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.social-btn img {
    width: 35px;
    height: 35px;
}

.social-btn.whatsapp {
    background-color: #25d366;
}

.social-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* Footer Adicional */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
}

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

.footer-social-item {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.sobre-content p {
    text-align: justify;
}

/* Responsivo */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .sobre-img-container {
        max-width: 500px;
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .sobre-img-container::after {
        display: none;
    }

    .sobre-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.0rem;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: #2d5016;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1.5rem;
        font-size: 1.5rem;
    }

    .cart-text {
        display: none;
    }

    .carousel-content h1 {
        font-size: 2.5rem;
    }

    .carousel-content p {
        font-size: 1.2rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .floating-socials {
        bottom: 20px;
        right: 20px;
    }

    .social-btn {
        width: 50px;
        height: 50px;
    }

    .social-btn img {
        width: 28px;
        height: 28px;
    }
    
    .container {
        text-align: justify;
    }

    .contato {
        font-size: 1.2rem;
    }

    .contato h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .sobre-img-container {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

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

    .sobre-content h2 {
        font-size: 2rem;
    }

    .sobre-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.3);
        opacity: 0.6;
    }

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.5);
        opacity: 0.8;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .modal-image-container {
        min-height: 300px;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }
}