:root {
    --accent: #a1231f; /* Vermelho Estúdio Elã Puro */
    --text-dark: #3a3838;
    --text-black: #000000;
    --bg-white: #ffffff;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "acumin-pro", sans-serif;
    font-weight: 300;
    background: var(--bg-white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* CLASSES DE TIPOGRAFIA MISTA */
.ivy-italic {
    font-family: "ivypresto-display", serif;
    font-weight: 300;
    font-style: italic;
}

.acumin-light {
    font-family: "acumin-pro", sans-serif;
    font-weight: 300;
}

.acumin-bold {
    font-family: "acumin-pro", sans-serif;
    font-weight: 700;
}

/* --- SELEÇÃO DE TEXTO INTELIGENTE --- */
::selection {
    background-color: var(--accent);
    color: var(--bg-white);
}
::-moz-selection {
    background-color: var(--accent);
    color: var(--bg-white);
}
.section-red ::selection, .section-red *::selection {
    background-color: var(--bg-white);
    color: var(--accent);
}
.section-red ::-moz-selection, .section-red *::-moz-selection {
    background-color: var(--bg-white);
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1026px;
    margin: 0 auto;
}

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

.title-editorial {
    font-family: "ivypresto-display", serif;
    font-weight: 300;
    color: var(--accent);
}

.section-red .title-editorial {
    color: var(--bg-white);
}

.title-editorial .vowel {
    font-style: italic;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- HERO --- */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #f3f3f3;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 120%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.header {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 10;
}

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

.logo-link {
    display: block;
}

/* LOGO TOTALMENTE LIMPO! Agora a cor vai ser definida diretamente no SVG original */
.logo {
    width: 80px;
    height: auto; 
    display: block;
    padding-bottom: 6px;
    box-sizing: content-box;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-top: 10px; 
}

.nav-link {
    font-family: "acumin-pro", sans-serif;
    font-size: 15px;
    color: var(--accent);
    line-height: 1.3;
    font-weight: 600;
    text-align: right;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
}

/* --- ESPAÇAMENTO EDITORIAL RESPIRO --- */
.section-light, .section-red {
    padding: 140px 0; 
    position: relative;
}

/* --- DOBRA 2 (NORTE) --- */
.norte-grid {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    gap: 80px; 
}

.norte-col-left {
    width: 320px;
    flex-shrink: 0;
}

.norte-col-left h2 {
    font-size: 48px; 
    line-height: 1.1;
}

.norte-col-right {
    width: 496px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.norte-col-right p {
    color: var(--text-dark);
    font-size: 18px; 
    line-height: 1.6; 
}

/* --- SEÇÕES VERMELHAS --- */
.section-red {
    background-color: var(--accent);
    color: var(--bg-white);
    overflow: hidden; 
}

.titulo-arquitetura {
    font-size: 48px; 
    line-height: 1.1;
    margin-bottom: 60px;
}

/* --- ACORDEON STYLES --- */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px 0;
    cursor: pointer;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bg-white);
}

.accordion-title {
    font-family: "ivypresto-display", serif;
    font-weight: 300;
    font-size: 26px; 
    margin: 0;
    line-height: 1.1;
    transition: all 0.3s ease;
}

.accordion-item:hover .accordion-title {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.accordion-icon {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.4s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-content p {
    font-size: 16px; 
    line-height: 1.6;
    color: var(--bg-white);
    margin: 0;
    padding-top: 20px;
    font-weight: 300;
}

/* --- DOBRA 4 (METODOLOGIA - FIX DA SOBREPOSIÇÃO) --- */
#metodologia {
    background: var(--bg-white); 
    display: block;
    height: auto;
    overflow: visible;
}

.container-metodologia {
    display: flex;
    justify-content: flex-end; 
    width: 100%;
}

.metodologia-content {
    width: 100%;
    max-width: 650px; 
    text-align: right; 
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 24px;
    position: relative;
    z-index: 5;
    padding: 20px 0; 
}

.metodologia-content h2 {
    color: var(--accent);
    font-size: 48px; 
    line-height: 1.1;
    text-align: right;
    margin-bottom: 10px;
}

.metodologia-content p {
    color: var(--accent);
    font-size: 18px; 
    line-height: 1.6;
}

/* --- FOOTER (ALINHADO 100% À ESQUERDA) --- */
#cafe {
    padding-bottom: 120px; 
}

.container-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; 
    gap: 30px;
    text-align: left;
}

.container-footer h2 {
    font-size: 48px; 
    line-height: 1.1;
    text-align: left;
    margin: 0;
    max-width: 800px;
}

.cafe-texto {
    width: 100%;
    max-width: 650px; 
    text-align: left; 
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* CTA: BOTÃO DE LUXO VOGUE */
.cta-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn-agendar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 208px; 
    height: 48px;
    background: var(--bg-white);
    color: var(--accent);
    border: 1px solid var(--bg-white);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.4s ease, color 0.4s ease;
}

.btn-agendar.chic-hover:hover {
    background: transparent;
    color: var(--bg-white);
}

.footer-links {
    font-size: 16px; 
    text-align: left;
    width: 100%;
    margin-top: 20px;
}

.footer-links a {
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.footer-links a:hover {
    opacity: 0.6;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* GSAP START STATE */
.gsap-fade, .stagger-item, .header-container .logo-link, .nav-link {
    opacity: 0;
    visibility: hidden;
}

/* ESTADO INICIAL DOS LINKS DO FOOTER EM CASCATA */
.footer-link-item {
    display: inline-block;
    opacity: 0;
    visibility: hidden;
}

/* --- RESPONSIVO --- */
@media(max-width: 1100px) {
    .container { padding: 0 40px; }
    .norte-grid { flex-direction: column; gap: 40px; align-items: flex-start; }
    .norte-col-left, .norte-col-right { width: 100%; text-align: left; }
}

@media(max-width: 768px) {
    .section-light, .section-red { padding: 80px 0; } 
    #cafe { padding-bottom: 80px; }
    
    .norte-col-left h2, .titulo-arquitetura, .metodologia-content h2, .container-footer h2 {
        font-size: 36px;
    }
    
    .norte-col-right p, .metodologia-content p, .cafe-texto { font-size: 16px; }
    
    .accordion-title { font-size: 22px; }
    .accordion-icon { font-size: 28px; }
    
    .header { top: 30px; }
    .nav-menu { margin-top: 5px; }

    .hero {
        height: 85svh; 
        min-height: 400px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .container-metodologia { justify-content: flex-start; }
    .metodologia-content { align-items: flex-start; text-align: left; max-width: 100%; }
    .metodologia-content h2 { text-align: left; margin-bottom: 20px; }
}

/* CAMADAS */
#sobre-nos { position: relative; z-index: 2; }
#arquitetura { position: relative; z-index: 1; }
#metodologia { position: relative; z-index: 3; }
#cafe { position: relative; z-index: 4; }
