/* =========================================== */
/* CONTATO.CSS                                 */
/* HR PRÉ MOLDADOS - PÁGINA DE CONTATO         */
/* VERSÃO REFATORADA - 100% VARIÁVEIS DO MAIN  */
/*                                             */
/* ÍNDICE (ordem do HTML):                     */
/*  1. RESET DE FOCUS                          */
/*  2. CINEMA HERO                             */
/*  3. FAQ                                     */
/*  4. ÁREA DE CONEXÃO (formulário + canais)   */
/*     4.1 Textura e blocos decorativos        */
/*     4.2 Layout e mensagem                   */
/*     4.3 Formulário moderno                  */
/*     4.4 Redes sociais                       */
/*  5. UNIDADES — MAPA LADO A LADO             */
/*  6. TOAST — notificações                    */
/*  7. TOOLTIPS                                */
/*  8. HORÁRIO DE FUNCIONAMENTO                */
/*  9. FALLBACKS (@supports)                   */
/*  10. RESPONSIVIDADE GERAL                   */
/*      @media ≤ 1200px                        */
/*      @media ≤ 992px                         */
/*      @media ≤ 768px                         */
/*      @media ≤ 480px                         */
/*  11. AJUSTES DE LAYOUT (reestruturação)     */
/* =========================================== */

/* ===== 1. RESET DE FOCUS ===== */
* {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

*:focus,
*:focus-visible,
*:focus-within,
a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.person-card:focus,
.faq-cinema-item:focus,
.unit-card:focus,
.unit-link:focus,
.person-contact:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border-color: var(--border-light) !important;
}

::-moz-focus-inner {
    border: 0 !important;
}

:focus-visible {
    outline: none !important;
}

/* ===== 2. CINEMA HERO ===== */
.cinema-hero {
    position: relative;
    background: var(--bg-color);
    overflow: hidden;
    padding-top: 115px;
    padding-bottom: 0;
    border-bottom: 2px solid var(--border-medium);
}

/* Layout dois lados */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    min-height: calc(100vh - 115px);
}

/* ESQUERDO */
.hero-left {
    padding: 3rem 3rem 3rem 0;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* DIREITO */
.hero-right {
    padding: 3rem 0 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.hero-right-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-weight: 600;
    margin: 0;
}

/* Título */
.slide-title {
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.title-line.accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.title-line.accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(var(--primary-rgb, 232, 129, 58), 0.12);
    z-index: -1;
}

/* Descrição */
.slide-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

/* Botões */
.slide-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.slide-btn.primary {
    background: var(--primary);
    color: var(--text-white);
    border: 2px solid var(--primary);
}

.slide-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

.slide-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.slide-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Overlay decorativo */
.cinema-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at 90% 50%, rgba(var(--primary-rgb, 232, 129, 58), 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cinema-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23E8813A" stroke-width="2"/><circle cx="50" cy="50" r="15" fill="none" stroke="%23E8813A" stroke-width="2"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="%23E8813A" stroke-width="1"/></svg>');
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
}

/* ===== 4. ÁREA DE CONEXÃO ===== */

/* --- 4.1 Textura e blocos decorativos --- */
.connection-area {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.concrete-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.02"><rect width="100" height="100" fill="%23929292"/><path d="M0 0 L100 100 M100 0 L0 100" stroke="%23FFFFFF" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

.floating-blocks {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.block {
    position: absolute;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 8px;
}

.block-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    transform: rotate(15deg);
    animation: float 20s infinite;
}

.block-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    transform: rotate(-10deg);
    animation: float 25s infinite reverse;
}

.block-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 20%;
    transform: rotate(45deg);
    animation: float 15s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: rotate(15deg) translateY(0);
    }

    50% {
        transform: rotate(15deg) translateY(-30px);
    }
}

.connection-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* --- 4.2 Layout e mensagem --- */
/* Mensagem pessoal */
.personal-message {
    padding-right: 2rem;
}

.message-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 40px;
}

.message-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
    transform: translateY(-50%);
}

.message-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.message-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.message-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(var(--primary-rgb, 232, 129, 58), 0.15);
    z-index: -1;
}

.message-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.person-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.person-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: height var(--transition-base);
}

.person-card:hover::before {
    height: 100%;
}

.person-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.person-card:hover .person-avatar {
    transform: scale(1.1) rotate(5deg);
}

.person-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.person-info p {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.person-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: gap var(--transition-base);
}

.person-contact:hover {
    gap: 0.5rem;
}

.person-contact i {
    font-size: 0.875rem;
    transition: transform var(--transition-base);
}

.person-contact:hover i {
    transform: scale(1.2);
}

.purpose-social h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* --- 4.4 Redes sociais --- */
/* ===== REDES SOCIAIS SIMPLES ===== */
.social-icons {
    margin-top: 2rem;
}

.social-icons h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.icon-group {
    display: flex;
    gap: 0.75rem;
}

.icon-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    text-decoration: none;
}

.icon-link:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Cores específicas opcionais (mantidas por questão de branding) */
.icon-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
}

.icon-link.facebook:hover {
    background: #1877f2;
}

/* --- 4.3 Formulário moderno --- */
/* ===== FORMULÁRIO COM SELECT PERSONALIZADO ===== */
.form-card-modern {
    background: var(--surface);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.form-card-header {
    margin-bottom: 2rem;
}

.form-card-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-field {
    position: relative;
}

.modern-field input,
.modern-field select,
.modern-field textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.modern-field input:focus,
.modern-field select:focus,
.modern-field textarea:focus {
    border-color: var(--primary);
    background: var(--surface);
}

/* SELECT PERSONALIZADO COM SETA */
.modern-field select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8813A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
}

.modern-field select:hover {
    border-color: var(--primary);
    background-color: var(--surface);
}

.modern-field select:focus {
    border-color: var(--primary);
    background-color: var(--surface);
}

.modern-field select option {
    background: var(--surface);
    color: var(--text-primary);
    padding: 0.5rem;
}

.modern-field select option:hover {
    background: var(--primary);
}

.modern-field textarea {
    resize: vertical;
    min-height: 120px;
}

.modern-field label {
    position: absolute;
    left: 3rem;
    top: 1rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    pointer-events: none;
}

.modern-field input:focus~label,
.modern-field input:not(:placeholder-shown)~label,
.modern-field select:focus~label,
.modern-field select:not([value=""])~label,
.modern-field textarea:focus~label,
.modern-field textarea:not(:placeholder-shown)~label {
    transform: translateY(-2.5rem) translateX(-1.5rem) scale(0.8);
    background: var(--surface);
    padding: 0 0.5rem;
    color: var(--primary);
}

.modern-field input:not(:placeholder-shown)~label,
.modern-field select:not([value=""])~label,
.modern-field textarea:not(:placeholder-shown)~label {
    color: var(--text-primary);
}

.field-icon {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-tertiary);
    font-size: 1rem;
    transition: color var(--transition-base);
    pointer-events: none;
}

.modern-field input:focus~.field-icon,
.modern-field select:focus~.field-icon,
.modern-field textarea:focus~.field-icon {
    color: var(--primary);
}

.field-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.modern-field input:focus~.field-border,
.modern-field select:focus~.field-border,
.modern-field textarea:focus~.field-border {
    width: 100%;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modern-field.half {
    width: 100%;
}

.error-message {
    font-size: 0.7rem;
    color: var(--color-error);
    /* Cor de erro mantida por ser universal */
    margin-top: 0.25rem;
    padding-left: 1rem;
}

/* BOTÃO COM LOADING STATE REFINADO */
.submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--border-white-medium), transparent);
    transition: left 0.5s ease;
}

.submit-modern:hover::before {
    left: 100%;
}

.submit-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.submit-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-modern:disabled::before {
    display: none;
}

.loading-spinner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-note i {
    color: var(--primary);
}

/* ===== 5. UNIDADES — MAPA LADO A LADO ===== */
.units-map-section {
    padding: 5rem 0;
}

.units-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.units-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.units-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.units-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.unit-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-light);
}

.unit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.unit-header i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(var(--primary-rgb, 232, 129, 58), 0.1);
    padding: 0.75rem;
    border-radius: 12px;
    transition: all var(--transition-base);
}

.unit-card:hover .unit-header i {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: var(--text-white);
}

.unit-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.unit-map {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.unit-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.3);
    transition: all var(--transition-base);
}

.unit-card:hover .unit-map iframe {
    filter: grayscale(0);
}

.unit-info {
    margin-bottom: 1.5rem;
}

.unit-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    transition: transform var(--transition-base);
}

.unit-info p:hover {
    transform: translateX(5px);
}

.unit-info i {
    color: var(--primary);
    width: 20px;
    font-size: 1rem;
}

.unit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    padding: 0.5rem 0;
    border: none;
}

.unit-link:hover {
    gap: 0.75rem;
    transform: translateX(5px);
}

/* ===== 3. FAQ ===== */
.cinema-faq {
    padding: 6rem 0;
}

.faq-cinema-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.faq-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.faq-cinema-title {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.faq-cinema-desc {
    color: var(--text-white-muted);
    line-height: 1.6;
}

.faq-cinema-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.faq-cinema-item {
    background: var(--border-white-light);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid var(--border-white-medium);
}

.faq-cinema-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb, 232, 129, 58), 0.4);
    border-color: var(--primary);
    background: var(--border-white-medium);
}

.faq-cinema-question {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.question-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    transition: all var(--transition-base);
}

.faq-cinema-item:hover .question-number {
    opacity: 1;
    transform: scale(1.1);
}

.question-text {
    flex: 1;
    font-weight: 600;
    color: var(--text-white-muted);
    font-size: 1rem;
}

.faq-cinema-question i {
    color: var(--primary);
    transition: all var(--transition-base);
}

.faq-cinema-item:hover .faq-cinema-question i {
    transform: scale(1.2);
}

.faq-cinema-item.active .faq-cinema-question i {
    transform: rotate(45deg);
}

.faq-cinema-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.faq-cinema-item.active .faq-cinema-answer {
    max-height: 200px;
    margin-top: 1rem;
}

.faq-cinema-answer p {
    color: var(--text-white-dim);
    line-height: 1.6;
    font-size: 0.9rem;
    padding-left: 2.5rem;
}

/* ===== 6. TOAST — notificações ===== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid;
    animation: slideIn 0.3s ease forwards;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.toast.success {
    border-left-color: var(--color-success);
    /* Mantido por ser cor universal de sucesso */
    background: rgba(var(--color-success-rgb, 16, 185, 129), 0.10);
    /* --color-success com opacity */
}

.toast.error {
    border-left-color: var(--color-error);
    /* Mantido por ser cor universal de erro */
    background: rgba(var(--color-error-rgb, 239, 68, 68), 0.10);
    /* --color-error com opacity */
}

.toast i {
    font-size: 1.25rem;
}

.toast.success i {
    color: var(--color-success);
}

.toast.error i {
    color: var(--color-error);
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-base);
    padding: 0.25rem;
}

.toast-close:hover {
    color: var(--text-primary);
    transform: scale(1.2);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== 7. TOOLTIPS MINIMALISTAS ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 0.5rem 1rem;
    background: var(--text-primary);
    color: var(--bg-color);
    font-size: 0.7rem;
    white-space: nowrap;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
    z-index: 100;
}

[data-tooltip]:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== 8. HORÁRIO DE FUNCIONAMENTO ===== */
.hours-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item i {
    width: 24px;
    color: var(--primary);
    font-size: 1.1rem;
}

.hours-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.hours-item span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.alert-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    padding: 10px var(--space-sm);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.alert-info i {
    color: var(--primary);
}


/* ===== 9. FALLBACKS (@supports) ===== */
/* Fallback para navegadores sem suporte a --primary-rgb */
@supports not (--primary-rgb: 232, 129, 58) {
    .title-line.accent::after {
        background: var(--primary-alpha-10);
    }

    .cinema-overlay {
        background: radial-gradient(circle at 90% 50%, var(--primary-alpha-05) 0%, transparent 70%);
    }

    .message-title .highlight::after {
        background: var(--primary-alpha-15);
    }

    .unit-header i {
        background: var(--primary-alpha-10);
    }

    .faq-cinema-item:hover {
        box-shadow: var(--shadow-lg);
    }

    .alert-info {
        background: var(--primary-alpha-10);
    }
}

/* ===== 10. RESPONSIVIDADE GERAL ===== */
/* (Toda a parte de responsividade permanece IDÊNTICA, só removi os blocos 
   body.dark-theme duplicados pois o main já cuida disso) */

@media (max-width: 1200px) {
    .connection-layout {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 3rem 0;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .hero-right {
        padding: 3rem 0;
    }

    .slide-description {
        max-width: 100%;
    }

    .connection-layout {
        grid-template-columns: 1fr;
    }

    .personal-message {
        padding-right: 0;
    }

    .faq-cinema-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cinema-hero {
        padding-top: 90px;
        min-height: auto;
    }

    .hero-left {
        padding: 2rem 0;
    }

    .hero-right {
        padding: 2rem 0;
    }

    .title-line {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .slide-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .slide-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .slide-btn {
        width: 100%;
        justify-content: center;
    }

    .connection-area {
        padding: 3rem 0;
    }

    .message-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .message-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .people-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .person-card {
        padding: 0.875rem;
    }

    .person-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .form-card-modern {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .form-card-header h3 {
        font-size: 1.3rem;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .units-map-section {
        padding: 3rem 0;
    }

    .units-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .units-title {
        font-size: 2rem;
    }

    .unit-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .unit-map {
        height: 200px;
    }

    .cinema-faq {
        padding: 4rem 0;
    }

    .faq-cinema-title {
        font-size: 2rem;
    }

    .faq-cinema-item {
        padding: 1rem;
    }

    .question-text {
        font-size: 0.9rem;
    }

    .faq-cinema-answer p {
        padding-left: 0;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast {
        min-width: auto;
        width: 100%;
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .cinema-hero {
        min-height: 65vh;
    }

    .title-line {
        font-size: 1.6rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }

    .slide-btn {
        font-size: 0.875rem;
        padding: 0.8rem 1.25rem;
    }

    .units-map-section {
        padding: 2.5rem 0;
    }

    .unit-card {
        padding: 1rem;
    }

    .unit-map {
        height: 180px;
    }

    .faq-cinema-title {
        font-size: 1.5rem;
    }

    .message-title {
        font-size: 1.5rem;
    }

    .form-card-modern {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

/* ===== 11. AJUSTES DE LAYOUT — REESTRUTURAÇÃO ===== */
/* ============================================= */
/* AJUSTES DE LAYOUT — REESTRUTURAÇÃO            */
/* ============================================= */

/* Avatar com iniciais coloridas (equipe) */
.person-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    font-weight: 800;
    color: var(--text-white) !important;
    letter-spacing: 0.5px;
    font-style: normal;
    border-radius: 50%;
}

.person-avatar-initials i {
    display: none;
}

/* Ajuste de padding do personal-message quando à direita */
.personal-message {
    padding-right: 0;
    padding-left: 1rem;
}

/* FAQ antes do formulário — leve separação visual */
.cinema-faq + .connection-area {
    border-top: none;
}

/* Âncora de scroll com offset mais preciso */
#contact-anchor {
    position: relative;
    top: -100px;
    display: block;
}

/* ===================================================================
   TELAS GRANDES — LARGE (≥ 1400px) E XLARGE (≥ 2000px)
   =================================================================== */
 
@media (min-width: 1400px) {
    .hero-layout       { min-height: calc(90vh - 120px); }
    .title-line        { font-size: clamp(2.5rem, 3.5vw, 4rem); }
    .slide-description { font-size: 1.1rem; max-width: 520px; }
    .connection-layout { gap: 5rem; }
    .message-title     { font-size: clamp(2.5rem, 4vw, 3.5rem); }
    .message-text      { font-size: 1.2rem; }
    .units-grid        { max-width: 1200px; }
    .unit-map          { height: 320px; }
    .faq-cinema-grid   { max-width: 1000px; }
}
 
@media (min-width: 2000px) {
    .hero-layout        { min-height: calc(86vh - 130px); }
    .title-line         { font-size: clamp(3rem, 3.5vw, 4.5rem); }
    .slide-description  { font-size: 1.2rem; max-width: 580px; line-height: 1.8; }
    .connection-layout  { gap: 6rem; }
    .message-title      { font-size: clamp(3rem, 4vw, 4rem); }
    .message-text       { font-size: 1.3rem; line-height: 1.9; }
    .form-card-modern   { padding: 3rem; }
    .form-card-header h3 { font-size: 1.8rem; }
    .units-grid         { max-width: 1400px; gap: 2.5rem; }
    .unit-map           { height: 380px; }
    .unit-header h3     { font-size: 1.5rem; }
    .faq-cinema-grid    { max-width: 1200px; }
    .faq-cinema-title   { font-size: 3rem; }
}