@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --card-shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
    --radius-lg: 16px;
    --radius-md: 10px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* CONTAINER PADRÃO */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER & NAVBAR */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.06);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    max-width: 200px;
    object-fit: contain;
}

.logo-txt {
    font-size: 22px;
    font-weight: 800;
    color: var(--cor-primaria);
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--cor-primaria);
}

.btn-agendar-nav {
    background: var(--cor-primaria);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-agendar-nav:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* MENU SANDUÍCHE (MOBILE) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    color: #1e293b;
    padding: 5px;
    z-index: 1001;
}

/* HERO CONTAINER E BANNERS */
.hero-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    min-height: 580px;
    overflow: hidden;
    background: #0f172a;
}

.hero-static,
.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    background: radial-gradient(circle, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 950px;
    color: #ffffff;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    margin: 0;
    font-weight: 500;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-nav-btn:hover {
    background: var(--cor-primaria);
    border-color: var(--cor-primaria);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev { left: 30px; }
.hero-next { right: 30px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 18px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: var(--cor-primaria);
    transform: scale(1.3);
}

/* SEÇÕES GERAIS E DO SHOWCASE */
section {
    padding: 80px 0;
    width: 100%;
}

.section-light {
    background-color: var(--bg-light);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    text-align: left !important;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--cor-primaria);
    border-radius: 2px;
}

.section-subtitle {
    text-align: left !important;
    color: #64748b;
    font-size: 1.05rem;
    margin-top: -20px;
    margin-bottom: 35px;
}

/* BANNER HERO OTIMIZADO PARA 55vh (Para a logo circular aparecer inteira) */
.hero-banner-70 {
    height: 55vh;
    min-height: 400px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-shadow: inset 0 -100px 100px rgba(0,0,0,0.4);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-banner-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-banner-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-banner-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* FAIXA DE NAVEGAÇÃO E LOGO CIRCULAR SOBREPOSTA PERFEITAMENTE ENCAIXADA */
.sub-header-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}

.sub-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    position: relative;
}

.logo-circulo-container {
    margin-top: -110px; /* Posicionamento ideal para o meio da esfera coincidir com a divisa */
    z-index: 15;
    flex-shrink: 0;
}

.logo-circulo {
    width: 220px; /* Proporção ideal para garantir visibilidade total na tela */
    height: 220px;
    border-radius: 50%;
    background: #ffffff;
    border: 6px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}

.logo-circulo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-circulo-txt {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--cor-primaria);
    text-align: center;
    padding: 15px;
}

.main-nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav-right a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.main-nav-right a:hover {
    color: var(--cor-primaria);
}

.btn-agendar-header {
    background: var(--cor-primaria);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: opacity 0.2s, transform 0.2s !important;
}

.btn-agendar-header:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ESTILOS DE CARDS FLIP 3D */
.cards-grid-flip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.flip-card-3d {
    background-color: transparent;
    width: 100%;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card-3d:hover .flip-card-inner,
.flip-card-3d.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
}

.flip-card-front {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.flip-card-front img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.flip-card-front-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    text-align: left;
}

.card-price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cor-primaria);
    margin-top: 8px;
}

.hint-flip {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    display: block;
}

.flip-card-back {
    background: #0f172a;
    color: #ffffff;
    transform: rotateY(180deg);
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flip-card-back h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 1.25rem;
}

.flip-card-back p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 15px 0;
}

.btn-card-flip {
    display: inline-block;
    background: var(--cor-primaria);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    transition: opacity 0.2s;
}

.btn-card-flip:hover { opacity: 0.9; }

/* PORTFÓLIO SLIDER */
.portfolio-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-hover);
}

.portfolio-slide {
    display: none;
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
}

.portfolio-slide.active {
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.portfolio-overlay {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    width: 100%;
    padding: 24px 30px;
    border-radius: var(--radius-md);
    color: var(--text-dark);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-overlay h3 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 800;
}

.portfolio-overlay p {
    margin: 0;
    font-size: 15px;
    color: #475569;
}

/* DEPOIMENTOS */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.depoimento-box {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.depoimento-box p {
    font-style: italic;
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    text-align: left;
}

.depoimento-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.depoimento-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cor-primaria);
}

/* FORMULÁRIO DE AGENDAMENTO */
.agendamento-form {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: #334155;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-size: 15px;
    background: #f8fafc;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--cor-primaria);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

.btn-submit {
    background: var(--cor-primaria);
    color: white;
    padding: 16px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.btn-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* RODAPÉ */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 40px 0;
    text-align: center;
    font-size: 14px;
}

footer strong { color: #ffffff; }

/* RESPONSIVIDADE & MENU SANDUÍCHE MOBILE */
@media (max-width: 992px) {
    .depoimentos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .menu-toggle { display: block !important; }
    .sub-header-inner { flex-direction: column; gap: 15px; }
    .main-nav-right {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 25px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-top: 1px solid #e2e8f0;
        display: none;
        z-index: 1000;
    }
    .main-nav-right.active { display: flex !important; }
    .main-nav-right a { font-size: 16px; width: 100%; text-align: center; padding: 8px 0; }
}

@media (max-width: 768px) {
    .hero-banner-70 { height: 60vh; min-height: 385px; }
    .hero-banner-content h1 { font-size: 2.2rem; }
    .hero-banner-content p { font-size: 1.05rem; }
    .hero-nav-btn { display: none; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .agendamento-form { padding: 25px 20px; }
}

@media (max-width: 640px) {
    .depoimentos-grid { grid-template-columns: 1fr; }
}