/* Estilos base da Zap Encomendas */
:root {
    --primary-color: #25D366;
    --secondary-color: #128C7E;
    --accent-color: #34B7F1;
    --dark-color: #075E54;
    --light-color: #DCF8C6;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

/* Destaque de comodidade */
.destaque-comodidade {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
}

.destaque-comodidade i {
    margin-right: 8px;
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

/* Navbar melhorado */
.navbar-whatsapp {
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-whatsapp .navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.navbar-whatsapp .navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-whatsapp .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.navbar-whatsapp .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.navbar-whatsapp .nav-link:hover::before {
    left: 100%;
}

.navbar-whatsapp .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Header melhorado */
.jumbotron-whatsapp {
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 4rem 2rem;
    margin: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.jumbotron-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.jumbotron-whatsapp h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.jumbotron-whatsapp p {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.jumbotron-whatsapp img {
    max-width: 300px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Botões melhorados */
.btn-whatsapp, .btn-whatsapp-jumbotron {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before, .btn-whatsapp-jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-whatsapp:hover, .btn-whatsapp-jumbotron:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-whatsapp:hover::before, .btn-whatsapp-jumbotron:hover::before {
    left: 100%;
}

/* Seções melhoradas */
.container {
    max-width: 1200px;
}

section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
    margin: 2rem 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Cards de recursos melhorados */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    display: inline-block;
}

.col-md-4:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.col-md-4 {
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.col-md-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    z-index: -1;
}

.col-md-4:hover::before {
    opacity: 0.05;
}

.col-md-4:hover {
    transform: translateY(-10px);
}

/* Lista de cidades melhorada */
.whatsapp-color {
    color: var(--primary-color);
}

.whatsapp-color li {
    padding: 12px 16px;
    transition: var(--transition);
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(37, 211, 102, 0.05);
    border-left: 4px solid transparent;
    position: relative;
}

.whatsapp-color li:hover {
    color: var(--secondary-color);
    transform: translateX(10px);
    background: rgba(37, 211, 102, 0.1);
    border-left-color: var(--primary-color);
}

.whatsapp-color li i {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Badge de horário para cidades */
.horario-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
    display: inline-block;
    animation: pulse 2s infinite;
}

/* Formulário melhorado */
.form-control {
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    transition: var(--transition);
    background: #FAFAFA;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
    background: var(--white);
    transform: translateY(-2px);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Seção WhatsApp melhorada */
.section-whatsapp {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.section-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

/* Footer melhorado */
.footer-whatsapp {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
    overflow: hidden;
}

.footer-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q25 5, 50 10 T100 10" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.2;
}

.footer-whatsapp a {
    color: var(--light-color) !important;
    transition: var(--transition);
}

.footer-whatsapp a:hover {
    color: var(--white) !important;
    text-decoration: none;
}

/* Separador de seções */
.section-divider {
    padding: 2rem 0;
    color: var(--primary-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.section-divider i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animações melhoradas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

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

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Efeitos de foco para acessibilidade */
.btn:focus, .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}

/* Cards de segmentos melhorados */
.segmento-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.segmento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.segmento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.segmento-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.segmento-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.segmento-card:hover h5 {
    color: var(--secondary-color);
}

.segmento-card i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Seção de horário */
.horario-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
}

.horario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.horario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.horario-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.horario-icon {
    background: var(--gradient-primary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.horario-icon i {
    font-size: 2rem;
    color: var(--white);
}

.horario-card:hover .horario-icon {
    transform: scale(1.1);
}

.horario-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.horario-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.horario-horas {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.horario-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

.horario-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.horario-info h5 i {
    margin-right: 8px;
}

.horario-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horario-lista li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(37, 211, 102, 0.1);
    transition: var(--transition);
}

.horario-lista li:last-child {
    border-bottom: none;
}

.horario-lista li:hover {
    transform: translateX(10px);
    color: var(--secondary-color);
}

.horario-lista li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* RESPONSIVIDADE MOBILE MELHORADA */

/* Tablets (768px e abaixo) */
@media (max-width: 768px) {
    .horario-banner {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .jumbotron-whatsapp {
        padding: 3rem 1.5rem;
        margin: 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .jumbotron-whatsapp h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .jumbotron-whatsapp p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .jumbotron-whatsapp img {
        max-width: 250px;
    }
    
    section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .btn-whatsapp, .btn-whatsapp-jumbotron {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .col-md-4 {
        padding: 1rem;
    }
    
    .navbar-whatsapp .navbar-brand img {
        height: 40px;
    }
    
    .navbar-whatsapp .nav-link {
        padding: 6px 12px !important;
        margin: 0 5px;
        font-size: 0.9rem;
    }
    
    .whatsapp-color li {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .horario-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* Mobile pequeno (576px e abaixo) */
@media (max-width: 576px) {
    .horario-banner {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .jumbotron-whatsapp {
        padding: 2rem 1rem;
        margin: 0.5rem 0.25rem;
        border-radius: 8px;
    }
    
    .jumbotron-whatsapp h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .jumbotron-whatsapp p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .jumbotron-whatsapp img {
        max-width: 200px;
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 1.5rem 1rem;
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    
    h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    h2::after {
        width: 60px;
        height: 3px;
    }
    
    .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-whatsapp, .btn-whatsapp-jumbotron {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .col-md-4 {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .col-md-4 h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .col-md-4 p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .navbar-whatsapp {
        padding: 0.75rem 0;
        border-radius: 0 0 12px 12px;
    }
    
    .navbar-whatsapp .navbar-brand img {
        height: 35px;
    }
    
    .navbar-whatsapp .nav-link {
        padding: 5px 10px !important;
        margin: 0 3px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Melhorias para formulário mobile */
    .form-control {
        padding: 12px;
        font-size: 16px; /* Evita zoom no iOS */
        border-radius: 8px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    /* Melhorias para lista de cidades */
    .whatsapp-color li {
        padding: 8px 10px;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .whatsapp-color li i {
        margin-right: 8px;
        font-size: 1rem;
    }
    
    .horario-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-left: 6px;
    }
    
    /* Melhorias para cards de segmentos */
    .segmento-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .segmento-card h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .segmento-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Melhorias para seção de horário */
    .horario-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .horario-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .horario-icon i {
        font-size: 1.5rem;
    }
    
    .horario-card h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .horario-text {
        font-size: 1rem;
    }
    
    .horario-horas {
        font-size: 1.3rem;
    }
    
    .horario-info {
        padding: 1.5rem;
    }
    
    .horario-info h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .horario-lista li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .horario-lista li i {
        font-size: 1rem;
        margin-right: 8px;
    }
}

/* Mobile muito pequeno (480px e abaixo) */
@media (max-width: 480px) {
    .horario-banner {
        font-size: 0.75rem;
        padding: 0.3rem;
    }
    
    .jumbotron-whatsapp h1 {
        font-size: 1.75rem;
    }
    
    .jumbotron-whatsapp p {
        font-size: 0.95rem;
    }
    
    .jumbotron-whatsapp img {
        max-width: 180px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .btn-whatsapp, .btn-whatsapp-jumbotron {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
    }
    
    .col-md-4 h5 {
        font-size: 0.95rem;
    }
    
    .col-md-4 p {
        font-size: 0.85rem;
    }
    
    .navbar-whatsapp .navbar-brand img {
        height: 30px;
    }
    
    .navbar-whatsapp .nav-link {
        font-size: 0.8rem;
        padding: 4px 8px !important;
    }
}

/* Orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .jumbotron-whatsapp {
        padding: 2rem 1.5rem;
    }
    
    .jumbotron-whatsapp h1 {
        font-size: 2rem;
    }
    
    .jumbotron-whatsapp p {
        font-size: 1rem;
    }
    
    .jumbotron-whatsapp img {
        max-width: 200px;
    }
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn-whatsapp:hover, .btn-whatsapp-jumbotron:hover {
        transform: none;
    }
    
    .col-md-4:hover {
        transform: none;
    }
    
    .whatsapp-color li:hover {
        transform: none;
    }
    
    /* Aumentar área de toque para botões */
    .btn-whatsapp, .btn-whatsapp-jumbotron {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar-whatsapp .nav-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
