@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Montserrat:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

/* ==========================================================================
   1. RESET E BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1c1c1c;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   2. HEADER — IDÊNTICO À HOME
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, height 0.4s ease;
    background-color: transparent;
    flex-direction: column;
    justify-content: center;
}

header.scrolled {
    background-color: #202020;
    height: 70px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 50px;
    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1;
}

.logo-text .subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff9900;
}

/* Desktop header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-header-agendar {
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    color: #fff !important;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    white-space: nowrap;
}

.btn-header-agendar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    filter: brightness(1.1);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff9900;
}

/* Hamburger button — idêntico à home */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu — idêntico à home */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    background-color: #252423;
    padding: 30px 20px;
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #ff9900;
}

.mobile-menu a:first-child {
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff !important;
}

.mobile-social {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.mobile-social a {
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff !important;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }
}

/* ==========================================================================
   3. PÁGINA SOBRE — CONTEÚDO PRINCIPAL
   ========================================================================== */
.sobre-page {
    padding: 150px 0 100px 0;
    min-height: 100vh;
    position: relative;
}

.sobre-page::before {
    content: '';
    position: absolute;
    top: -90px;
    left: 0;
    width: 100%;
    height: calc(100% + 90px);
    background: linear-gradient(#242424, #3a1f012f),
                url('newimg/fundo_2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.sobre-page .container {
    position: relative;
    z-index: 1;
}

.sobre-header {
    text-align: left;
    margin-bottom: 80px;
    max-width: 1300px;
}

.sobre-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.sobre-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: #ccc;
    max-width: 1000px;
    margin: 0;
    line-height: 1.6;
}

/* Grid de serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.servico-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.servico-card:hover {
    border-color: rgba(255, 153, 0, 0.3);
    transform: translateY(-5px);
}

.servico-categoria {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.servico-subcategoria {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff9900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.servico-descricao {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
}

/* Call to Action */
.sobre-cta {
    text-align: center;
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sobre-cta p {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    color: #fff;
    border: none;
    padding: 18px 60px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    filter: brightness(1.1);
}

/* ==========================================================================
   4. FOOTER — IDÊNTICO À HOME
   ========================================================================== */
.main-footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: #1b1b1b;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-bg {
    background-color: #1a1a1a;
    border-radius: 50px 50px 0 0;
    padding: 50px 80px 30px 80px;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.footer-logo img {
    height: 42px;
}

.footer-logo .logo-text {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 15px;
}

.footer-logo .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1;
}

.footer-logo .subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff9900;
}

.footer-about {
    flex: 2;
    text-align: center;
}

.footer-about p {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-social-circles {
    display: flex;
    gap: 12px;
}

.footer-social-circles a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-circles a:hover {
    background-color: #ff9900;
    border-color: #ff9900;
    color: #000;
}

.footer-bottom-info {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-info p,
.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #555;
    text-decoration: none;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: #fff;
}

/* ==========================================================================
   5. RESPONSIVIDADE — TABLET (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .servico-categoria {
        font-size: 1.5rem;
    }

    .footer-bg {
        padding: 40px 40px 30px 40px;
    }
}

/* ==========================================================================
   6. RESPONSIVIDADE — MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* --- HEADER MOBILE --- */
    header {
        height: 70px;
    }

    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* --- SOBRE PAGE MOBILE --- */
    .sobre-page {
        padding: 100px 0 60px 0;
    }

    .sobre-page::before {
        background-attachment: scroll; /* evita bug de fixed no iOS */
    }

    .sobre-header {
        margin-bottom: 40px;
    }

    .sobre-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .sobre-subtitle {
        font-size: 1rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .servico-card {
        padding: 25px 20px;
    }

    .servico-categoria {
        font-size: 1.3rem;
    }

    .servico-subcategoria {
        font-size: 1rem;
    }

    .servico-descricao {
        font-size: 0.95rem;
    }

    .sobre-cta p {
        font-size: 1.4rem;
    }

    .btn-cta {
        padding: 15px 40px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    /* --- FOOTER MOBILE --- */
    .footer-bg {
        padding: 40px 24px 24px 24px;
        border-radius: 30px 30px 0 0;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-about {
        order: 3;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-bottom-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   7. RESPONSIVIDADE — SMALL MOBILE (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {

    .sobre-title {
        font-size: 1.6rem;
    }

    .sobre-subtitle {
        font-size: 0.9rem;
    }

    .servico-categoria {
        font-size: 1.2rem;
    }

    .sobre-cta p {
        font-size: 1.2rem;
    }
}