/* --- FONT IMPORTS & ROOT VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-text: #1a1a1a;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-accent: #000000;
    --color-card-dark-text: #1a1a1a;

    --font-serif: 'Merriweather', serif;
    --font-sans: 'Open Sans', sans-serif;

    --spacing-huge: 120px;
    --spacing-large: 80px;
    --spacing-medium: 40px;
    --border-radius: 8px;
}

/* --- BASE STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative; 
    min-height: 100vh; 
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--color-accent); font-weight: 700; }
h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 25px; }
.hero-section h1 i, .highlight { font-style: italic; font-weight: 400; }
h2 { font-size: 2.6rem; text-align: center; margin-bottom: 20px; }

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px; 
    margin: 0 auto 40px auto;
    color: #555;
    line-height: 1.7;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-large) auto; 
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- NAVBAR --- */
.navbar {
    background: rgba(255,255,255,0.95);
    padding: 20px 0;
    position: fixed; top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo-name { font-size: 1.4rem; font-weight: 800; color: #000; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 1px; }
.logo-tagline { font-size: 1rem; color: #555; display: inline-block; margin-left: 10px; }

.nav-menu a {
    text-decoration: none; 
    color: #333; 
    margin-left: 30px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    font-family: var(--font-sans);
}

.nav-menu .btn-navbar-contact {
    background-color: #000; 
    color: #fff; 
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 30px; 
    text-decoration: none;
    display: inline-block;
}

/* --- SECTIONS --- */
section { padding: var(--spacing-huge) 0; }
.light-bg { background-color: var(--color-bg-alt); }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding-top: 80px;
}
.tag-global-marketing {
    background: #f0f0f0; padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 30px; display: inline-block;
}

/* --- BUTTONS --- */
.hero-actions { display: flex; gap: 20px; justify-content: center; margin-top: 30px; }
.btn {
    padding: 15px 32px; text-decoration: none; font-weight: 700; border-radius: 6px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; display: inline-block; cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary { background: #000; color: #fff; border: 2px solid #000; }
.btn-primary:hover { background: transparent; color: #000; }
.btn-secondary { background: transparent; color: #000; border: 2px solid #ddd; }
.btn-secondary:hover { border-color: #000; }

/* --- GRIDS & CARDS --- */
.grid-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 0; } 
.grid-2-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; margin-top: 0; }

.card, .operation-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    color: var(--color-card-dark-text);
}
.card:hover, .operation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}
.card p { font-size: 1rem; color: var(--color-card-dark-text); }
.card-label { font-size: 0.75rem; text-transform: uppercase; margin-bottom: 12px; display: block; font-weight: 700; letter-spacing: 1px; color: #444; }
.card h3 { font-family: var(--font-sans); font-size: 1.4rem; margin-bottom: 15px; color: var(--color-card-dark-text); }

/* --- VISION BOX --- */
.vision-box {
    background: #ffffff;
    color: var(--color-card-dark-text);
    padding: var(--spacing-large); 
    margin: 0 auto var(--spacing-large) auto; 
    max-width: 900px; 
    border-radius: 12px; 
    text-align: center; 
    border: 1px solid #eee;
}
.vision-box .vision-title { color: var(--color-accent); text-align: center; margin-bottom: 20px; }
.vision-box p { margin-bottom: 20px; color: var(--color-card-dark-text); }

/* --- CONTACT SECTION --- */
.contact-section { text-align: center; background: #fff; }
.contact-details { display: flex; justify-content: center; gap: 80px; margin: 60px 0; }
.contact-item i { font-size: 2.2rem; margin-bottom: 15px; display: block; color: #000; }
.item-label { font-size: 0.8rem; text-transform: uppercase; color: #201212; margin-bottom: 5px; display: block; letter-spacing: 1px; }
.item-value { font-weight: 600; font-size: 1.1rem; }
.btn-dark { background: #000000; color: #ffffff; padding: 16px 45px; border: none; border-radius: 6px; font-weight: 700; letter-spacing: 1px; }
.btn-dark:hover { opacity: 0.85; transform: translateY(-2px); }


/* ----------------------------------------------------- */
/* --- FOOTER: ADJUSTMENTS FOR LAYOUT AND MOBILE ORDER --- */
/* ----------------------------------------------------- */
.footer { 
    background-color: #000; 
    color: #fff; 
    padding: 20px 0; 
    font-size: 0.85rem; 
    width: 100%; 
    box-sizing: border-box; 
    margin-top: 0; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    margin: 3px 0;
    text-align: left;
}

.company-address {
    font-size: 14px;
    opacity: 0.8;
}

/* General Footer Link Styling */
.footer a,
.footer a:visited {
    color: #fff;
    text-decoration: none;
    opacity: 0.6;
}

.footer a:hover {
    opacity: 1;
}

/* Footer Links & Social Grouping (Desktop: Right Side) */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align links and social to the right */
    gap: 12px;
}

/* Links (side-by-side) */
.footer-links {
    display: flex;
    gap: 25px;
}
.footer-links a { margin-left: 0; font-weight: 500; } 


/* --------------------------------------- */
/* --- MODAL / OVERLAY: FIX APPLIED HERE --- */
/* --------------------------------------- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    z-index: 99999;
    padding: 40px 20px;
    overflow-y: auto;
    display: flex; 
    justify-content: center;
    /* Base hidden state */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* CRUCIAL FIX: Ensure immediate hiding on page load */
.modal-overlay.hidden { 
    display: none !important; 
}

.modal-overlay.active { 
    opacity: 1; 
    pointer-events: all; 
    display: flex; /* Re-enable display when active */
}

.modal-content { max-width: 800px; width: 100%; margin: 0 auto; padding-bottom: 120px; }
.btn-back { display: inline-block; border: 1px solid #ddd; padding: 10px 25px; color: #555; text-decoration: none; border-radius: 6px; margin-bottom: 50px; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; }
.btn-back:hover { background: #000; color: #fff; border-color: #000; }

/* --- POLICY CONTENT --- */
.policy-content { text-align: left; }
.policy-content h2 { font-size: 2.5rem; margin-bottom: 10px; text-align: left; }
.update-info { color: #777; font-style: italic; margin-bottom: 40px; display: block; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.policy-content h3 { font-size: 1.5rem; color: #000; margin-top: 40px; margin-bottom: 15px; font-family: var(--font-sans); }
.policy-content p { font-size: 1rem; color: var(--color-card-dark-text); margin-bottom: 15px; line-height: 1.7; }
.policy-content ul { margin-left: 20px; margin-bottom: 20px; }
.policy-content li { margin-bottom: 10px; color: var(--color-card-dark-text); }
.policy-content a { color: #000; font-weight: 600; }


/* ----------------------------- */
/* --- MOBILE RESPONSIVENESS --- */
/* ----------------------------- */
@media (max-width: 768px) {
    /* General Mobile Adjustments */
    h1 { font-size: 2.4rem; }
    .grid-4-col, .grid-2-col { grid-template-columns: 1fr; gap: 30px; }
    .contact-details { flex-direction: column; gap: 40px; }
    .navbar .container { flex-direction: row; justify-content: space-between; }
    .nav-menu { display: none !important; }
    .btn-navbar-contact { display: inline-block; font-size: 0.85rem; padding: 6px 16px; z-index: 1010; }
    .logo-tagline { display: none; }
    .logo-name { font-size: 1.3rem; }
    :root { --spacing-huge: 80px; }
    .modal-content { padding: 0 10px; padding-bottom: 100px; }
    
    /* FOOTER ORDERING FIX: Icon (Top Right) -> Copyright (Center) -> Links (Bottom) */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* 1. Icon and Links block moves to the top */
    .footer-right {
        align-items: center; 
        order: 1; 
        width: 100%; 
    }
    
    /* 2. Copyright block moves to the center */
    .footer-left {
        text-align: center;
        order: 2; 
        margin-bottom: 15px; /* Adicionado para separar do .footer-links */
    }

    .footer-left p {
        text-align: center;
    }

    /* Footer Links alignment (Stays centered within the bottom section) */
    .footer-links {
        order: 3;
        gap: 15px; 
        justify-content: center; 
        width: 100%;
    }
}

/* Additional responsive grids */
@media (max-width: 900px) {
    .grid-4-col { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
    .grid-4-col, .grid-2-col { grid-template-columns: 1fr !important; }
}

.footer-social {
    display: flex; 
    align-items: center;
    margin-bottom: 5px; 
}


.footer-instagram {
    opacity: 1; 
}

/* RULES FOR THE PNG IMAGE (Size and Opacity) */
.instagram-icon-img {
    /* Define the size previously used by 1.8rem */
    width: 20px; 
    height: 20px; 
    /* Default opacity (like other footer links) */
    opacity: 0.6; 

    /* Vertical alignment for proper positioning */
    vertical-align: middle; 
}

/* Hover effect: Returns to full opacity */
.footer-instagram:hover .instagram-icon-img {
    opacity: 1; 
}

/* Mobile adjustments (to ensure icon is always on top) */
@media (max-width: 768px) {
    
    /* Ensures correct order and alignment for social on mobile */
    .footer-social {
        align-self: center; 
        padding-right: 0; 
        margin-bottom: 5px; 
        order: 1; 
    }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer {
  background-color: #1a1a1a;
  color: #ffffff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
}

/* Left side */
.footer-left {
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: #ffffff;
}

.address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Right side */
.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.instagram-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.instagram-link:hover {
  color: #ffffff;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: #ffffff;
}

/* Responsive - Desktop */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }

  .footer-left {
    text-align: left;
  }
}

/* Responsive - Larger screens */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}



