/*
  ATITUDE CENOGRAFIA | Modo claro editorial v1
  Correção estética isolada: apenas html[data-theme="light"].
  Não altera o padrão escuro, formulários, JS, API ou RD Station.
*/

/* SUPERFÍCIES E IDENTIDADE */
html[data-theme="light"] {
  --ink: #181b20;
  --paper: #f5f3ef;
  --warm: #ebe9e5;
  --near: #f5f3ef;
  color-scheme: light;
}
html[data-theme="light"] body {
  color: #22252a;
  background: #f1eee8;
}
html[data-theme="light"] .site-header {
  background: #f7f5f1;
  color: #202328;
  border-bottom: 1px solid #dedbd5;
  box-shadow: 0 3px 20px rgba(35,30,24,.045);
}
html[data-theme="light"] .brand-name small {color: #51535a;}
html[data-theme="light"] .main-nav a {color: #353941;}
html[data-theme="light"] .main-nav a:hover {color: #d4222d;}
html[data-theme="light"] .theme-toggle {
  background: #e9e6e1;
  color: #26282e;
  border-color: #d8d4cf;
}
html[data-theme="light"] .theme-toggle:hover {
  background: #ddd9d3;
  border-color: #afa9a0;
}

/* HERO: FOTOGRAFIA NÍTIDA NA DIREITA + LEITURA CONFORTÁVEL NA ESQUERDA */
html[data-theme="light"] .hero {
  background: #f0ede7;
  color: #17191d;
}
html[data-theme="light"] .hero-image {
  width: 68%;
  opacity: 1;
  background-position: 57% center;
  filter: saturate(1.13) contrast(1.08);
}
html[data-theme="light"] .hero-shade {
  background:
    linear-gradient(90deg,
      #f0ede7 0%,
      #f0ede7 20%,
      rgba(240,237,231,.98) 33%,
      rgba(240,237,231,.92) 43%,
      rgba(240,237,231,.48) 54%,
      rgba(240,237,231,.10) 66%,
      rgba(240,237,231,0) 77%),
    linear-gradient(0deg, rgba(240,237,231,.12), transparent 35%);
}
html[data-theme="light"] .hero .eyebrow {color: #515157;}
html[data-theme="light"] .hero h1 {color: #17191d;}
html[data-theme="light"] .hero h1 em span {color: #17191d;}
html[data-theme="light"] .hero-description {
  color: #44474e;
  max-width: 515px;
}
html[data-theme="light"] .hero .button-link {
  color: #24262c;
  border-bottom-color: #8d8984;
}
html[data-theme="light"] .hero-side-note {
  color: #17191c;
  text-shadow: 0 1px 5px rgba(255,255,255,.75);
}
html[data-theme="light"] .hero-bottom {
  color: #4a4c51;
  border-top-color: #cac6c0;
}

/* O QUE FAZEMOS: BEGE CLARO + CARTÕES LEVEMENTE ELEVADOS */
html[data-theme="light"] .intro {
  background: #faf9f7;
  color: #1b1d21;
}
html[data-theme="light"] .intro .section-lead,
html[data-theme="light"] .method-copy>p:not(.eyebrow) {
  color: #51545a;
}
html[data-theme="light"] .intro .service-grid {
  border: 0;
  gap: 16px;
}
html[data-theme="light"] .service-card {
  background: #f0efeb;
  border: 1px solid #e1ded8;
  border-top: 3px solid #d9d5ce;
  min-height: 370px;
  transition: background-color .2s, box-shadow .2s, transform .2s, border-top-color .2s;
}
html[data-theme="light"] .service-card:hover {
  background: #fff;
  border-top-color: #ec252f;
  box-shadow: 0 14px 35px rgba(42,37,31,.075);
  transform: translateY(-3px);
}
html[data-theme="light"] .service-card p {color: #5b5c62;}
html[data-theme="light"] .service-tag {color: #68696f;}

/* PORTFÓLIO: UMA FAIXA GRAFITE, IMAGENS MAIS VALORIZADAS */
html[data-theme="light"] .work {
  background: #25282e;
  color: #f8f8f7;
}
html[data-theme="light"] .work .eyebrow {color: #d7d8dc;}
html[data-theme="light"] .work .section-lead {color: #d0d0d4;}
html[data-theme="light"] .work .section-head h2 {color: #fff;}
html[data-theme="light"] .work .filter-button {
  color: #e5e6e8;
  border-color: #656970;
  background: #30343a;
}
html[data-theme="light"] .work .filter-button:hover {
  color: #fff;
  background: #41454c;
  border-color: #aeb1b8;
}
html[data-theme="light"] .work .filter-button.is-active {
  color: #1b1c20;
  background: #fff;
  border-color: #fff;
}
html[data-theme="light"] .work .project-card {
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 26px rgba(0,0,0,.13);
}
html[data-theme="light"] .work .portfolio-foot p {color: #c5c6cc;}
html[data-theme="light"] .work .button-outline {
  color: #fff;
  border-color: #7a7d85;
  background: transparent;
}
html[data-theme="light"] .work .button-outline:hover {
  background: #373b43;
  border-color: #ddd;
}

/* COMO TRABALHAMOS: ÁREA CLARA PORÉM NÃO BRANCA */
html[data-theme="light"] .method {
  background: #f4f2ee;
  color: #1b1d21;
}
html[data-theme="light"] .method .step {
  border-color: #d6d3cd;
}
html[data-theme="light"] .method .step:first-child {
  border-color: #d6d3cd;
}
html[data-theme="light"] .method .step p {color: #585b60;}

/* MANIFESTO (VERMELHO DA MARCA) NÃO É ALTERADO */

/* BRIEFING: FUNDO NEUTRO COM FORMULÁRIO BRANCO */
html[data-theme="light"] .contact-section {
  background: #eae8e3;
  color: #1a1c21;
}
html[data-theme="light"] .contact-section .eyebrow {color: #51545b;}
html[data-theme="light"] .contact-intro>p:not(.eyebrow) {color: #52565d;}
html[data-theme="light"] .contact-quick span {color: #696d74;}
html[data-theme="light"] .form-panel {
  background: #fff;
  color: #1b1d20;
  border: 1px solid #d9d6d0;
  box-shadow: 0 18px 38px rgba(37,32,25,.07);
}
html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea {
  background: #fdfdfc;
  border-color: #d6d3ce;
  color: #24262a;
}

/* FOOTER GRAFITE: FECHAMENTO COM PERSONALIDADE */
html[data-theme="light"] .site-footer {
  background: #1d2025;
  color: #f8f8f8;
  border-top: 1px solid #373940;
}
html[data-theme="light"] .site-footer .brand-symbol img {
  filter: grayscale(1) brightness(0) invert(1);
}
html[data-theme="light"] .site-footer .brand-name small {color: #d3d5d9;}
html[data-theme="light"] .footer-top {
  border-bottom-color: #40434b;
}
html[data-theme="light"] .footer-top>p {color: #c4c6cb;}
html[data-theme="light"] .footer-up {border-color: #7f838b;}
html[data-theme="light"] .footer-bottom {color: #b3b6bd;}
html[data-theme="light"] .footer-bottom a:hover {color: #ff828b;}

/* PÁGINA GERAL DE PORTFÓLIO — HERO GRAFITE E CORPO LEVE */
html[data-theme="light"] .portfolio-shell {
  background: #f5f4f1;
  color: #1c1d22;
}
html[data-theme="light"] .portfolio-hero {
  background: #25282e;
  color: #f8f8f8;
}
html[data-theme="light"] .portfolio-hero:after {
  border-color: #494b52;
  box-shadow: 0 0 0 110px rgba(255,255,255,.015), 0 0 0 220px rgba(255,255,255,.01);
}
html[data-theme="light"] .portfolio-hero .eyebrow {color: #e6e7e9;}
html[data-theme="light"] .portfolio-hero p.portfolio-lead {color: #d0d1d5;}
html[data-theme="light"] .portfolio-hero .portfolio-breadcrumb,
html[data-theme="light"] .portfolio-hero .portfolio-breadcrumb a {color: #dedfe2;}
html[data-theme="light"] .portfolio-section {
  background: #fbfaf8;
  color: #202226;
}
html[data-theme="light"] .archive-section {
  background: #e9e7e2;
}
html[data-theme="light"] .archive-section .portfolio-intro {color: #585b60;}

/* DETALHES DOS EVENTOS — CAPA FOTOGRÁFICA FORTE */
html[data-theme="light"] .case-hero {
  background: #24272c;
  color: #fff;
}
html[data-theme="light"] .case-hero__visual {opacity: 1;}
html[data-theme="light"] .case-hero__tint {
  background:
    linear-gradient(90deg,
      rgba(29,31,36,.99) 0%,
      rgba(29,31,36,.98) 25%,
      rgba(29,31,36,.86) 43%,
      rgba(29,31,36,.32) 71%,
      rgba(29,31,36,.06) 100%),
    linear-gradient(0deg,rgba(15,16,19,.35),transparent 55%);
}
html[data-theme="light"] .case-hero__eyebrow {color: #ff7b85;}
html[data-theme="light"] .case-hero__lead {color: #e1e1e3;}
html[data-theme="light"] .case-hero .portfolio-breadcrumb,
html[data-theme="light"] .case-hero .portfolio-breadcrumb a {color: #f0f0f1;}
html[data-theme="light"] .case-inline-link {
  color: #fff;
  border-color: rgba(255,255,255,.65);
}
html[data-theme="light"] .case-summary-section {
  background: #faf9f7;
  color: #1c1f23;
}
html[data-theme="light"] .case-gallery-section {
  background: #e8e7e3;
  color: #1c1f23;
}
html[data-theme="light"] .case-video-section {
  background: #f4f2ee;
  color: #1b1d22;
}
html[data-theme="light"] .case-video-frame {
  background: #e3e2df;
  border-color: #d2d1ce;
}
html[data-theme="light"] .case-contact-section {
  background: #e8e6e1;
  color: #1b1d21;
}

/* PRIVACIDADE: BRANCO QUENTE, MESMA IDENTIDADE */
html[data-theme="light"] body.policy-page {
  background: #f7f5f1;
  color: #222329;
}
html[data-theme="light"] .topbar {
  background: #f1efea;
  border-bottom: 1px solid #dedbd5;
}
html[data-theme="light"] .policy-page .intro {
  background: transparent;
  color: #53555c;
  border-color: #dedad3;
}
html[data-theme="light"] .policy-page .contact {
  background: #ebe7df;
  color: #212328;
}
html[data-theme="light"] .policy-page footer {border-color: #d8d4cd;}

/* NAVEGAÇÃO MÓVEL + HERO RESPONSIVA */
@media (max-width: 890px) {
  html[data-theme="light"] .main-nav.open {
    background: #f7f5f1;
    border-color: #dcd8d1;
    box-shadow: 0 16px 34px rgba(22,23,28,.12);
  }
  html[data-theme="light"] .main-nav a {
    color: #292b30;
    border-color: #dedbd5;
  }
}
@media (max-width: 650px) {
  html[data-theme="light"] .hero {
    background: #f0ede7;
  }
  html[data-theme="light"] .hero-image {
    width: 100%;
    opacity: .74;
    background-position: 62% center;
  }
  html[data-theme="light"] .hero-shade {
    background:
      linear-gradient(90deg,
        #f0ede7 0%,
        rgba(240,237,231,.98) 23%,
        rgba(240,237,231,.94) 53%,
        rgba(240,237,231,.67) 100%),
      linear-gradient(0deg, #f0ede7 0%, rgba(240,237,231,0) 55%);
  }
  html[data-theme="light"] .service-card {min-height: 0;}
  html[data-theme="light"] .case-hero__tint {
    background:
      linear-gradient(0deg,
        rgba(27,28,33,.97) 0%,
        rgba(27,28,33,.82) 48%,
        rgba(27,28,33,.38) 100%),
      linear-gradient(90deg,rgba(27,28,33,.45),transparent);
  }
}
