:root {
    --cor-primaria: #e5e5e5;
    --cor-secundaria: #173557;
    --cor-terciaria: #68813d;
    --cor-texto: #1a1a1a;
    --cor-fundo-pagina: #d1d1d1;
    --cor-rodape: #0e2035;
    --cor-texto-suave: #2c2c2c;
    --cor-fundo-destaque: #d4dde8;
    --cor-borda: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--cor-texto);
    background-color: var(--cor-fundo-pagina);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    color: var(--cor-secundaria);
}

header {
    background-color: var(--cor-primaria);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
}

header nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header-seed-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--cor-secundaria);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cor-terciaria);
}

.menu-hamburguer,
.fechar-menu {
    display: none;
    cursor: pointer;
}

footer {
    background-color: var(--cor-rodape);
    color: #e5e5e5;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer strong {
    color: var(--cor-primaria);
}

footer a {
    color: #e5e5e5;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
}

.main-content {
    padding: 60px 0;
}

.content-card {
    background-color: var(--cor-primaria);
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-card h2,
.page-title {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.content-card h2::after,
.page-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--cor-terciaria);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.content-card h3,
.section-title {
    font-size: 1.7rem;
    color: var(--cor-secundaria);
    margin-top: 50px;
    margin-bottom: 15px;
}

.content-card p,
.content-card li {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 15px;
    color: var(--cor-texto-suave);
}

.content-card p {
    margin-bottom: 25px;
}

.content-card ul {
    list-style-position: inside;
    padding-left: 10px;
}

.content-card strong {
    color: var(--cor-secundaria);
    font-weight: 600;
}

.hero {
    background: linear-gradient(rgba(23, 53, 87, 0.75), rgba(23, 53, 87, 0.75)), url('galeria/imagem-mh.jpg') no-repeat center center/cover;
    height: 50vw;
    max-height: 70vh;
    color: var(--cor-primaria);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.hero-content h1 {
    color: var(--cor-primaria);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 200px;
    width: 40%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 20px;
}

.acessos-section {
    padding: 60px 0;
}

.acessos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.acesso-button {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
    text-decoration: none;
    padding: 25px 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.acesso-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--cor-terciaria);
}

.page-tutoriais footer {
    margin-top: 60px;
}

.content-card>h2+p {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
}

.accordion-container {
    margin-top: 20px;
}

.accordion-item {
    background-color: #dbdbdb;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: margin-bottom 0.3s ease;
}

.accordion-item[open] {
    border-color: var(--cor-secundaria);
}

.accordion-item summary {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cor-secundaria);
    padding: 20px 50px 20px 20px;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::after {
    content: '+';
    font-size: 2rem;
    font-weight: 400;
    color: var(--cor-terciaria);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.accordion-item[open] summary::after {
    content: '−';
    transform: translateY(-50%);
}

.accordion-content {
    padding: 0 25px 25px 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cor-texto-suave);
}

.accordion-content ol,
.accordion-content ul {
    padding-left: 25px;
}

.tutorial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.app-icon-horizontal {
    width: 120px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.accordion-content .sub-section {
    background-color: var(--cor-fundo-destaque);
    border-left: 4px solid var(--cor-secundaria);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.accordion-content .sub-section h5 {
    font-size: 1.2rem;
    color: var(--cor-secundaria);
    margin-bottom: 10px;
}

.accordion-content .alert-box {
    background-color: #e6e2cc;
    border-left: 4px solid #f59e0b;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.contact-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-column {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--cor-secundaria);
    border-left: none;
    padding-left: 0;
    margin-top: 0;
}

.contact-info .contact-item+h3 {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--cor-texto-suave);
}

.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--cor-terciaria);
    text-decoration: underline;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    fill: var(--cor-secundaria);
    flex-shrink: 0;
    margin-top: 4px;
}

.copyable {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
}

.copyable:hover {
    background-color: var(--cor-fundo-destaque);
}

.map-container {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.page-cursos .content-card h2 {
    margin-bottom: 30px;
}

.highlight-box {
    background-color: var(--cor-fundo-destaque);
    border-left: 5px solid var(--cor-secundaria);
    padding: 20px;
    margin: 40px 0 20px 0;
    border-radius: 5px;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #dcdcdc;
    padding: 10px 15px;
    border-radius: 6px;
    flex: 1 1 280px;
}

.detail-item svg {
    width: 28px;
    height: 28px;
    fill: var(--cor-terciaria);
    flex-shrink: 0;
}

.detail-item span {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--cor-texto-suave);
}

.page-dev .main-content {
    min-height: calc(100vh - 245px);
}

.developer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.topicos-creditos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.topicos-creditos p {
    font-size: 1.1rem;
    color: var(--cor-texto-suave);
    margin: 0;
    line-height: 1.4;
}

.descricao-projeto {
    font-size: 1.1rem;
    color: var(--cor-texto-suave);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 35px auto;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--cor-secundaria);
    color: var(--cor-primaria);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-instagram:hover {
    background-color: var(--cor-terciaria);
    transform: translateY(-2px);
}

.btn-instagram svg {
    width: 22px;
    height: 22px;
    fill: var(--cor-primaria);
}

.em-breve-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 70px);
    padding-top: 100px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.logo-em-breve {
    max-width: 150px;
    margin-bottom: 2rem;
}

.em-breve-container h1 {
    font-size: 4.5rem;
    color: var(--cor-secundaria);
    font-weight: 700;
    line-height: 1.2;
}

.page-projetos .content-card h2 {
    margin-bottom: 30px;
}

.projects-gallery {
    display: flex;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.projects-gallery img {
    width: 25%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-links section {
    margin-bottom: 50px;
}

.page-links section:last-of-type {
    margin-bottom: 0;
}

.page-links .section-title:first-of-type {
    margin-top: 0;
}

.links-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.link-card {
    background-color: var(--cor-fundo-pagina);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.link-card-image-wrapper {
    background-color: var(--cor-primaria);
    padding: 10%;
    aspect-ratio: 16 / 9;
}

.link-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70px;
}

.link-card-content h3 {
    font-size: 1.2rem;
    margin: 0;
}

.links-container-buttons {
    gap: 15px;
}

.link-button {
    display: block;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--cor-texto-suave);
    background-color: var(--cor-primaria);
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.link-button:hover {
    background-color: var(--cor-fundo-destaque);
    border-color: var(--cor-secundaria);
    color: var(--cor-secundaria);
}

.page-sobre .content-card h2 {
    margin-bottom: 15px;
}

.content-image {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.estrutura-galeria {
    display: flex;
    gap: 0;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.estrutura-galeria img {
    width: 25%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.saiba-mais-btn {
    display: inline-block;
    background-color: var(--cor-secundaria);
    color: var(--cor-primaria);
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.saiba-mais-btn:hover {
    background-color: var(--cor-terciaria);
    transform: translateY(-2px);
}

.botao-container {
    text-align: center;
}

@media (max-width: 1024px) {
    .acessos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-container {
        justify-content: center;
    }

    header nav {
        display: none;
    }

    .hero {
        height: 60vh;
        max-height: none;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .hero-logo {
        width: 40vw;
        max-width: 160px;
        margin-top: 15px;
    }

    .acessos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .acesso-button {
        font-size: 1.1rem;
        min-height: 100px;
    }

    .main-content {
        padding: 40px 0;
    }

    .content-card {
        padding: 30px 20px;
    }

    .content-card h2,
    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .content-card h3,
    .section-title {
        font-size: 1.5rem;
        margin-top: 40px;
    }

    .content-card p,
    .content-card li {
        font-size: 1rem;
        line-height: 1.7;
    }

    .content-card>h2+p {
        font-size: 1rem;
        margin-top: -30px;
        margin-bottom: 30px;
    }

    .accordion-item summary {
        font-size: 1.2rem;
        padding: 15px 45px 15px 15px;
    }

    .accordion-item summary::after {
        right: 20px;
    }

    .accordion-content {
        font-size: 1rem;
        padding: 0 15px 20px 15px;
    }

    .accordion-content h3 {
        font-size: 1.3rem;
    }

    .accordion-content h4 {
        font-size: 1.2rem;
    }

    .tutorial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-item {
        font-size: 1rem;
    }

    .contact-info-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .contact-column {
        min-width: 100%;
    }

    .highlight-box {
        margin-top: 30px;
    }

    .detail-item {
        gap: 10px;
    }

    .detail-item span {
        font-size: 0.95rem;
    }

    .developer-info p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    .btn-instagram {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .logo-em-breve {
        max-width: 120px;
    }

    .em-breve-container h1 {
        font-size: 3rem;
    }

    .em-breve-container {
        padding-top: 80px;
    }

    .projects-gallery {
        flex-wrap: wrap;
    }

    .projects-gallery img {
        width: 50%;
    }

    .page-links section {
        margin-bottom: 40px;
    }

    @media (min-width: 600px) {
        .links-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 992px) {
        .links-container {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 768px) {
        .links-container {
            grid-template-columns: 1fr;
        }

        .link-card-image-wrapper {
            aspect-ratio: auto;
            padding: 20px;
        }

        .link-card-image {
            height: auto;
            max-height: 120px;
        }

        .link-card-content h3 {
            font-size: 1.1rem;
            min-height: auto;
        }

        .link-button {
            font-size: 1rem;
        }
    }

    .content-image {
        margin: 25px auto;
    }

    .estrutura-galeria {
        flex-wrap: wrap;
    }

    .estrutura-galeria img {
        width: 50%;
        height: 120px;
    }

}

.sitemap-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sitemap-item {
    background-color: #d8e1d2;
    border-radius: 8px;
    border-left: 5px solid var(--cor-terciaria);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.sitemap-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sitemap-item a {
    display: block;
    padding: 20px 25px;
    text-decoration: none;
    color: inherit;
}

.content-card .sitemap-item h4 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    color: var(--cor-secundaria);
    transition: color 0.3s ease;
}

.content-card .sitemap-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cor-texto-suave);
    margin: 0;
}

.sitemap-item a:hover h4 {
    color: var(--cor-terciaria);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .link-card-content {
        padding: 5px 10px;
        min-height: 50px;
        flex-grow: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .link-card-content h3 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        margin: 0;
    }

    .link-card-image-wrapper {
        padding: 10px;
    }
}