/* ==========================
   RESET E BASE
========================== */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
}

/* ==========================
   HEADER / MENU
========================== */
header {
    background: #f19a0e;
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    position: relative;
}

.logo {
    height: 70px;
    width: auto;
}

/* Menu desktop */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

/* Botão hamburguer (desktop escondido) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* ==========================
   HERO
========================== */
.hero {
    background: url('../img/bent-van-aeken-0A7YwYhZhWw-unsplash.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 8px;
}

.btn {
    background: #ffb100;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* ==========================
   SEÇÕES GERAIS
========================== */
section {
    padding: 60px 20px;
    text-align: center;
}

/* ==========================
   CARDS
========================== */
.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Imagem no topo do card */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Título dentro do card */
.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin-top: 15px;
}

/* Texto dentro do card */
.card p {
    color: #666;
    font-size: 1rem;
    font-style: italic;
    margin: 10px 20px 20px 20px;
    line-height: 1.6;
}
/* ==========================
   SERVIÇOS
========================== */
.servicos {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

.titulo-secao {
    font-size: 2rem;
    font-weight: bold;
    color: #f19a0e;
    margin-bottom: 40px;
}

.cards-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-servico {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.card-servico:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-servico img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: invert(30%) sepia(7%) saturate(150%) hue-rotate(10deg) brightness(90%);
}

.card-servico h3 {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}
/* ==== SEÇÃO CONHECENDO A MAGEST ==== */
.sobre-magest {
    background: #f9f9f9;
    padding: 80px 20px;
}

.container-sobre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}

.texto-sobre {
    flex: 1 1 450px;
    text-align: left;
}

.texto-sobre h2 {
    color: #f19a0e;
    font-size: 2rem;
    margin-bottom: 20px;
}

.texto-sobre p {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 25px;
}

.btn-sobre {
    background: #f19a0e;
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-sobre:hover {
    background: #d5840b;
}

.imagem-sobre {
    flex: 1 1 400px;
    text-align: center;
}

.imagem-sobre img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================
   SOBRE / TASSIA
========================== */
.sTassia {
    background: #fff;
    padding: 80px 20px;
}

.container-Tassia {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}

.texto-Tassia {
    flex: 1 1 450px;
    text-align: left;
}

.texto-Tassia h2 {
    color: #f19a0e;
    font-size: 2rem;
    margin-bottom: 20px;
}

.texto-Tassia p {
    color: #fff;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 25px;
}

.btn-sobre {
    background: #f19a0e;
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-sobre:hover {
    background: #d5840b;
}

.imagem-sobre-Tassia {
    flex: 1 1 400px;
    text-align: center;
}

.circle {
    background-color: #aaa;
    border-radius: 70%;
    width: 145px;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.circle img {
    position: auto;
    bottom: 0;
    width: 100%;
}

.imagem-sobre-Tassia img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* ==========================
   FOOTER
========================== */
.footer {
    background-color: #0a2239;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 350px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4cc9f0;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contact-item .icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    stroke: #4cc9f0;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #4cc9f0;
}

#btnTopo {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: #ffbd2ff3;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#btnTopo:hover {
    background-color: #ffd000;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
/* ==========================
   MOBILE
========================== */
@media (max-width: 768px) {

    header {
        padding: 12px 0;
    }

    header .container {
        width: 100%;
        padding: 0 16px;
    }

    .logo {
        height: 48px;
    }

    /* Mostra botão hamburguer */
    .menu-toggle {
        display: block;
        transition: transform 0.3s ease;
    }

    .menu-toggle.active {
        transform: rotate(90deg);
    }

    /* Menu mobile */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        background: #f19a0e;
        text-align: center;
    }

    nav ul.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


    nav li {
        padding: 12px 0;
    }

    .hero {
        padding: 80px 15px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
    /* Esconde menu desktop no mobile */
    nav ul {
        display: none;
        flex-direction: column;
        background: #f19a0e;
        text-align: center;
    }

}