/* ===========================
   VARIÁVEIS & CORES PRINCIPAIS
=========================== */
:root {
    --primary-color: #387c6f;
    --primary-color-dark: #2e6358;
    --text-color: #fff;
}

/* ===========================
   GERAL
=========================== */
h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
}

p, ul, li {
  font-size: 1.1rem;
  line-height: 1.6rem;
}

.p-limit {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.spacer {
    padding-top: 48px;
    padding-bottom: 35px;
}

/* Desktop */
@media(min-width: 992px) {
	.spacer {
		padding-top: 65px;
		padding-bottom: 60px;
	}
}

.text-off-white {
	color: #f2e0e4;
}

.text-custom {
	color: var(--primary-color);
}

/* Título da sessão */
.section-title {
    color: #387c6f;
    font-weight: 700;
}

/* Parágrafos / Lead */
.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* BOTÕES */
.btn-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-custom:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-2px);
    color: var(--text-color);
}

.btn-custom:active {
    transform: translateY(0);
}

/* ===========================
   MENU
=========================== */
.navbar-nav .nav-link {
    font-size: 1.3rem;
    font-weight: 500;
	color: var(--primary-color);
}

.navbar-nav .nav-item {
    margin: 0 0.8rem;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    position: relative;
    background: no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.68);
}

.hero .content {
    position: relative;
    z-index: 2;
    color: var(--text-color);
}

.hero h1 {	
    font-size: 1.9rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero p {	
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    max-width: 700px;
    margin: 0 auto;
}

.scroll-down {
    display: inline-block;
    margin-top: 20px;
    padding: 10px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* Desktop */
@media(min-width: 992px) {
    .hero { height: 580px; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.2rem; }
}

/* ===============================
   ABOUT SECTION
================================= */

/* Container da imagem */
.image-wrapper {
    position: relative;
    display: inline-block;  /* mantém largura natural da imagem */
}

/* Imagem */
.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}

/* Borda deslocada */
.image-wrapper .image-border {
    position: absolute;
    top: -15px;                     /* desloca para cima */
    left: 0;                        /* começar da borda esquerda */
    width: 100%;
    height: 100%;
    border: 1px solid #387c6f;      /* cor principal */
    z-index: 1;
    border-radius: 5px;
    pointer-events: none;
    transform: translate(15px, 0);  /* desloca 15px para direita */
}


/* Ajuste para telas pequenas */
@media (max-width: 767px) {
    .image-wrapper .image-border {
        top: -10px;
        left: 10px;
        width: calc(100% - 10px);
    }
}

/* Espaçamento da coluna */
.image-col {
    overflow: hidden;   /* impede barra de rolagem horizontal */
    padding: 15px;      /* espaço interno para a borda deslocada */
}

/* Texto da coluna ao lado */
.text-col {
    padding: 15px;
}

/* ===========================
   BENEFITS SECTION
=========================== */
.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.benefit-icon, .advantages-section i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.benefit-icon:hover, .advantages-section i:hover {
    transform: scale(1.1);
    color: var(--primary-color-dark);
}

/* ===========================
   TREATMENTS SECTION
=========================== */
.treatment-card {
    min-height: 420px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.treatment-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* ===========================
   ADVANTAGES SECTION
=========================== */
.advantages-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
}

.advantages-section .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.68);
    z-index: 1;
}

.advantages-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.advantages-section .advantage-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantages-section .advantage-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.68);
}

.advantages-section h5 { font-weight: 700; }
.advantages-section p { font-size: 1rem; }

/* ===========================
   TESTIMONIALS SECTION
=========================== */
.testimonials-section .section-title {
    text-align: center;
}

.testimonials-section .carousel-inner {
    overflow: hidden;
}

.testimonials-section .carousel-item .row {
    justify-content: center;
    gap: 1rem;
}

.testimonial-card {
	height: 370px;
    border-radius: 10px;
    padding: 2rem;
    margin: 0 auto;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
	.testimonial-card {
		height: 260px;
	}
}

.testimonial-card img {
    object-fit: cover;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

.carousel-control-prev span,
.carousel-control-next span { font-size: 2rem; color: #c7c7c7; }

@media(max-width: 991px) {
    .testimonial-card { max-width: 100%; margin-bottom: 1rem; }
}

/* ===========================
   FOOTER
=========================== */
footer a { text-decoration: none; }
footer a:hover { color: var(--primary-color); }

/* ===========================
   WHATSAPP BUTTON
=========================== */
.whatsapp-btn {
    position: fixed;
    z-index: 9999;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop: só ícone canto inferior direito */
@media (min-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        background-color: var(--primary-color);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        font-size: 1.5rem;
    }
    .whatsapp-btn .whatsapp-text {
        display: none;
    }
}

/* Mobile: barra inferior com ícone + texto */
@media (max-width: 767px) {
    .whatsapp-btn {
        bottom: 7px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        height: 60px;
        background-color: var(--primary-color);
        border-radius: 7px;
        font-size: 1rem;
        padding: 0 10px;
    }
    .whatsapp-btn i {
        margin-right: 10px;
        font-size: 1.5rem;
    }
    .whatsapp-btn .whatsapp-text {
        display: inline;
        font-weight: 500;
    }
}