/* ==========================================
   MADI Construtora - Modern & Minimalist Design
   ========================================== */

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

:root {
    /* Colors - Based on logo */
    --primary: #003366;
    --primary-light: #0047AB;
    --primary-dark: #002244;
    --secondary: #6C757D;
    --accent: #FFA500;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-gray: #999999;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border: #E5E5E5;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

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

.nav-link-cta {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    color: var(--accent);
    margin-left: 0.2rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.7;
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    background: #FF8C00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

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

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

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

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

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   OBRAS SECTION
   ========================================== */
.obras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.obra-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.obra-card.large {
    grid-column: span 2;
}

.obra-image {
    height: 350px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.obra-card:not(.large) .obra-image {
    height: 250px;
}

.oca-ibirapuera {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../images/obras/oca/Imagem1.jpg');
}

.ct-corinthians {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../images/obras/ct-corinthians/Foto1647.jpg');
}

.ceu-guarulhos {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../images/obras/ceu-guarulhos/Foto3000.jpg');
}

.coronel-almeida {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../images/escolas/coronel-almeida/Foto0039.jpg');
}

.obra-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.obra-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.obra-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.obra-location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.obra-location::before {
    content: '📍';
}

.obra-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    flex: 1;
}

.obra-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.tag {
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 0.8rem;
    border-radius: 6px;
    font-weight: 500;
}

.obra-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: auto;
}

.obra-link:hover {
    gap: 0.8rem;
    color: var(--primary-light);
}

/* ==========================================
   ESCOLAS SECTION
   ========================================== */
.escolas-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.02) 0%, rgba(0, 71, 171, 0.05) 100%);
}

.escolas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.escola-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.escola-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.escola-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.escola-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.escola-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.escola-card.escola-destaque {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05), rgba(0, 71, 171, 0.1));
    border: 2px solid var(--primary);
}

.escola-card.escola-destaque:hover {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.1), rgba(0, 71, 171, 0.15));
}

.escola-badge {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.escolas-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.escolas-cta p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   SERVICOS SECTION
   ========================================== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.servico-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

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

.servico-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.servico-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.servico-card > p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.servico-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.servico-list li {
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.servico-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================
   SOBRE SECTION
   ========================================== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: 8px;
}

.feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

.sobre-info {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.sobre-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.sobre-info p:last-child {
    margin-bottom: 0;
}

.sobre-image {
    height: 500px;
    position: relative;
}

.image-wrapper {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.image-badge {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: white;
    color: var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   CONTATO SECTION
   ========================================== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Form */
.contato-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

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

.form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-cnpj {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.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: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.8);
    }
}

/* ==========================================
   GALLERY MODAL
   ========================================== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.gallery-modal.active {
    display: block;
}

.gallery-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    transition: var(--transition);
}

.gallery-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.gallery-content {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-title {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .obra-card.large {
        grid-column: span 1;
    }

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

    .sobre-grid,
    .contato-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .sobre-image {
        height: 300px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

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

@media (max-width: 480px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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