/* ESTILO GLOBAL E VARIÁVEIS 
   Foco na Identidade Visual Farmaior
*/
:root {
    --primary-red: #e31d1a;      /* Vermelho Farmaior */
    --primary-yellow: #ffdb00;   /* Amarelo Farmaior */
    --yellow-soft: #fff9d6;      /* Fundo suave para contraste */
    --text-dark: #1a171e;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-soft: #fcfcfc;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-dark);
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-yellow);
}

.logo {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.btn-cta-nav {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-nav:hover {
    background-color: #b31411;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(227, 29, 26, 0.2);
}

/* HERO SECTION (Estilo Gradiente Amarelo) */
.hero {
    padding: 100px 0;
    /* Gradiente inspirado no modelo gerado */
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}

.badge {
    background: var(--white);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary-red);
}

.hero-content p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.stats-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-item i {
    color: var(--primary-red);
}

/* IMAGEM E FLOATING BADGE (Correção de Posição) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box {
    position: relative;
    display: inline-block;
}

.image-box img {
    border-radius: 40px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15);
    max-width: 100%;
    height: auto;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    z-index: 10;
}

.floating-badge i {
    background: var(--primary-red);
    color: white;
    padding: 10px;
    border-radius: 12px;
}

/* UNIDADES (Cards) */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.card-unidade {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    text-align: left;
    border: 2px solid var(--primary-yellow); /* Borda amarela do modelo */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.card-unidade:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(227, 29, 26, 0.15);
    border-color: var(--primary-red);
}

.card-unidade h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.card-unidade p {
    flex-grow: 1;
    min-height: 60px;
}

.card-unidade i.fa-map-location-dot {
    color: var(--primary-red) !important;
}

/* BOTÕES DE CONTATO */
.btn-zap, .btn-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
}

.btn-zap {
    background-color: #25d366;
    color: white;
    margin-bottom: 12px;
}

.btn-zap:hover {
    background-color: #1eb956;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-tel {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-tel:hover {
    background-color: #f2d000;
    transform: scale(1.02);
}

/* FOOTER */
.footer {
    background: white;
    padding: 60px 0;
    border-top: 2px solid var(--primary-yellow);
}

.logo-footer {
    height: 50px;
    margin-bottom: 24px;
    filter: grayscale(1);
    opacity: 0.6;
}

.divider {
    height: 1px;
    background: #e2e8f0;
    width: 200px;
    margin: 24px auto;
}

.cnpj { font-weight: 700; color: var(--text-light); }
.copy { font-size: 14px; color: #94a3b8; margin-top: 10px; }

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .hero { padding: 60px 0; }
    .hero-content { text-align: center; }
    .stats-grid { justify-content: center; }
    .image-box { margin-top: 40px; }
    .floating-badge { left: 50%; transform: translateX(-50%); width: max-content; }
}