@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/* =========================================
   EndGomesAraujo - Landing Page Styles
   Mobile-First | Industrial Premium
   ========================================= */

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

:root {
    --primary: #0A1B54; /* Azul Marinho Principal */
    --primary-light: #152E78;
    --accent: #E30613; /* Vermelho Pulso/Sinal */
    --accent-hover: #B2050E;
    --dark: #07133a;
    --gray-100: #F7F7F8; /* Cinza Suave/Claro */
    --gray-200: #eef1f6;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-700: #575756; /* Cinza Grafite Técnico */
    --white: #ffffff;
    --whatsapp: #25d366;
    --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.18);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

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

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-cta {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
    color: var(--white);
}

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.1rem;
}

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

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* ── Logo END component ── */
.logo-end {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.logo-end__pulse {
    width: 62px;
    min-width: 62px;
    display: flex;
    align-items: center;
}

.logo-end__pulse svg {
    display: block;
    width: 100%;
    height: auto;
}

.logo-end__content {
    flex: 1;
    min-width: 0;
}

.logo-end__title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--primary);
    white-space: nowrap;
}

.logo-end__title strong {
    font-size: clamp(22px, 3vw, 34px);
    line-height: .85;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.logo-end__title span {
    font-size: clamp(9px, 1.2vw, 14px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: .2px;
}

.logo-end__subtitle {
    margin-top: 4px;
    color: #666;
    font-size: clamp(8px, 1vw, 11px);
    line-height: 1.1;
    font-weight: 700;
    font-style: italic;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .logo-end {
        gap: 6px;
    }
    .logo-end__pulse {
        width: 42px;
        min-width: 42px;
    }
    .logo-end__title strong {
        font-size: 20px;
        letter-spacing: -1px;
    }
    .logo-end__title span {
        font-size: 8px;
    }
    .logo-end__subtitle {
        font-size: 7px;
        margin-top: 2px;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(227, 6, 19, 0.08);
}

.nav-cta {
    display: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, rgba(10, 27, 84, 0.65), rgba(7, 19, 58, 0.60)),
                url('../img/capa_site.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: #FFC107; /* Amber/gold check icon for high contrast and premium feel */
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
    background: var(--gray-100);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-bar p {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.trust-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-500);
    opacity: 0.6;
    transition: all var(--transition);
}

.trust-logo:hover {
    opacity: 1;
    color: var(--primary);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   PORTFOLIO / GALLERY
   ========================================= */
.portfolio {
    padding: 5rem 0;
    background: var(--gray-100);
}

/* Filtros estilo app (swipe horizontal) */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0 1.5rem;
    margin-bottom: 1rem;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-200);
}

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

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

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

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

.gallery-overlay h4 {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.gallery-overlay span {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    margin-top: 1rem;
}

.lightbox-caption h4 {
    color: var(--white);
    font-size: 1.1rem;
}

.lightbox-caption span {
    opacity: 0.7;
    font-size: 0.9rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* No results message */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
    display: none;
}

.no-results.show {
    display: block;
}

/* ── Gallery Loading ── */
.gallery-loading {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.gallery-loading.show {
    display: block;
}

.gallery-loading p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.gallery-spinner {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.spinner-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: spinnerBounce 1.4s ease-in-out infinite;
}

.spinner-dot:nth-child(1) {
    animation-delay: 0s;
}

.spinner-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spinnerBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================
   DIFFERENTIALS / PROVA SOCIAL
   ========================================= */
.differentials {
    padding: 5rem 0;
    background: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.diff-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.diff-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.diff-icon {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.diff-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.diff-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Certifications */
.certifications {
    padding: 3rem 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.certifications h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

.cert-badge i {
    font-size: 1.2rem;
}

/* =========================================
   CONTACT / CTA SECTION
   ========================================= */
.contact {
    padding: 5rem 0;
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.info-item i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 2px;
}

.info-item a {
    color: var(--gray-700);
}

.info-item a:hover {
    color: var(--accent);
}

.info-map {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 1rem;
}

.info-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

/* =========================================
   ABOUT / INSTITUTIONAL
   ========================================= */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.about-card {
    background: var(--gray-100);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--primary);
    transition: all var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.about-card h3 i {
    color: var(--accent);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.values-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.values-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.values-item i {
    color: var(--accent);
    margin-top: 3px;
    font-size: 0.9rem;
}

.values-item strong {
    color: var(--primary);
}

/* =========================================
   FOOTER — Mobile-first, Professional
   ========================================= */

/* ── Corpo principal ── */
.footer__body {
    background: var(--dark);
    padding: 3rem 0 2.5rem;
}

/* ── Grid de colunas ── */
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* ── Coluna de marca ── */
.footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Logo dentro do footer — variante clara */
.logo-end--footer .logo-end__title--light {
    color: var(--white);
}

.logo-end--footer .logo-end__subtitle--light {
    color: rgba(255, 255, 255, 0.55);
}

/* Descrição */
.footer__desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 360px;
}

/* Badges de certificação */
.footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.footer__badge i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* ── Títulos de seção ── */
.footer__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ── Links de navegação ── */
.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color var(--transition), gap var(--transition);
}

.footer__links a i {
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    gap: 0.5rem;
}

.footer__links a:hover i {
    transform: translateX(2px);
}

/* ── Lista de contato ── */
.footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.855rem;
    line-height: 1.45;
}

.footer__contact li i {
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: var(--white);
}

/* ── Faixa legal ── */
.footer__legal {
    background: #020b24;
    border-top: 2px solid var(--accent);
    padding: 1rem 0;
}

.footer__legal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.footer__legal p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    margin: 0;
}

.footer__legal-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__legal-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.footer__legal-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__legal-links span {
    color: var(--accent);
    font-size: 0.75rem;
    line-height: 1;
}

/* ── Tablet: 2 colunas ── */
@media (min-width: 640px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__col--brand {
        grid-column: 1 / -1;
    }
}

/* ── Desktop: 3 colunas ── */
@media (min-width: 960px) {
    .footer__grid {
        grid-template-columns: 1.6fr 1fr 1.2fr;
        gap: 3rem;
    }

    .footer__col--brand {
        grid-column: auto;
    }

    .footer__legal-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* =========================================
   FLOATING WHATSAPP (Thumb Zone)
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: var(--whatsapp);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

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

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

/* =========================================
   RESPONSIVE - Tablet (>= 576px)
   ========================================= */
@media (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 25px;
        right: 25px;
    }
}

/* =========================================
   RESPONSIVE - Desktop (>= 992px)
   ========================================= */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    /* Navbar desktop */
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }

    .nav-cta {
        display: inline-flex;
        margin-left: 1rem;
    }

    /* Hero */
    .hero {
        padding: 120px 0 80px;
    }

    .hero-content {
        max-width: 650px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* About */
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    /* Differentials */
    .diff-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .info-map iframe {
        height: 280px;
    }

    /* Lightbox nav */
    .lightbox-prev { left: -70px; }
    .lightbox-next { right: -70px; }

    .whatsapp-float {
        width: 64px;
        height: 64px;
        font-size: 2rem;
        bottom: 30px;
        right: 30px;
    }
}

/* =========================================
   RESPONSIVE - Large Desktop (>= 1200px)
   ========================================= */
@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* =========================================
   LOADING & ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton loading for gallery */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    background: rgba(10, 20, 60, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);

    padding: 1rem 0;

    transform: translateY(110%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;

    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner__icon {
    font-size: 1.6rem;
    color: var(--accent, #e63946);
    flex-shrink: 0;
}

.cookie-banner__text {
    flex: 1;
    min-width: 220px;
    color: #d0d8f0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__link {
    color: #7eb4ff;
    text-underline-offset: 3px;
    font-weight: 600;
}

.cookie-banner__link:hover {
    color: #fff;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner__btn--accept {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.cookie-banner__btn--accept:hover {
    background: var(--primary-dark, #0b1750);
    border-color: var(--primary-dark, #0b1750);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: #a0aec0;
    border-color: #4a5568;
}

.cookie-banner__btn--decline:hover {
    color: #fff;
    border-color: #a0aec0;
}

@media (max-width: 600px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .cookie-banner__actions {
        width: 100%;
    }
    .cookie-banner__btn {
        flex: 1;
        text-align: center;
    }
}
