/*
Theme Name: RC Soluções Financeiras
Theme URI: https://rcsolucoesfinanceiras.com.br
Author: Olhar Digital IA & Automações
Description: Tema WordPress de página única para RC Soluções Financeiras — BPO Financeiro. Landing page com identidade de marca, portfólio de serviços e contato via WhatsApp.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rc-solucoes
*/

  :root{
    --navy-deep:#0F2138;
    --navy:#1B3A5C;
    --gold:#AD8A4E;
    --gold-light:#DCC38F;
    --cream:#F8F5EE;
    --ink:#20211D;
    --ink-soft:#54544C;
    --line:rgba(173,138,78,0.28);
    --ok:#5C7A5C;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--cream);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
  .mono{font-family:'IBM Plex Mono', monospace;}
  .serif{font-family:'Fraunces', serif;}
  ::selection{background:var(--gold-light); color:var(--navy-deep);}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(248,245,238,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 32px; max-width:1120px; margin:0 auto;
  }
  .brand{
    display:flex; align-items:center; gap:10px;
    font-family:'Fraunces', serif; font-weight:600; font-size:1.15rem;
    letter-spacing:0.01em; color:var(--navy-deep);
  }
  .brand-mark{
    height:38px; width:auto;
  }
  .footer-brand-mark{
    height:30px; width:auto;
    filter:brightness(0) invert(1) opacity(0.9);
  }
  .nav-links{display:flex; gap:32px; font-size:0.88rem; color:var(--ink-soft);}
  .nav-links a{transition:color 0.2s ease;}
  .nav-links a:hover{color:var(--gold);}
  .nav-cta{
    background:var(--navy-deep); color:var(--cream);
    padding:10px 20px; border-radius:2px; font-size:0.85rem; font-weight:500;
    transition:background 0.2s ease;
  }
  .nav-cta:hover{background:var(--gold); color:var(--navy-deep);}
  @media(max-width:760px){ .nav-links{display:none;} }

  /* ---------- HERO ---------- */
  .hero{
    background:radial-gradient(120% 140% at 15% 0%, var(--navy) 0%, var(--navy-deep) 55%, #081525 100%);
    color:var(--cream);
    padding:96px 0 84px;
    position:relative;
    overflow:hidden;
  }
  .hero::before{
    content:'';
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(220,195,143,0.05) 1px, transparent 1px);
    background-size:100% 42px;
    pointer-events:none;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.05fr 0.85fr; gap:64px; align-items:center;
    position:relative;
  }
  @media(max-width:900px){ .hero-grid{grid-template-columns:1fr;} }

  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'IBM Plex Mono', monospace; font-size:0.72rem; letter-spacing:0.14em;
    color:var(--gold-light); text-transform:uppercase; margin-bottom:22px;
  }
  .eyebrow::before{content:''; width:26px; height:1px; background:var(--gold);}

  .hero h1{
    font-family:'Fraunces', serif; font-weight:500; font-size:clamp(2.1rem, 4.4vw, 3.3rem);
    line-height:1.12; letter-spacing:-0.01em; margin-bottom:22px;
  }
  .hero h1 em{font-style:italic; font-weight:300; color:var(--gold-light);}
  .hero p{
    font-size:1.06rem; line-height:1.65; color:rgba(248,245,238,0.78);
    max-width:480px; margin-bottom:34px;
  }
  .hero-actions{display:flex; gap:16px; flex-wrap:wrap; align-items:center;}
  .btn-primary{
    background:var(--gold); color:var(--navy-deep);
    padding:14px 26px; font-weight:600; font-size:0.92rem; border-radius:2px;
    transition:transform 0.2s ease, background 0.2s ease;
    display:inline-flex; align-items:center; gap:8px;
  }
  .btn-primary:hover{background:var(--gold-light); transform:translateY(-1px);}
  .btn-ghost{
    color:var(--cream); font-size:0.92rem; padding:14px 6px;
    border-bottom:1px solid var(--line);
  }
  .btn-ghost:hover{border-color:var(--gold);}

  /* ledger signature card */
  .ledger{
    background:rgba(248,245,238,0.04);
    border:1px solid rgba(220,195,143,0.22);
    border-radius:4px; padding:28px 26px;
    backdrop-filter:blur(4px);
  }
  .ledger-head{
    display:flex; justify-content:space-between; align-items:baseline;
    border-bottom:1px solid rgba(220,195,143,0.22);
    padding-bottom:14px; margin-bottom:16px;
  }
  .ledger-head .mono{font-size:0.7rem; letter-spacing:0.08em; color:var(--gold-light); text-transform:uppercase;}
  .ledger-row{
    display:flex; justify-content:space-between; align-items:center;
    padding:11px 0; border-bottom:1px dashed rgba(220,195,143,0.14);
    font-size:0.88rem; opacity:0; transform:translateY(6px);
    animation:rowIn 0.5s ease forwards;
  }
  .ledger-row:last-child{border-bottom:none;}
  .ledger-row span:first-child{color:rgba(248,245,238,0.85);}
  .ledger-row .status{
    font-family:'IBM Plex Mono', monospace; font-size:0.72rem; color:var(--ok);
    display:flex; align-items:center; gap:5px;
  }
  .ledger-row .status::before{content:'✓';}
  @keyframes rowIn{to{opacity:1; transform:translateY(0);}}

  /* ---------- SECTION SHELL ---------- */
  section{padding:88px 0;}
  .section-head{max-width:560px; margin-bottom:52px;}
  .section-eyebrow{
    font-family:'IBM Plex Mono', monospace; font-size:0.72rem; letter-spacing:0.14em;
    text-transform:uppercase; color:var(--gold); margin-bottom:14px; display:block;
  }
  .section-head h2{
    font-family:'Fraunces', serif; font-weight:500; font-size:clamp(1.7rem, 3vw, 2.3rem);
    line-height:1.2; color:var(--navy-deep);
  }
  .section-head p{margin-top:14px; color:var(--ink-soft); font-size:1rem; line-height:1.6;}

  /* ---------- SOBRE ---------- */
  .about{background:var(--cream);}
  .about-grid{
    display:grid; grid-template-columns:0.8fr 1.2fr; gap:56px; align-items:center;
  }
  @media(max-width:800px){ .about-grid{grid-template-columns:1fr;} }

  .photo-frame{
    position:relative; aspect-ratio:4/5; border-radius:4px;
    background:linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--line);
    overflow:hidden;
  }
  .photo-frame .placeholder-img{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; object-position:center 20%;
    filter:grayscale(0.15) saturate(0.9);
  }
  .photo-frame .placeholder-img::after{content:'';}
  .photo-frame .photo-overlay{
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(15,33,56,0.05) 0%, rgba(15,33,56,0.55) 100%);
  }
  .photo-frame .monogram{
    font-family:'Fraunces', serif; font-weight:300; font-size:5.5rem;
    color:var(--gold-light); opacity:0.9; letter-spacing:0.02em;
  }
  .photo-frame .frame-note{
    position:absolute; bottom:16px; left:16px; right:16px; z-index:2;
    font-family:'IBM Plex Mono', monospace; font-size:0.62rem;
    color:rgba(248,245,238,0.8); letter-spacing:0.04em; line-height:1.5;
    background:rgba(15,33,56,0.55); padding:8px 10px; border-radius:2px;
    border:1px solid rgba(220,195,143,0.25);
  }
  .photo-frame .frame-tag{
    position:absolute; top:16px; left:16px;
    font-family:'IBM Plex Mono', monospace; font-size:0.62rem;
    letter-spacing:0.1em; text-transform:uppercase; color:var(--gold-light);
    border:1px solid rgba(220,195,143,0.3); padding:4px 9px; border-radius:2px;
  }

  .about-text .kicker{
    font-family:'IBM Plex Mono', monospace; font-size:0.78rem; color:var(--gold);
    letter-spacing:0.04em; margin-bottom:10px;
  }
  .about-text h2{
    font-family:'Fraunces', serif; font-weight:500; font-size:clamp(1.6rem, 2.8vw, 2.1rem);
    color:var(--navy-deep); line-height:1.25; margin-bottom:18px;
  }
  .about-text p{color:var(--ink-soft); line-height:1.7; margin-bottom:16px; font-size:1rem;}
  .about-text p strong{color:var(--navy-deep); font-weight:600;}

  .pillars{display:flex; gap:28px; margin-top:28px; flex-wrap:wrap;}
  @media(max-width:520px){
    .pillars{flex-direction:column; gap:20px;}
  }
  .pillar{flex:1; min-width:140px;}
  .pillar .num{font-family:'IBM Plex Mono', monospace; font-size:0.72rem; color:var(--gold); margin-bottom:6px;}
  .pillar h3{font-family:'Fraunces', serif; font-weight:500; font-size:1.05rem; color:var(--navy-deep); margin-bottom:6px;}
  .pillar p{font-size:0.86rem; color:var(--ink-soft); line-height:1.55;}

  /* ---------- SERVICES ---------- */
  .services{background:#F2EDE1;}
  .service-list{border-top:1px solid var(--line);}
  .service-row{
    display:grid; grid-template-columns:100px 1fr auto; gap:24px; align-items:center;
    padding:26px 0; border-bottom:1px solid var(--line);
    transition:padding-left 0.25s ease, background 0.25s ease;
  }
  .service-row:hover{padding-left:12px; background:rgba(173,138,78,0.06);}
  .service-code{
    font-family:'IBM Plex Mono', monospace; font-size:0.85rem; color:var(--gold);
    letter-spacing:0.03em;
  }
  .service-body h3{
    font-family:'Fraunces', serif; font-weight:500; font-size:1.15rem; color:var(--navy-deep);
    margin-bottom:6px;
  }
  .service-body p{font-size:0.9rem; color:var(--ink-soft); line-height:1.55; max-width:520px;}
  .service-index{font-family:'IBM Plex Mono', monospace; font-size:0.72rem; color:var(--ink-soft); opacity:0.5;}
  @media(max-width:700px){
    .service-row{grid-template-columns:1fr; gap:8px;}
    .service-index{display:none;}
  }

  /* ---------- HOW / DIFFERENTIATOR ---------- */
  .support{
    background:var(--navy-deep); color:var(--cream);
    text-align:center;
  }
  .support .wrap{max-width:720px;}
  .support .section-eyebrow{color:var(--gold-light);}
  .support h2{
    font-family:'Fraunces', serif; font-weight:400; font-style:italic; font-size:clamp(1.5rem, 3vw, 2rem);
    line-height:1.4; color:var(--cream);
  }
  .support .accent{color:var(--gold-light); font-style:normal; font-weight:500;}
  .support-note{
    margin-top:26px; font-family:'IBM Plex Mono', monospace; font-size:0.75rem;
    color:rgba(248,245,238,0.55); letter-spacing:0.03em;
  }

  /* ---------- CTA ---------- */
  .cta{background:var(--cream); text-align:center;}
  .cta .wrap{max-width:640px;}
  .cta h2{
    font-family:'Fraunces', serif; font-weight:500; font-size:clamp(1.8rem, 3.4vw, 2.5rem);
    color:var(--navy-deep); line-height:1.2; margin-bottom:18px;
  }
  .cta p{color:var(--ink-soft); font-size:1.02rem; line-height:1.65; margin-bottom:34px;}
  .cta .btn-primary{background:var(--navy-deep); color:var(--cream); padding:16px 32px; font-size:0.95rem;}
  .cta .btn-primary:hover{background:var(--gold); color:var(--navy-deep);}

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--navy-deep); color:rgba(248,245,238,0.6);
    padding:40px 0; border-top:1px solid rgba(220,195,143,0.15);
  }
  .footer-grid{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
    font-size:0.82rem;
  }
  .footer-grid .brand{color:var(--cream);}
  .footer-links{display:flex; gap:22px;}
  .footer-links a:hover{color:var(--gold-light);}
