/* ============================================================
   ESTÉTICA 2021 - SEBOSOLER.COM (VERSÃO FINAL COMPLETA)
   ============================================================ */

/* 1. RESET E BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Trava absoluta contra movimento lateral */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #1d1d1f;
    line-height: 1.47;
    -webkit-font-smoothing: antialiased;
}

/* 2. NAVBAR CENTRALIZADA */
.apple-navbar {
    background: rgba(255, 255, 255, 0.398);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 48px;
    width: 100%;
    display: flex;
    justify-content: center; 
    position: fixed;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: center; /* Centraliza Logo + Links */
    align-items: center;
    gap: 40px; 
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.logo {
    font-size: 19px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #1d1d1f;
    opacity: 0.8;
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.3s;
}

.nav-links li a:hover { opacity: 1; }

/* 3. HERO IMAGEM (TOP) */
.imagens {
    margin-top: 48px;
    padding: 60px 20px;
    text-align: center;
    background: #f5f5f7;
    
}

.imagens img {
    max-width: 100%;
    width: 850px;
    height: auto;
    border-radius: 20px;
}

/* 4. TÍTULOS E DIVISORES */
.titulo {
    padding: 60px 20px 20px;
    text-align: center;
}

.titulo h1 {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.divisor {
    border: 0;
    border-top: 1px solid #d2d2d7;
    margin: 40px auto;
    width: 80%;
}

/* 5. SEÇÃO HERO VÍDEO (INSTAGRAM) - FIX ESTOURO */
.apple-hero-video {
    background: #f5f5f7;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 40px;
     border: 1px solid black ;
     border-radius: 30px;
}

.hero-text {
    flex: 1;
    text-align: left;
    color: rgb(162, 166, 167);
}

.badge {
    color: #bf4800;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 48px;
    margin: 15px 0;
}

.hero-text p {
    font-size: 21px;
    color: #86868b;
    margin-bottom: 30px;
}

.button-blue {
    background: #0071e3;
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

.link-more {
    color: #06c;
    text-decoration: none;
    margin-left: 20px;
    font-size: 17px;
}

.hero-video-box {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 400px; /* Trava o tamanho no PC */
}

.instagram-media {
    width: 100% !important;
    min-width: 0 !important; /* CORRIGE MOVIMENTO LATERAL */
    border-radius: 20px !important;
}

/* 6. GRADE DE FOTOS */
.fotos4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
     border: 1px solid black ;
     border-radius: 30px;
     
}

.fotos4 img {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 7. GRID DE TEXTOS */
.grid-textos {
    padding: 80px 0;
    background: #fff;
   
}

.container-links {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    padding: 0 40px;
    
}

.bloco h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    
}

.bloco p {
    font-size: 17px;
    color: #86868b;
    line-height: 1.5;
}

/* 8. RODAPÉ (COPYRIGHT E LINKS) */
.apple-footer {
    background: #f5f5f7;
    padding: 60px 0;
    color: #86868b;
    font-size: 12px;
}

.footer-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
}

.footer-copy {
    margin-bottom: 10px;
}

.footer-mapa {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-mapa a {
    color: #515154;
    text-decoration: none;
}

.footer-mapa a:hover { text-decoration: underline; }

/* 9. RESPONSIVIDADE PARA TELEFONE */
@media (max-width: 768px) {
    .nav-content {
        gap: 15px;
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links li a { font-size: 10px; }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .hero-text { text-align: center; }

    .hero-video-box {
        justify-content: center;
        max-width: 100%;
    }

    .container-links {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }

    .link-more {
        display: block;
        margin-left: 0;
        margin-top: 15px;
    }

    .footer-mapa {
        justify-content: center;
    }
}