/* ============================================
   VERACRUZ STUDIO — STYLE.CSS
   Identidade visual: editorial premium
   Paleta: azul-atlântico, pergaminho, terracota, bronze
   ============================================ */

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Manrope', sans-serif; background: #F4EFE6; color: #1B2D44; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- TIPOGRAFIA ----- */
.display-font { font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; font-weight: 400; }
.serif-italic { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: #1B2D44; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow { font-family: 'Manrope', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: #A0432E; }

p { font-size: 1.02rem; line-height: 1.75; color: #2A3D54; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: #1B2D44; font-weight: 300; }

/* ----- CONTAINER ----- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 640px) { .container, .container-narrow { padding: 0 1.5rem; } }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.5rem 0; background: rgba(244, 239, 230, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: padding 0.3s ease, background 0.3s ease; }
.site-header.scrolled { padding: 1rem 0; background: rgba(244, 239, 230, 0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.7rem; color: #1B2D44; letter-spacing: -0.01em; line-height: 1; }
.logo small { font-family: 'Manrope', sans-serif; font-style: normal; font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; display: block; margin-top: 0.15rem; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav a { font-size: 0.88rem; font-weight: 400; color: #1B2D44; position: relative; padding: 0.3rem 0; transition: color 0.2s ease; }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: #A0432E; transition: width 0.3s ease; }
.nav a:hover { color: #A0432E; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #A0432E; }

/* Seletor idioma */
.lang-switch { display: flex; align-items: center; gap: 0.4rem; padding-left: 1.5rem; border-left: 1px solid rgba(27, 45, 68, 0.15); }
.lang-switch button { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.3rem 0.5rem; color: #6B7280; transition: color 0.2s ease; font-weight: 500; }
.lang-switch button:hover { color: #1B2D44; }
.lang-switch button.active { color: #A0432E; }
.lang-switch button.disabled { opacity: 0.35; cursor: not-allowed; position: relative; }
.lang-switch button.disabled::after { content: '·'; position: absolute; top: -2px; right: -2px; color: #A88B5E; font-weight: 700; }

/* Mobile menu */
.menu-toggle { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { width: 22px; height: 1.5px; background: #1B2D44; transition: all 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 380px; height: 100vh; background: #F4EFE6; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; padding: 2rem 3rem; transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1); box-shadow: -20px 0 40px rgba(27, 45, 68, 0.08); }
  .nav.open { right: 0; }
  .nav a { font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; }
  .lang-switch { border-left: none; border-top: 1px solid rgba(27, 45, 68, 0.15); padding: 1.5rem 0 0 0; margin-top: 1rem; width: 100%; flex-wrap: wrap; }
}

/* ============================================
   BOTÕES
   ============================================ */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.2rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid #1B2D44; background: #1B2D44; color: #F4EFE6; transition: all 0.3s ease; cursor: pointer; }
.btn:hover { background: #A0432E; border-color: #A0432E; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #1B2D44; }
.btn-outline:hover { background: #1B2D44; color: #F4EFE6; transform: translateY(-2px); }
.btn-arrow { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-style: italic; text-transform: none; letter-spacing: 0; padding: 0; border: none; background: none; color: #1B2D44; gap: 0.6rem; position: relative; }
.btn-arrow::after { content: '→'; transition: transform 0.3s ease; display: inline-block; }
.btn-arrow:hover { color: #A0432E; }
.btn-arrow:hover::after { transform: translateX(8px); }

/* ============================================
   HERO
   ============================================ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 8rem 0 4rem; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.9s ease 0.2s forwards; }
.hero h1 { margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 1s ease 0.4s forwards; }
.hero h1 em { color: #A0432E; font-style: italic; }
.hero .lead { max-width: 620px; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 1s ease 0.6s forwards; }
.hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s ease 0.8s forwards; }

/* Hero ornament — esfera armilar abstrata */
.hero-ornament { position: absolute; right: -8rem; top: 50%; transform: translateY(-50%); width: 540px; height: 540px; opacity: 0.18; pointer-events: none; animation: slowRotate 120s linear infinite; }
.hero-ornament svg { width: 100%; height: 100%; }

@media (max-width: 880px) {
  .hero-ornament { right: -12rem; width: 380px; height: 380px; opacity: 0.12; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slowRotate { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

/* ============================================
   SEÇÕES
   ============================================ */
section { padding: 7rem 0; position: relative; }
@media (max-width: 640px) { section { padding: 4.5rem 0; } }

.section-header { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 5rem; align-items: end; }
.section-header .eyebrow { margin-bottom: 1rem; display: block; }
@media (max-width: 880px) { .section-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; } }

/* Divisor decorativo (linha + ponto + seta — referência da logo) */
.divider { display: flex; align-items: center; gap: 0.6rem; margin: 2rem 0; color: #1B2D44; }
.divider::before { content: ''; width: 8px; height: 8px; border: 1px solid #1B2D44; border-radius: 50%; }
.divider::after { content: ''; flex: 1; height: 1px; background: #1B2D44; max-width: 100px; }
.divider-center { justify-content: center; }
.divider-center::after { max-width: 60px; }

/* ============================================
   SECTION: APROXIMAÇÃO / WHAT WE DO
   ============================================ */
.intro { background: #F4EFE6; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.intro-grid h2 em { font-style: italic; color: #A0432E; }
.intro-grid .lead { margin-bottom: 1.5rem; }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================
   ORNAMENTOS NAVEGACIONAIS
   ============================================ */
.ornament { position: absolute; pointer-events: none; z-index: 1; }
.ornament svg { width: 100%; height: 100%; display: block; }
section { position: relative; overflow: hidden; }

/* Astrolábio — serviços */
.ornament-astrolabe { right: -6rem; top: 50%; transform: translateY(-50%); width: 380px; height: 380px; opacity: 0.1; animation: slowRotate 180s linear infinite; }
@media (max-width: 880px) { .ornament-astrolabe { right: -10rem; width: 280px; height: 280px; opacity: 0.08; } }

/* Mapa Brasil-Portugal — sobre/manifesto */
.ornament-map { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 720px; height: 360px; opacity: 0.08; }
@media (max-width: 880px) { .ornament-map { width: 540px; height: 280px; } }

/* Rosa-dos-ventos — processo */
.ornament-compass { width: 80px; height: 80px; opacity: 0.5; flex-shrink: 0; }
.ornament-compass svg { width: 100%; height: 100%; }
.process-step { position: relative; }
.process-step .compass-bg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 100px; height: 100px; opacity: 0.07; animation: slowRotate 120s linear infinite; pointer-events: none; }
@media (max-width: 640px) { .process-step .compass-bg { left: -10px; top: 10px; transform: none; width: 80px; height: 80px; } }

/* Vela latina — contato */
.ornament-sail { right: -4rem; top: 30%; width: 320px; height: 380px; opacity: 0.1; }
@media (max-width: 880px) { .ornament-sail { right: -8rem; width: 220px; height: 260px; opacity: 0.08; } }

/* Linhas de cartografia — fundo geral discreto */
.cartography-bg { position: absolute; inset: 0; opacity: 0.04; pointer-events: none; z-index: 0; }
.cartography-bg svg { width: 100%; height: 100%; }

@keyframes slowRotate { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

/* Re-empilhar conteúdo acima dos ornamentos */
section > .container, section > .container-narrow { position: relative; z-index: 2; }

/* ============================================
   SERVIÇOS
   ============================================ */
.services { background: #1B2D44; color: #F4EFE6; }
.services h2, .services h3 { color: #F4EFE6; }
.services .eyebrow { color: #C9A961; }
.services p { color: rgba(244, 239, 230, 0.75); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; }
.service-card { padding: 3rem 2.5rem; border-right: 1px solid rgba(244, 239, 230, 0.12); position: relative; transition: background 0.3s ease; }
.service-card:last-child { border-right: none; }
.service-card:hover { background: rgba(244, 239, 230, 0.04); }
.service-number { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.5rem; color: #C9A961; margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 1rem; }
.service-card ul { list-style: none; margin-top: 1.5rem; }
.service-card ul li { padding: 0.5rem 0; font-size: 0.92rem; color: rgba(244, 239, 230, 0.7); border-bottom: 1px solid rgba(244, 239, 230, 0.08); }
.service-card ul li:last-child { border-bottom: none; }

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card { border-right: none; border-bottom: 1px solid rgba(244, 239, 230, 0.12); }
  .service-card:last-child { border-bottom: none; }
}

/* ============================================
   PROCESSO (página portfolio)
   ============================================ */
.process { background: #F4EFE6; }
.process-step { display: grid; grid-template-columns: 120px 1fr; gap: 4rem; padding: 3.5rem 0; border-bottom: 1px solid rgba(27, 45, 68, 0.1); }
.process-step:last-child { border-bottom: none; }
.process-step:first-child { padding-top: 0; }
.process-number { font-family: 'Cormorant Garamond', serif; font-size: 4.5rem; font-style: italic; color: #A0432E; line-height: 1; }
.process-content h3 { margin-bottom: 1rem; }
.process-content p { max-width: 580px; }
@media (max-width: 640px) {
  .process-step { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0; }
  .process-number { font-size: 3rem; }
}

/* ============================================
   SOBRE (página)
   ============================================ */
.about-hero { padding: 12rem 0 6rem; }
.about-hero h1 { max-width: 900px; margin-bottom: 2rem; }
.about-hero h1 em { color: #A0432E; font-style: italic; }

.founders { background: #F4EFE6; padding: 6rem 0; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }

.founder-card { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: start; }

.founder-photo { position: relative; aspect-ratio: 2 / 3; background: #E8E0D0; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.founder-card:hover .founder-photo img { transform: scale(1.03); }

.founder-photo.placeholder { display: flex; align-items: center; justify-content: center; }
.founder-photo.placeholder::before { content: ''; position: absolute; inset: 1rem; border: 1px solid rgba(27, 45, 68, 0.2); }
.founder-photo.placeholder span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 3rem; color: #1B2D44; opacity: 0.4; z-index: 1; }

.founder-info { padding-top: 0.5rem; }
.founder-name { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; margin-bottom: 0.3rem; line-height: 1.1; }
.founder-role { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #A0432E; margin-bottom: 1.5rem; font-weight: 500; }
.founder-card p { margin-bottom: 1rem; font-size: 0.98rem; }

@media (max-width: 880px) {
  .founders-grid { grid-template-columns: 1fr; gap: 3rem; }
  .founder-card { grid-template-columns: 1fr; gap: 1.5rem; max-width: 480px; }
  .founder-photo { aspect-ratio: 4 / 5; max-width: 320px; }
}

.manifesto { background: #1B2D44; color: #F4EFE6; padding: 8rem 0; text-align: center; }
.manifesto h2 { color: #F4EFE6; max-width: 900px; margin: 0 auto; }
.manifesto h2 em { color: #C9A961; font-style: italic; }
.manifesto .eyebrow { color: #C9A961; margin-bottom: 1.5rem; }

/* ============================================
   CTA
   ============================================ */
.cta { background: #A0432E; color: #F4EFE6; padding: 7rem 0; text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #F4EFE6; max-width: 800px; margin: 0 auto 2rem; }
.cta h2 em { font-style: italic; color: #F4EFE6; opacity: 0.9; }
.cta .eyebrow { color: #F4EFE6; opacity: 0.8; margin-bottom: 1.5rem; }
.cta .btn { background: #F4EFE6; color: #A0432E; border-color: #F4EFE6; }
.cta .btn:hover { background: #1B2D44; color: #F4EFE6; border-color: #1B2D44; }

/* ============================================
   CONTATO (página)
   ============================================ */
.contact-hero { padding: 12rem 0 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-bottom: 6rem; }
.contact-info p { margin-bottom: 1rem; }
.contact-method { padding: 1.5rem 0; border-bottom: 1px solid rgba(27, 45, 68, 0.12); }
.contact-method:last-child { border-bottom: none; }
.contact-method .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #A0432E; margin-bottom: 0.5rem; font-weight: 500; }
.contact-method .value { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; }
.contact-method a:hover { color: #A0432E; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #1B2D44; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { padding: 0.85rem 0; border: none; border-bottom: 1px solid rgba(27, 45, 68, 0.25); background: transparent; font-family: 'Manrope', sans-serif; font-size: 1rem; color: #1B2D44; transition: border-color 0.2s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-bottom-color: #A0432E; }
.form-group textarea { resize: vertical; min-height: 120px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #1B2D44; color: #F4EFE6; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(244, 239, 230, 0.15); }
.footer-brand h3 { color: #F4EFE6; font-style: italic; margin-bottom: 0.3rem; }
.footer-brand small { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.7; }
.footer-brand p { color: rgba(244, 239, 230, 0.65); margin-top: 1.5rem; max-width: 320px; font-size: 0.92rem; }
.footer-col h4 { color: #C9A961; font-family: 'Manrope', sans-serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.5rem; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: rgba(244, 239, 230, 0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: #C9A961; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(244, 239, 230, 0.5); font-size: 0.82rem; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMAÇÕES SCROLL
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============================================
   UTILS
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
[hidden] { display: none !important; }

/* Scrollbar refinada */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F4EFE6; }
::-webkit-scrollbar-thumb { background: rgba(27, 45, 68, 0.3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(27, 45, 68, 0.5); }

/* Selection */
::selection { background: #A0432E; color: #F4EFE6; }
