/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (Casa IRIS Theme)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #6D597A;       /* Iris/Lavender Deep */
    --color-primary-light: #B5A6C9; /* Soft Lavender Accent */
    --color-secondary: #355C7D;     /* Deep Teal/Ocean Blue */
    --color-accent: #6E8E75;        /* Sage Green (Yoga/Nature) */
    --color-accent-light: #EBF1EC;  /* Pale Sage Background */
    --color-bg-light: #F7F5F0;      /* Warm Off-white / Cream */
    --color-bg-card: rgba(255, 255, 255, 0.75);
    --color-text-dark: #2B2D42;     /* Charcoal for readability */
    --color-text-muted: #6C757D;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Layout & Spacing */
    --container-max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Glassmorphism Defaults */
    --backdrop-blur: blur(16px);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(109, 89, 122, 0.1), 0 10px 10px -5px rgba(109, 89, 122, 0.04);
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.text-center {
    text-align: center;
}

/* Section Header styling */
.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    background-color: var(--color-accent-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   COMPONENTS: BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #554460;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary-light);
}

.btn-secondary:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background-color: #58735E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: rgba(247, 245, 240, 0.7);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
}

.site-header.scrolled {
    padding: 0.85rem 0;
    background-color: rgba(247, 245, 240, 0.92);
    box-shadow: var(--shadow-sm);
}

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

/* Logo Design */
.logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    line-height: 0.9;
    text-decoration: none;
}

.logo-image {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.site-header.scrolled .logo-image {
    height: 40px;
}

.logo-text-top {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.logo-text-bottom {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.nav-desktop ul {
    display: flex;
    gap: 2rem;
}

.nav-desktop a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-light);
    transition: var(--transition-fast);
}

.nav-desktop a:hover {
    color: var(--color-primary);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.btn-header {
    display: inline-flex;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(247, 245, 240, 0.98);
    backdrop-filter: var(--backdrop-blur);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-mobile a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.nav-mobile a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.95;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   PILARES (VALUES) SECTION
   ========================================================================== */
.pilares-section {
    background-color: var(--color-bg-light);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.pilar-card {
    background: var(--color-bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pilar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
}

.pilar-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
}

.pilar-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.pilar-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   SERVIÇOS SECTION
   ========================================================================== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.servico-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(109, 89, 122, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.servico-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 50px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.servico-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.servico-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.servico-features {
    margin-bottom: 2.5rem;
}

.servico-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.servico-features svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ==========================================================================
   E-BOOKS SECTION
   ========================================================================== */
.ebooks-section {
    background-color: var(--color-accent-light);
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.ebook-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.ebook-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ebook-cover-wrapper {
    background-color: var(--color-bg-light);
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    perspective: 600px;
}

.ebook-cover {
    width: 140px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4c3c55 100%);
    border-radius: 2px 10px 10px 2px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2), -2px 0 0 rgba(255,255,255,0.15) inset;
    padding: 1.5rem 1rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(-10deg);
    transition: var(--transition-smooth);
}

.ebook-card:hover .ebook-cover {
    transform: rotateY(0deg) scale(1.05);
}

.ebook-cover h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.ebook-cover-badge {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    align-self: flex-start;
}

.ebook-color-1 {
    background: linear-gradient(135deg, var(--color-primary) 0%, #46394F 100%);
}

.ebook-color-2 {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #203A50 100%);
}

.ebook-color-3 {
    background: linear-gradient(135deg, var(--color-accent) 0%, #465F4C 100%);
}

.ebook-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    justify-content: space-between;
}

.ebook-details h3 {
    font-size: 1.25rem;
}

.ebook-details p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ebook-details .btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   SOBRE NÓS & EQUIPE SECTION
   ========================================================================== */
.sobre-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.sobre-info-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.sobre-lead {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.sobre-info-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.sobre-visual {
    position: relative;
}

.sobre-img-wrapper {
    height: 380px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.sobre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.sobre-img-wrapper:hover .sobre-img {
    transform: scale(1.04);
}

.visual-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.visual-avatar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-avatar-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem;
    letter-spacing: 2px;
    box-shadow: var(--shadow-md);
}

/* Equipe */
.equipe-wrapper {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 5rem;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.membro-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.membro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.membro-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--color-primary-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: block;
    background-color: var(--color-accent-light);
}

.membro-card:hover .membro-photo {
    transform: scale(1.06);
    border-color: var(--color-primary);
}

.membro-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);
    color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
}

.membro-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.membro-role {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-section {
    background-color: var(--color-bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.post-card:hover .post-card-img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.post-badge {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    width: fit-content;
    font-weight: 500;
    display: inline-block;
}

.post-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.post-link:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   CONTATO SECTION
   ========================================================================== */
.contato-section {
    background-color: var(--color-accent-light);
}

.contato-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: var(--color-white);
    color: var(--color-accent);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--color-text-muted);
}

.info-item a:hover {
    color: var(--color-primary);
}

.contato-map-wrapper {
    display: flex;
    align-items: center;
}

.map-link-card {
    display: block;
    width: 100%;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.map-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-bg-light);
}

.map-card-content svg {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.map-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.map-card-content p {
    color: var(--color-text-muted);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h2 {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    color: var(--color-primary-light);
    font-size: 0.95rem;
}

.footer-links ul {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-primary-light);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom p {
    color: var(--color-primary-light);
    font-size: 0.85rem;
}

/* ==========================================================================
   SCROLL-DRIVEN ANIMATIONS & ACCESSIBILITY (Progressive Enhancement)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes reveal {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.96);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .scroll-reveal {
            animation: reveal auto cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-timeline: view();
            animation-range: entry 10% cover 30%;
        }
    }
}

/* Pre-scroll state for JavaScript IntersectionObserver fallback */
.js-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .site-header {
        padding: 1.25rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .servicos-grid {
        gap: 2rem;
    }
    
    .ebooks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipe-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    /* Navigation */
    .nav-desktop, .btn-header {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Hamburger Active state */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 5rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grids */
    .servicos-grid, .sobre-layout, .contato-layout, .blog-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .ebooks-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .equipe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sobre-visual {
        order: -1;
    }
    
    .visual-placeholder {
        height: 280px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .equipe-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   BLOG POST DETAIL STYLE
   ========================================================================== */
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-detail-section {
    padding: 4rem 0 6rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.back-link:hover {
    color: var(--color-secondary);
    transform: translateX(-3px);
}

.post-detail-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta-detail {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.post-detail-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.post-detail-content p {
    margin-bottom: 1.75rem;
}

.post-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.post-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-secondary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-detail-content ul, .post-detail-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.post-detail-content li {
    margin-bottom: 0.75rem;
}
