/* ── PÁGINAS INTERNAS v2.0 ── */

/* ── HERO COM PARALLAX ── */
.page-hero {
    margin-top: 100px;
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background: #1B3A4B;
}

.page-hero img {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,58,75,0.68) 0%, rgba(27,58,75,0.30) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem 2.5rem;
}

.page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.page-hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #0ABFBC;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ── HERO TIPOGRÁFICO (Contato e Notícias) ── */
.page-hero-typo {
    margin-top: 100px;
    background: #1B3A4B;
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero-typo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #FFFFFF;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.page-hero-typo .hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #0ABFBC;
    margin-top: 0.8rem;
    letter-spacing: 1px;
}

.page-hero-typo .accent-line {
    width: 80px; height: 4px;
    background: #0ABFBC;
    margin: 1.2rem auto 0;
}

/* ── HOME — hero parallax ── */
.home-hero {
    margin-top: 100px;
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background: #1B3A4B;
}

.home-hero img {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* ── HOME — blocos ── */
.home-presentation {
    padding: 4rem 2rem;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.home-presentation h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222222;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.home-presentation p {
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.8;
}

.home-who {
    background: #F2F4F5;
    padding: 4rem 2rem;
}

.home-who .inner {
    max-width: 860px;
    margin: 0 auto;
}

.home-who h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222222;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.home-who p {
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.8;
}

.home-services {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.home-services h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222222;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

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

.service-card {
    background: #1B3A4B;
    color: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease, transform 0.3s ease;
    border-left: 5px solid #0ABFBC;
}

.service-card:hover {
    background: #0d2c3a;
    transform: translateY(-4px);
    color: #FFFFFF;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ── CONTATO RÁPIDO HOME ── */
.home-quick-contact {
    padding: 3rem 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.quick-contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #222222;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-item:hover { color: #0ABFBC; }

.contact-item img {
    width: 36px; height: 36px;
    object-fit: contain;
}

/* ── CONTEÚDO PÁGINAS DE SERVIÇO ── */
.page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1B3A4B;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.page-content p {
    font-family: 'Arial Nova Cond', 'Arial', sans-serif;
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

/* ── IMAGEM SECUNDÁRIA ── */
.page-secondary-img {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 8px;
}

.page-secondary-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ── PORTFÓLIO — logos ── */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.logo-item {
    aspect-ratio: 3/2;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    border: 1px solid #DDDDDD;
    transition: box-shadow 0.3s ease;
}

.logo-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.logo-item img {
    max-width: 100%; max-height: 80px;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* ── NOTÍCIAS ── */
.news-page { margin-top: 100px; background: #F2F4F5; min-height: calc(100vh - 100px); }

.news-filters {
    display: flex;
    gap: 0.7rem;
    padding: 1.5rem 2rem;
    background: #FFFFFF;
    flex-wrap: wrap;
    border-bottom: 1px solid #DDDDDD;
}

.filter-btn {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.5rem 1.2rem;
    border: 2px solid #CCCCCC;
    background: none;
    color: #555555;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #0ABFBC;
    border-color: #0ABFBC;
    color: #FFFFFF;
}

.news-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.news-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-featured-img { aspect-ratio: 4/3; overflow: hidden; }

.news-featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-featured:hover .news-featured-img img { transform: scale(1.03); }

.news-featured-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-cat {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0ABFBC;
    background: rgba(10,191,188,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.7rem;
}

.news-featured-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222222;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.news-date {
    font-family: 'Lato', sans-serif;
    font-size: 0.82rem;
    color: #999999;
    margin-bottom: 0.8rem;
}

.news-featured-body p { font-size: 0.95rem; color: #555555; line-height: 1.7; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }

.news-card-img { aspect-ratio: 2/1; overflow: hidden; }

.news-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body { padding: 1.2rem; }

.news-card-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #222222;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-card-body p { font-size: 0.88rem; color: #666666; line-height: 1.6; margin: 0; }

.news-loading { text-align: center; padding: 4rem; color: #999999; font-family: 'Lato', sans-serif; }

/* ── CONTATO ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-form h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222222;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #222222;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #DDDDDD;
    border-radius: 6px;
    font-family: 'Arial Nova Cond', 'Arial', sans-serif;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 1.2rem;
    transition: border-color 0.3s ease;
    outline: none;
    background: #FFFFFF;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: #0ABFBC; }

.contact-form textarea { min-height: 140px; resize: vertical; }

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #0ABFBC;
    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.btn-submit:hover { background: #089fa8; }

.contact-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222222;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.contact-info-item img {
    width: 36px; height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-info-item a,
.contact-info-item span {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover { color: #0ABFBC; }

.contact-addresses {
    margin-top: 2rem;
    border-top: 2px solid #F2F4F5;
    padding-top: 1.5rem;
}

.contact-addresses h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1B3A4B;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-addresses p { font-size: 0.9rem; color: #555555; margin-bottom: 1rem; }

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
    .services-grid      { grid-template-columns: 1fr; }
    .news-featured      { grid-template-columns: 1fr; }
    .news-featured-body { padding: 1.5rem; }
    .news-grid          { grid-template-columns: 1fr 1fr; }
    .logos-grid         { grid-template-columns: repeat(3, 1fr); }
    .contact-grid       { grid-template-columns: 1fr; gap: 2rem; }
    .page-hero          { height: 32vh; }
    .home-hero          { height: 32vh; }
}

@media (max-width: 600px) {
    .news-grid              { grid-template-columns: 1fr; }
    .logos-grid             { grid-template-columns: repeat(2, 1fr); }
    .quick-contact-grid     { flex-direction: column; align-items: flex-start; }
    .page-hero              { height: 26vh; }
    .home-hero              { height: 26vh; }
}
