/* ============================================
   DOLCE & ESPUMA - ESTILOS CSS PURO
   Paleta: Verde sálvia, bege, tons terrosos
   ============================================ */

/* VARIÁVEIS DE COR */
:root {
    --color-sage-dark: #596828;
    --color-sage-medium: #7ca715;
    --color-earth: #7d6f4c;
    --color-cream: #fffef4;
    --color-sage-light: #c1c760;
    --color-black: #000000;
    --color-beige: #eedeb8;
    --color-gray-light: #f5f3ed;
    --color-gray-border: #e8e4d8;
    --color-text-dark: #2d2d2d;
}

/* RESET E ESTILOS GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    line-height: 1.8;
}

/* CONTAINER */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    h2 {
        font-size: 3rem;
    }
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    h3 {
        font-size: 1.875rem;
    }
}

p {
    line-height: 1.8;
}

/* CORES DE TEXTO */
.text-primary {
    color: var(--color-sage-dark);
}

/* DIVISOR */
.divider {
    height: 4px;
    width: 4rem;
    background: linear-gradient(to right, var(--color-sage-dark), var(--color-sage-medium));
    border-radius: 9999px;
    margin: 1.5rem 0;
}

.divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* BOTÕES */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.25rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-sage-dark);
    color: var(--color-cream);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(89, 104, 40, 0.3);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-sage-dark);
    border: 2px solid var(--color-sage-dark);
}

.btn-secondary:hover {
    background-color: var(--color-sage-dark);
    color: var(--color-cream);
}

/* HEADER / NAVEGAÇÃO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 254, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-border);
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 4rem;
    width: auto;
}

/* NAVEGAÇÃO DESKTOP */
.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-sage-dark);
}

/* MENU MOBILE */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 1.5rem;
    height: 0.2rem;
    background-color: var(--color-sage-dark);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.3rem, -0.3rem);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

/* HERO SECTION */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(to bottom, var(--color-cream), var(--color-gray-light));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 5rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(193, 199, 96, 0.1);
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(125, 111, 76, 0.05);
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-sage-dark);
    margin-bottom: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-earth);
    margin-bottom: 2rem;
    max-width: 28rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-border);
}

.indicator-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-sage-dark);
}

.indicator-label {
    font-size: 0.875rem;
    color: var(--color-earth);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 24rem;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(193, 199, 96, 0.2), rgba(125, 111, 76, 0.1));
    border-radius: 1.5rem;
}

.hero-image img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* SEÇÃO SOBRE */
.about {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
    height: 24rem;
    border-radius: 1.5rem;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(193, 199, 96, 0.3), rgba(125, 111, 76, 0.2));
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 10;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-sage-dark);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.about-paragraph {
    margin-bottom: 1.5rem;
    color: var(--color-earth);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-border);
}

.value-item h4 {
    color: var(--color-sage-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--color-earth);
}

/* SEÇÃO PRODUTOS */
.products {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-earth);
    max-width: 42rem;
    margin: 1.5rem auto 0;
}

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

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

.product-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
    background-color: var(--color-gray-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 9999px;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background-color: white;
}

.favorite-btn.active {
    color: var(--color-sage-dark);
}

.product-info {
    padding: 1.5rem;
    space-y: 1rem;
}

.product-info h3 {
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.product-info p {
    font-size: 0.875rem;
    color: var(--color-earth);
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* SEÇÃO DIFERENCIAIS */
.differentials {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

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

@media (min-width: 768px) {
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .differentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.differential-card {
    position: relative;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.differential-card:hover {
    background: linear-gradient(to bottom right, rgba(193, 199, 96, 0.1), rgba(125, 111, 76, 0.05));
}

.differential-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.differential-card h3 {
    color: var(--color-sage-dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.differential-card:hover h3 {
    color: var(--color-sage-medium);
}

.differential-card p {
    font-size: 0.875rem;
    color: var(--color-earth);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-border);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-sage-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-earth);
    margin-top: 0.5rem;
}

/* SEÇÃO CONTATO */
.contact {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--color-cream), var(--color-gray-light));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-description {
    font-size: 1.125rem;
    color: var(--color-earth);
    margin-bottom: 2rem;
}

.contact-details {
    space-y: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.contact-item h4 {
    color: var(--color-sage-dark);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--color-earth);
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--color-sage-dark);
}

/* FORMULÁRIO */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-gray-light);
    border: 1px solid var(--color-gray-border);
    border-radius: 0.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: var(--color-sage-dark);
    background-color: white;
}

.form-group textarea {
    resize: none;
}

.form-note {
    font-size: 0.75rem;
    color: var(--color-earth);
    text-align: center;
    margin-top: 1rem;
}

/* FOOTER */
.footer {
    background-color: var(--color-text-dark);
    color: var(--color-cream);
    padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    height: 3rem;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section p {
    font-size: 0.875rem;
    color: rgba(255, 254, 244, 0.8);
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--color-cream);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 254, 244, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-cream);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 254, 244, 0.2);
    border-radius: 0.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 254, 244, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 254, 244, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 254, 244, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--color-cream);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 40;
    animation: floatIn 0.8s ease-out;
}

.whatsapp-button:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

/* ANIMAÇÕES */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about,
    .products,
    .differentials,
    .contact {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .contact-content {
        gap: 2rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .whatsapp-button {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.25rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
