@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #0c4e65;
    --green: #008b49;
    --muted: #536a72;
    --pale: #edf6f5
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 16px/1.6 'DM Sans', Arial, sans-serif
}

h1,
h2,
h3,
p {
    margin: 0
}

a {
    color: inherit;
    text-decoration: none
}

a:focus-visible {
    outline: 3px solid #e1ae31;
    outline-offset: 6px
}

header {
    max-width: 1440px;
    margin: auto;
    min-height: 112px;
    padding: 24px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px
}

.logo {
    width: 280px;
    height: auto;
    display: block
}

nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px;
    font-weight: 600
}

.nav-cta {
    border: 1px solid #c7d7db;
    padding: 12px 19px;
    border-radius: 6px
}

.nav-cta span {
    margin-left: 20px
}

.hero {
    max-width: 1440px;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    margin: auto;
    padding: 20px 6% 70px;
    gap: 40px;
    align-items: center
}

.hero-copy {
    padding: 30px 0
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 22px
}

h1,
h2,
h3 {
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.13
}

h1 {
    font-size: clamp(38px, 4.3vw, 64px);
    letter-spacing: -2.5px;
    font-weight: 600
}

h1 em {
    font-style: normal;
    color: var(--green)
}

.intro {
    max-width: 380px;
    margin: 26px 0 28px;
    color: var(--muted);
    font-size: 18px
}

.button {
    background: var(--green);
    color: white;
    display: inline-flex;
    gap: 42px;
    align-items: center;
    padding: 16px 23px;
    border-radius: 6px;
    font-weight: 600
}

.button:hover {
    background: #006e3a
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 43px;
    color: var(--muted);
    font-size: 14px
}

.line {
    width: 37px;
    height: 2px;
    background: var(--green)
}

.hero-visual {
    position: relative;
    height: 570px;
    overflow: hidden;
    border-radius: 140px 12px 12px 12px;
    background: var(--pale)
}

.hero-visual>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.image-label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: #fffef2ed;
    padding: 16px 23px;
    border-radius: 6px
}

.image-label span {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 14px
}

.image-label p {
    font-size: 14px
}

.access {
    background: var(--ink);
    color: white;
    padding: 60px max(6%, calc((100vw - 1268px)/2));
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 90px
}

.access .eyebrow {
    color: #85d7b4
}

.access h2 {
    font-size: 35px;
    font-weight: 500
}

.access-heading>p:last-child {
    margin-top: 18px;
    color: #c0d6dd;
    max-width: 300px
}

.portal-links>a {
    display: flex;
    align-items: center;
    padding: 19px 0;
    gap: 24px;
    border-bottom: 1px solid #427587
}

.portal-links>a:first-child {
    padding-top: 0
}

.portal-links>a:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.portal-number {
    color: #a2cbc8;
    font-size: 14px
}

.portal-links h3 {
    font-size: 21px;
    font-weight: 500
}

.portal-links p {
    color: #c0d6dd;
    font-size: 14px;
    margin-top: 5px
}

.arrow {
    margin-left: auto;
    font-size: 27px
}

.portal-links a:hover h3 {
    text-decoration: underline
}

.section {
    max-width: 1440px;
    margin: auto;
    padding: 90px 6%
}

.section-title {
    display: flex;
    gap: 80px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 42px
}

h2 {
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -1.3px
}

.section-title>p {
    color: var(--muted);
    max-width: 360px
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.exam-grid article {
    padding: 30px;
    border: 1px solid #d8e4e7;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 300px
}

.exam-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--pale);
    color: var(--green)
}

.exam-icon svg {
    display: block;
    width: 44px;
    height: 44px
}

.exam-grid article:first-child .exam-icon {
    background: #fff
}

.exam-grid h3 {
    font-size: 23px;
    margin: 26px 0 15px;
    line-height: 1.25
}

.exam-grid p {
    color: var(--muted);
    font-size: 15px
}

.exam-bottom {
    font-size: 12px;
    color: #607c83;
    padding-top: 25px;
    margin-top: auto
}

.exam-grid article:first-child {
    background: var(--pale);
    border-color: var(--pale)
}

.about {
    background: var(--pale);
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    max-width: none;
    padding-left: max(6%, calc((100vw - 1268px)/2));
    padding-right: max(6%, calc((100vw - 1268px)/2))
}

.about h2 {
    margin-bottom: 26px
}

.about p:not(.eyebrow) {
    max-width: 660px;
    color: var(--muted);
    margin-top: 15px
}

.text-link {
    display: inline-block;
    color: var(--green);
    font-weight: 700;
    margin-top: 26px;
    border-bottom: 1px solid var(--green)
}

footer {
    max-width: 1440px;
    margin: auto;
    padding: 38px 6%;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between
}

footer .logo {
    width: 170px
}

footer p,
footer a {
    font-size: 13px;
    color: var(--muted)
}

@media(max-width:900px) {
    header {
        padding: 22px 5%
    }

    .logo {
        width: 185px
    }

    nav {
        gap: 18px
    }

    nav>a:not(.nav-cta) {
        display: none
    }

    .hero {
        padding: 0 5% 45px;
        gap: 25px
    }

    h1 {
        font-size: 43px
    }

    .hero-visual {
        height: 480px
    }

    .access {
        gap: 35px;
        padding: 45px 5%
    }

    .section {
        padding: 60px 5%
    }

    .exam-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .section-title {
        gap: 30px
    }

    .about {
        padding: 60px 5%
    }
}

@media(max-width:600px) {
    header {
        min-height: 88px;
        gap: 15px
    }

    .logo {
        width: 150px
    }

    .nav-cta {
        font-size: 12px;
        padding: 10px
    }

    .nav-cta span {
        display: none
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 24px 0 0
    }

    h1 {
        font-size: 43px;
        letter-spacing: -1.8px
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 18px
    }

    .intro {
        font-size: 17px
    }

    .hero-note {
        display: none
    }

    .hero-visual {
        height: 350px;
        border-radius: 90px 10px 10px 10px
    }

    .access {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .access h2 br {
        display: none
    }

    .access-heading>p:last-child {
        max-width: 100%
    }

    .section-title {
        display: block
    }

    .section-title>p {
        margin-top: 22px
    }

    .exam-grid {
        grid-template-columns: 1fr
    }

    .exam-grid article {
        min-height: 240px;
        padding: 26px
    }

    .exam-grid h3 {
        margin-top: 18px
    }

    .about {
        grid-template-columns: 1fr;
        gap: 0
    }

    footer {
        flex-wrap: wrap;
        gap: 20px
    }

    footer p {
        width: 100%;
        order: 3
    }

    footer a {
        margin-left: auto
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

.team {
    padding-top: 75px
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px
}

.team-grid article {
    border-top: 2px solid var(--green);
    padding-top: 25px
}

.team-grid strong {
    font: 500 58px/1 'Manrope', Arial, sans-serif;
    color: var(--green)
}

.team-grid h3 {
    font-size: 21px;
    line-height: 1.3;
    margin: 18px 0 12px
}

.team-grid p {
    color: var(--muted)
}

.contact {
    background: var(--pale);
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding-left: max(6%, calc((100vw - 1268px)/2));
    padding-right: max(6%, calc((100vw - 1268px)/2))
}

.contact-intro {
    max-width: 420px;
    margin: 22px 0 26px;
    color: var(--muted)
}

.contact-details h3 {
    font-size: 17px;
    margin-bottom: 8px
}

.contact-details address {
    font-style: normal;
    color: var(--muted)
}

.contact-details .text-link {
    margin-top: 12px
}

.contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #c7d7db
}

.contact-channels a:hover {
    text-decoration: underline
}

@media(max-width:900px) {
    .contact {
        gap: 35px;
        padding: 60px 5%
    }
}

@media(max-width:600px) {

    .team-grid,
    .contact {
        grid-template-columns: 1fr
    }

    .team-grid {
        gap: 30px
    }

    .contact-channels {
        grid-template-columns: 1fr 1fr
    }
}

.exam-grid {
    align-items: start
}

.exam-grid article {
    min-height: 440px
}

.exam-grid p {
    font-size: 16px
}

.exam-details {
    margin-top: 20px
}

.exam-details summary {
    cursor: pointer;
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 0;
    line-height: 1.5
}

.exam-details summary:focus-visible {
    outline: 3px solid #e1ae31;
    outline-offset: 4px
}

.exam-description p {
    margin-top: 16px;
    line-height: 1.7
}

.exam-details[open] summary {
    border-bottom: 1px solid #c7d7db
}

@media(max-width:600px) {
    .exam-grid article {
        min-height: 0
    }
}

.team {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px
}

.team-intro h2 {
    max-width: 400px
}

.team-story {
    border-left: 2px solid var(--green);
    padding-left: 32px
}

.team-story p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8
}

.team-story p+p {
    margin-top: 20px
}

@media(max-width:700px) {
    .team {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .team-story {
        padding-left: 22px
    }

    .team-intro h2 {
        max-width: none
    }
}

header>a {
    flex-shrink: 0
}

header .logo {
    width: 310px
}

header {
    min-height: 130px
}

@media(max-width:900px) {
    header .logo {
        width: 250px
    }
}

@media(max-width:600px) {
    header {
        min-height: 105px;
        gap: 12px
    }

    header .logo {
        width: clamp(170px, 48vw, 230px)
    }

    header nav {
        flex-shrink: 0
    }

    header .nav-cta {
        padding: 10px 8px
    }
}

@media(max-width:360px) {
    header {
        flex-wrap: wrap
    }

    header nav {
        margin-left: auto
    }
}

.hero-slide {
    position: absolute;
    inset: 0
}

.hero-slide[hidden] {
    display: none
}

.hero-slide>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-slide .image-label {
    bottom: 72px;
    right: 24px;
    max-width: 390px
}

.hero-slide .image-label span {
    letter-spacing: 1px
}

.hero-slide .image-label p {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 4px
}

.carousel-controls {
    position: absolute;
    bottom: 18px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px
}

.carousel-controls button {
    min-width: 36px;
    min-height: 36px;
    border: 1px solid #bdd1d3;
    border-radius: 20px;
    background: white;
    color: var(--ink);
    font: 600 14px 'DM Sans', Arial, sans-serif;
    cursor: pointer
}

.carousel-controls button[aria-pressed="true"] {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.carousel-controls .carousel-pause {
    margin-left: auto;
    padding: 6px 14px
}

.carousel-controls button:focus-visible {
    outline: 3px solid #e1ae31;
    outline-offset: 3px
}

.hero-slide:nth-child(2)>img {
    object-position: center 38%
}

.contact-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.button-outline {
    background: #fff;
    color: var(--green);
    border: 1.5px solid var(--green)
}

.button-outline:hover {
    background: var(--pale)
}

button.button {
    cursor: pointer;
    font: inherit
}

button.button:not(.button-outline) {
    border: none
}

/* ── Modal de solicitação de agendamento ────────────────────────────── */

dialog#dialog-solicitacao {
    border: none;
    border-radius: 12px;
    padding: 0;
    width: min(680px, 92vw);
    max-height: 88vh;
    color: var(--ink)
}

dialog#dialog-solicitacao::backdrop {
    background: rgba(12, 78, 101, .55)
}

.form-solicitacao,
.form-sucesso {
    padding: 32px clamp(20px, 4vw, 40px) 36px;
    overflow-y: auto;
    max-height: 88vh
}

.form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px
}

.form-header h2 {
    font-size: 26px
}

.dialog-close {
    background: var(--pale);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 15px;
    color: var(--ink);
    cursor: pointer;
    flex-shrink: 0
}

.dialog-close:hover {
    background: #d9ece9
}

.form-intro {
    color: var(--muted);
    margin: 16px 0 24px;
    font-size: 15px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin-bottom: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px
}

.form-grid .field {
    margin-bottom: 0
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink)
}

.field input,
.field select,
.field textarea {
    border: 1.5px solid #c7d7db;
    border-radius: 6px;
    padding: 11px 13px;
    font: 15px 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: #fff
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid #e1ae31;
    outline-offset: 1px
}

.field textarea {
    resize: vertical
}

.field-hint {
    font-size: 12.5px;
    color: var(--muted)
}

.field-anexo input[type="file"] {
    padding: 9px
}

.field-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
    margin: 6px 0 20px;
    cursor: pointer
}

.field-checkbox input {
    margin-top: 3px
}

.form-erro {
    background: #fdeaea;
    color: #b3261e;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap
}

.form-sucesso h2 {
    font-size: 26px;
    margin: 14px 0 10px
}

.form-sucesso p {
    color: var(--muted);
    margin-bottom: 10px
}

.form-protocolo {
    font-weight: 700;
    color: var(--green) !important;
    font-size: 18px
}

.form-sucesso .form-actions {
    margin-top: 22px
}

@media(max-width:600px) {
    .form-grid {
        grid-template-columns: 1fr
    }

    .form-solicitacao,
    .form-sucesso {
        padding: 24px 18px 28px
    }
}

@media(max-width:600px) {
    .hero-slide .image-label {
        left: 16px;
        right: 16px;
        padding: 10px 14px;
        bottom: 65px
    }

    .hero-slide .image-label span {
        font-size: 13px
    }

    .hero-slide .image-label p {
        font-size: 14px
    }

    .carousel-controls {
        left: 16px;
        right: 16px;
        bottom: 14px
    }
}