/* DS_VERSION: 4.0.0-alpha */
/*
 * theme.css — carolsantannavet.com.br
 * Customização de brand sobre o DS v4 (único arquivo editável pelo operador).
 * Fonte: .claude/ds-briefing.md (identidade extraída das 3 LPs WordPress originais).
 *
 * Identidade: navy profundo #040023 + magenta/rosa #EC538E (CTA) + roxo #9526CA (decorativo).
 * Tipografia: Bebas Neue (display, uppercase) + Manrope (corpo/UI).
 * Paleta DARK é a default do projeto (home); LIGHT vem da Imersão em Telemedicina.
 * Regra de affordance: CTA é SEMPRE rosa — roxo nunca em botão.
 */

/* =====================================================
   FONTES — self-hosted (subsets latin/latin-ext)
   Manrope é variable font (200–800 num arquivo só).
   ===================================================== */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/styles/fonts/bebasneue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/styles/fonts/bebasneue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/styles/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/styles/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* --- Brand: magenta/rosa (600 = CTA, 700 = hover) --- */
  --brand-50:  #FDF2F7;
  --brand-100: #FBE1ED;
  --brand-200: #F6BFD7;
  --brand-300: #F197BB;
  --brand-400: #EE6FA0;
  --brand-500: #EC538E;   /* rosa core da marca */
  --brand-600: #DD3473;   /* CTA principal */
  --brand-700: #CE2062;   /* CTA hover (rosa profundo observado) */
  --brand-800: #A81B50;
  --brand-900: #7C1A3F;

  /* --- Acento secundário: roxo decorativo (marquee, badges, gradientes) ---
     NUNCA usar em botões — affordance de clique é exclusiva do rosa. */
  --accent-secondary:       #9526CA;
  --accent-secondary-hover: #7A1FA6;
  --accent-secondary-tint:  #F6E9FE;
  --accent-secondary-deep:  #1D1847;

  /* --- Fontes --- */
  --font-heading: 'Bebas Neue', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-accent:  'Manrope', system-ui, -apple-system, sans-serif;

  /* Bebas é condensada: display com tracking quase neutro e leading curtíssimo */
  --tracking-display: -0.01em;

  /* --- LIGHT (Imersão Telemedicina): branco + cinzas quentes + rosa --- */
  --bg-base:           #FFFFFF;
  --bg-surface:        #F9F9F9;
  --bg-surface-raised: #F5F5F5;
  --bg-deep:           #EEF1F6;
  --text-primary:      #1E1E1E;
  --text-secondary:    #404040;
  --text-muted:        #666666;
  --border-default:    #E4E5E5;
  --border-subtle:     #F0F0F0;
  --bg-active:         rgba(236, 83, 142, 0.07);
  --border-accent:     rgba(236, 83, 142, 0.30);
  --accent-muted:      rgba(236, 83, 142, 0.08);
  /* design flat por borda — sombras de CTA bem contidas */
  --accent-shadow:       0 4px 14px rgba(206, 32, 98, 0.22);
  --accent-shadow-hover: 0 8px 24px rgba(206, 32, 98, 0.32);

  /* cards no light: brancos com borda fina (não cinza raised) */
  --bg-card:           #FFFFFF;
  --bg-card-deep:      var(--brand-50);

  /* sombras tingidas de navy (sutileza, não peso) */
  --shadow-tint-light: 4 0 35;
}

/* =====================================================
   DARK (default do projeto — home Pós-graduação)
   Navy profundo + rosa CTA + lavanda para texto de apoio.
   ===================================================== */
[data-theme="dark"] {
  --bg-base:            #040023;
  --bg-surface:         #1D1847;
  --bg-surface-raised:  #251E55;
  --bg-surface-overlay: #2E2663;
  --bg-deep:            #020016;
  --bg-input:           #1D1847;

  --text-primary:       #FFFFFF;
  --text-secondary:     rgba(228, 229, 229, 0.82);
  --text-muted:         #9A93C0;
  --text-accent:        var(--brand-300);
  --text-accent-hover:  var(--brand-200);
  --text-script:        var(--brand-300);

  --border-default:     rgba(255, 255, 255, 0.12);
  --border-subtle:      rgba(255, 255, 255, 0.06);
  --border-strong:      rgba(255, 255, 255, 0.22);
  --border-focus:       var(--brand-400);
  --border-accent:      rgba(236, 83, 142, 0.35);

  /* CTA rosa também no dark (mais claro p/ vibrar sobre navy) */
  --accent-base:        var(--brand-500);
  --accent-hover:       var(--brand-400);
  --accent-pressed:     var(--brand-700);
  --accent-deep:        var(--brand-900);
  --accent-muted:       rgba(236, 83, 142, 0.14);
  --accent-text:        #FFFFFF;
  --accent-shadow:       0 6px 20px rgba(236, 83, 142, 0.30);
  --accent-shadow-hover: 0 10px 32px rgba(236, 83, 142, 0.42);

  --bg-active:          rgba(236, 83, 142, 0.12);
}
