html {
    scroll-behavior: smooth;
}

:root {
    --header-height: 90px;
    --gold: #d4af37;
    --dark: #0a0a0a;
    --accent: #166534;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #050505;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    backdrop-filter: blur(20px);
    background: rgba(5, 5, 5, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: white;
}

#nav {
    display: flex;
    gap: 42px;
    align-items: center;
}

#nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}

#nav a:hover {
    color: var(--gold);
}

#nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gold);
    transition: width 0.3s;
}

#nav a:hover::after {
    width: 100%;
}

/* PLANTÃO BUTTON */
.plantao-btn {
    background: var(--gold);
    color: black;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: all 0.4s;
}

.plantao-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.plantao-btn small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* HAMBURGER */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 8%;
}

.hero-slider, .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(5,5,5,0.9));
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 90px 90px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1100px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6.5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

#word-cycle {
    color: var(--gold);
    display: inline-block;
    min-height: 1.2em;
}

/* HERO BUTTON */
.hero-button {
    display: inline-block;
    padding: 18px 42px;
    background: var(--gold);
    color: black;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s;
}

.hero-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* CARDS */
.cards-container {
    padding: 120px 8% 160px;
    position: relative;
}

.stack-card {
    width: 88%;
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.stack-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
}

.stack-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.stack-card h2 {
    font-size: 1.65rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.stack-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.stack-card:hover img {
    transform: scale(1.04);
}

/* Novos estilos dos cards */
.card-cannabis { 
    background: #f8f7f4; 
    color: #111; 
    border: 1px solid #e5e3d9;
}

.card-prev, .card-itr { 
    background: #f8f7f4; 
    color: #111; 
    border: 1px solid #e5e3d9;
}

.card-prev h2, .card-itr h2 {
    color: #111;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* ÁREAS E SOBRE */
.areas, .sobre {
    padding: 130px 8%;
}

.areas h2, .sobre h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.areas-grid div {
    background: rgba(255,255,255,0.03);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s;
}

.areas-grid div:hover {
    background: rgba(212,175,55,0.08);
    border-color: var(--gold);
    transform: translateY(-8px);
}

.areas-grid span {
    font-size: 2.2rem;
    font-weight: 700;
    opacity: 0.3;
    display: block;
    margin-bottom: 10px;
}

.sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* FOOTER */
footer {
    padding: 80px 8% 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1.05rem;
}

.social a {
    color: white;
    margin-left: 30px;
    text-decoration: none;
}

.social a:hover {
    color: var(--gold);
}