/* -------------------------------------
   DUTRA-INSPIRED LUXURY AESTHETIC (DARK MODE)
-------------------------------------- */
:root {
    --bg-primary: #07090D;      /* Deep cinematic black/navy */
    --bg-secondary: #11141A;    /* Slightly lighter panel */
    --bg-tertiary: #1C2028;
    
    --brand-blue: #FFFFFF;      /* Primary text is white */
    --accent-blue: #3A69A8;     /* Sophisticated blue for highlights */
    --whatsapp-green: #25D366; 
    
    --text-primary: #F0F2F5;
    --text-muted: #8E9BAE;      /* Elegant contrast for secondary text */
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --radius-md: 4px;           /* Sharper edges for modern feel */
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------
   RESET
-------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* -------------------------------------
   TYPOGRAPHY
-------------------------------------- */
/* Dutra Inspiration: Massive, thick, bold sans-serif headers */
h1, h2, h3 {
    font-family: var(--font-sans);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-blue);
    letter-spacing: -1px;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* -------------------------------------
   BUTTONS (Ultra Minimalist)
-------------------------------------- */
.btn-outline-gold {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-outline-gold:hover {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-solid-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-solid-gold:hover {
    background-color: var(--accent-blue);
    color: #FFF;
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.1);
}

/* -------------------------------------
   HEADER (Dutra: Invisible until scroll)
-------------------------------------- */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 2rem 0;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease;
}

.header.scrolled {
    background-color: rgba(7, 9, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* -------------------------------------
   CINEMATIC HERO (Centered like Dutra)
-------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(7, 9, 13, 0.6) 0%, rgba(7, 9, 13, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    margin: 0 auto 3rem auto;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* -------------------------------------
   Dark Luxury Cards (Tratamentos)
-------------------------------------- */
.editorial {
    padding: 10rem 0;
}

.section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

div.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-blue);
    margin-bottom: 2.5rem;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.treatment-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.treatment-card:hover {
    background: var(--bg-tertiary);
    border-color: rgba(255,255,255,0.1);
}

.treatment-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.treatment-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* -------------------------------------
   FORMATION & EDITORIAL
-------------------------------------- */
.editorial-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.editorial-empty {
    width: 100%;
}

.image-reveal {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.editorial-text {
    width: 100%;
}

.formation-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.formation-item:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.formation-item h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--accent-blue);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.formation-item p {
    font-size: 1.1rem;
    font-weight: 400;
}

/* -------------------------------------
   LOCATIONS
-------------------------------------- */
.locations {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.locations-grid {
    display: flex;
    justify-content: center;
}

.loc-card {
    background-color: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 4rem;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.loc-city {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.loc-clinic {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.loc-address {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.clinic-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 3rem 0;
}
.clinic-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}
.clinic-gallery img:hover {
    filter: grayscale(0%);
}

/* -------------------------------------
   FOOTER
-------------------------------------- */
.footer-premium {
    background-color: var(--bg-primary);
    padding: 8rem 0 3rem 0;
    text-align: center;
}

.footer-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 3rem;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* -------------------------------------
   MEDIA QUERIES
-------------------------------------- */
@media (max-width: 900px) {
    .editorial-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .nav { display: none; }
    .hero-cta { flex-direction: column; }
    .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); line-height: 1; margin-bottom: 1.5rem; word-break: break-word; }
    .hero-content { padding: 0 1rem; width: 100%; display: flex; flex-direction: column; align-items: center; }
    div.divider { margin: 1.5rem auto 2.5rem auto; }
    .loc-card { padding: 2rem; }
    .clinic-gallery { grid-template-columns: 1fr; }
}
