/* Estilos globais do site */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    padding-top: 80px; /* Espaço para o header fixo */
}

/* Page header (shared between pages like Política and Index) */
.page-header {
    text-align: center;
    margin: 40px auto 30px;
    border-bottom: 2px solid #f0f0f0;
    padding: 40px 0 20px;
}
.page-header h1 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.page-header p {
    color: #666;
    font-size: 0.95rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

#especificacoes {
    position: relative;
    scroll-margin-top: 140px;
}

#especificacoes::before {
    content: '';
    display: block;
    height: 140px;
    margin-top: -140px;
    visibility: hidden;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.specs-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.specs-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #475569;
    line-height: 1.7;
}

.specs-list li i {
    color: #2563eb;
    margin-top: 4px;
    min-width: 20px;
}

@media (max-width: 992px) {
    .specs-container {
        grid-template-columns: 1fr;
    }
    .specs-image {
        min-height: 260px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    align-items: center;
}

.nav-links a {
    color: #475569;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease-out;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a:hover::after {
    width: 100%;
}

.active-link {
    color: #2563eb !important;
}

.active-link::after {
    width: 100% !important;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    border: 2px dashed #cbd5e1;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    background: white;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.cart-btn {
    position: relative;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0f172a;
    transition: 0.3s;
    text-decoration: none;
}

.cart-btn:hover {
    background: #e2e8f0;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #2563eb;
    color: white;
    border-radius: 999px;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.user-name {
    color: #475569;
    font-weight: 600;
    font-size: 14px;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 100;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #475569;
    font-size: 14px;
    transition: 0.3s;
    border-bottom: 1px solid #e2e8f0;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.hero {
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 20px 0;
}

.highlight {
    color: #2563eb;
}

.hero p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 20px;
    max-width: 500px;
}

.hero-image {
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 100px 0;
}

.section-white {
    background: white;
}

.section-gray {
    background: #f1f5f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 40px;
}

#beneficios h2 {
    text-align: center;
    margin-bottom: 32px;
}

.benefits-card {
    background: white;
    flex: 0 1 calc(33.333% - 24px);
    max-width: calc(33.333% - 24px);
    min-width: 260px;
    box-sizing: border-box;
    padding: 34px 30px;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.benefits-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.16);
    color: #2563eb;
    font-size: 28px;
}

.benefits-card h3 {

/* ===== Correções para o menu hamburguer e perfil (desktop / mobile) ===== */
/* Garante que o drawer-account esteja oculto por padrão (desktop) */
.nav-links .drawer-account { display: none; }

/* Força exibição do botão hamburguer e do drawer em telas pequenas
   Colocado no CSS principal para evitar sobrescritas por outros stylesheets */
@media (max-width: 768px) {
    .nav-links .drawer-account { display: flex !important; }
    nav > .user-profile { display: none !important; }
    .hamburger-btn { display: flex !important; }
    .nav-links { display: flex !important; }
    .nav-overlay { display: block !important; }
}

/* Responsive header / mobile menu */
.nav-toggle { display: none; background: none; border: none; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .hamburger { display: block; width: 24px; height: 2px; background: #0f172a; position: relative; border-radius: 2px; }
.nav-toggle .hamburger::before, .nav-toggle .hamburger::after { content: ''; position: absolute; left: 0; width: 24px; height: 2px; background: #0f172a; border-radius: 2px; transition: transform .25s ease; }
.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
    .nav-links { position: absolute; top: 80px; right: 0; left: 0; background: white; flex-direction: column; gap: 0; padding: 12px 24px; display: none; border-bottom: 1px solid #e2e8f0; }
    .nav-links.open { display: flex; box-shadow: 0 10px 30px rgba(2,6,23,0.08); }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links .cart-btn { width: 100%; justify-content: flex-start; }
    .user-profile { display: none; }
    .nav-toggle { display: flex; }
    nav { height: 64px; }
    body { padding-top: 64px; }
}

/* Mobile hamburger and drawer styles */
.hamburger{
    display:none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 12px;
}
.hamburger:focus{ outline: 2px solid #2563eb; outline-offset: 2px; }
.hamburger-box{ display:inline-block; width:28px; height:18px; position:relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after{
    display:block; background:#0f172a; height:2px; border-radius:2px; position:absolute; left:0; right:0; transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger-inner{ top:50%; transform: translateY(-50%); }
.hamburger-inner::before{ content:''; top:-8px; }
.hamburger-inner::after{ content:''; top:8px; }

.mobile-menu{ position:fixed; inset:0; display:none; z-index:10000; }
.mobile-menu.open{ display:block; }
.mobile-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,0.35); opacity:0; transition:opacity 0.25s ease; }
.mobile-menu.open .mobile-backdrop{ opacity:1; }
.mobile-menu-panel{ position:fixed; top:0; right:0; height:100%; width:320px; max-width:80%; background:white; box-shadow:-20px 0 40px rgba(2,6,23,0.2); transform:translateX(110%); transition:transform 0.35s cubic-bezier(.2,.9,.3,1); overflow:auto; padding:20px; outline:none; }
.mobile-menu.open .mobile-menu-panel{ transform:translateX(0%); }
.mobile-close{ background:transparent; border:none; font-size:28px; line-height:1; cursor:pointer; color:#475569; float:right; }
.mobile-links{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
.mobile-links a{ padding:12px 10px; border-radius:8px; color:#0f172a; font-weight:600; }
.mobile-links a:hover{ background:#f1f5f9; color:#2563eb; }

@media (max-width: 992px){
    .nav-links{ display:none; }
    .user-profile, .btn-primary{ display:none; }
    .hamburger{ display:inline-flex; align-items:center; }
}
    font-size: 1.5rem;
    margin: 0;
    color: #0f172a;
}

.benefits-card p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
}

.card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative; 
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 50;
}

.card-img {
    background: #f8fafc;
    height: 260px;
    border-radius: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.35s ease, filter 0.35s ease;
    transform: scale(1);
    transform-origin: center center;
    cursor: zoom-in;
}

.card-img:hover img {
    transform: scale(1.22);
    filter: saturate(1.08) brightness(1.04);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483650;
}

.image-lightbox.open {
    display: flex;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}

.image-lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.image-lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Zoom / pan styles */
.image-lightbox-viewport {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox-content img.image-zoomable {
    will-change: transform;
    cursor: grab;
    transition: transform 120ms ease-out;
    touch-action: none;
}
.image-lightbox-content img.image-zoomable:active {
    cursor: grabbing;
}

.image-lightbox-toolbar {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.image-lightbox-toolbar button {
    background: rgba(255,255,255,0.92);
    border: none;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2,6,23,0.12);
    font-weight: 700;
}
.image-lightbox-toolbar button:hover { background: rgba(255,255,255,1); }

.image-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #102a43;
    font-size: 24px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 1);
}

.card:hover .card-img {
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .card-img {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .card-img {
        height: 280px;
        padding: 12px;
    }
}

.price {
    font-weight: bold;
    color: #2563eb;
    margin-top: auto;
    padding-top: 16px;
    font-size: 20px;
}

.btn-carrinho {
    width: 100%;
    margin-top: 12px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.btn-carrinho:hover {
    background: #1d4ed8;
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: 0.3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

footer h4 {
    color: white;
    margin-bottom: 16px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    background: white;
    padding: 16px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-section {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 60px;
}

.benefits-team {
    border-top: none;
    padding-top: 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.benefits-team .team-member {
    width: calc(33.333% - 21.33px);
    min-width: 280px;
}

.benefits-team .member-photo {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: rgba(37, 99, 235, 0.12);
    border: none;
}

.benefits-team .member-photo i {
    font-size: 28px;
    color: #2563eb;
}

.benefits-team .member-role {
    display: none;
}

.benefit-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-top: 12px;
}



.team-member:hover .portfolio-btn{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(37,99,235,.35);
}
.team-member {
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: calc(25% - 32px);
    min-width: 220px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e2e8f0;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #f8fafc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.member-role {
    font-size: 14px;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}
