/* ===========================
   IMPORT GOOGLE FONTS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

/* ===========================
   VARIÁVEIS
   =========================== */

:root {
    /* Cores - Profissional e Neutro */
    --primary: #00008B;
    --primary-dark: #00004D;
    --primary-light: #1a1a9b;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --gray-lighter: #FAFAFA;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --border: #E5E7EB;
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===========================
   RESET E BASE
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   TIPOGRAFIA
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

p {
    color: var(--text-gray);
    line-height: 1.75;
    font-weight: 400;
}

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

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

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===========================
   NAVBAR PROFISSIONAL
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0A1F5C;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 139, 0.15);
}

.navbar.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 139, 0.2);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===========================
   HERO SECTION COM FORMULÁRIOS
   =========================== */

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #0A1F5C 0%, #0d2878 50%, #0A1F5C 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,180,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.hero-text {
    animation: fadeInUp 0.9s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: var(--spacing-md);
    animation: badgeGlow 3s ease-in-out infinite;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    line-height: 1.15;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.hero-title-highlight { color: #5BC8F5; font-style: italic; }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-trust-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--spacing-lg);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.hero-trust-icon {
    width: 20px;
    height: 20px;
    background: #5BC8F5;
    color: #0A1F5C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ===========================
   FORMS CONTAINER COM ABAS
   =========================== */

.forms-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(10,31,92,0.18), 0 4px 16px rgba(10,31,92,0.08);
    overflow: hidden;
    border: 1px solid rgba(10,31,92,0.08);
    position: relative;
}

.forms-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A1F5C, #5BC8F5, #0A1F5C);
    z-index: 1;
}

/* ── Tabs ── */
.form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #F4F6FD;
    padding: 6px;
    gap: 4px;
    margin: 12px 12px 0;
    border-radius: 12px;
}

.form-tab {
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #6B7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-radius: 9px;
    letter-spacing: 0.01em;
}

.form-tab:hover {
    color: #0A1F5C;
    background: rgba(255,255,255,0.6);
}

.form-tab.active {
    color: #0A1F5C;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(10,31,92,0.12);
    font-weight: 700;
}

/* ── Conteúdo ── */
.form-content {
    padding: 20px 24px 28px;
    display: none;
    animation: formFadeIn 0.3s ease-out;
}

.form-content.active { display: block; }

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

/* ── Layout ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── Grupos de campo ── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Inputs ── */
.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.7rem 0.9rem;
    border: 1.5px solid #0A1F5C;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #F9FAFF;
    color: #111827;
    font-weight: 400;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0B8D0;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0A1F5C;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10,31,92,0.09);
}

.form-group input:focus::placeholder { color: #D0D8EE; }

.form-group textarea {
    resize: none;
    min-height: 80px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%230A1F5C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* ── Disclaimer ── */
.form-disclaimer {
    font-size: 0.78rem;
    color: #9CA3AF;
    text-align: center;
    margin-top: 4px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.form-disclaimer::before {
    content: '🔒';
    font-size: 0.75rem;
}

/* ===========================
   MODAL SUCESSO
   =========================== */

.success-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,12,40,0.70);
    backdrop-filter: blur(8px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-modal-overlay.show {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.success-modal-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px 36px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(10,31,92,0.25);
    animation: modalSlideUp 0.35s cubic-bezier(0.22,1,0.36,1);
    position: relative;
    overflow: hidden;
}

.success-modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366, #5BC8F5);
}

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

.success-modal-icon {
    margin-bottom: 20px;
}

.success-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.success-modal-text {
    font-size: 0.93rem;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

.success-modal-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #0A1F5C, #0d2878);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(10,31,92,0.25);
}

.success-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,31,92,0.32);
}


/* ===========================
   BOTÕES
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, #0A1F5C 0%, #0d2878 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(10,31,92,0.28);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.14) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: shimmer 2.8s infinite;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d2878 0%, #1035a0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(10,31,92,0.35);
}

.btn-secondary {
    background: #F4F6FD;
    color: #0A1F5C;
    border: 2px solid #0A1F5C;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #0A1F5C;
    color: white;
}

.btn-large {
    padding: 1rem 2.4rem;
    font-size: 0.97rem;
    border-radius: 12px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    font-weight: 700;
}

/* ===========================
   STATISTICS SECTION
   =========================== */

.statistics {
    background: linear-gradient(135deg, #0A1F5C 0%, #0d2878 100%);
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(91,200,245,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(91,200,245,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.stats-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-divider {
    width: 1px;
    height: 120px;
    background: rgba(255,255,255,0.15);
    margin: 0 var(--spacing-xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-md) var(--spacing-lg);
}

.stat-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    line-height: 1.6;
    max-width: 260px;
}

/* ===========================
   FLEET SECTION
   =========================== */

.onibus-gallery {
    padding: var(--spacing-3xl) 0;
    background: #F8FAFF;
    position: relative;
    overflow: hidden;
}

.onibus-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(10,31,92,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.onibus-gallery .section-header { position: relative; z-index: 2; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 2;
}

.gallery-item {
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(10,31,92,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10,31,92,0.18);
}

.gallery-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(1);
}

.gallery-item:hover .gallery-img-wrap img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,31,92,0.18) 0%, transparent 50%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.image-placeholder { width: 100%; height: 100%; overflow: hidden; background: #E5E7EB; }
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===========================
   SERVIÇOS
   =========================== */

.servicos {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #0A1F5C 0%, #0d2878 100%);
    position: relative;
    overflow: hidden;
}

.servicos::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(91,200,245,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(91,200,245,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.servicos .section-header { position: relative; z-index: 2; }
.servicos .section-title { color: #ffffff; }
.servicos .section-subtitle { color: rgba(255,255,255,0.6) !important; }
.servicos .section-eyebrow {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #5BC8F5;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5BC8F5;
    background: rgba(10,31,92,0.06);
    border: 1px solid rgba(10,31,92,0.1);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5BC8F5, #ffffff);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover::after { opacity: 1; }

.service-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.22);
}

.service-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.28);
    font-family: 'Inter', sans-serif;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.service-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

.service-text {
    line-height: 1.75;
    color: rgba(255,255,255,0.68);
    font-weight: 400;
    font-size: 0.97rem;
    margin: 0;
    flex: 1;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
}

.service-card-footer {
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.service-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5BC8F5;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.service-cta:hover { color: #ffffff; }

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonials {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
    position: relative;
}

.testimonials .section-eyebrow {
    color: #0A1F5C;
    background: rgba(10,31,92,0.06);
    border-color: rgba(10,31,92,0.12);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* ── Card ── */
.testimonial-card {
    background: #ffffff;
    padding: 32px 28px 24px;
    border-radius: 18px;
    border: 1.5px solid #EEF1FB;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(10,31,92,0.05);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0A1F5C, #5BC8F5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10,31,92,0.11);
    border-color: #D0DAFF;
}

.testimonial-card:hover::before { opacity: 1; }

/* Aspas decorativas */
.tcard-quote {
    font-size: 4.5rem;
    font-family: Georgia, serif;
    color: #E8EEFF;
    line-height: 0.6;
    font-weight: 900;
    user-select: none;
    align-self: flex-start;
}

/* Texto */
.testimonial-text {
    font-size: 0.93rem;
    color: #4B5563;
    line-height: 1.8;
    font-style: italic;
    flex: 1;
    margin: 0;
}

/* Estrelas */
.tcard-stars {
    display: flex;
    gap: 2px;
}

.tcard-stars span {
    color: #F59E0B;
    font-size: 0.95rem;
}

/* Rodapé do card */
.tcard-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #F3F4F6;
}

.tcard-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0A1F5C, #0d2878);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.tcard-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tcard-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
}

.tcard-role {
    font-size: 0.78rem;
    color: #9CA3AF;
    font-weight: 400;
}

/* ── Barra de confiança ── */
.tcard-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #F8FAFF;
    border: 1.5px solid #EEF1FB;
    border-radius: 16px;
    padding: 24px 40px;
}

.tcard-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
    text-align: center;
}

.tcard-trust-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0A1F5C;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.tcard-trust-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tcard-trust-label {
    font-size: 0.78rem;
    color: #9CA3AF;
    font-weight: 500;
}

.tcard-trust-div {
    width: 1px;
    height: 48px;
    background: #E5E9F5;
    flex-shrink: 0;
}

/* ===========================
   CONTATO
   =========================== */

.contato {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #0A1F5C 0%, #0d2878 100%);
    position: relative;
    overflow: hidden;
}

.contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(91,200,245,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.contato-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ── Left ── */
.contato-eyebrow {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #5BC8F5 !important;
    margin-bottom: 1rem;
}

.contato-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.contato-highlight {
    color: #5BC8F5;
    font-style: italic;
}

.contato-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contato-trust {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contato-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.80);
    font-weight: 500;
}

.contato-trust-icon {
    width: 22px;
    height: 22px;
    background: #5BC8F5;
    color: #0A1F5C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── Right — cards ── */
.contato-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(91,200,245,0.45);
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.contact-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.contact-card--wa .contact-card-icon  { background: rgba(37,211,102,0.18); color: #25D366; }
.contact-card--tel .contact-card-icon { background: rgba(91,200,245,0.18); color: #5BC8F5; }
.contact-card--email .contact-card-icon { background: rgba(255,255,255,0.1); color: #ffffff; }

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.contact-card-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    font-weight: 400;
}

.contact-card-arrow {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover .contact-card-arrow {
    color: #5BC8F5;
    transform: translateX(4px);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: #0a0a0a;
    color: #D1D5DB;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 80%, rgba(91,200,245,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-top-bar {
    height: 3px;
    background: linear-gradient(90deg, #0A1F5C, #5BC8F5, #0A1F5C);
}

.footer-main {
    max-width: 1220px;
    margin: 0 auto;
    padding: 60px var(--spacing-lg) 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1.2fr;
    gap: 48px;
    position: relative;
    z-index: 2;
}

/* Coluna marca */
.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.footer-brand-text {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.75;
}

.footer-social-btn:hover { opacity: 1; transform: translateY(-3px); }
.footer-social-wa    { background: rgba(37,211,102,0.15); color: #25D366; }
.footer-social-email { background: rgba(91,200,245,0.12); color: #5BC8F5; }
.footer-social-tel   { background: rgba(255,255,255,0.08); color: #ffffff; }
.footer-social-ig    { background: rgba(225,48,108,0.18); color: #E1306C; }

/* Colunas gerais */
.footer-col-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5BC8F5;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: rgba(255,255,255,0.52);
    font-size: 0.93rem;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* Lista de contato */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact-icon {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.52);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease;
    word-break: break-all;
}

.footer-contact-list a:hover { color: #ffffff; }

/* Rota */
.footer-rota {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
}

.footer-rota-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    padding: 0.4rem 0;
}

.footer-rota-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid;
}

.footer-rota-dot--origem  { background: #5BC8F5; border-color: #5BC8F5; }
.footer-rota-dot--destino { background: transparent; border-color: #5BC8F5; }

.footer-rota-line {
    width: 2px;
    height: 22px;
    background: linear-gradient(to bottom, #5BC8F5, rgba(91,200,245,0.2));
    margin-left: 5px;
}

.footer-rota-info {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.25rem;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    position: relative;
    z-index: 2;
}

.footer-bottom-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 20px var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom-inner p {
    color: rgba(255,255,255,0.3);
    font-size: 0.83rem;
}

.footer-bottom-sub {
    color: rgba(255,255,255,0.2) !important;
}

/* ===========================
   WHATSAPP BUTTON
   =========================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37,211,102,0.6);
    animation: none;
}

.whatsapp-float svg {
    display: block;
    flex-shrink: 0;
}

/* ===========================
   RESPONSIVE
   =========================== */

/* ===========================
   RESPONSIVO — TABLET (≤1024px)
   =========================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        margin: var(--spacing-lg) auto;
    }

    .servicos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contato-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contato-left { max-width: 600px; margin: 0 auto; text-align: center; }
    .contato-trust { align-items: center; }
}

/* ===========================
   RESPONSIVO — MOBILE (≤768px)
   =========================== */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links { display: none; }
    .nav-container { gap: var(--spacing-md); }
    .nav-cta { padding: 0.65rem 1.2rem; font-size: 0.85rem; }

    /* Hero */
    .hero { padding: 90px 0 32px; }
    .hero-content { grid-template-columns: 1fr; gap: var(--spacing-xl); }
    .hero-text { text-align: center; }
    .hero-trust-row { align-items: flex-start; text-align: left; }
    .forms-container { margin: 0; }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 var(--spacing-lg);
    }
    .stat-divider { width: 60%; height: 1px; margin: var(--spacing-md) auto; }
    .stat-item { padding: var(--spacing-md); }

    /* Formulário */
    .form-row { grid-template-columns: 1fr; gap: var(--spacing-md); }
    .form-tabs { grid-template-columns: 1fr 1fr; }
    .form-content { padding: var(--spacing-lg); }
    .forms-container { border-radius: 16px; }

    /* Galeria */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-img-wrap { height: 180px; }

    /* Serviços */
    .servicos-grid { grid-template-columns: 1fr; }
    .servicos { padding: var(--spacing-2xl) 0; }

    /* Seção contato */
    .contato-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 var(--spacing-lg);
    }
    .contato-left { text-align: center; }
    .contato-trust { align-items: center; }
    .contato-title { font-size: 1.9rem; }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px var(--spacing-lg) 32px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    /* WhatsApp float */
    .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 26px; height: 26px; }

    /* Calendário */
    .calendar-popup { min-width: unset; }
}

/* ===========================
   RESPONSIVO — MOBILE PEQUENO (≤480px)
   =========================== */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .container { padding: 0 var(--spacing-md); }

    /* Navbar */
    .logo-image { height: 38px; }

    /* Hero */
    .hero-badge { font-size: 0.78rem; }
    .hero-trust-item { font-size: 0.88rem; }

    /* Botão principal */
    .btn-large { padding: 1rem 1.5rem; font-size: 0.93rem; width: 100%; }

    /* Formulário */
    .form-tabs { grid-template-columns: 1fr; }
    .form-content { padding: var(--spacing-md); }
    .form-group label { font-size: 0.85rem; }

    /* Galeria */
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-img-wrap { height: 200px; }

    /* Serviços */
    .service-num { font-size: 2.5rem; }
    .service-title { font-size: 1.1rem; }

    /* Contato */
    .contact-card { padding: 1rem 1.1rem; gap: 1rem; }
    .contact-card-icon { width: 44px; height: 44px; }
    .contact-card-value { font-size: 0.93rem; }

    /* Footer */
    .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 32px var(--spacing-md) 24px; }
    .footer-brand { grid-column: auto; }

    /* Stats */
    .stat-icon img { width: 48px; height: 48px; }
    .stat-number { font-size: 1rem; }
}


/* ===========================
   ANIMAÇÕES GLOBAIS
   =========================== */

/* Animações só ativam após JS carregar — evita flash de conteúdo */
.js-ready .anim-fadein {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.js-ready .anim-fadein.visible { opacity: 1; transform: translateY(0); }

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.22s; }
.anim-delay-3 { transition-delay: 0.34s; }
.anim-delay-4 { transition-delay: 0.46s; }
.anim-delay-5 { transition-delay: 0.58s; }

.js-ready .anim-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.js-ready .anim-left.visible { opacity: 1; transform: translateX(0); }

.js-ready .anim-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.js-ready .anim-right.visible { opacity: 1; transform: translateX(0); }

.js-ready .anim-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.js-ready .anim-scale.visible { opacity: 1; transform: scale(1); }

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.nav-cta { position: relative; overflow: hidden; }
.nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: shimmer 2.8s infinite;
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91,200,245,0); }
    50%       { box-shadow: 0 0 12px 2px rgba(91,200,245,0.25); }
}

.hero-badge { animation: badgeGlow 3s ease-in-out infinite; }

/* ===========================
   CALENDÁRIO INLINE
   =========================== */

.form-group--calendar {
    position: relative;
}

.cal-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1.5px solid #D1D9F0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.93rem;
    color: #374151;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.cal-trigger:hover {
    border-color: #0A1F5C;
}

.cal-trigger.active {
    border-color: #0A1F5C;
    box-shadow: 0 0 0 3px rgba(10,31,92,0.10);
}

.cal-trigger.has-value {
    color: #111827;
    font-weight: 600;
}

.cal-trigger.field-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.18) !important;
}

.cal-trigger-icon { font-size: 1rem; flex-shrink: 0; }
.cal-trigger-text { flex: 1; }
.cal-trigger-arrow {
    font-size: 0.75rem;
    color: #9CA3AF;
    transition: transform 0.2s ease;
}
.cal-trigger.active .cal-trigger-arrow { transform: rotate(180deg); }

/* Popup */
.calendar-popup {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 280px;
    background: #ffffff;
    border: 1.5px solid #D1D9F0;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(10,31,92,0.16);
    z-index: 500;
    overflow: hidden;
    animation: calFadeIn 0.2s ease;
}

.calendar-popup.open { display: block; }

@keyframes calFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header do calendário */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    background: linear-gradient(135deg, #0A1F5C, #0d2878);
}

.cal-month-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
}

.cal-nav {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
}
.cal-nav:hover { background: rgba(255,255,255,0.28); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

/* Dias da semana */
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 12px 4px;
    gap: 2px;
}

.cal-weekdays span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Grade de dias */
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 12px 12px;
    gap: 3px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    cursor: default;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
}

/* Dias disponíveis */
.cal-day.available {
    cursor: pointer;
    background: #EEF2FF;
    color: #0A1F5C;
    font-weight: 700;
}

.cal-day.available::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #5BC8F5;
}

.cal-day.available:hover {
    background: #0A1F5C;
    color: #ffffff;
}

/* Dia selecionado */
.cal-day.selected {
    background: #0A1F5C !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(10,31,92,0.3);
}

.cal-day.selected::after { background: #5BC8F5; }

/* Dia atual */
.cal-day.today {
    border: 1.5px solid #5BC8F5;
}

/* Dias inativos / passados */
.cal-day.inactive {
    color: #D1D5DB;
    font-size: 0.8rem;
}

/* Espaços vazios */
.cal-day.empty { background: transparent; cursor: default; }

/* Legenda */
.cal-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px 12px;
    font-size: 0.75rem;
    color: #9CA3AF;
    border-top: 1px solid #F3F4F6;
}

.cal-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5BC8F5;
    flex-shrink: 0;
}

/* ===========================
   MODAL ATENDIMENTO (NAV)
   =========================== */

.atend-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,12,40,0.72);
    backdrop-filter: blur(8px);
    z-index: 4000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.atend-modal-overlay.show {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

.atend-modal-box {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(10,31,92,0.25);
    animation: modalSlideUp 0.35s cubic-bezier(0.22,1,0.36,1);
    position: relative;
}

.atend-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px 0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
    border-bottom: 1px solid #EEF1FB;
    padding-bottom: 16px;
}

.atend-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0A1F5C;
    margin: 0 0 4px;
}

.atend-modal-sub {
    font-size: 0.83rem;
    color: #9CA3AF;
    margin: 0;
}

.atend-modal-close {
    background: #F4F6FD;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.atend-modal-close:hover {
    background: #0A1F5C;
    color: #ffffff;
}

.atend-modal-box .contact-form {
    padding: 20px 28px 28px;
}

@media (max-width: 640px) {
    .atend-modal-box { border-radius: 16px; }
    .atend-modal-box .contact-form { padding: 16px 18px 22px; }
    .atend-modal-header { padding: 18px 18px 14px; }
}

/* ===========================
   CHATBOT FIDELIDADE BOT
   =========================== */

.chatbot-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,12,40,0.55);
    backdrop-filter: blur(4px);
    z-index: 4000;
}
.chatbot-overlay.show { display: block; }

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 360px;
    max-height: 560px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(10,31,92,0.22);
    display: flex;
    flex-direction: column;
    z-index: 4001;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
}
.chatbot-container.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

/* Header */
.chatbot-header {
    background: linear-gradient(135deg, #0A1F5C, #0d2878);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
    width: 40px; height: 40px;
    background: rgba(91,200,245,0.25);
    border: 2px solid rgba(91,200,245,0.5);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; color: #5BC8F5;
}
.chatbot-name { font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.chatbot-status { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.chatbot-dot { width: 7px; height: 7px; background: #25D366; border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.chatbot-close {
    background: rgba(255,255,255,0.12); border: none; color: #fff;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.chatbot-close:hover { background: rgba(255,255,255,0.25); }

/* Mensagens */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #F8FAFF;
    scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: #D1D9F0; border-radius: 4px; }

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    animation: msgIn 0.25s ease-out;
}
@keyframes msgIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre-wrap;
}
.chat-msg.bot .chat-bubble {
    background: #ffffff;
    color: #1F2937;
    border: 1.5px solid #E5E9F5;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(10,31,92,0.06);
}
.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, #0A1F5C, #0d2878);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}
.chat-time { font-size: 0.68rem; color: #9CA3AF; margin-top: 3px; padding: 0 4px; }
.chat-msg.user .chat-time { text-align: right; }

/* Digitando */
.typing-bubble { display: flex; align-items: center; gap: 4px; padding: 12px 16px; }
.typing-bubble span {
    width: 7px; height: 7px; background: #9CA3AF;
    border-radius: 50%; animation: typing 1.2s infinite;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* Sugestões */
.chatbot-suggestions {
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #F8FAFF;
    border-top: 1px solid #EEF1FB;
    flex-shrink: 0;
}
.chat-suggestion {
    padding: 6px 12px;
    background: #ffffff;
    border: 1.5px solid #D1D9F0;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0A1F5C;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.chat-suggestion:hover {
    background: #0A1F5C;
    color: #ffffff;
    border-color: #0A1F5C;
}

/* Input */
.chatbot-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1.5px solid #EEF1FB;
    flex-shrink: 0;
}
.chatbot-input {
    flex: 1;
    padding: 9px 14px;
    border: 1.5px solid #E5E9F5;
    border-radius: 20px;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    background: #F8FAFF;
}
.chatbot-input:focus { border-color: #0A1F5C; background: #fff; }
.chatbot-send {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #0A1F5C, #0d2878);
    border: none; border-radius: 50%;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.chatbot-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(10,31,92,0.3); }

/* Botão WhatsApp no chat */
.chat-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 16px;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.chat-wa-btn:hover { background: #1ebe59; transform: translateY(-1px); }

@media (max-width: 480px) {
    .chatbot-container { width: calc(100vw - 24px); right: 12px; bottom: 80px; }
}
