/* =========================================
   Reset & Base Typography 
   ========================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Host Grotesk', sans-serif;
}

/* =========================================
   Header Layout (Matching Site Design)
   ========================================= */
.header {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 15px 30px;
    background-color: transparent;
    position: relative; 
    border-bottom: 1px solid #000000;
    z-index: 10;
}

.logo img {
    background-color: transparent;
    display: block;
    cursor: pointer;
}

.menu-toggle {
    position: absolute;
    right: 30px; 
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle img {
    width: 30px;
    height: auto;
    display: block;
}


nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Sits immediately below the header */
    left: 0;
    width: 100%;
    
    background-color: #ffffff; 
    box-shadow: none; 
    border-bottom: 1px solid #000000;
    z-index: 10;
}

nav.active {
    display: block;
}

.nav-menu {
    display: flex;
    flex-direction: column; 
    align-items: stretch;
    padding: 0; 
    gap: 0; 
    list-style: none;
}

.nav-menu li {
    border-top: 1px solid #000000;
    height: 60px; 
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: #000000;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    
}

   #navLang ul {

    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Add the physical compartment borders for each language */
#navLang li {
    border-top: 1px solid #000000;
    height: 60px; /* Fixed height for mechanical feel */
    display: flex;
    align-items: center;
}

/* Style the links to match the main menu */
#navLang a {
    color: #000000;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px; /* Aligns the text with the main menu */
}






/* =========================================
   Desktop Header (Bigger than 765px)
   ========================================= */
   @media (min-width: 766px) {
    .header {
        justify-content: space-between; 
        padding: 20px 40px;
    }

    .menu-toggle {
        display: none;
    }

        #navMenu {
            display: block !important; 
            position: static;
            width: auto;
            background-color: transparent;
            border: none;
        }
    
        #navLang {
            width: 150px;
            left: auto;
            right: 40px; 
            top: 70px;
            border-left: 1px solid #000000;
            border-right: 1px solid #000000;
        }
    
        .nav-menu {
            display: flex;
            flex-direction: row;
            gap: 6px 40px; 
            padding: 0;
        }

    .nav-menu li {
        border: none;
        height: auto;
        display: flex;
        align-items: center;
    }

    .nav-menu a {
        font-size: 0.95rem;
        font-weight: 700;
        padding: 0;
        color: #000000;
    }
}

@media (max-width: 766px) {

    #navLang{
        background: #dfdfdf;
    }
    .langBt {
        background: #dfdfdf;
    }
}







.contact-hero {
    position: relative;
    overflow: hidden; 
    /* NEW: Controls the height of the hero section */
    height: 40vh; 
    min-height: 350px; 
    max-height: 500px;
}

.contact-hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; 
    max-width: 800px;
    text-align: center;
    color: #000; 
    z-index: 1;
}

.contact-hero img {
    filter: grayscale(100%) blur(5px);
    width: 100%;
    height: 100%;
    object-fit: cover; 
    
    display: block;
    transform: scale(1.02);
    position: relative;
    z-index: 0;
}

/* =========================================
   Contact Content Layout
   ========================================= */
.contact-content {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

/* --- Contact Information (Utilitarian) --- */
.contact-information {
    border-top: 3px solid #000000; /* Industrial anchor line */
    padding-top: 30px;
}

.contact-information h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.contact-information p {
    font-size: 1.1rem;
    color: #111;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-information a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-information a:hover {
    border-bottom: 2px solid #000000;
}

/* --- Contact Form (Anti-softness styling) --- */
.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border: 2px solid #000000; 
    border-radius: 0;
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #000000;
    padding-bottom: 15px;
    display: inline-block;
}

/* Overriding HTML line breaks for better CSS layout control */
.contact-form br {
    display: none;
}

.contact-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin-top: 25px;
    margin-bottom: 8px;
}

.contact-form label:first-of-type {
    margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #000000;
    border-radius: 0; 
    font-family: inherit;
    font-size: 1rem;
    background-color: #f4f4f4;
    color: #000000;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border: 2px solid #000000; 
    background-color: #ffffff;
}

/* Mechanical CTA button */
.contact-form button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 50px; 
    border: 2px solid #000000;
    border-radius: 0; 
    cursor: pointer;
    margin-top: 30px;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}


textarea {
    resize: vertical;
}

.g-recaptcha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4; /* Matches your image wrapper background */
    border: 1px solid #000000; /* Sharp, utilitarian border */
    border-radius: 0;          /* Strict corners */
    padding: 0.5rem;           /* Breathing room around the iframe */
    box-shadow: none;
}



.contact-form button:hover {
    background-color: #ffffff;
    color: #000000;
}

/* =========================================
   Map Section
   ========================================= */
.map {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.map h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    border-top: 3px solid #000000;
    padding-top: 20px;
}

.map iframe {
    border: 1px solid #000000 !important;
    filter: grayscale(80%) contrast(1.1); 
}

/* footer */

.site-footer {
    background-color: #000000; 
    color: #d3d2d2;
    padding: 65px 10% 35px; 
    font-size: 0.9rem;
    -webkit-font-smoothing: antialiased; 
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    font-size: 1.20rem; /* 0.85 */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.footer-section p, 
.footer-section address {
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 12px;
    color: #d3d2d2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer a {
    color: #d3d2d2;
    text-decoration: none;
    transition: color 0.05s ease;
}

.site-footer a:hover {
    color: #ffffff; 
}

.facebook a:hover {
    color: #1877F2;
}

.instagram a:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  
  -webkit-background-clip: text;
  background-clip: text;
  
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.linkedin a:hover{
    background: linear-gradient(45deg, #004182 0%, #0A66C2 50%, #00A0DC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}



.footer-bottom {
    max-width: 1200px;
    margin: 80px auto 0;
    padding-top: 24px;
    border-top: 1px solid #1a1a1a; 
    font-size: 0.8rem;
    color: #555555;
    text-align: left; 
}

/* =========================================
   Mobile Adjustments
   ========================================= */
   @media (max-width: 768px) {

    .site-footer {
        padding: 60px 24px 30px;
    }
    
    .footer-container {
        display: grid;
        /* Usamos auto em vez de 1fr para não esticar, e centramos a grelha */
        grid-template-columns: auto auto; 
        justify-content: center;
        gap: 48px 40px; 
    }
    
    .footer-section {
        text-align: left; 
    }
    
    .footer-bottom {
        margin-top: 60px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 50px auto;
    }

    .contact-form {
        padding: 25px;
    }




}

