/*
Theme Name: Guilherme Kazuo Advocacia
Theme URI: https://gkazuoadvocacia.com.br
Author: Guilherme Kazuo Advocacia
Author URI: https://gkazuoadvocacia.com.br
Description: Tema institucional para o escritório Guilherme Kazuo Advocacia. Direito do Consumidor e Direito Civil. Editável pelo Painel > Personalizar e pelo menu "Áreas de Atuação".
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gk-advocacia
*/

:root{
  --navy:#0F2A4F;
  --navy-2:#0A1E38;
  --navy-3:#081627;
  --slate:#4C5963;
  --blue:#254775;
  --blue-grey:#64778A;
  --cream:#EFEAE1;
  --gold:#DEC77F;
  --gold-dim:#B9A06B;
  --ink:#16232F;
  --ink-soft:#3B4552;
  --paper:#F7F4EE;
  --paper-2:#EFEAE0;
  --line-on-navy: rgba(239,234,225,0.16);
  --line-on-paper: rgba(22,35,47,0.12);
  --shadow: 0 20px 50px -25px rgba(8,22,39,0.55);
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Lora',Georgia,'Times New Roman',serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

h1,h2,h3,h4{
  font-family:'Playfair Display',Georgia,serif;
  margin:0;
  font-weight:700;
  letter-spacing:0.2px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Lora',Georgia,serif;
  font-size:12.5px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gold-dim);
  font-weight:600;
  margin:0 0 14px;
}
[data-tone="dark"] .eyebrow{ color:var(--gold); }

.mark{ width:16px; height:16px; position:relative; display:inline-block; flex:none; }
.mark i{ position:absolute; top:1px; width:9px; height:14px; border-radius:1px; }
.mark i:first-child{ left:0; background:var(--slate); }
.mark i:last-child{ left:6px; background:var(--blue); }

/* ---------- Header ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--navy);
  border-bottom:1px solid var(--line-on-navy);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px;
  max-width:var(--maxw); margin:0 auto;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ width:40px; height:40px; border-radius:3px; flex:none; object-fit:cover; }
.brand-type{ line-height:1.15; }
.brand-type .name{ font-family:'Sorts Mill Goudy',Georgia,serif; color:var(--cream); font-size:19px; display:block; }
.brand-type .tag{ font-family:'Lora',Georgia,serif; color:var(--gold); font-size:9.5px; letter-spacing:0.24em; text-transform:uppercase; display:block; margin-top:2px; }

.nav-links{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.nav-links li{ margin:0; }
.nav-links a{
  text-decoration:none; color:var(--cream); font-size:14.5px; letter-spacing:0.02em;
  opacity:0.88; padding:6px 0; border-bottom:1px solid transparent; transition:opacity .2s, border-color .2s;
}
.nav-links a:hover{ opacity:1; border-color:var(--gold); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Lora',Georgia,serif; font-size:14px; letter-spacing:0.03em;
  padding:12px 22px; border-radius:2px; text-decoration:none;
  border:1px solid transparent; cursor:pointer; white-space:nowrap;
}
.btn-gold{ background:var(--gold); color:var(--navy-3); font-weight:600; }
.btn-gold:hover{ background:#e9d9a4; color:var(--navy-3); }
.btn-outline-dark{ border-color:var(--gold-dim); color:var(--cream); background:transparent; }
.btn-outline-dark:hover{ border-color:var(--gold); background:rgba(222,199,127,0.08); color:var(--cream); }

.nav-cta{ display:flex; align-items:center; gap:18px; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(37,71,117,0.55), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 62%, var(--navy-3) 100%);
  overflow:hidden;
  padding:96px 0 84px;
}
.hero-motif{ position:absolute; top:50%; right:-90px; transform:translateY(-50%); width:560px; height:560px; opacity:0.5; pointer-events:none; }
.hero-motif .r1, .hero-motif .r2{ position:absolute; top:60px; }
.hero-motif .r1{ left:120px; width:220px; height:380px; background:rgba(76,89,99,0.35); }
.hero-motif .r2{ left:210px; width:220px; height:380px; background:rgba(37,71,117,0.35); }

.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.hero-grid > *{ min-width:0; }
.hero-lockup{
  max-width:560px; width:100%; height:auto;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 70%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.hero-copy .eyebrow{ color:var(--gold); }
.hero-copy h1{
  font-family:'Sorts Mill Goudy',Georgia,serif;
  color:var(--cream);
  font-size:clamp(30px, 3.2vw, 42px);
  line-height:1.28;
  font-weight:400;
  margin-bottom:20px;
}
.hero-copy p{ color:rgba(239,234,225,0.82); font-size:16.5px; max-width:46ch; margin:0 0 30px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- Sections ---------- */
section{ padding:96px 0; }
.section-head{ max-width:640px; margin:0 0 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(26px,2.6vw,36px); color:var(--navy); }
[data-tone="dark"] .section-head h2{ color:var(--cream); }
.section-head p{ color:var(--ink-soft); margin-top:14px; font-size:16px; }
[data-tone="dark"] .section-head p{ color:rgba(239,234,225,0.78); }
[data-tone="dark"]{ background:var(--navy); color:var(--cream); }

/* Areas grid */
.areas-grid{ display:flex; flex-wrap:wrap; gap:1px; background:var(--line-on-paper); border:1px solid var(--line-on-paper); }
.area-card{ background:var(--paper); padding:34px 30px; position:relative; flex:1 1 300px; }
.area-card .mark{ margin-bottom:18px; }
.area-card h3{ font-size:18.5px; color:var(--navy); margin-bottom:10px; line-height:1.35; }
.area-card p{ font-size:14.8px; color:var(--ink-soft); margin:0; }

/* Reviews */
.reviews-card{ max-width:640px; margin:0 auto; text-align:center; background:var(--navy); color:var(--cream); border:1px solid var(--line-on-navy); padding:48px 44px; }
.stars{ display:flex; justify-content:center; gap:6px; margin-bottom:18px; }
.stars svg{ width:20px; height:20px; fill:var(--gold); }
.reviews-card p{ color:rgba(239,234,225,0.82); font-size:15.5px; margin:0 auto 26px; max-width:42ch; }
.reviews-card .src{ font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue-grey); margin-top:18px; }

/* About split */
.about-grid{ display:grid; grid-template-columns:0.86fr 1.14fr; gap:64px; align-items:center; }
.about-grid > *{ min-width:0; }
.about-photo{ aspect-ratio:4/5; border:1px solid var(--line-on-navy); position:relative; background:linear-gradient(160deg, var(--blue) 0%, var(--navy-3) 100%); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.about-photo img.portrait{ width:100%; height:100%; object-fit:cover; object-position:center 18%; }
.about-photo .mono{ width:46%; opacity:0.9; }
.about-photo .cap{ position:absolute; left:0; right:0; bottom:0; padding:16px 18px 14px; font-size:12px; letter-spacing:0.05em; color:rgba(239,234,225,0.85); background:linear-gradient(0deg, rgba(8,22,39,0.82), transparent); }
.about-copy h2{ color:var(--cream); margin-bottom:22px; }
.about-copy p{ color:rgba(239,234,225,0.85); margin:0 0 16px; font-size:16px; }
.about-copy .meta-line{ margin:0 0 4px; font-size:14.5px; letter-spacing:0.02em; }
.about-copy .oab{ margin-top:26px; padding-top:22px; border-top:1px solid var(--line-on-navy); font-size:14px; color:var(--gold-dim); letter-spacing:0.03em; }

/* Why us */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:44px; }
.why-grid > *{ min-width:0; }
.why-item .num{ font-family:'Playfair Display',Georgia,serif; font-size:15px; color:var(--gold-dim); border:1px solid var(--line-on-paper); width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.why-item h3{ font-size:19px; color:var(--navy); margin-bottom:10px; }
.why-item p{ color:var(--ink-soft); font-size:15px; margin:0; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.contact-grid > *{ min-width:0; }
.contact-list{ list-style:none; margin:28px 0 0; padding:0; display:flex; flex-direction:column; gap:20px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.contact-list .ico{ flex:none; width:34px; height:34px; border:1px solid var(--line-on-navy); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gold); font-family:'Playfair Display',serif; font-size:14px; }
.contact-list .lbl{ font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue-grey); margin-bottom:3px; }
.contact-list .val{ color:var(--cream); font-size:16px; }
.contact-list .val a{ color:var(--cream); text-decoration:underline; text-decoration-color:var(--blue-grey); }
.contact-note{ font-size:13.5px; color:rgba(239,234,225,0.55); margin-top:10px; }
.contact-card{ background:var(--navy-2); border:1px solid var(--line-on-navy); padding:40px; }
.contact-card h3{ color:var(--cream); font-size:22px; margin-bottom:12px; }
.contact-card p{ color:rgba(239,234,225,0.78); font-size:15px; margin:0 0 26px; }

/* Footer */
footer.site-footer{ background:var(--navy-3); border-top:1px solid var(--line-on-navy); padding:56px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:48px; margin-bottom:40px; }
.footer-grid > *{ min-width:0; }
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.footer-brand img{ width:34px; height:34px; border-radius:3px; object-fit:cover; }
.footer-brand span{ font-family:'Sorts Mill Goudy',Georgia,serif; color:var(--cream); font-size:18px; }
footer p{ color:rgba(239,234,225,0.6); font-size:14px; max-width:34ch; }
footer h4{ font-family:'Lora',Georgia,serif; color:var(--gold-dim); font-size:12px; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:16px; font-weight:600; }
footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
footer ul li{ margin:0; }
footer ul a{ text-decoration:none; color:rgba(239,234,225,0.75); font-size:14.5px; }
footer ul a:hover{ color:var(--gold); }
.footer-bottom{ border-top:1px solid var(--line-on-navy); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; color:rgba(239,234,225,0.45); }

/* Floating WhatsApp */
.fab{ position:fixed; right:24px; bottom:24px; z-index:60; width:58px; height:58px; border-radius:50%; background:var(--gold); display:flex; align-items:center; justify-content:center; text-decoration:none; box-shadow:var(--shadow); border:1px solid rgba(255,255,255,0.25); }
.fab svg{ width:26px; height:26px; }

/* WP core helpers */
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }
.alignwide{ max-width:var(--maxw); }

@media (max-width: 900px){
  .nav-links, .nav-cta .btn-outline-dark{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-motif{ display:none; }
  .about-grid{ grid-template-columns:1fr; }
  .about-photo{ max-width:320px; }
  .why-grid{ grid-template-columns:1fr; gap:32px; }
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .nav{ flex-wrap:wrap; row-gap:12px; padding:14px 20px; }
  .brand{ flex:1 1 auto; }
  .nav-cta{ width:100%; }
  .nav-cta .btn-gold{ width:100%; justify-content:center; }
  section{ padding:72px 0; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .hero{ padding:56px 0 64px; }
}
