/* 
 * Vivenda Quinta das Flores - Design System
 * CSS Customizado com Bootstrap 5
 */

/* ========================================
   VARIÁVEIS DE DESIGN SYSTEM
======================================== */
:root {
    /* Cores */
    --color-primary: #007A3D;
    --color-teal: #007C7A;
    --color-light-green: #A7C957;
    --color-yellow: #F4C430;
    --color-orange: #F28C28;
    --color-pink: #C2185B;
    --color-offwhite: #FAF7F0;
    --color-beige: #EFE6D8;
    --color-dark: #24302F;
    --color-white: #FFFFFF;
    
    /* Cores derivadas */
    --color-primary-light: #00a34d;
    --color-primary-dark: #005a2d;
    --color-light: #f8f9fa;
    --color-muted: #6c757d;
    --color-border: #dee2e6;
    
    /* Fontes */
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Bordas */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1.5rem;
    --border-radius-xl: 2rem;
    
    /* Sombras */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 2rem 4rem rgba(0, 0, 0, 0.15);
    
    /* Transições */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ========================================
   RESET E ESTILOS BASE
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-primary);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TIPOGRAFIA
======================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

h1, .h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-size: 2.75rem;
    letter-spacing: -0.01em;
}

h3, .h3 {
    font-size: 2rem;
}

h4, .h4 {
    font-size: 1.5rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
}

.text-display {
    font-family: var(--font-display);
    font-weight: 400;
}

.text-lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-muted);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ========================================
   BOTÕES
======================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn:focus {
    box-shadow: none;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    border: none;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
}

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

.btn-cta-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
}

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

.btn-whatsapp-header {
    background-color: #25D366;
    color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.btn-whatsapp-header:hover {
    background-color: #128C7E;
    color: var(--color-white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-outline-primary {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ========================================
   HEADERS
======================================== */
.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 100px;
    width: auto;
    max-width: 180px;
}

.logo-img-footer {
    max-height: 70px;
    width: auto;
    max-width: 130px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 1rem;
}

.logo-img-footer {
    max-height: 80px;
    width: auto;
    max-width: 150px;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
}

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

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--color-offwhite);
    color: var(--color-primary);
}

/* ========================================
   SEÇÕES GERAIS
======================================== */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-light {
    background-color: var(--color-offwhite);
}

.section-beige {
    background-color: var(--color-beige);
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-green {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
    color: var(--color-white);
}

.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4 {
    color: var(--color-white);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.custom-badge {
    background-color: #007A3D;
    color: #FFFFFF;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

.section-green {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
    color: var(--color-white);
}

.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4 {
    color: var(--color-white);
}

.section-green .step-number,
.section-green .step-title {
    color: var(--color-white);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-beige) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(167, 201, 87, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--color-white), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-badges .badge-item {
    background: var(--color-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition-fast);
}

.hero-badges .badge-item:hover {
    transform: translateY(-2px);
}

.hero-badges .badge-item i {
    color: var(--color-primary);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   CARDS CUSTOMIZADOS
======================================== */
.card-custom {
    background: var(--color-white);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
    height: 100%;
}

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

.card-custom-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.card-custom-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-custom-body .btn {
    margin-top: auto;
}

.card-custom-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.card-custom-text {
    color: var(--color-muted);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.card-custom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.card-custom-list li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-custom-list li i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

/* ========================================
   FEATURES E DIFERENCIAIS
======================================== */
.feature-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* ========================================
   ABOUT / INSTITUCIONAL
======================================== */
.about-section {
    background: var(--color-offwhite);
}

.about-content {
    max-width: 560px;
}

.about-image {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-item {
    background: var(--color-white);
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.about-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.about-item span {
    font-weight: 500;
    font-size: 0.9375rem;
}

/* ========================================
   SERVICES / SERVIÇOS
======================================== */
.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.service-content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 0.9375rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* ========================================
   ATIVIDADES
======================================== */
.activity-item {
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
}

.activity-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--color-primary);
}

.activity-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

/* ========================================
   GALERIA
======================================== */
.gallery-section {
    background: var(--color-offwhite);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* ========================================
   STEPS / COMO FUNCIONA
======================================== */
.steps-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
}

.step-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 auto 1rem;
}

.step-title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

/* ========================================
   FAQ ACCORDION
======================================== */
.faq-section {
    background: var(--color-beige);
}

.accordion-custom {
    --bs-accordion-bg: var(--color-white);
    --bs-accordion-border-color: var(--color-border);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: var(--color-white);
    --bs-accordion-active-color: var(--color-primary);
}

.accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: var(--border-radius-md) !important;
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: var(--border-radius-md) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: none;
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    color: var(--color-muted);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-cta-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

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

.cta-buttons .btn-cta-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ========================================
   FOOTER
======================================== */
.footer-main {
    background: #FFFFFF;
    color: #24302F;
    padding: 4rem 0 2rem;
    border-top: 1px solid #E0E0E0;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: #6C757D;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007A3D;
    border-radius: 8px;
    text-decoration: none;
}

.footer-social a i {
    color: #FFFFFF !important;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: #005a2d;
    transform: translateY(-2px);
}

.footer-social a:hover i {
    color: #FFFFFF !important;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #007A3D;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #495057;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #007A3D;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #495057;
    font-size: 0.9375rem;
}

.footer-contact li i {
    color: #007A3D;
    margin-top: 0.25rem;
}

.footer-contact a {
    color: #495057;
}

.footer-contact a:hover {
    color: #007A3D;
}

.footer-bottom {
    border-top: 1px solid #E0E0E0;
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #6C757D;
}

.footer-bottom a {
    color: #007A3D;
}

.footer-bottom a:hover {
    color: #005a2d;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #007A3D;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #495057;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #007A3D;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #495057;
    font-size: 0.9375rem;
}

.footer-contact li i {
    color: #007A3D;
    margin-top: 0.25rem;
}

.footer-contact a {
    color: #495057;
}

.footer-contact a:hover {
    color: #007A3D;
}

.footer-bottom {
    border-top: 1px solid #E0E0E0;
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #6C757D;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    color: #FFFFFF;
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    background: #24302F;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   PAGE HERO (INTERNAL)
======================================== */
.page-hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, #FAF7F0 0%, #EFE6D8 100%);
    text-align: center;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: #6C757D;
    max-width: 600px;
    margin: 0 auto;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    color: var(--color-white);
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   PAGE HERO (INTERNAL)
======================================== */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-beige) 100%);
    text-align: center;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BREADCRUMB
======================================== */
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--color-muted);
}

.breadcrumb-item a {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: var(--color-muted);
}

/* ========================================
   FORMS
======================================== */
.form-control,
.form-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.1);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ========================================
   BADGES
======================================== */
.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--color-offwhite);
    border-radius: var(--border-radius-lg);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
}

.badge-custom i {
    color: var(--color-primary);
}

/* ========================================
   TABLES
======================================== */
.table-custom {
    --bs-table-bg: var(--color-white);
    --bs-table-striped-bg: var(--color-offwhite);
    --bs-table-hover-bg: var(--color-beige);
}

.table-custom thead {
    background: var(--color-primary);
    color: var(--color-white);
}

.table-custom th,
.table-custom td {
    padding: 1rem;
    vertical-align: middle;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* ========================================
   ANIMAÇÕES
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Delay classes */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ========================================
   RESPONSIVIDADE
======================================== */

/* Tablet */
@media (max-width: 991px) {
    :root {
        --spacing-xxl: 4rem;
    }
    
    h1, .h1 {
        font-size: 2.5rem;
    }
    
    h2, .h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-btns .btn {
        margin-bottom: 0.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .custom-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    .logo-img {
        max-height: 80px !important;
    }
    
    .header-main {
        padding: 0.5rem 0;
    }
    
    .navbar {
        padding: 0;
    }
    
    .navbar-brand img {
        max-height: 60px;
    }
}

/* Mobile Grande */
@media (max-width: 767px) {
    :root {
        --spacing-xxl: 3rem;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 4rem 0 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-badges .badge-item {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .custom-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.85rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .service-icon i {
        font-size: 1.25rem;
    }
    
    .service-content h4 {
        font-size: 1.1rem;
    }
    
    .service-content p {
        font-size: 0.85rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 54px;
        height: 54px;
    }
    
    .footer-main {
        background: #FFFFFF !important;
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
        margin-top: 1.5rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
    
    .logo-img {
        max-height: 60px !important;
    }
    
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .page-hero-title {
        font-size: 1.75rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .card-custom {
        margin-bottom: 1.5rem;
    }
    
    .card-custom-img {
        height: 180px;
    }
    
    .card-custom-title {
        font-size: 1.25rem;
    }
    
    .card-custom-body {
        padding: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .gallery-title {
        font-size: 0.9rem;
    }
    
    .step-item {
        margin-bottom: 2rem;
    }
    
    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .accordion-body {
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Header mobile */
    .header-main {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .navbar-brand {
        padding: 0;
    }
    
    .navbar-brand img {
        max-height: 50px;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.25rem;
    }
    
    .offcanvas-title {
        font-size: 1.25rem;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        border: none;
        background: #f8f9fa;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    :root {
        --spacing-xxl: 2rem;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .custom-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.75rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-text {
        font-size: 0.85rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    .logo-img {
        max-height: 45px !important;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .page-hero-title {
        font-size: 1.5rem;
    }
    
    .card-custom-img {
        height: 160px;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   ACESSIBILIDADE
======================================== */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.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-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Contraste alto para acessibilidade */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #005a2d;
        --color-dark: #000000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}