:root {
    --container: 1100px;
    --accent: #d4af37;
    --bg: #fafafa;
    --muted: #475569;
    --dark: #041022;
    --card: #fff;
    --radius: 12px;
    --text: #111;
}


/* reset */

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    color: var(--text);
    background: linear-gradient(180deg, #fafafa, #f4f6f8)
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px
}


/* HERO */

.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background-image: url("Cabec.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, .55), rgba(3, 7, 18, .6));
    z-index: 0
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 48px 20px
}

.brand .clinica {
    font-family: "Playlist Script", "Great Vibes", cursive;
    font-size: 42px;
    color: #fff;
    display: block;
    line-height: 1
}


/*Resposividade titulo e subtitulo*/

@media screen and (max-width: 600px) {
    .main-nav {
        text-align: center;
    }
}

.tagline {
    color: #e9edf1;
    margin-top: 6px;
    max-width: 540px
}


/* NAV */

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin-top: 18px;
    padding: 0
}

.main-nav a {
    color: rgba(255, 255, 255, .95);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all .18s
}

.main-nav a:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-2px)
}


/*resposivade menu*/

@media screen and (max-width: 600px) {
    .main-nav {
        display: none;
    }
}


/* hero photo */

.hero-photo img {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 50%;
}


/*resposividade hero-photo*/

@media screen and (max-width: 600px) {
    .hero-photo {
        display: none;
    }
}


/* sections */

.section {
    padding: 56px 0
}

.section h2 {
    text-align: center;
    margin-bottom: 14px;
    font-size: 28px;
    color: var(--text)
}

.intro {
    text-align: center;
    color: var(--muted);
    margin-bottom: 18px
}


/* carousel (resumido) */


/* esconder TODOS os dots (Bootstrap indicators + carousel-dots custom) */

.carousel-dots,
.carousel-indicators {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px
}

.carousel-track-wrapper {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(15, 23, 32, .06)
}

.carousel-track {
    display: flex;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1);
    padding: 0;
    margin: 0;
    list-style: none
}

.carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
    position: relative;
    display: flex;
    align-items: center
}

.carousel-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 12px
}

.slide-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #fff;
    z-index: 3;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .2));
    padding: 12px 16px;
    border-radius: 10px;
    max-width: 60%
}


/* before/after */

.before-after {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .12)
}

.before-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none
}

.ba-after {
    position: absolute;
    inset: 0;
    z-index: 1
}

.ba-before {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    z-index: 2;
    overflow: hidden;
    width: 50%
}

.ba-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 8px 22px rgba(2, 6, 23, .24);
    border: 4px solid #fff;
    cursor: pointer;
    transition: box-shadow .18s
}


/* depoimentos */

.depoimento-card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(9, 10, 15, .06);
    margin-bottom: 12px
}

.depoimento-card p {
    margin: 0
}


/* ===========================
   RODAPÉ PREMIUM CENTRALIZADO
   =========================== */

.site-footer {
    background: var(--dark);
    color: #ffffff;
    padding: 60px 0 40px;
    margin-top: 50px;
    text-align: center;
    font-family: "Inter", sans-serif;
}

.site-footer .container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    margin-bottom: 30px
}

.footer-col {
    max-width: 600px
}

.footer-titulo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff
}

.footer-texto {
    margin: 0;
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center
}

.footer-texto img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 6px
}

.contact-map-block p {
    text-align: center;
    font-size: 34px;
}

.link-maps,
.footer-texto a {
    position: relative;
    left: 350px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600
}

.link-maps:hover,
.footer-texto a:hover {
    position: relative;
    left: 350px;
    color: #ffffff;
    text-decoration: underline
}

.copy {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 20px;
    color: #cbd5e1;
    font-size: 14px;
    margin-top: 20px
}


/* CSS: cole no seu stylesheet (remova regras duplicadas antigas) */


/* variáveis */

:root {
    --fab-size: 56px;
    --fab-gap: 16px;
    /* espaço entre os FABs */
    --fab-right: 18px;
    --fab-shadow: 0 14px 36px rgba(2, 6, 23, .28);
    --fab-focus: 3px solid rgba(212, 175, 55, .18);
}


/* base comum */

.fab {
    position: fixed;
    right: var(--fab-right);
    display: inline-grid;
    place-items: center;
    width: var(--fab-size);
    height: var(--fab-size);
    border-radius: 999px;
    box-shadow: var(--fab-shadow);
    z-index: 9999;
    text-decoration: none;
    color: #fff;
    /* cor do ícone via currentColor */
    background-color: transparent;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* espaço seguro para iPhones com notch */
    margin-bottom: env(safe-area-inset-bottom);
    display: inline-grid;
    place-items: center;
}


/* ===== CSS consolidado e responsivo (substitua suas regras antigas) ===== */

:root {
    --fab-size: 64px;
    /* tamanho desktop */
    --fab-size-mobile: 56px;
    /* tamanho touch */
    --fab-gap: 14px;
    --fab-right: 18px;
    --fab-shadow: 0 18px 48px rgba(2, 6, 23, .28);
    --fab-focus: 3px solid rgba(212, 175, 55, .18);
}


/* container (controla empilhamento) */

.fab-group {
    position: fixed;
    right: var(--fab-right);
    bottom: calc(18px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column-reverse;
    /* whatsapp fica abaixo por padrão */
    gap: var(--fab-gap);
    z-index: 9999;
    pointer-events: none;
}


/* botão base */

.fab {
    pointer-events: auto;
    width: var(--fab-size);
    height: var(--fab-size);
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    box-shadow: var(--fab-shadow);
    text-decoration: none;
    color: #fff;
    background: transparent;
    /* overridden por cada botão */
    transition: transform .18s ease, box-shadow .18s ease, width .18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: visible;
    border: none;
}


/* WhatsApp visual */

.fab-whatsapp {
    background: linear-gradient(180deg, #25D366, #1fae4b);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #fff;
}


/* Instagram visual (mantive como referência) */


/* Instagram FAB refinado */

.fab-instagram {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    /* borda arredondada, não perfeita circle — look premium */
    background: linear-gradient(135deg, #feda75 0%, #f09433 30%, #d6249f 60%, #285AEB 100%);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #fff;
    /* icone em branco */
    text-decoration: none;
    transition: transform .16s cubic-bezier(.2, .9, .3, 1), box-shadow .16s ease;
    -webkit-tap-highlight-color: transparent;
}


/* Ícones (SVG) */

.fab svg {
    width: 26px;
    height: 26px;
    display: block;
    fill: currentColor;
}


/* hover/focus desktop */

@media (hover: hover) and (pointer: fine) {
    .fab:hover,
    .fab:focus {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 26px 60px rgba(2, 6, 23, .36);
        outline: none;
    }
}


/* MOBILE RULES: otimizações específicas para tela pequena / touch */

@media (max-width: 700px),
(hover: none) {
     :root {
        --fab-size: var(--fab-size-mobile);
    }
    .fab-group {
        right: 14px;
        gap: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        /* empilhar com instagram acima do whatsapp: */
        flex-direction: column;
        /* insta em cima, whatsapp em baixo */
    }
    .fab {
        width: var(--fab-size);
        height: var(--fab-size);
        border-radius: 999px;
        padding: 0;
    }
    /* garante área mínima de toque (44x44 rule) */
    .fab {
        min-width: 44px;
        min-height: 44px;
    }
    /* ícone um pouco maior em touch */
    .fab svg {
        width: 28px;
        height: 28px;
    }
    /* remove transform exagerado no active (mais consistente em mobile) */
    .fab:active {
        transform: translateY(-2px) scale(.995);
    }
    /* evita que os botões fiquem no caminho de barras fixas */
    .fab-group {
        margin-bottom: env(safe-area-inset-bottom);
    }
    /* se quiser esconder instagram em telas muito pequenas (<420px) */
    @media (max-width: 420px) {
        .fab-instagram {
            display: none;
        }
    }
}


/* foco acessível */

.fab:focus {
    outline: var(--fab-focus);
    outline-offset: 6px;
}


/* reduz movimento para quem prefere menos animação */

@media (prefers-reduced-motion: reduce) {
    .fab,
    .fab svg {
        transition: none !important;
        transform: none !important;
    }
}


/* se precisar forçar o whatsapp levemente acima (ex.: evitar sobreposição com bottom nav), ajuste aqui */

.fab-whatsapp {
    /* regra leve — ajuste se necessário */
    /* bottom spacing controlado pelo .fab-group; mantenho comentário para referência */
}


/* map responsive */

.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .12);
    margin: 18px 0
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0
}
