/* ==========================================================
   BYO CLINIC - Estilos Principais
   Paleta: Preto #1A1A1A | Dourado #C9A96E | Branco #FFFFFF
   Versão: 2.0
   ========================================================== */

/* ---------- RESET & VARIÁVEIS ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #1A1A1A;
    --black-soft: #232323;
    --gold: #C9A96E;
    --gold-dark: #B08F52;
    --gold-light: #E5D5B7;
    --white: #FFFFFF;
    --off-white: #FAF8F4;
    --gray-light: #F2F0EC;
    --gray: #6B6B6B;
    --gray-dark: #3A3A3A;
    
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 40px rgba(0,0,0,0.10);
    --shadow-lg: 0 24px 60px rgba(0,0,0,0.15);
    
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

em {
    font-style: italic;
    color: var(--gold);
}

/* ---------- BOTÕES ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(201,169,110,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-full { width: 100%; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    color: var(--white);
    line-height: 1;
}

.logo-mark {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
}

.logo-text {
    font-size: 14px;
    letter-spacing: 6px;
    font-weight: 500;
    color: var(--gold);
    font-family: var(--font-body);
}

/* Navegação */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    position: relative;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover { color: var(--gold); }

.nav-cta {
    padding: 12px 26px;
    font-size: 13px;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,26,0.92) 0%,
        rgba(26,26,26,0.75) 50%,
        rgba(26,26,26,0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding-top: 120px;
    padding-bottom: 80px;
    animation: fadeUp 1s ease both;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 8px 20px;
    border: 1px solid rgba(201,169,110,0.4);
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.05;
}

.hero-title em {
    color: var(--gold);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}

.hero-feature i {
    color: var(--gold);
    font-size: 14px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 20px;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   SECTIONS (padrão)
   ========================================================== */
section {
    padding: 110px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-header-light .section-title { color: var(--white); }
.section-header-light .section-subtitle { color: rgba(255,255,255,0.7); }

/* ==========================================================
   SOBRE / EQUIPE
   ========================================================== */
.sobre { background: var(--off-white); }

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.equipe-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.equipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.equipe-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.equipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.equipe-card:hover .equipe-image img {
    transform: scale(1.06);
}

.equipe-info {
    padding: 32px 36px 40px;
}

.equipe-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.equipe-info h3 {
    font-size: 2rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.equipe-role {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 18px;
}

.equipe-bio {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.equipe-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--black);
    font-size: 16px;
    transition: var(--transition);
}

.equipe-social a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================
   SERVIÇOS
   ========================================================== */
.servicos { background: var(--white); }

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.servico-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.servico-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.servico-image {
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.servico-card:hover .servico-image img {
    transform: scale(1.08);
}

.servico-content {
    padding: 32px 28px 36px;
    text-align: center;
    position: relative;
}

.servico-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--off-white);
    color: var(--gold);
    font-size: 22px;
    border-radius: 50%;
    margin-top: -62px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    transition: var(--transition);
}

.servico-card:hover .servico-icon {
    background: var(--gold);
    color: var(--white);
}

.servico-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.servico-content p {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.65;
}

/* ==========================================================
   SEÇÃO GALERIA / RESULTADOS
   ========================================================== */
.galeria { background: var(--white); }

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--gray-light);
}

.galeria-item.galeria-tall {
    grid-row: span 2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.galeria-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 24px;
    z-index: 2;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.galeria-item figcaption span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.galeria-item figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--white);
}

.galeria-item:hover img { transform: scale(1.08); }
.galeria-item:hover::before { opacity: 1; }
.galeria-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

.galeria-nota {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
    font-size: 13px;
    color: var(--gray);
    text-align: center;
}

.galeria-nota i { color: var(--gold); }

/* ==========================================================
   DIFERENCIAIS
   ========================================================== */
.diferenciais {
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.diferenciais::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.diferencial {
    text-align: center;
    padding: 20px;
}

.diferencial i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    font-size: 26px;
    color: var(--gold);
    border: 1px solid rgba(201,169,110,0.35);
    border-radius: 50%;
    margin-bottom: 24px;
    transition: var(--transition);
}

.diferencial:hover i {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.08);
}

.diferencial h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.diferencial p {
    font-size: 14.5px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ==========================================================
   DEPOIMENTOS
   ========================================================== */
.depoimentos { background: var(--off-white); }

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.depoimento {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border-top: 3px solid var(--gold);
}

.depoimento:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.depoimento-stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.depoimento p {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--black-soft);
    line-height: 1.6;
    margin-bottom: 24px;
}

.depoimento footer {
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.depoimento footer strong {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ==========================================================
   SEÇÃO FAQ
   ========================================================== */
.faq { background: var(--off-white); }

.faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.faq-item.open {
    border-left-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 28px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: var(--transition);
    line-height: 1.5;
}

.faq-question:hover { color: var(--gold); }

.faq-question i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--off-white);
    color: var(--gold);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}

.faq-item.open .faq-question i {
    background: var(--gold);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 28px 26px;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.75;
}

/* ==========================================================
   AGENDAMENTO
   ========================================================== */
.agendamento {
    background: var(--white);
    padding: 100px 0;
}

.agendamento-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.agendamento-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    font-weight: 500;
}

.agendamento-info > p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.75;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contato-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contato-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    background: var(--off-white);
    color: var(--gold);
    border-radius: 50%;
    font-size: 17px;
}

.contato-item strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.contato-item span,
.contato-item a {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.5;
}

.contato-item a:hover { color: var(--gold); }

/* Formulário */
.agendamento-form {
    background: var(--off-white);
    padding: 44px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.agendamento-form h3 {
    font-size: 1.7rem;
    margin-bottom: 28px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--black-soft);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--black);
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-privacidade {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--gray);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-privacidade i { color: var(--gold); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.75);
    padding: 90px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-light .logo-mark { color: var(--white); }
.logo-light .logo-text { color: var(--gold); }

.footer-brand p {
    margin: 22px 0 26px;
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 17px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14.5px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contato li {
    display: flex;
    gap: 12px;
    line-height: 1.6;
}

.footer-contato i {
    color: var(--gold);
    margin-top: 4px;
    font-size: 14px;
    min-width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom i { color: var(--gold); }

/* ==========================================================
   WHATSAPP FLUTUANTE
   ========================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 74px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    font-weight: 500;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 78px;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================
   BOTTOM NAV MOBILE (estilo app)
   ========================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
    grid-template-columns: repeat(5, 1fr);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 998;
    border-radius: 20px 20px 0 0;
    animation: slideUp 0.5s ease both;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--gray);
    text-align: center;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.mbn-item i {
    font-size: 18px;
    transition: var(--transition);
    line-height: 1;
}

.mbn-item span {
    display: block;
    letter-spacing: 0.2px;
    line-height: 1.1;
    white-space: nowrap;
}

.mbn-item:hover,
.mbn-item.active {
    color: var(--gold);
}

.mbn-item.active i {
    transform: translateY(-2px);
}

/* Item CTA (Agendar) - destaque */
.mbn-cta {
    color: var(--gold);
}

.mbn-cta i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white) !important;
    border-radius: 50%;
    font-size: 17px;
    box-shadow: 0 6px 16px rgba(201, 169, 110, 0.45);
    margin-top: -18px;
    border: 3px solid var(--white);
    transition: var(--transition);
}

.mbn-cta span {
    margin-top: 2px;
    font-weight: 600;
    color: var(--gold);
}

.mbn-cta:hover i,
.mbn-cta.active i {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 24px rgba(201, 169, 110, 0.55);
}

/* WhatsApp - verde */
.mbn-whats i {
    color: #25D366;
}
.mbn-whats:hover,
.mbn-whats.active {
    color: #25D366;
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1024px) {
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .agendamento-wrapper { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 860px) {
    section { padding: 80px 0; }
    
    .menu-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 360px;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 20px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
        overflow-y: auto;
    }
    
    .nav.open { right: 0; }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-link {
        display: block;
        padding: 18px 0;
        font-size: 15px;
    }
    
    .nav-cta {
        margin-top: 20px;
        width: 100%;
    }
    
    .equipe-grid { grid-template-columns: 1fr; gap: 30px; }
    .depoimentos-grid { grid-template-columns: 1fr; }
    
    .hero-content { padding-top: 100px; }
    .hero-features { gap: 20px; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    /* Ativa bottom nav */
    .mobile-bottom-nav { display: grid; }
    
    /* Compensa a altura do bottom nav */
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    
    /* Esconde WhatsApp flutuante (já existe no bottom nav) */
    .whatsapp-float { display: none !important; }
    
    /* Ajusta galeria no tablet */
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    /* Ajusta footer para não ficar colado ao bottom nav */
    .footer { padding-bottom: 30px; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    section { padding: 70px 0; }
    
    .hero { min-height: 90vh; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .servicos-grid { grid-template-columns: 1fr; }
    .diferenciais-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .agendamento-form { padding: 32px 24px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { justify-content: center; text-align: center; }
    
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-tooltip { display: none; }
    
    .equipe-info { padding: 26px 24px 32px; }
    .depoimento { padding: 32px 24px; }
    
    .galeria-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .galeria-item.galeria-tall { grid-row: auto; }
    
    .faq-question {
        padding: 20px 20px;
        font-size: 15px;
        gap: 12px;
    }
    .faq-question i { min-width: 28px; height: 28px; font-size: 11px; }
    .faq-answer p { padding: 0 20px 22px; font-size: 14.5px; }
    
    .mobile-bottom-nav { padding-left: 4px; padding-right: 4px; }
    .mbn-item { font-size: 10px; padding: 6px 2px; }
    .mbn-item i { font-size: 17px; }
    .mbn-cta i { width: 42px; height: 42px; font-size: 16px; }
}