/* VARIÁVEIS E RESET */
:root {
    --rosa-mila: #F2B5C4;
    --lavanda-mila: #C5A3D1;
    --dourado: #D4AF37;
    --texto: #4A4A4A;
    --fundo: #FFFBFB;
    --branco: #FFFFFF;
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--texto);
    background-color: var(--fundo);
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

/* ==============================
   ESTILOS DE BOTÃO (RESTAURADOS)
   ============================== */
   .btn-primary {
    display: inline-block;
    font-family: 'Nunito', sans-serif; /* NOVA FONTE */
    background-color: var(--dourado);
    color: white !important;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600; /* Melhor peso para Nunito */
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background-color: #c49b2d;
}

/* ==============================
   HERO SECTION (ESTILO E TEXTO)
   ============================== */
.hero {
    height: 85vh; 
    background-image: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
        url('../assets/img/coresdemila-banner.gif'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px; /* Evita que o texto fique largo demais */
}

.hero-content .subtitle {
    display: block;
    color: var(--rosa-mila);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 3.5rem; /* Tamanho imponente */
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Melhora leitura sobre a foto */
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .btn-primary { padding: 12px 30px; }
}

/* SOBRE */
.about-section { padding: 100px 0; background-color: var(--branco); 
}
.flex-row { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.about-img img { max-width: 250px; border-radius: 100px 100px 0 0; border: 5px solid var(--rosa-mila); }
.about-text { flex: 1; min-width: 300px; }
.link-gold { color: var(--dourado); font-weight: bold; text-decoration: none; }

/* PRODUTOS */
.products-featured { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.product-grid { 
    display: grid; 
    /* Reduzi o minmax para 250px para os cards ficarem menores e caberem mais por linha */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.product-card {
    background: white;
    padding: 20px; /* Espaçamento interno fixo */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Mantém os botões alinhados na base */
}

.product-img {
    width: 100%;
    /* Força a imagem a ser um quadrado perfeito */
    aspect-ratio: 1 / 1; 
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 15px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a foto preencher o quadrado sem distorcer */
    transition: 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1); /* Efeito de zoom elegante na foto */
}

.btn-order {
    background: none;
    border: 2px solid var(--dourado);
    color: var(--dourado);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-order:hover { background: var(--dourado); color: white; }

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.whatsapp-float img { width: 30px; }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
}

/* ESTILO DOS ÍCONES SOCIAIS */
.social-icon {
    color: var(--lavanda-mila); /* Cor inicial usando sua paleta */
    font-size: 1.8rem;           /* Tamanho do ícone */
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--dourado);      /* Muda para dourado ao passar o mouse */
    transform: translateY(-5px); /* Efeito de flutuar */
}

/* CATEGORIAS */
.categories-section { 
    padding: 100px 0; 
    background-color: #F8F4F9; /* Um tom lavanda muito sutil que traz sofisticação */
    border-top: 1px solid rgba(197, 163, 209, 0.2);
    border-bottom: 1px solid rgba(197, 163, 209, 0.2);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 por linha no desktop */
    gap: 25px;
}

.category-card {
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 25px; /* Formas arredondadas da marca */
    display: block;
    height: 300px;
}

.category-img {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Overlay que escurece levemente a imagem */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* O Botão dentro do card */
.btn-category {
    background-color: white;
    color: var(--texto);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* EFEITOS DE HOVER (LUXO) */
.category-card:hover .category-img {
    transform: scale(1.05); /* Zoom suave na imagem */
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.4); /* Escurece mais ao passar o mouse */
}

.category-card:hover .btn-category {
    background-color: var(--dourado);
    color: white;
}

/* Responsividade Categorias */
@media (max-width: 768px) {
    .category-grid { grid-template-columns: 1fr; } /* 1 por linha no celular */
    .category-card { height: 200px; }
}