/* ============================================
   ALQUITAURUS CORPORATE HOLDING
   Identidade Visual: Roxo (#6B21A8) + Verde Lima (#7ED321)
   Responsivo: Mobile, Tablet, Desktop, TV, 4K
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-dark: #4A1578;
    --purple: #6B21A8;
    --purple-light: #8B5CF6;
    --purple-lighter: #A78BFA;
    --green: #7ED321;
    --green-dark: #5FA318;
    --green-light: #A3E635;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* === PRELOADER === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader { text-align: center; }

.loader-icon {
    font-size: 60px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* === HEADER / NAVBAR === */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(107, 33, 168, 0.2);
}

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

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-light), var(--green));
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--purple-dark) 50%, var(--dark-light) 100%);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(107, 33, 168, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(126, 211, 33, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(107, 33, 168, 0.2) 0%, transparent 40%);
    animation: bgFloat 8s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(10px, -10px); }
    66% { transform: scale(0.95) translate(-10px, 10px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(126, 211, 33, 0.15);
    border: 1px solid rgba(126, 211, 33, 0.3);
    border-radius: 50px;
    color: var(--green);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--white);
}

.text-purple { color: var(--purple-light); }
.text-green { color: var(--green); }

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray-300);
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--gray-400);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.5);
}

.btn-outline {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--green);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* === SECTIONS === */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.1), rgba(126, 211, 33, 0.1));
    border-radius: 50px;
    color: var(--purple);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* === SOBRE === */
.sobre {
    background: var(--gray-100);
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.sobre-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.sobre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sobre-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.sobre-icon.icon-green {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.sobre-card h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.text-small {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 400;
}

.sobre-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.sobre-resumo {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
}

.sobre-resumo-content p {
    color: var(--gray-200);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

/* === UNIDADES === */
.unidades {
    background: var(--white);
}

.unidade-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.unidade-card:hover {
    border-color: var(--purple-lighter);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.unidade-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.unidade-numero {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.unidade-nome {
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--gray-900);
}

.unidade-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(107, 33, 168, 0.1);
    color: var(--purple);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.unidade-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.unidade-descricao p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.unidade-servicos {
    margin-bottom: 25px;
}

.unidade-servicos li {
    padding: 8px 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.unidade-servicos li i {
    color: var(--green);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.unidade-destaque {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.destaque-item {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.destaque-item:hover {
    border-color: var(--purple-lighter);
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.05), rgba(126, 211, 33, 0.05));
}

.destaque-item i {
    font-size: 2rem;
    color: var(--purple);
    margin-bottom: 10px;
    display: block;
}

.destaque-item span {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
}

/* === FUNDADOR === */
.fundador {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.fundador-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.fundador-avatar {
    position: sticky;
    top: 120px;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.3);
}

.fundador-info h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.fundador-cargo {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(126, 211, 33, 0.15);
    color: var(--green-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.fundador-bio p {
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.9;
}

.fundador-timeline {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.timeline-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 15px 20px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    transition: var(--transition);
}

.timeline-item:hover {
    border-color: var(--purple-lighter);
    box-shadow: var(--shadow);
}

.timeline-year {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 5px;
}

.timeline-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* === CONTATO === */
.contato {
    background: var(--white);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contato-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contato-item h4 {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3px;
}

.contato-item p a {
    color: var(--gray-600);
    word-break: break-all;
}

.contato-item p a:hover {
    color: var(--purple);
}

.contato-redes {
    margin-top: 30px;
}

.contato-redes h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.redes-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.redes-icons a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    transition: var(--transition);
}

.redes-icons a:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-3px);
}

/* === FORM === */
.contato-form-wrapper {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contato-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-secondary);
    font-size: 16px; /* Prevent iOS zoom */
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

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

/* === ALERTS === */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-success {
    background: rgba(126, 211, 33, 0.1);
    border: 1px solid rgba(126, 211, 33, 0.3);
    color: var(--green-dark);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #DC2626;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--green);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* === SCROLL ANIMATIONS === */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.unidade-card.animate-element:nth-child(2) { transition-delay: 0.15s; }
.unidade-card.animate-element:nth-child(3) { transition-delay: 0.3s; }
.sobre-card.animate-element:nth-child(2) { transition-delay: 0.15s; }

/* ============================================
   RESPONSIVE - LARGE DESKTOP (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .section {
        padding: 120px 0;
    }

    .sobre-card {
        padding: 50px;
    }

    .unidade-card {
        padding: 50px;
    }

    .sobre-resumo {
        padding: 60px;
    }

    .contato-form-wrapper {
        padding: 50px;
    }
}

/* ============================================
   RESPONSIVE - 4K / TV (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1500px;
    }

    .section {
        padding: 140px 0;
    }

    .hero {
        min-height: 100vh;
    }

    .footer-content {
        gap: 60px;
    }
}

/* ============================================
   RESPONSIVE - Ultra Wide / 4K TV (2560px+)
   ============================================ */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }

    .container {
        max-width: 1800px;
    }

    .whatsapp-float {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        bottom: 50px;
        right: 50px;
    }
}

/* ============================================
   RESPONSIVE - TABLET LANDSCAPE (1024px)
   ============================================ */
@media (max-width: 1024px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .unidade-body {
        grid-template-columns: 1fr;
    }

    .fundador-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fundador-avatar {
        position: static;
        display: flex;
        justify-content: center;
    }

    .fundador-bio {
        text-align: left;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE - TABLET PORTRAIT (768px)
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contato-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fundador-timeline {
        flex-direction: column;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .sobre-resumo {
        padding: 30px 20px;
    }

    .unidade-card {
        padding: 25px;
    }

    .unidade-destaque {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .destaque-item {
        padding: 18px 12px;
    }

    .contato-form-wrapper {
        padding: 25px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE PORTRAIT (480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
        letter-spacing: 1px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .sobre-card {
        padding: 25px;
    }

    .sobre-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .unidade-card {
        padding: 20px;
    }

    .unidade-header {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .unidade-destaque {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .destaque-item {
        padding: 15px 10px;
    }

    .destaque-item i {
        font-size: 1.5rem;
    }

    .contato-form-wrapper {
        padding: 20px 15px;
    }

    .avatar-placeholder {
        width: 180px;
        height: 180px;
        font-size: 3.5rem;
    }

    .redes-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE - SMALL PHONES (360px)
   ============================================ */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .unidade-destaque {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .destaque-item {
        padding: 12px 8px;
    }

    .destaque-item i {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .destaque-item span {
        font-size: 0.75rem;
    }

    .timeline-item {
        min-width: 100px;
        padding: 12px 15px;
    }

    .avatar-placeholder {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION (Mobile)
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin-bottom: 20px;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 50px 0;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    #preloader,
    .whatsapp-float,
    .hero-bg-animation,
    .hero-scroll,
    .hamburger,
    #header {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
        background: #fff !important;
        color: #000 !important;
    }

    .hero-title {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .section {
        padding: 30px 0;
        page-break-inside: avoid;
    }

    .unidade-card,
    .sobre-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .footer {
        background: #fff !important;
        color: #000 !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ============================================
   REDUCED MOTION (Accessibility)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-bg-animation {
        animation: none;
    }

    .whatsapp-float {
        animation: none;
    }

    .animate-element {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   HIGH CONTRAST (Accessibility)
   ============================================ */
@media (prefers-contrast: high) {
    .sobre-card,
    .unidade-card,
    .timeline-item,
    .destaque-item {
        border-width: 2px;
        border-color: #000;
    }

    .btn-primary {
        border: 2px solid #fff;
    }

    .btn-outline {
        border-width: 3px;
    }
}

/* === FOTO DO FUNDADOR === */
.fundador-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(107, 33, 168, 0.3);
}

.fundador-avatar {
    width: 300px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(126, 211, 33, 0.3);
}

@media (max-width: 768px) {
    .fundador-avatar {
        width: 220px;
        height: 280px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 480px) {
    .fundador-avatar {
        width: 180px;
        height: 230px;
    }
}
