/* ========================================================
   Instituto Amici - Estilos compartilhados das especialidades
   ======================================================== */

:root {
    --azul-claro: #7CC1E1;
    --amarelo: #FFD475;
    --roxo: #B6A3D8;
    --rosa: #E6A2AD;
    --verde: #A4D8A3;
    --azul-escuro: #6882A6;
    --bg-suave: #F4F9FC;
    --branco: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    color: var(--azul-escuro);
    background: var(--branco);
    overflow-x: hidden;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 90px;
    background: var(--branco);
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}
.logo img { height: 75px; width: auto; cursor: pointer; }

.nav-container { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
    text-decoration: none;
    color: var(--azul-escuro);
    font-weight: 800;
    font-size: 0.85rem;
    transition: 0.3s;
    cursor: pointer;
}
.nav-links a:hover { color: var(--amarelo); }
.insta-link {
    color: var(--rosa);
    font-size: 1.4rem;
    text-decoration: none;
    transition: 0.3s;
}
.insta-link:hover { transform: scale(1.1); }

.auth-buttons { display: flex; gap: 8px; }
.btn-auth {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-pais { background: var(--rosa); color: white; }
.btn-pais:hover { background: var(--azul-escuro); }
.btn-colab { border: 2px solid var(--azul-claro); color: var(--azul-claro); }
.btn-colab:hover { background: var(--azul-claro); color: white; }

/* MENU HAMBÚRGUER (mobile) */
.hamburguer {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--azul-escuro);
    cursor: pointer;
    padding: 8px;
    z-index: 1200;
}
.menu-mobile {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--branco);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 1150;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease, visibility 0.4s, opacity 0.4s;
    overflow-y: auto;
}
.menu-mobile.aberto {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.menu-mobile a {
    display: block;
    padding: 15px 0;
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}
.menu-mobile a:hover { color: var(--azul-claro); padding-left: 8px; }
.menu-mobile .btn-auth {
    margin-top: 15px;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    border: 2px solid transparent;
}
.menu-mobile .btn-auth:first-of-type { margin-top: 25px; }
.menu-mobile .btn-pais { background: var(--rosa); color: white; border-color: var(--rosa); }
.menu-mobile .btn-colab { background: white; color: var(--azul-claro); border-color: var(--azul-claro); }
.overlay-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 1140;
}
.overlay-menu.ativo { display: block; }
.fechar-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--azul-escuro);
    cursor: pointer;
}

/* HERO COM GLASSMORPHISM */
.hero-especialidade {
    background: var(--bg-suave);
    padding: 60px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.text-content { flex: 1.2; z-index: 2; }
.text-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 4px 8px rgba(104, 130, 166, 0.25);
}
.text-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.image-content { flex: 0.8; text-align: center; z-index: 1; }
.image-content img {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.2));
    transition: 0.5s ease-in-out;
}
.image-content img:hover { transform: scale(1.05) rotate(2deg); }

.btn-acao {
    background: var(--verde);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(164, 216, 163, 0.3);
    transition: 0.3s;
}
.btn-acao:hover {
    background: var(--azul-escuro);
    transform: translateY(-3px);
}

/* GALERIA DE TÉCNICAS */
.galeria-salas {
    padding: 90px 8%;
    text-align: center;
    background: var(--bg-suave);
}
.galeria-salas h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.galeria-salas .subtitulo {
    font-size: 1.1rem;
    color: var(--azul-escuro);
    margin-bottom: 50px;
    font-weight: 600;
    opacity: 0.8;
}
.grid-tecnicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}
.card-tecnica {
    background: var(--branco);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(104, 130, 166, 0.08);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}
.card-tecnica:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(104, 130, 166, 0.15);
}
.card-tecnica img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.card-tecnica .legenda {
    padding: 25px 22px;
    text-align: left;
    border-bottom: 8px solid var(--azul-claro);
}
.card-tecnica .legenda h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--azul-escuro);
}
.card-tecnica .legenda p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    font-weight: 600;
}

/* FOOTER */
footer {
    background: var(--azul-escuro);
    color: white;
    padding: 60px 5% 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-info h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--amarelo);
}
.footer-info a { color: white; text-decoration: none; }
.estacionamento-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 10px;
    border-left: 4px solid var(--verde);
    margin-top: 15px;
    font-size: 0.95rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 35px;
    right: 35px;
    background: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 38px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* MOBILE */
@media (max-width: 992px) {
    header { padding: 5px 5%; height: 75px; }
    .logo img { height: 60px; }
    .nav-container { display: none; }
    .hamburguer { display: block; }
    .glass-card { flex-direction: column; text-align: center; padding: 30px; gap: 20px; }
    .text-content h1 { font-size: 2.2rem; }
    .text-content p { font-size: 1rem; }
    .hero-especialidade { padding: 40px 5%; }
    .galeria-salas { padding: 50px 5%; }
    .galeria-salas h2 { font-size: 2rem; }
    .card-tecnica img { height: 200px; }
    .whatsapp-float {
        width: 55px; height: 55px;
        bottom: 20px; right: 20px;
        font-size: 28px;
    }
}
