/* ============================================================================
   SEMENTES PAGE - STYLESHEET
   
   Design Philosophy:
   - Clean, mobile-first layout
   - Card-based design optimized for smartphones
   - Consistent with main site branding
   ============================================================================ */

/* HEADER SEMENTES */
.sementes-header {
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e0d9d0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sementes-header__logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 0.25rem;
}

.sementes-header__brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d5f4f;
    letter-spacing: 0.5px;
}

.sementes-header__page {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #c9a876;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .sementes-header {
        padding: 1rem 1.5rem;
    }
    
    .sementes-header__brand {
        font-size: 1.1rem;
    }
    
    .sementes-header__page {
        font-size: 0.75rem;
    }
}

/* HERO SEMENTES */
.sementes-hero {
    background: linear-gradient(135deg, #2d5f4f 0%, #1a3a2e 100%);
    color: #f5f3f0;
    padding: 60px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sementes-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(107, 157, 125, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.sementes-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.sementes-hero__subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .sementes-hero {
        padding: 40px 1.5rem;
    }
    
    .sementes-hero__title {
        font-size: 2rem;
    }
    
    .sementes-hero__subtitle {
        font-size: 0.95rem;
    }
}

/* SEMENTES SECTION */
.sementes-section {
    padding: 60px 2rem;
    background-color: #f5f3f0;
}

@media (max-width: 768px) {
    .sementes-section {
        padding: 40px 1.5rem;
    }
}

/* GRID DE SEMENTES */
.sementes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Otimização para celular */
@media (max-width: 768px) {
    .sementes-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sementes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* CARD DE SEMENTE */
.semente-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.semente-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.semente-card__image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.semente-card:hover .semente-card__image {
    filter: brightness(1.08);
}

.semente-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.semente-card__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #2d5f4f;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.semente-card__description {
    font-size: 0.9rem;
    color: #3a3a3a;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.semente-card__price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #c9a876;
    font-weight: 700;
    margin-bottom: 1rem;
}

.semente-card__button {
    display: inline-block;
    background: linear-gradient(135deg, #2d5f4f 0%, #1a3a2e 100%);
    color: #f5f3f0;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(45, 95, 79, 0.2);
    border: none;
    cursor: pointer;
}

.semente-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 95, 79, 0.3);
}

.semente-card__button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .semente-card__image {
        height: 180px;
    }
    
    .semente-card__content {
        padding: 1.25rem;
    }
    
    .semente-card__title {
        font-size: 1.2rem;
    }
    
    .semente-card__description {
        font-size: 0.85rem;
    }
    
    .semente-card__price {
        font-size: 1.3rem;
    }
    
    .semente-card__button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* RESPONSIVIDADE EXTRA PARA TABLETS */
@media (min-width: 769px) and (max-width: 1024px) {
    .sementes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* RESPONSIVIDADE PARA DESKTOPS GRANDES */
@media (min-width: 1025px) {
    .sementes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ANIMAÇÃO DE ENTRADA */
.semente-card {
    animation: slideInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.semente-card:nth-child(1) { animation-delay: 0.05s; }
.semente-card:nth-child(2) { animation-delay: 0.1s; }
.semente-card:nth-child(3) { animation-delay: 0.15s; }
.semente-card:nth-child(4) { animation-delay: 0.2s; }
.semente-card:nth-child(5) { animation-delay: 0.25s; }
.semente-card:nth-child(6) { animation-delay: 0.3s; }
.semente-card:nth-child(7) { animation-delay: 0.35s; }
.semente-card:nth-child(8) { animation-delay: 0.4s; }
.semente-card:nth-child(9) { animation-delay: 0.45s; }

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

/* ACESSIBILIDADE */
.semente-card__button:focus-visible {
    outline: 2px solid #c9a876;
    outline-offset: 2px;
}

.sementes-header__logo:focus-visible {
    outline: 2px solid #c9a876;
    outline-offset: 2px;
}
