/* ============================================
   ORIRÉ DESIGN — Tema
   Design Regenerativo · Alta Artesania
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Palette — Teal profundo + Aqua + Cobre */
  --teal:        #0C4A56;
  --teal-mid:    #1A6474;
  --teal-light:  #3A8E9C;
  --aqua:        #4BBBC8;
  --aqua-light:  #82D4DF;
  --cobre:       #B8825A;
  --cobre-light: #D4A87C;

  /* Mapeamento para nomes compartilhados do base.css */
  --forest:      #0C4A56;
  --forest-deep: #072830;
  --leaf:        #3A8E9C;
  --leaf-light:  #4BBBC8;
  --mango:       #B8825A;
  --mango-glow:  #D4A87C;
  --accent:      #4BBBC8;

  /* Neutros */
  --sand:      #F5F3EF;
  --sand-warm: #EDEBE5;
  --earth:     #1C1C1C;
  --earth-mid: #565250;
  --bark:      #072830;
  --cream:     #FDFCFA;
  --bege:      #C4BDB5;
  --white:     #ffffff;

  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Bordas mais clean para identidade de luxo */
  --radius-sharp:   4px;
  --radius-organic: 16px;
  --radius-pill:    999px;

  --shadow-card:       0 4px 24px rgba(7, 40, 48, 0.07);
  --shadow-card-hover: 0 16px 48px rgba(7, 40, 48, 0.14);

  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast:   0.2s;
  --duration-normal: 0.4s;
  --duration-slow:   0.7s;
}

/* --- Blur Blobs (mais presentes e vibrantes) --- */
.blur-blob        { opacity: 0.08; filter: blur(100px); }
.blur-blob--1     { background: var(--teal); width: 40vw; height: 40vw; top: -10%; left: -10%; }
.blur-blob--2     { background: var(--aqua); width: 30vw; height: 30vw; bottom: 10%; right: -5%; }
.blur-blob--3     { background: var(--cobre); width: 25vw; height: 25vw; top: 40%; left: 50%; transform: translateX(-50%); }

/* --- Back to Hub --- */
.back-to-hub:hover { color: var(--teal); }

/* --- em styling em seções claras: teal escuro (#0C4A56) sobre fundo claro → alto contraste --- */
.hero__title em, h2 em, h3 em, p em {
  font-style: normal;
  color: var(--teal);
}

/* ============================================
   HERO — fundo claro, texto escuro
   ============================================ */
.hero {
  background: linear-gradient(165deg, var(--cream) 0%, #f0f7f8 40%, var(--sand) 100%);
  color: var(--earth);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 5% 85%, rgba(12, 74, 86, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(75, 187, 200, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Hero title: Inter regular uppercase */
.hero__title {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--earth);
}

/* Lead: peso 400 — Inter regular, legível (#565250 sobre #F5F3EF → ratio ~6:1 ✓) */
.hero__lead { color: var(--earth-mid); font-weight: 400; }

/* ============================================
   SECTION TITLES — Inter regular uppercase
   ============================================ */
.section__title {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--earth);
}

/* Label: teal sobre fundo claro → excelente contraste */
.section__label { color: var(--teal-mid); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; }

/* Texto corrido: --earth-mid (#565250) sobre fundos claros → ratio ~6:1 ✓ */
.section__text  { color: var(--earth-mid); font-weight: 400; }

/* ============================================
   BUTTONS
   ============================================ */

/* Primário: teal escuro (#0C4A56) fundo / branco texto → ratio ~9:1 ✓ */
.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(12, 74, 86, 0.28);
}
.btn--primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(12, 74, 86, 0.35);
}
.btn--primary:active { transform: translateY(0) scale(0.98); }

/* Accent: cobre (#B8825A) / branco → ratio ~3.4:1 — apenas em fundos escuros */
.btn--accent {
  background: var(--cobre);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(184, 130, 90, 0.3);
}
.btn--accent:hover {
  background: var(--cobre-light);
  transform: translateY(-2px) scale(1.02);
}

/* Outline: borda teal, texto teal (#0C4A56) sobre fundo claro → ✓ */
.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid rgba(12, 74, 86, 0.3);
}
.btn--outline:hover {
  border-color: var(--teal);
  background: rgba(12, 74, 86, 0.06);
  transform: translateY(-2px);
}

/* Dark: fundo escuro / areia clara → ✓ */
.btn--dark {
  background: var(--forest-deep);
  color: var(--sand);
}
.btn--dark:hover {
  background: var(--earth);
  transform: translateY(-2px);
}

/* Light: branco / teal escuro — para usar em section--cta (fundo escuro) → ratio ~9:1 ✓ */
.btn--light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease-spring);
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn--light:hover {
  background: var(--sand);
  transform: translateY(-2px) scale(1.02);
}

/* ============================================
   SECTIONS
   ============================================ */
.section--sand  { background: linear-gradient(180deg, var(--sand) 0%, #ebf2f3 100%); }
.section--cream { background: linear-gradient(180deg, var(--cream) 0%, #f4f9fa 100%); }
.section--warm  { background: linear-gradient(135deg, #fdfbf8, var(--sand-warm)); }

/* CTA dark: fundo teal profundo — texto claro sobre escuro ✓ */
.section--cta {
  background: linear-gradient(-45deg, var(--forest-deep), #04181e, #0a2e38, #04181e, var(--forest-deep));
  background-size: 400% 400%;
  animation: gradient-move 12s ease infinite;
}
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 40%, rgba(75, 187, 200, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 5% 60%, rgba(184, 130, 90, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
/* Em seções escuras: aqua claro (#82D4DF) sobre navy (#072830) → ratio ~7:1 ✓ */
.section--cta em        { color: var(--aqua-light); }
.section--cta .section__label { color: var(--aqua-light); }

/* ============================================
   ABOUT CARD (seção clara)
   Card background: cream / texto: earth → ✓
   ============================================ */
.about-card {
  background: var(--cream);
  border: 1px solid rgba(12, 74, 86, 0.12);
  border-left: 4px solid var(--teal);
}
.about-card__icon  { background: var(--teal); color: var(--white); }

/* Inter 400 uppercase para títulos de card */
.about-card__title { color: var(--earth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
.about-card__text  { color: var(--earth-mid); }

/* ============================================
   FEATURES (seções claras — light cards)
   ============================================ */
.feature {
  background: var(--cream);
  border: 1px solid rgba(12, 74, 86, 0.1);
  transition: all var(--duration-normal) var(--ease-smooth);
}
.feature:hover {
  transform: translateY(-8px);
  border-color: var(--aqua);
  box-shadow: var(--shadow-card-hover);
}
.section--cream .feature { background: var(--white); }
.section--sand  .feature { background: var(--cream); }

/* Linha de destaque teal → cobre */
.feature::before { background: linear-gradient(90deg, var(--teal), var(--aqua)); }

/* Ícone: teal sobre fundo claro → alto contraste ✓ */
.feature__icon  { color: var(--teal); }

/* Título: earth (#1C1C1C) sobre cream/sand → ratio ~16:1 ✓ */
.feature__title { color: var(--earth); font-weight: 400; text-transform: uppercase; font-size: 1.08rem; letter-spacing: 0.02em; }

/* Texto: earth-mid (#565250) sobre cream → ratio ~6:1 ✓ */
.feature__text  { color: var(--earth-mid); }

/* ============================================
   CTA BLOCK (em section--cream → clara)
   E em section--cta → escura
   ============================================ */

/* Numa seção clara: .cta-block recebe um fundo sutil para destacar seu conteúdo */
.section--cream .cta-block {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-organic);
  border: 1px solid rgba(12, 74, 86, 0.08);
  box-shadow: var(--shadow-card);
}
.cta-block__title { color: var(--earth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2; }
.cta-block__text  { color: var(--earth-mid); line-height: 1.8; margin: var(--space-sm) 0 var(--space-md); }

/* Numa seção escura (section--cta): texto precisa ser claro */
.section--cta .cta-block__title { color: var(--white); font-weight: 400; }
.section--cta .cta-block__text  { color: rgba(245, 243, 239, 0.85); }

/* ============================================
   PROCESS STEPS (section--cream → fundo claro)
   ============================================ */
.process-step         { border-color: rgba(12, 74, 86, 0.10); position: relative; padding-left: 1rem; border-left: 2px solid transparent; transition: border-color 0.3s; }
.process-step:hover   { border-left-color: var(--cobre); }

/* Número: cobre (#B8825A) - toque de terra */
.process-step__number { color: var(--cobre); font-weight: 800; opacity: 0.9; }

/* Título: earth sobre cream → ✓ */
.process-step__title  { color: var(--earth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }

/* Texto: earth-mid sobre cream → ✓ */
.process-step__text   { color: var(--earth-mid); }

/* ============================================
   QUOTE (não usado nesta página, mas disponível)
   ============================================ */
.quote-section { background: var(--forest-deep); }
.quote-block__mark    { color: var(--aqua); }
.quote-block__text    { color: var(--sand); font-style: normal; }
.quote-block__caption { color: var(--aqua-light); }

/* ============================================
   CONTACT (section--warm → fundo claro)
   ============================================ */
.contact-card {
  background: var(--cream);
  border: 1px solid rgba(184, 130, 90, 0.15);
  box-shadow: 0 10px 30px rgba(184, 130, 90, 0.05);
}
/* Título: earth sobre cream → ✓ */
.contact-card__title { color: var(--earth); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }

/* Item: earth sobre cream → ✓ */
.contact-card__item       { color: var(--earth); }

/* Hover: teal (#0C4A56) — contraste sobre cream → ✓ */
.contact-card__item:hover { color: var(--teal); padding-left: 0.3rem; }

/* ============================================
   FOOTER (fundo escuro --bark = #072830)
   ============================================ */

/* bege (#C4BDB5) sobre bark (#072830) → ratio ~7:1 ✓ */
.footer       { background: var(--bark); color: var(--bege); }

/* aqua-light (#82D4DF) sobre bark → ratio ~7:1 ✓ */
.footer a       { color: var(--aqua-light); }
.footer a:hover { color: var(--white); }
.footer__hub-link { color: var(--aqua-light); }
.footer__copy     { border-top: 1px solid rgba(130, 212, 223, 0.12); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero__title { letter-spacing: -0.015em; }
}
@media (max-width: 600px) {
  .hero__title { letter-spacing: -0.01em; }
}
