/* style.css - Redesign v2.0 - Clean, Modern UX */

/* ======= RESET E VARIÁVEIS GLOBAIS ======= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Cores (Mantidas) */
    --clr-primary: #8de4c3; --clr-primary-dark: #6bc4a3; --clr-primary-light: #a9ecd2;
    --clr-secondary: #4a7a68; --clr-secondary-dark: #3a6153; --clr-accent: #2d6e5b;
    --clr-text: #212529; --clr-text-rgb: 33, 37, 41;
    --clr-text-light: #555555; --clr-text-lighter: #777777;
    --clr-bg: #ffffff; --clr-bg-light: #f8f9fa; --clr-border: #dee2e6;
    --clr-white: #ffffff; --clr-black: #000000; --clr-whatsapp: #25D366;

    /* Fontes */
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Espaçamentos (Refinados) */
    --space-xs: 0.5rem;  --space-sm: 1rem;   --space-md: 1.75rem;
    --space-lg: 3rem;   --space-xl: 5rem;   --space-xxl: 6.5rem;

    /* Bordas (Refinadas) */
    --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-circle: 50%;

    /* Sombras (Refinadas) */
    --shadow-sm: 0 3px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Transições */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Header */
    --header-height-initial: 75px;
    --header-height-sticky: 65px;
}

/* === ESTILOS GLOBAIS === */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height-sticky) + 20px); /* Ajuste para sticky header */
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    line-height: 1.7;
    background-color: var(--clr-bg);
    overflow-x: hidden;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p { margin-bottom: var(--space-sm); color: var(--clr-text-light); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.2rem); }

a { text-decoration: none; color: var(--clr-accent); transition: color var(--transition-normal); }
a:hover { color: var(--clr-primary-dark); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); vertical-align: middle; }
ul, ol { list-style: none; padding: 0; }
li { margin-bottom: var(--space-xs); }
strong, b { font-weight: 700; color: var(--clr-text); }
small { font-size: 0.9em; color: var(--clr-text-lighter); }

/* === CONTAINER E UTILITÁRIOS === */
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 var(--space-md); }
.text-center { text-align: center; }
.bg-light { background-color: var(--clr-bg-light); }
.bg-gradient { background: linear-gradient(135deg, var(--clr-secondary), var(--clr-accent)); }
.section { padding: var(--space-xl) 0; position: relative; }
.section-header { margin-bottom: var(--space-lg); text-align: center; }
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--clr-secondary);
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--clr-primary);
    margin: var(--space-sm) auto 0;
}
.section-title.light { color: var(--clr-white); }
.section-title.light::after { background-color: var(--clr-white); }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    margin-top: var(--space-xs);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle.light { color: rgba(255, 255, 255, 0.9); }
.intro-text {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-align: center;
    font-size: 1.1rem;
    color: var(--clr-text-light);
    line-height: 1.8;
}
.lead {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}
.rounded-image { border-radius: var(--radius-lg); }

/* === BOTÕES GLOBAIS === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    font-size: 0.9rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn i, .btn img { margin: 0 0.4rem; vertical-align: middle; font-size: 1em; }

.btn-primary { background-color: var(--clr-primary); color: var(--clr-accent); border-color: var(--clr-primary); }
.btn-primary:hover { background-color: var(--clr-primary-dark); border-color: var(--clr-primary-dark); color: var(--clr-white); }

.btn-secondary { background-color: var(--clr-accent); color: var(--clr-white); border-color: var(--clr-accent); }
.btn-secondary:hover { background-color: var(--clr-secondary); border-color: var(--clr-secondary); color: var(--clr-white); }

.btn-outline { background-color: transparent; border: 2px solid var(--clr-primary-dark); color: var(--clr-secondary-dark); box-shadow: none; font-weight: 600; }
.btn-outline:hover { background-color: var(--clr-primary-light); color: var(--clr-accent); transform: translateY(-2px); border-color: var(--clr-primary-dark); }

.btn-outline-light { background-color: transparent; border: 2px solid var(--clr-white); color: var(--clr-white); box-shadow: none; }
.btn-outline-light:hover { background-color: rgba(255, 255, 255, 0.1); border-color: var(--clr-white); color: var(--clr-white); transform: translateY(-2px); }

.btn-whatsapp { background-color: var(--clr-whatsapp); color: var(--clr-white); border-color: var(--clr-whatsapp); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-whatsapp:hover { background-color: #20c15a; border-color: #20c15a; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-whatsapp i { margin-right: var(--space-sm); font-size: 1.2rem; }

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background-color: var(--clr-primary-light);
    color: var(--clr-accent);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.9rem;
    box-shadow: none;
}
.btn-download i { width: 16px; height: 16px; margin-right: var(--space-xs); }
.btn-download:hover { background-color: var(--clr-primary); color: var(--clr-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--clr-primary-dark); }
.file-size { font-size: 0.8rem; opacity: 0.8; margin-left: 0.5rem; }

/* ======= GLOBAL HEADER STYLES ======= */
#header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.97); /* Slightly transparent */
    backdrop-filter: blur(8px); /* Blur effect */
    box-shadow: none; /* Initial shadow removed */
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
    height: var(--header-height-initial);
}
#header.sticky {
    height: var(--header-height-sticky);
    box-shadow: var(--shadow-md); /* Add shadow when sticky */
    background-color: rgba(255, 255, 255, 0.98); /* Slightly less transparent */
}
#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    transition: height var(--transition-normal);
}
#header .logo img {
    max-height: calc(var(--header-height-initial) - 28px); /* Adjust padding */
    transition: max-height var(--transition-normal);
}
#header.sticky .logo img {
    max-height: calc(var(--header-height-sticky) - 20px); /* Adjust padding for sticky */
}
#header .logo a:hover img { transform: scale(1.03); }

/* Menu Desktop */
#header nav .menu { display: flex; align-items: center; }
#header nav .menu li { margin-left: var(--space-md); }
#header nav .menu a {
    font-family: var(--font-heading);
    color: var(--clr-text-light);
    font-weight: 500; /* Regular weight */
    font-size: 0.9rem;
    padding: 0.5rem 0; /* Only bottom padding needed */
    position: relative;
    letter-spacing: 0.5px;
    transition: color var(--transition-normal);
}
#header nav .menu a::after { /* Underline effect */
    content: '';
    position: absolute;
    bottom: -8px; /* Position below text */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary-dark);
    transition: width var(--transition-normal);
}
#header nav .menu a:hover::after,
#header nav .menu a.active::after { width: 100%; }
#header nav .menu a:hover,
#header nav .menu a.active { color: var(--clr-secondary); }

/* Botão Mobile */
#header nav .mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100; /* Above overlay */
}
#header nav .mobile-menu-btn span { /* Hamburger lines */
    display: block;
    width: 25px;
    height: 2px; /* Thinner lines */
    background-color: var(--clr-text);
    margin: 6px 0;
    transition: all var(--transition-normal);
    border-radius: 1px;
}

/* Menu Mobile Lateral (Estilos quando ativo via JS) */
/* Esses estilos serão aplicados quando .active for adicionado via JS */
#header nav .menu.active { display: flex; /* Flex é definido aqui */ }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1040; opacity: 0; visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}
.menu-overlay.active { opacity: 1; visibility: visible; }
/* Fim Global Header */


/* ======= ESTILOS PARA COMPONENTES ESPECÍFICOS ======= */

/* --- Banner (Home) --- */
#header + #banner { margin-top: var(--header-height-initial); } /* Push content below header */
#header.sticky + #banner { margin-top: var(--header-height-sticky); }
#banner { position: relative; overflow: hidden; background-color: var(--clr-secondary-dark); }
.banner-container { position: relative; height: calc(90vh - var(--header-height-initial)); min-height: 450px; max-height: 650px; }
#header.sticky + #banner .banner-container { height: calc(90vh - var(--header-height-sticky)); }

.banner-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease-in-out;
    display: flex; align-items: center; justify-content: flex-start; /* Align content left */
}
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-slide::before { /* Dark overlay for text contrast */
    content:''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(80deg, rgba(var(--clr-text-rgb), 0.65) 0%, rgba(var(--clr-text-rgb), 0.2) 50%, rgba(var(--clr-text-rgb), 0) 80%);
    z-index: 1;
}
.banner-slide img { /* Background image */
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; /* Cover the area */
    object-position: center;
}
.banner-content {
    position: relative; z-index: 2; max-width: 600px;
    padding: var(--space-lg); margin-left: 8%; /* Position content left */
    color: var(--clr-white);
    background-color: rgba(var(--clr-text-rgb), 0.4); /* Semi-transparent background */
    border-radius: var(--radius-lg);
    backdrop-filter: blur(6px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: bannerFadeInUp 0.9s ease-out 0.3s backwards; /* Entry animation */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4); /* Ensure text readability */
}
@keyframes bannerFadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}
.banner-content h1, .banner-content h2 { color: var(--clr-white); margin-bottom: var(--space-sm); line-height: 1.2; font-weight: 700; }
.banner-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.banner-content h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
.banner-content p { font-size: 1.15rem; margin-bottom: var(--space-md); opacity: 0.95; font-weight: 400; color: var(--clr-white); }
.banner-content .btn { margin-top: var(--space-sm); padding: 0.8rem 1.8rem; font-size: 0.95rem;}

.banner-controls { position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%); display: flex; align-items: center; z-index: 10; }
.prev-btn, .next-btn {
    background-color: rgba(0,0,0,0.3); color: var(--clr-white);
    border: 1px solid rgba(255,255,255,0.2);
    width: 40px; height: 40px; border-radius: var(--radius-circle);
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; font-size: 1.5rem;
    transition: background-color var(--transition-normal), transform var(--transition-fast);
    margin: 0 8px;
}
.prev-btn:hover, .next-btn:hover { background-color: rgba(0, 0, 0, 0.5); transform: scale(1.05); }
.banner-dots { display: flex; margin: 0 var(--space-sm); align-items: center; }
.dot {
    width: 10px; height: 10px; border-radius: var(--radius-circle);
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 6px; cursor: pointer;
    transition: background-color var(--transition-normal), transform var(--transition-normal), width var(--transition-normal), height var(--transition-normal);
}
.dot.active { background-color: var(--clr-white); transform: scale(1.1); border-color: var(--clr-white); width: 12px; height: 12px;}
.dot:hover { background-color: rgba(255, 255, 255, 0.8); }

/* --- Cabeçalho de Página Interna --- */
.page-header {
    background: var(--clr-bg-light);
    border-bottom: 1px solid var(--clr-border);
    color: var(--clr-text);
    padding: var(--space-lg) 0; /* Increased padding */
    margin-top: var(--header-height-initial); /* Push below header */
    text-align: center;
}
#header.sticky + .page-header { margin-top: var(--header-height-sticky); }
.page-header h1 { color: var(--clr-secondary-dark); margin-bottom: var(--space-xs); font-size: 2.8rem; }
.page-header p { font-size: 1.15rem; color: var(--clr-text-light); max-width: 650px; margin: 0 auto; }

/* --- Componentes --- */
.card-base {
    background-color: var(--clr-white);
    border-radius: var(--radius-lg); /* Slightly larger radius */
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    border: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column; /* Align content vertically */
    height: 100%; /* Make cards in a row equal height */
}
.card-base:hover {
    transform: translateY(-6px); /* Subtle lift */
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary); /* Highlight on hover */
}
.card-base h3 { font-size: 1.25rem; margin-top: var(--space-sm); margin-bottom: var(--space-sm); color: var(--clr-secondary-dark); font-weight: 600; }
.card-base p { font-size: 0.95rem; color: var(--clr-text-light); margin-bottom: 0; flex-grow: 1; /* Push button to bottom if exists */ }

.card-icon {
    width: 60px; height: 60px;
    margin: 0 auto var(--space-md);
    display: flex; justify-content: center; align-items: center;
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
    border-radius: var(--radius-circle);
    color: var(--clr-accent);
    font-size: 1.7rem; /* Icon size */
}

/* Grids */
.services-grid, .missao-visao-valores-grid, .estrutura-grid, .diretoria-grid, .relatorios-grid, .contato-grid, .footer-grid, .parceiros-logos-grid, .counter-grid, .gallery-images {
    display: grid;
    gap: var(--space-md); /* Consistent gap */
}
/* Specific Grid Layouts */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1100px; margin: var(--space-lg) auto 0; }
.missao-visao-valores-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-lg); }
.estrutura-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-lg); }
.diretoria-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 800px; margin: 0 auto; gap: var(--space-lg); }
.relatorios-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contato-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); align-items: stretch; gap: var(--space-lg); }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); }
.parceiros-logos-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-md); align-items: center; max-width: 900px; margin: 0 auto var(--space-xl); }
.counter-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; color: var(--clr-white); gap: var(--space-sm); }
.gallery-images { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-sm); }

/* Componentes Específicos */
.service-card, .mvv-card, .estrutura-card { padding: var(--space-lg) var(--space-md); } /* More padding */
.diretor-card, .relatorio-card { padding: var(--space-md); }

.relatorio-card p { margin-bottom: var(--space-md); font-size: 0.9rem; color: var(--clr-text-light); }
.relatorio-card h3 { margin-bottom: var(--space-xs); font-size: 1.2rem; color: var(--clr-secondary-dark); }
.relatorio-card .btn-download { margin-top: auto; } /* Push download to bottom */

.diretor-img {
    width: 160px; height: 160px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-circle);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--clr-white); /* Frame */
    position: relative; /* For potential overlays or effects */
}
.diretor-img img { width: 100%; height: 100%; object-fit: cover; }
.diretor-card h2 { font-size: 1.3rem; margin-bottom: 0; color: var(--clr-secondary-dark); }
.diretor-card h3 { font-size: 0.9rem; margin-bottom: var(--space-sm); color: var(--clr-primary-dark); font-weight: 500; text-transform: none; letter-spacing: normal; } /* Title style */
.diretor-card p { font-size: 0.95rem; line-height: 1.65; color: var(--clr-text-light); }

.mvv-card ul { text-align: left; padding-left: 0; margin-top: var(--space-sm); }
.mvv-card li {
    margin-bottom: var(--space-sm);
    color: var(--clr-text-light);
    display: flex;
    align-items: flex-start; /* Align icon with first line */
    font-size: 0.95rem;
}
.mvv-card li i.fa-check-circle { /* Style list icon */
    color: var(--clr-primary-dark);
    margin-right: var(--space-sm);
    margin-top: 4px; /* Align vertically */
    font-size: 1.1em;
    flex-shrink: 0; /* Prevent icon shrinking */
}

/* Contador */
#impacto { padding: var(--space-lg) 0; }
.counter-item { padding: var(--space-sm) 0; }
.counter-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
    color: var(--clr-primary-light);
    opacity: 0.8;
    display: block; /* Ensure it takes space */
}
.counter-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--clr-white);
    line-height: 1.1;
    /* Animation handled by JS */
}
.counter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Layouts Específicos */
.quem-somos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.quem-somos-image { text-align: center; }
.quem-somos-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: inline-block; /* Allows centering */
}
.quem-somos-text p { color: var(--clr-text-light); }
.quem-somos-text .btn { margin-top: var(--space-md); }

.contato-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}
.contato-cta .btn { padding: 0.9rem 2.2rem; font-size: 1rem; }

.projeto-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 split */
    gap: var(--space-lg);
    align-items: flex-start; /* Align items top */
}
.projeto-texto p { color: var(--clr-text-light); }
.projeto-texto h3 { font-size: 1.5rem; color: var(--clr-secondary-dark); margin-bottom: var(--space-md); }

.project-gallery {
    background-color: var(--clr-bg-light);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
}
.project-gallery h4 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    text-align: center;
    font-weight: 600;
    color: var(--clr-text-light);
}
.gallery-images img {
    height: 170px; /* Consistent height */
    width: 100%; /* Take full grid cell width */
    object-fit: cover; /* Cover the area */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.gallery-images img:hover { transform: scale(1.04); box-shadow: var(--shadow-md); }
/* Layout Variation for Itaboraí */
@media (min-width: 992px) {
    #projeto-itaborai .projeto-content-wrapper { grid-template-columns: 1fr 1fr; } /* Ensure 2 columns */
    #projeto-itaborai .project-gallery { order: -1; } /* Gallery first on desktop */
}

.parceiros-section { border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border); }
.parceiros-section > .container > p { font-size: 1.05rem; }
.parceiro-logo {
    height: 70px; /* Fixed height for alignment */
    display: flex; align-items: center; justify-content: center;
}
.parceiro-logo img {
    max-height: 55%; /* Max height within the box */
    max-width: 90%; /* Max width */
    filter: grayscale(90%);
    opacity: 0.75;
    transition: filter var(--transition-normal), opacity var(--transition-normal);
}
.parceiro-logo:hover img { filter: grayscale(0%); opacity: 1; }

.contato-info {
    background-color: var(--clr-white);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}
.contato-info h2 { font-size: 1.6rem; color: var(--clr-secondary-dark); margin-bottom: var(--space-lg); }
.info-item {
    display: flex;
    align-items: flex-start; /* Align icon top */
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--clr-border);
}
.info-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon {
    font-size: 1.3rem;
    color: var(--clr-primary-dark);
    margin-top: 5px; /* Align icon nicely */
    width: 25px;
    text-align: center;
    flex-shrink: 0;
}
.info-content h3 { font-size: 1.15rem; margin-bottom: var(--space-xs); color: var(--clr-secondary-dark); font-weight: 600; }
.info-content p { margin-bottom: 3px; font-size: 0.95rem; color: var(--clr-text-light); line-height: 1.6; }
.info-content a { color: var(--clr-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.info-content a:hover { color: var(--clr-primary-dark); text-decoration: none; }

.social-media { margin-top: var(--space-lg); text-align: center; }
.social-media h3 { font-size: 1.15rem; margin-bottom: var(--space-sm); color: var(--clr-secondary-dark); font-weight: 600; }
.social-icons { display: flex; justify-content: center; gap: var(--space-sm); }
.social-icons a {
    width: 38px; height: 38px; font-size: 1rem;
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-light);
    border-radius: var(--radius-circle);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition-normal);
}
.social-icons a:hover {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary-dark);
    color: var(--clr-accent);
    transform: scale(1.1);
}

.whatsapp-contact { /* Style the WhatsApp card */
    align-self: stretch; /* Match height of info card */
    display: flex; flex-direction: column; justify-content: center;
    background-color: var(--clr-secondary); /* Darker background */
    border-radius: var(--radius-lg);
    color: var(--clr-white);
    padding: var(--space-lg);
    text-align: center;
    border: none;
    box-shadow: var(--shadow-md);
}
.whatsapp-contact .card-icon { background: rgba(255,255,255,0.1); color: var(--clr-whatsapp);} /* WhatsApp icon style */
.whatsapp-contact h2 { color: var(--clr-white); font-size: 1.5rem; }
.whatsapp-contact p { font-size: 1rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-md); }
.whatsapp-contact .btn-whatsapp { margin-top: auto; } /* Push button to bottom */

.mapa-container { margin-top: var(--space-lg); grid-column: 1 / -1; text-align: center; } /* Span full width */
.mapa-container h2 { font-size: 1.8rem; color: var(--clr-secondary); margin-bottom: var(--space-sm); }
.mapa {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--clr-border);
    line-height: 0; /* Remove space below iframe */
}
.mapa iframe { display: block; border: none; width: 100%; height: 400px; }
.mapa-info { margin-top: var(--space-sm); }
.mapa-info p { font-size: 0.95rem; color: var(--clr-text-light); margin-bottom: 0;}

/* --- Formulário de Contato (se ativo) --- */
.contact-form { margin-top: var(--space-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.form-group { margin-bottom: var(--space-md); }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: var(--space-xs); font-weight: 600; color: var(--clr-secondary); font-size: 0.9rem; }
.form-group .required { color: #dc3545; margin-left: 2px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary-dark);
    box-shadow: 0 0 0 3px rgba(var(--clr-primary-rgb), 0.25); /* Focus ring */
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px 12px; padding-right: 2.5rem; }
/* Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #dc3545; }
.error-message { color: #dc3545; font-size: 0.85rem; margin-top: var(--space-xs); }
.success-message {
    color: #198754; background-color: #d1e7dd; border: 1px solid #a3cfbb;
    padding: var(--space-sm); border-radius: var(--radius-md); margin-top: var(--space-md);
    text-align: center; opacity: 1; transition: opacity 0.5s ease-out;
}
.success-message.fade-out { opacity: 0; }
.form-messages { margin-top: var(--space-md); }

/* --- Animação de Scroll --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px); /* Start slightly lower */
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform; /* Performance hint */
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ======= GLOBAL FOOTER STYLES ======= */
#footer {
    background-color: var(--clr-secondary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg) 0 var(--space-md);
    font-size: 0.9rem;
    line-height: 1.65;
    border-top: 4px solid var(--clr-primary); /* Accent border */
}
#footer h3 {
    font-size: 1rem; /* Slightly smaller */
    margin-bottom: var(--space-sm);
    color: var(--clr-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#footer p { color: rgba(255, 255, 255, 0.75); margin-bottom: var(--space-xs); font-size: 0.9rem; }
#footer ul { padding: 0; list-style: none; margin: 0;}
#footer li { margin-bottom: var(--space-xs); }
#footer a { color: rgba(255, 255, 255, 0.8); transition: color var(--transition-normal), padding-left var(--transition-normal); display: inline-block; font-size: 0.9rem; }
#footer a:hover { color: var(--clr-primary-light); padding-left: 5px; /* Subtle indent on hover */ }
#footer strong { color: rgba(255, 255, 255, 0.95); }

.footer-info .footer-logo { max-height: 45px; margin-bottom: var(--space-sm); }
.footer-contact p i, .footer-hours p i {
    margin-right: var(--space-sm);
    color: var(--clr-primary); /* Icon color */
    width: 16px; text-align: center; font-size: 0.9em;
}
.footer-social .social-icons { margin-top: var(--space-sm); display: flex; gap: var(--space-sm); flex-wrap: wrap;}
.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.08); /* Subtle background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 36px; height: 36px; font-size: 0.95rem;
    color: var(--clr-white); border-radius: var(--radius-circle);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition-normal);
}
.footer-social .social-icons a:hover {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-accent);
    transform: scale(1.1);
}
.footer-hours { margin-top: var(--space-md); }
.footer-bottom {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }
.footer-bottom a:hover { color: var(--clr-white); }
