/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-offset) + 12px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section[id] {
    scroll-margin-top: calc(var(--header-offset) + 12px);
}

/* Cores Melhoradas */
:root {
    --primary-color: #231f8f;
    --primary-dark: #16145f;
    --primary-light: #3a35b0;
    --secondary-color: #f4e500;
    --accent-color: #f4e500;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-alt: #f5f7fa;
    --bg-gradient: linear-gradient(135deg, #231f8f 0%, #3a35b0 60%, #f4e500 100%);
    --border-color: #e1e8ed;
    --success-color: #27ae60;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --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.25);
    --header-offset: 84px;
}

/* Tipografia Melhorada */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 { 
    font-size: 2.5rem; 
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 { 
    font-size: 1.875rem; 
    font-weight: 600;
}

h4 { 
    font-size: 1.5rem; 
    font-weight: 600;
}

h5 { 
    font-size: 1.25rem; 
    font-weight: 500;
}

h6 { 
    font-size: 1.125rem; 
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Botões Redesenhados */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-height: 52px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
    min-height: 60px;
}

.btn-full {
    width: 100%;
}

/* Header e Navegação Melhorado */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: var(--bg-light);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .btn:hover {
    transform: translateY(-2px);
}

/* Portal Cliente Button */
.btn-portal-cliente {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary-color), #e8b884);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.btn-portal-cliente:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #c19660, var(--secondary-color));
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-portal-cliente i {
    font-size: 1.25rem;
}

.btn-portal-cliente span {
    font-weight: 600;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

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

/* Seções Melhoradas */
.section {
    padding: 100px 0;
}

.section-alt {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

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

/* Hero Section Redesenhada */
.hero {
    padding: calc(var(--header-offset) + 32px) 0 clamp(72px, 9vh, 108px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--secondary-color) 100%);
    color: var(--white);
    min-height: calc(100svh - var(--header-offset));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hero::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.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 4.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero Illustration */
.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero-logo-illustration {
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    max-width: 92%;
    margin: 0 auto;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Services Grid Redesenhado */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Features Grid Redesenhado */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #e8b884);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

/* About Section Redesenhada */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image .about-brand-image {
    object-fit: contain;
    background: var(--white);
    padding: 1.25rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    left: 20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

/* Trust Section */
.trust-section {
    background: var(--white);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.trust-item h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.trust-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* Contact Section Redesenhada */
.contact-quick {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-value {
    display: block;
    color: var(--primary-color);
    font-size: 1.0625rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.business-hours {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    color: var(--white);
    text-align: center;
}

.business-hours h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.business-hours h4 i {
    margin-right: 0.5rem;
}

.business-hours p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    margin: 0;
    font-weight: 500;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* Formulário Redesenhado */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.form-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.form-row {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 0;
}

.form-privacy i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 58, 82, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#cotacao .contact-form {
    padding: 3.5rem;
}

#cotacao .quote-actions-buttons {
    display: grid;
    gap: 1rem;
}

#cotacao .quote-actions-buttons .btn {
    justify-content: center;
}

.quote-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    z-index: 11000;
}

.quote-modal.is-open {
    display: flex;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 27, 39, 0.65);
    backdrop-filter: blur(3px);
}

.quote-modal-dialog {
    position: relative;
    width: min(900px, calc(100vw - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(10, 29, 45, 0.35);
    z-index: 1;
}

.quote-modal-form-wrapper {
    margin: 0;
    border-radius: 20px;
    padding: clamp(1.15rem, 2vw, 1.9rem);
}

.quote-modal-form-wrapper .form-header {
    margin-bottom: 1.15rem;
}

.quote-modal-form-wrapper .form-header i {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.quote-modal-form-wrapper .form-header h3 {
    font-size: clamp(1.55rem, 2.1vw, 1.9rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.quote-modal-form-wrapper .form-header p {
    font-size: 0.96rem;
    color: #6b7280;
}

.quote-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(26, 58, 82, 0.08);
    color: var(--primary-color);
    font-size: 1.125rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.quote-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

body.quote-modal-open {
    overflow: hidden;
}

#form-cotacao-rapida .form-group {
    margin-bottom: 0.7rem;
}

#form-cotacao-rapida .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

#form-cotacao-rapida .form-row--two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
}

#form-cotacao-rapida .form-group label {
    font-size: 0.93rem;
    margin-bottom: 0.42rem;
    letter-spacing: -0.01em;
}

#form-cotacao-rapida .form-group input,
#form-cotacao-rapida .form-group select,
#form-cotacao-rapida .form-group textarea {
    padding: 12px 14px;
    font-size: 0.96rem;
    min-height: 50px;
    border-radius: 12px;
    border-color: #d4dce6;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#form-cotacao-rapida .form-group input::placeholder,
#form-cotacao-rapida .form-group textarea::placeholder {
    color: #9aa7b8;
}

#form-cotacao-rapida .form-group textarea {
    min-height: 96px;
    line-height: 1.45;
}

#form-cotacao-rapida .form-group input:focus,
#form-cotacao-rapida .form-group select:focus,
#form-cotacao-rapida .form-group textarea:focus {
    border-color: #1a3a52;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 58, 82, 0.12);
}

#form-cotacao-rapida button[type="submit"] {
    margin-top: 0.2rem;
    min-height: 50px;
    font-size: 0.96rem;
}

#form-cotacao-rapida .form-feedback {
    margin-top: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    line-height: 1.45;
}

#form-cotacao-rapida .form-feedback.is-success {
    background: #edf9f0;
    border-color: #9cd8ac;
    color: #1f7a3e;
}

#form-cotacao-rapida .form-feedback.is-error {
    background: #fff1f1;
    border-color: #f2b0b0;
    color: #b23a3a;
}

#form-cotacao-rapida .form-privacy {
    margin-top: 0.7rem;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    #form-cotacao-rapida .form-row--two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 820px) {
    .quote-modal {
        padding: 0.5rem;
    }

    .quote-modal-dialog {
        max-height: calc(100vh - 1rem);
    }

    .quote-modal-form-wrapper {
        padding: 1rem 1.1rem 1.1rem;
    }

    .quote-modal-form-wrapper .form-header {
        margin-bottom: 0.85rem;
    }

    .quote-modal-form-wrapper .form-header i {
        font-size: 1.55rem;
        margin-bottom: 0.3rem;
    }

    .quote-modal-form-wrapper .form-header h3 {
        font-size: 1.38rem;
        margin-bottom: 0.2rem;
    }

    .quote-modal-form-wrapper .form-header p {
        font-size: 0.88rem;
    }

    #form-cotacao-rapida .form-row {
        gap: 0.5rem;
    }

    #form-cotacao-rapida .form-group {
        margin-bottom: 0.5rem;
    }

    #form-cotacao-rapida .form-group label {
        font-size: 0.86rem;
        margin-bottom: 0.3rem;
    }

    #form-cotacao-rapida .form-group input,
    #form-cotacao-rapida .form-group select,
    #form-cotacao-rapida .form-group textarea {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    #form-cotacao-rapida .form-group textarea {
        min-height: 72px;
    }

    #form-cotacao-rapida button[type="submit"] {
        min-height: 46px;
        font-size: 0.9rem;
    }

    #form-cotacao-rapida .form-privacy {
        margin-top: 0.45rem;
        font-size: 0.74rem;
    }
}

/* Footer Redesenhado */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-since {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-cta h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.footer-contact i {
    margin-top: 2px;
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.footer-cta p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
}

.footer-cta .btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.footer-cta .btn:hover {
    background: #c19660;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.125rem;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* WhatsApp Button Redesenhado */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.whatsapp-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover::before {
    opacity: 1;
}

/* Responsive Design Melhorado */
@media (max-width: 1024px) {
    .hero .container {
        gap: 3rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 82px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-right {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 0 20px 20px;
        gap: 1.5rem;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
    }
    
    .nav-right.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .btn-portal-cliente {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-quick {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-items {
        gap: 1.25rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: calc(var(--header-offset) + 20px) 0 56px;
        min-height: calc(100svh - var(--header-offset));
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    :root {
        --header-offset: 78px;
    }

    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.875rem;
        padding: 8px 18px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9375rem;
        min-height: 48px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 52px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1.25rem;
        flex-direction: row;
        text-align: left;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero {
        padding: calc(var(--header-offset) + 16px) 0 48px;
        min-height: calc(100svh - var(--header-offset));
    }
    
    .whatsapp-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

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

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

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus States Melhorados */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .whatsapp-button,
    .nav-toggle {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--text-dark);
    }
    
    .section {
        padding: 20px 0;
    }
}
