/* --- VARIÁVEIS DE CORES E FONTES --- */
:root {
    /* Cores da Identidade Visual */
    --brand-green: #688E7A;       /* Verde da Logo */
    --brand-gold: #F0D368;        /* Dourado da Logo */
    
    /* Cores de Fundo e Texto */
    --bg-body: #F9F9F7;           /* Off-white */
    --bg-section-light: #EFF4F1;  /* Verde pálido */
    --text-main: #2C3E33;         /* Verde escuro */
    --text-muted: #5C6B62;        /* Cinza esverdeado */

    /* FONTES CORRETAS */
    --font-heading: 'Cormorant Garamond', serif; 
    --font-body: 'Montserrat', sans-serif;
}

/* --- GERAL --- */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600; 
    color: var(--brand-green);
}
h1.display-4 { font-size: 3.5rem; }

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- NAVBAR CENTRALIZADA (Menu Próximo da Logo) --- */
.navbar {
    background-color: var(--bg-body);
    padding: 0.5rem 0; /* Padding reduzido */
    border-bottom: 1px solid rgba(104, 142, 122, 0.1);
    /* Navbar estática (não fixa) */
}

/* Logo Desktop (Grande e Central) */
.desktop-logo {
    height: 150px; 
    width: auto;
    display: block;
    /* Margem lateral ajustada para afastar levemente os links */
    margin: 0 40px; 
    transition: transform 0.3s ease;
}
.desktop-logo:hover {
    transform: scale(1.05);
}

/* Logo Mobile */
.mobile-logo {
    height: 90px;
    width: auto;
}

/* Links do Menu */
.navbar-nav .nav-link {
    color: var(--text-main) !important;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 10px; /* Margem reduzida para aproximar da logo */
    position: relative;
    font-family: var(--font-body);
    padding-top: 0; 
}

/* Efeito Hover nos Links */
.navbar-nav .nav-link::after {
    content: ''; display: block; width: 0; height: 1px;
    background: var(--brand-green); transition: width .3s; margin-top: 5px;
}
.navbar-nav .nav-link:hover::after { width: 100%; }

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        background-color: var(--bg-body);
        padding-bottom: 20px;
        margin-top: 10px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    .navbar-nav { margin-top: 10px; }
    .navbar-nav .nav-link { margin: 10px 0; }
    /* No mobile a logo desktop some, então removemos a margem */
    .desktop-logo { margin: 0; } 
}


/* --- HERO SECTION (HOME) --- */
.hero-section {
    min-height: 80vh;
    /* Padding normal pois a navbar não é mais fixa */
    padding: 80px 20px; 
    background: url('images/front-hero.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 62, 51, 0.4); 
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff; 
}
.hero-content .lead { color: #f0f0f0; font-size: 1.3rem; font-weight: 300; }

/* --- BOTÕES --- */
.btn-custom {
    background-color: transparent;
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    padding: 12px 35px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background-color: var(--brand-green);
    color: var(--brand-gold);
}
.btn-custom.light { border-color: var(--brand-gold); color: var(--brand-gold); }
.btn-custom.light:hover { background-color: var(--brand-gold); color: var(--brand-green); }
.btn-custom.dark { border-color: var(--brand-green); color: var(--brand-green); }
.btn-custom.dark:hover { background-color: var(--brand-green); color: #fff; }

/* --- HEADER SOBRE (CIRCULAR) --- */
.about-header {
    /* Padding reduzido pois a navbar ocupa espaço */
    padding: 60px 0; 
    background-color: var(--bg-body);
}

.owner-profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--brand-green);
    padding: 5px;
    background-color: #fff;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* --- HERO SERVIÇOS (INTERNA) --- */
.service-hero {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center; 
    /* Padding equilibrado */
    padding-top: 60px; 
    padding-bottom: 60px;
}

/* BOX FLUTUANTE DE DETALHES */
.floating-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border: 1px solid rgba(104, 142, 122, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* --- AJUSTE MOBILE HERO (CORRIGIDO) --- */
@media (max-width: 991px) {
    .service-hero {
        min-height: 85vh; /* Altura total da tela */
        flex-direction: column; /* Empilha: Título -> Espaço -> Card */
        justify-content: space-between; /* Força separação máxima */
        padding-top: 40px;
        padding-bottom: 0;
    }

    /* TÍTULO NO TOPO */
    .service-hero .col-lg-7 {
        text-align: center;
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    .display-3 { font-size: 2.8rem; } 

    /* CARD NO FUNDO */
    .service-hero .col-lg-4 {
        width: 100%;
        padding: 0;
    }
    .floating-card {
        width: 100%;
        margin-top: auto;
        border-radius: 20px 20px 0 0;
        padding: 30px 20px;
    }
    .offset-lg-1 { margin-left: 0; }
}

/* --- ESTILOS GERAIS DE SEÇÕES --- */
.section-padding { padding: 80px 0; }
.bg-sage-light { background-color: var(--bg-section-light); }

/* --- CARROSSEL --- */
.swiper { width: 100%; padding-bottom: 60px !important; }
.service-card {
    border: none;
    background: #fff;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    padding-bottom: 20px;
}
.service-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrapper img { transform: scale(1.1); }
.service-title { font-size: 1.4rem; color: var(--brand-green); font-family: var(--font-heading); margin: 10px 0; }
.stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; content: ""; }

.swiper-button-next, .swiper-button-prev { color: var(--brand-green) !important; background: rgba(255,255,255,0.9); width: 45px; height: 45px; border-radius: 50%; }
.swiper-pagination-bullet-active { background-color: var(--brand-green) !important; }

/* --- LISTAS --- */
.custom-list { list-style: none; padding-left: 0; }
.custom-list li { position: relative; padding-left: 35px; margin-bottom: 12px; }
.custom-list li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
    background-image: url('images/mandala.png'); 
    background-size: contain; background-repeat: no-repeat;
}

/* --- BOX CONTRAINDICAÇÕES (RESTAURADO) --- */
.contra-box {
    background-color: #fff;
    border: 1px solid rgba(104, 142, 122, 0.2);
    border-left: 4px solid var(--brand-green); /* Faixa verde à esquerda */
    padding: 25px;
    margin-top: 30px;
    border-radius: 0 4px 4px 0;
}
.contra-title {
    color: var(--brand-green);
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- SIDEBAR PADRÃO --- */
.sticky-sidebar {
    background-color: #fff; border: 1px solid rgba(0,0,0,0.05); padding: 30px; margin-top: 20px; position: sticky; top: 100px;
    box-shadow: 0 5px 20px rgba(104, 142, 122, 0.08);
}
.sticky-sidebar h4 { font-family: var(--font-heading); color: var(--brand-green); font-size: 2rem; margin-bottom: 1.5rem !important; }
.sticky-sidebar .d-flex span { font-family: var(--font-body); color: #4a4a4a; font-weight: 500;}
.sticky-sidebar .d-flex strong { font-family: var(--font-body); font-weight: 700; color: #1a1a1a; }
.sticky-sidebar .border-bottom { border-color: #eee !important; }

/* --- ESTILO PERSONALIZADO DO ACCORDION (FAQ) --- */
.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(104, 142, 122, 0.2); /* Linha verde suave */
    background-color: transparent;
    margin-bottom: 10px;
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: var(--text-main);
    font-family: var(--font-heading); /* Fonte Cormorant nos títulos */
    font-size: 1.2rem;
    font-weight: 500;
    padding: 20px 0; /* Espaçamento maior */
    box-shadow: none; /* Remove a borda azul feia do foco */
}

/* Quando o item está aberto */
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-green);
    background-color: transparent;
    box-shadow: none;
}

/* Ícone da seta (mudando para verde) */
.custom-accordion .accordion-button::after {
    filter: invert(52%) sepia(9%) saturate(1068%) hue-rotate(97deg) brightness(93%) contrast(87%); /* Filtro aproximado para #688E7A */
    transform: scale(0.8);
}

.custom-accordion .accordion-body {
    padding: 0 0 20px 0;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* --- FOOTER --- */
footer {
    background-color: var(--brand-green); color: #fff; padding: 80px 0 50px 0; text-align: center; margin-top: auto; position: relative; overflow: hidden;
}
footer::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 1200px; height: 1200px;
    background-image: url('images/lotus.png'); 
    background-size: 1200px; background-repeat: no-repeat; background-position: center;
    opacity: 0.15; pointer-events: none; z-index: 0;
}
footer .container { position: relative; z-index: 1; }
footer h4 { color: var(--brand-gold); font-size: 2rem; margin-bottom: 20px; }
footer p, footer a { color: rgba(255,255,255,0.9); }
footer .text-muted { color: rgba(255,255,255,0.6) !important; }