/* Expediente Page - CSS baseado no site original */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #00CEB1;
    --primary-dark: #00a088;
    --text-dark: #011120;
    --text-light: #F9F8F8;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #F9F8F8;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================== HEADER ===================== */
#main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 350px;
    height: auto;
}

.logo {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1201px) {
    .logo {
        margin-left: 25px;
    }
}

.logo-tagline {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-top: -5px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-list li {
    padding: 0;
}

.nav-list a {
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    padding: 0 18px;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-list a:hover {
    transform: scale(1.2);
}

/* Publique Button - Teal Pill */
.nav-list a.nav-btn-teal {
    background-color: var(--primary-color);
    color: var(--black);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
}

.nav-list a.nav-btn-teal:hover {
    transform: scale(1.2);
}

/* ===================== HERO SECTION ===================== */
/* Using same background or generic? The 'edicoes' one has a specific image. 
   I'll assume we use the same or similar style. The prompt asks to clone the HTML structure.
   I will keep the generic hero styles but maybe rename ID if specific to Expediente, 
   but reusing #hero-edicoes style for consistent look is fine or renaming to #hero-expediente 
   and keeping the same properties. 
*/
#hero-expediente {
    min-height: 510px;
    background-color: #000;
    background-image: url('/images/02.jpg');
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/02.jpg');
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), -webkit-image-set(url("/images/02.webp") type("image/webp"), url("/images/02.jpg") type("image/jpeg"));
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), image-set(url("/images/02.webp") type("image/webp"), url("/images/02.jpg") type("image/jpeg"));
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 250px 35px 200px;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #F9F8F8;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    color: #F9F8F8;
}

/* ===================== MAIN CONTENT AREA ===================== */
.main-content {
    background-color: var(--white);
    padding: 100px 0 0;
    /* Removed bottom padding so map sits flush if needed, but added space for content */
}

/* Specific Expediente Content Styles */
.expediente-section {
    padding: 0;
}

.full-width-block {
    margin-bottom: 50px;
    width: 100%;
}

.centered-content {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.expediente-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.expediente-col {
    width: 50%;
    flex: 1;
}

/* Typography Matches */
.expediente-block h2,
.expediente-col h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2em;
}

.expediente-block h3,
.expediente-col h3 {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    margin-top: 10px;
    line-height: 1.2em;
}

.expediente-block p,
.expediente-col p {
    font-size: 18px;
    /* Unified to 18px */
    font-weight: 400;
    line-height: 1.7em;
    margin-bottom: 20px;
    color: rgba(1, 17, 32, 0.75);
    /* Exact match color */
}

/* Revisor Button */
.btn-revisor {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 15px;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.btn-revisor:hover {
    background-color: var(--primary-dark);
}

/* List Styles for Council */
.council-list {
    list-style: none;
    margin-top: 15px;
}

.council-list li {
    margin-bottom: 20px;
    font-size: 15px;
    color: #54595F;
}

.council-list strong {
    font-weight: 700;
    color: var(--text-dark);
}

.council-list a {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: 600;
}

/* Contact List */
.contact-list {
    list-style: none;
    margin-top: 25px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list a {
    color: #54595F;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--primary-color);
}

.contact-list i {
    color: var(--primary-color);
    font-size: 18px;
    width: 25px;
    text-align: center;
}

/* Map Container (Full Width) */
.map-full-width {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
    /* Ensures no line-height gap */
}

.map-full-width iframe {
    display: block;
    /* Removes bottom whitespace caused by inline display */
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .expediente-columns {
        flex-direction: column;
        gap: 50px;
    }

    .expediente-col {
        width: 100%;
    }

    .main-content {
        padding: 60px 0 0;
    }
}


/* ===================== CTA SECTION (Reused) ===================== */
.cta-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.cta-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--black);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: #00e5c8;
    transform: scale(1.05);
}

/* ===================== FOOTER ===================== */
#main-footer {
    background-color: #000000;
    color: var(--white);
    padding: 100px 30px 45px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-col .footer-title {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #f9f8f8;
    font-family: inherit;
    display: block;
}

.footer-col p {
    font-size: 18px;
    line-height: 1.85;
    color: var(--white);
    margin-bottom: 1.75em;
}

.footer-col p:last-child {
    margin-bottom: 0;
}

.footer-col b,
.footer-col strong {
    font-weight: 700;
}

.teal-link {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===================== MOBILE MENU ===================== */
.menu-toggle {
    display: none;
    background-color: var(--primary-color);
    width: 45px;
    height: 45px;
    border: none;
    align-items: center;
    justify-content: center;
    color: #f9f8f8;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .header-inner {
        padding: 0 20px;
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center;
    }

    .logo img {
        width: 253px !important;
        max-width: 80vw !important;
        height: auto !important;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f9f8f8;
        flex-direction: column;
        display: none;
        border-top: 1px solid #dddddd;
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        padding: 0;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 0 20px;
        height: 50px;
        line-height: 50px;
        border-bottom: 1px solid #dddddd;
        color: rgba(1, 17, 32, 0.75);
        font-size: 16.4px;
        font-weight: 400;
        text-align: left;
    }

    .nav-list a.nav-btn-teal {
        background-color: transparent;
        color: rgba(1, 17, 32, 0.75);
        padding: 0 20px;
        border-radius: 0;
        font-weight: 400;
    }

    .nav-list a.nav-btn-teal:hover {
        background-color: transparent;
        transform: none;
        color: var(--primary-color);
    }

    .nav-list a:hover {
        color: var(--primary-color);
        transform: none;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    #main-footer {
        padding: 75px 25px 25px;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    #hero-expediente {
        background-attachment: scroll;
        min-height: 300px;
        padding: 190px 35px 29px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .container {
        padding: 0 20px;
    }
}