/* RUANTECH - Estilos para Agendamento Online
 * Versão: 1.0.0
 * Desenvolvido para landing pages de Agendamento
 */

/* ====== VARIÁVEIS GLOBAIS ====== */
:root {
    /* Cores principais da marca */
    --primary: #14294F;             /* Azul escuro principal */
    --primary-dark: #0A1A36;        /* Azul escuro secundário */
    --primary-light: #2D4B7A;       /* Azul claro para variações */
    --primary-hover: #0e1d38;       /* Azul para estados hover */
    
    --secondary: #F39200;           /* Laranja principal */
    --secondary-dark: #D17800;      /* Laranja escuro */
    --secondary-light: #FFB84D;     /* Laranja claro */
    --secondary-hover: #e58a00;     /* Laranja para estados hover */
    
    /* Cores neutras e funcionais */
    --white: #FFFFFF;
    --light: #f9fafb;
    --gray-lightest: #f3f4f6;
    --gray-lighter: #e5e7eb;
    --gray-light: #d1d5db;
    --gray: #6b7280;
    --gray-dark: #4b5563;
    --dark: #0A1220;
    --black: #000000;
    
    /* Cores de estado */
    --success: #10b981;
    --success-light: #d1fae5;
    --info: #3b82f6;
    --info-light: #dbeafe;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    
    /* WhatsApp */
    --whatsapp: #25D366;
    --whatsapp-dark: #20BD5C;
    
    /* Variáveis de espaçamento */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 5rem;
    
    /* Variáveis de tipografia */
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Helvetica, Arial, sans-serif;
    --line-height-normal: 1.5;
    --line-height-tight: 1.25;
    --line-height-loose: 1.75;
    
    /* Variáveis de bordas e sombras */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-pill: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);
    
    /* Variáveis de transição */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====== ESTILOS BASE ====== */
body {
    font-family: var(--font-family);
    color: var(--dark);
    background-color: var(--light);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-light);
}

/* ====== UTILIDADES DE TEXTO ====== */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-gray {
    color: var(--gray) !important;
}

/* ====== UTILIDADES DE FUNDO ====== */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-gray-light {
    background-color: var(--gray-lighter) !important;
}

/* ====== BADGES COM FUNDO SUTIL ====== */
.bg-primary-subtle {
    background-color: rgba(20, 41, 79, 0.1) !important;
    color: var(--primary);
    padding: 8px 14px;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    display: inline-block;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.bg-secondary-subtle {
    background-color: rgba(243, 146, 0, 0.1) !important;
    color: var(--secondary);
    padding: 8px 14px;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    display: inline-block;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.bg-primary-subtle:hover,
.bg-secondary-subtle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ====== BOTÕES ====== */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1.5;
    cursor: pointer;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--border-radius-lg);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(20, 41, 79, 0.2);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(20, 41, 79, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(243, 146, 0, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(243, 146, 0, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    background-color: transparent;
    border: 2px solid var(--primary);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(20, 41, 79, 0.2);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background-color: var(--gray-lightest);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ====== BOTÕES FANCY ====== */
.btn-fancy {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-fancy:hover::before {
    left: 100%;
}

.btn-fancy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ====== HERO SECTION ====== */
.hero {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary);
    width: 100%;
    max-width: 100vw;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2314294F' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.7;
}

.hero-badges .badge {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 8px 14px;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: var(--dark);
    font-weight: 400;
}

/* Floating animation for hero image */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 15px 15px rgba(20, 41, 79, 0.2));
}

/* ====== SHAPE DIVIDERS ====== */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-divider-bottom .shape-fill {
    fill: var(--white);
}

.shape-divider-top {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

.shape-divider-top .shape-fill {
    fill: var(--white);
}

/* ====== SEÇÃO DE SERVIÇOS ====== */
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-lg-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.service-icon {
    width: 85px;
    height: 85px;
    background-color: rgba(20, 41, 79, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-card {
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(20, 41, 79, 0.1);
    background-color: var(--white);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(20, 41, 79, 0.1);
    border-color: var(--secondary);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    transform: translateY(-8px) rotate(5deg);
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(20, 41, 79, 0.2);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1);
}

/* ====== CARDS DE RECURSOS ====== */
.feature-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(20, 41, 79, 0.1);
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

/* ====== INDÚSTRIA E SEGMENTOS ====== */
.industry-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(20, 41, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.industry-icon i {
    font-size: 1.7rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.industry-card {
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(20, 41, 79, 0.1);
    background-color: var(--white);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(20, 41, 79, 0.1);
    border-color: var(--secondary);
}

.industry-card:hover .industry-icon {
    background-color: var(--primary);
    transform: scale(1.1);
    border-color: var(--secondary);
    box-shadow: 0 8px 15px rgba(20, 41, 79, 0.2);
}

.industry-card:hover .industry-icon i {
    color: var(--white);
    transform: scale(1.1);
}

/* ====== SEÇÃO CTA ====== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary);
    border-bottom: 5px solid var(--secondary);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23F39200' fill-opacity='0.15' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* ====== DIFERENCIAIS ====== */
.differential-icon {
    width: 55px;
    height: 55px;
    background-color: rgba(243, 146, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.differential-icon i {
    font-size: 1.7rem;
    color: white;
}

.differential-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.differential-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.differential-item:hover .differential-icon {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* ====== FORMULÁRIOS DE CONTATO ====== */
.form-control {
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: var(--gray-lightest);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 41, 79, 0.1);
    background-color: var(--white);
}

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

.form-select {
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: var(--gray-lightest);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 41, 79, 0.1);
    background-color: var(--white);
}

textarea.form-control {
    min-height: 120px;
}

/* ====== LISTAS ====== */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-unstyled .bi-check-circle-fill {
    color: var(--primary);
}

/* ====== ANIMAÇÕES ====== */
/* Animação de fade-up */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ====== UTILITÁRIOS ====== */
.rounded-4 {
    border-radius: 12px;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.overflow-hidden {
    overflow: hidden;
}

.position-relative {
    position: relative;
}

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

.fw-bold {
    font-weight: 700;
}

.opacity-75 {
    opacity: 0.75;
}

.g-4 {
    gap: 1.5rem;
}

.justify-content-center {
    justify-content: center;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--white);
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.border-0 {
    border: 0 !important;
}

.w-100 {
    width: 100% !important;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .service-icon, .industry-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .text-center-md {
        text-align: center;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .py-lg-7 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badges .badge {
        display: inline-block;
        margin-bottom: 5px;
    }
    
    .service-card, .industry-card, .feature-card {
        padding: 20px;
    }
    
    .differential-icon {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }
    
    .differential-icon i {
        font-size: 1.4rem;
    }
}
