:root {
    --primary-color: #3b5a51;
    /* Dark Slate Green from logo */
    --secondary-color: #c5a34e;
    /* Gold from logo */
    --accent-color: #e2c275;
    --text-color: #2d3436;
    --light-text: #636e72;
    --white: #ffffff;
    --light-bg: #fdfdfd;
    --dark-bg: #1a2a24;
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    --container-width: 1100px;
    /* Concentrated like the portal */
    /* Refined Typography */
    --font-heading: 'Lato', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    /* Ultra-thin and elegant */
    letter-spacing: 0.5px;
    /* Softer spacing for capitalized text */
    text-transform: capitalize;
    /* Correcting to Capital Case */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section {
    padding: 80px 0;
}

/* Typography Enhancements */
.section-title {
    font-size: 2.2rem;
    /* Smaller and more delicate */
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 300;
    /* Subtle and smooth */
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.separator {
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    margin-bottom: 30px;
}

.separator.center {
    margin: 0 auto 40px auto;
}

/* Helper Layout Classes */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0f0f0;
}

/* Header with Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.sticky {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 108px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

header.sticky .logo img {
    height: 78px;
}

nav ul {
    display: flex;
    gap: 30px;
    /* Adjusted gap for social icons */
    align-items: center;
}

.social-header i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

.admin-link i {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* Hero Section Modernized - Padronizado com Inner Pages */
.hero {
    height: 280px;
    background: linear-gradient(135deg, rgba(26, 42, 36, 0.85) 0%, rgba(59, 90, 81, 0.6) 100%),
        url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    /* Offset para o header flutuante */
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Centraliza o texto */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centraliza os itens (título, texto, botões) */
}

.hero h1 {
    font-size: 2.2rem;
    /* Reduzido para caber na altura de 280px */
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 850px;
    font-weight: 300;
    letter-spacing: normal;
    text-transform: capitalize;
    animation: slideInLeft 1s ease-out;
}

.hero p {
    font-size: 1.1rem;
    /* Reduzido para dar espaço aos botões */
    margin-bottom: 25px;
    max-width: 600px;
    opacity: 0.9;
    animation: fadeIn 1.5s ease;
}

/* Inner Pages Hero Header */
.inner-hero {
    height: 280px;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding-top: 60px;
    /* Offset para o header flutuante */
    position: relative;
    box-sizing: border-box;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 36, 0.9) 0%, rgba(59, 90, 81, 0.7) 100%);
    z-index: 1;
}

.inner-hero .container {
    position: relative;
    z-index: 2;
}

/* Backgrounds Específicos */
.inner-hero.sobre {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80');
}

.inner-hero.servicos {
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1920&q=80');
}

.inner-hero.links {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1920&q=80');
}

.inner-hero.chegar {
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1920&q=80');
}

.inner-hero.contato {
    background-image: url('https://images.unsplash.com/photo-1534536281715-e28d76689b4d?auto=format&fit=crop&w=1920&q=80');
}

.inner-hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons Modernized */
.btn {
    padding: 18px 45px;
    border-radius: 8px;
    /* Slightly more modern than round */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(197, 163, 78, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 163, 78, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Cards with Modern Shadows & Glass */
.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 400;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(197, 163, 78, 0.1) 0%, rgba(197, 163, 78, 0.2) 100%);
    color: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.22rem;
    margin-bottom: 30px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Footer */
footer {
    padding: 80px 0 60px 0;
    background: linear-gradient(to bottom, #3b5a51 0%, #061210 100%);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    margin: 0 auto;
    display: block;
}

footer p {
    margin-bottom: 25px;
    max-width: 600px;
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* About Section Enhancements */
.image-stack {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.img-top {
    border-radius: 30px;
    width: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
}

/* Contact Form Modern */
.contact-form {
    padding: 60px;
    border-radius: 30px;
    background-color: rgba(59, 90, 81, 0.4);
    /* Escurecido para 40% para melhor contraste */
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-strong);
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    /* Adicionado blur para efeito frosted glass premium */
}

.contact-form h2 {
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Sombra suave para destacar o título */
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    background: rgba(248, 249, 250, 0.95);
    border: 1px solid #e9ecef;
    padding: 18px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
    /* Crucial to prevent overflow */
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.info-card h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-card p,
.info-card a {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

.form-group input,
.form-group textarea {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 20px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(197, 163, 78, 0.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive Adjustments */
/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
        background: var(--white);
        box-shadow: var(--shadow-soft);
    }

    .logo img {
        height: 72px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        display: none;
        box-shadow: var(--shadow-strong);
        border-top: 1px solid #eee;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid #f9f9f9;
    }

    .hero {
        height: auto;
        padding: 150px 0 80px 0;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.1rem;
    }
}