/* Custom styles for Otostar - Adaptado ao manual da marca */

/* Body */
body {
    padding-top: 0px;
    background: #fff; /* fundo branco */
    font-family: Arial, sans-serif;
    color: rgb(149,139,131); /* texto cinza escuro */
}

/* Header */
header .logo img {
    height: 60px;
}

header .fixed-top {
    background: #fff; /* branco */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

header nav .nav-link,
header nav .nav-link:focus {
    color: rgb(149,139,131); /* cinza escuro */
    font-weight: 600;
}

    header nav .nav-link:hover {
        color: rgb(244,227,175); /* dourado claro */
    }

.navbar-nav .nav-link.active {
    color: rgb(149,139,131); /* cinza escuro */
    font-weight: 600;
}

.navbar-nav .nav-link.show {
    color: rgb(218,190,120); /* dourado medio */
}

/* Dropdown menu */
.nav .dropdown-menu {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: .5rem;
    border-radius: .25rem;
    display: none;
    min-width: 220px;
    right: 0;
}

    .nav .dropdown-menu.show {
        display: block;
    }

    .nav .dropdown-menu .dropdown-item:focus, .dropdown-item:hover {
        color: rgb(244,227,175); /* dourado claro */
    }

.dropdown-item {
    color: rgb(149,139,131); /* cinza escuro */
    font-weight: 600;
}

/* Cards */
.card {
    background: #fff; /* branco */
    color: rgb(149,139,131); /* cinza escuro */
    border: 1px solid rgb(184,177,173); /* cinza claro */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-header {
    background: #fff;
    color: rgb(218,190,120); /* dourado medio */
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom: none;
}

.card-body {
    color: rgb(149,139,131);
}

.card-footer {
    background: #fff;
    border-top: none;
    text-align: center;
}

    .card-footer a {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: rgb(218,190,120); /* dourado medio */
        color: #fff;
        border-radius: .25rem;
        text-decoration: none;
        font-weight: 600;
    }

        .card-footer a:hover {
            background: rgb(197,162,71); /* dourado mais escuro */
        }

/* Titulos */
h1, h2, h3 {
    color: rgb(218,190,120); /* dourado medio */
}

/* Subtitulos */
h4, h5, h6 {
    color: rgb(149,139,131); /* cinza escuro */
}

/* Carousel */
.carousel img {
    height: 420px;
    object-fit: cover;
    width: 100%;
}

/* Botoes */
.btn-primary {
    background: rgb(218,190,120);
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        background: rgb(197,162,71);
    }

.btn-secondary {
    background: rgb(184,177,173);
    color: rgb(149,139,131);
    border: none;
}

    .btn-secondary:hover {
        background: rgb(149,139,131);
        color: #fff;
    }

/* Convenio */
.convenio-logo {
    max-height: 90px; /* ajusta visualmente todos os logos */
    object-fit: contain; /* mantém proporção sem cortes */
    width: auto; /* garante que a largura siga a proporção */
    display: block; /* remove pequenos espaçamentos inline */
}

/* Corpo clinico */
.medico-foto {
    height: 450px;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
}

/* Footer */
footer {
    background: rgb(149,139,131); /* cinza escuro */
    color: #fff;
}

    footer h6 {
        color: #fff;
        font-weight: bold;
    }

    footer a {
        color: inherit;
        text-decoration: none;
    }

        footer a:hover {
            color: rgb(244,227,175); /* dourado claro */
        }

    footer .linha1 {
        background: #958B83; /* cinza */
        color: #fff;
    }

    footer .linha2 {
        background: #000; /* preto */
        color: #fff;
    }

        footer .linha2 a {
            color: #fff;
            margin-left: 15px;
            font-size: 1.2rem; /* tamanho dos ícones */
            transition: color 0.3s;
        }

            footer .linha2 a:hover {
                color: rgb(244,227,175); /* dourado claro no hover */
            }

/* Whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 40px;
    z-index: 999;
    width: 72px; /* largura fixa */
    height: 72px; /* altura fixa */
    border-radius: 50%; /* força o círculo perfeito */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

    .whatsapp-float i {
        font-size: 38px; /* maior ícone */
    }

    .whatsapp-float:hover {
        transform: scale(1.1); /* só zoom no hover */
    }

@keyframes vibrar {
    0%, 100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-18deg);
    }

    40% {
        transform: rotate(18deg);
    }

    60% {
        transform: rotate(-12deg);
    }

    80% {
        transform: rotate(12deg);
    }
}

.whatsapp-float.animate {
    animation: vibrar 0.6s ease-in-out;
}

/* Área das fotos */
/* Vertical */
.fotos-vertical img {
    width: 220px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    border: 5px solid #fff;
    border-radius: 4px;
    transition: transform 0.3s;
    cursor: pointer;
}

.fotos-vertical .row:nth-child(1) div img {
    transform: rotate(-8deg);
}

.fotos-vertical .row:nth-child(2) div img {
    transform: rotate(5deg);
}

.fotos-vertical .row:nth-child(3) div img {
    transform: rotate(-4deg);
}

.fotos-vertical .row div img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

/* Horizontal */
.fotos-horizontal img {
    width: 220px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    border: 5px solid #fff;
    border-radius: 4px;
    transition: transform 0.3s;
    cursor: pointer;
}

.fotos-horizontal div:nth-child(1) img {
    transform: rotate(-8deg);
}

.fotos-horizontal div:nth-child(2) img {
    transform: rotate(5deg);
}

.fotos-horizontal div:nth-child(3) img {
    transform: rotate(-4deg);
}

.fotos-horizontal div img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}
