/* =========================================================
   Renato Silveira Advocacia — main.css
   Paleta: azul-marinho + dourado (extraída da logo)
   Fontes: Marcellus (títulos) + Karla (corpo)
   ========================================================= */

:root{
	--navy:        #151F38;
	--navy-2:      #101A31;
	--navy-deep:   #0C1324;
	--navy-soft:   #1D2A48;
	--gold:        #C9A227;
	--gold-light:  #E7C558;
	--gold-deep:   #9A7526;
	--white:       #FDFDFD;
	--cream:       #F6F4EF;
	--ink:         #1A1E28;
	--muted:       #5B6577;
	--muted-dark:  #C7CBD4;
	--line:        rgba(201,162,39,.22);
	--gold-metal:  linear-gradient(135deg,#9A7526 0%,#C9A227 45%,#E7C558 100%);

	--ff-head: "Marcellus", Georgia, "Times New Roman", serif;
	--ff-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--container: 1180px;
	--header-h: 88px;
	--radius: 4px;
	--shadow: 0 24px 60px -20px rgba(8,12,24,.55);
	--shadow-sm: 0 10px 30px -12px rgba(8,12,24,.35);
	--t: .35s cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
	margin:0; font-family:var(--ff-body); color:var(--ink);
	background:var(--cream); line-height:1.65; font-size:17px;
	overflow-x:hidden;
}
img,picture,svg,iframe{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--ff-head); font-weight:400; line-height:1.15; margin:0 0 .5em; letter-spacing:.2px; }
p{ margin:0 0 1rem; }
ul{ margin:0; padding:0; list-style:none; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.container--narrow{ max-width:760px; }
.section{ padding:110px 0; position:relative; }
.section--dark{ background:var(--navy); color:var(--white); }
.section--navy{ background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%); color:var(--white); }
.screen-reader-text{ position:absolute!important; width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.skip-link{ position:absolute; left:-999px; top:0; z-index:1000; background:var(--gold); color:var(--navy); padding:10px 16px; }
.skip-link:focus{ left:8px; top:8px; }

.eyebrow{
	font-family:var(--ff-body); font-weight:700; font-size:.74rem;
	letter-spacing:.22em; text-transform:uppercase; color:var(--gold);
	margin:0 0 14px; display:flex; align-items:center; gap:12px;
}
.eyebrow::before{ content:""; width:34px; height:1px; background:var(--gold); display:inline-block; }
.section--dark .eyebrow, .section--navy .eyebrow{ color:var(--gold-light); }

.section__head{ max-width:680px; margin:0 auto 60px; text-align:center; }
.section__head .eyebrow{ justify-content:center; }
.section__head h2{ font-size:clamp(2rem,4vw,2.9rem); }
.section__sub{ color:var(--muted); font-size:1.08rem; }
.section--dark .section__sub{ color:var(--muted-dark); }

/* ---------- Botões ---------- */
.btn{
	display:inline-flex; align-items:center; justify-content:center; gap:10px;
	font-family:var(--ff-body); font-weight:700; font-size:.95rem; letter-spacing:.02em;
	padding:15px 30px; border:1px solid transparent; border-radius:var(--radius);
	cursor:pointer; transition:transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
	text-align:center; line-height:1.2;
}
.btn--gold{ background:var(--gold-metal); color:var(--navy); box-shadow:0 12px 26px -12px rgba(201,162,39,.7); }
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 18px 34px -12px rgba(201,162,39,.85); }
.btn--ghost{ background:transparent; border-color:rgba(201,162,39,.5); color:var(--gold); }
.section--dark .btn--ghost, .section--navy .btn--ghost, .hero .btn--ghost{ color:var(--gold-light); border-color:rgba(231,197,88,.55); }
.btn--ghost:hover{ background:rgba(201,162,39,.12); }
.btn--lg{ padding:18px 36px; font-size:1rem; }
.btn--sm{ padding:11px 20px; font-size:.85rem; }
.btn--block{ display:flex; width:100%; }

/* ---------- Header ---------- */
.site-header{
	position:fixed; top:0; left:0; right:0; z-index:900; height:var(--header-h);
	display:flex; align-items:center;
	transition:background var(--t), height var(--t), box-shadow var(--t), border-color var(--t);
	border-bottom:1px solid transparent;
}
.site-header__inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-header__logo img{ height:52px; width:auto; transition:height var(--t); }
.site-header.scrolled{ background:rgba(16,26,49,.96); backdrop-filter:blur(10px); height:72px; box-shadow:0 10px 30px -18px rgba(0,0,0,.7); border-color:var(--line); }
.site-header.scrolled .site-header__logo img{ height:42px; }

.site-nav{ margin-left:auto; }
.nav__list{ display:flex; gap:34px; align-items:center; }
.nav__list a{
	color:var(--white); font-weight:500; font-size:.98rem; position:relative; padding:6px 0;
	opacity:.9; transition:opacity var(--t);
}
.nav__list a::after{ content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--gold); transition:width var(--t); }
.nav__list a:hover{ opacity:1; }
.nav__list a:hover::after{ width:100%; }

.site-header__cta{ margin-left:8px; }
.site-header__cta svg{ margin-right:2px; }

/* Hamburguer */
.nav-toggle{ display:none; background:none; border:0; width:44px; height:44px; padding:10px; cursor:pointer; margin-left:8px; }
.nav-toggle span{ display:block; height:2px; background:var(--white); border-radius:2px; transition:transform var(--t), opacity var(--t); }
.nav-toggle span+span{ margin-top:6px; }
body.menu-open .nav-toggle span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
body.menu-open .nav-toggle span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav{
	position:fixed; inset:0; z-index:850; background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%);
	display:flex; flex-direction:column; justify-content:center; gap:6px; padding:100px 32px 40px;
	transform:translateX(100%); transition:transform var(--t); visibility:hidden;
}
body.menu-open .mobile-nav{ transform:translateX(0); visibility:visible; }
.mobile-nav__list{ display:flex; flex-direction:column; gap:4px; margin-bottom:28px; }
.mobile-nav__list a{ color:var(--white); font-family:var(--ff-head); font-size:1.6rem; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.mobile-nav .btn{ margin-top:10px; }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; color:var(--white); padding:calc(var(--header-h) + 40px) 0 80px; overflow:hidden; }
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__bg picture{ position:absolute; inset:0; display:block; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; object-position:center right; }
.hero__overlay{ position:absolute; inset:0; z-index:1;
	background:linear-gradient(90deg, rgba(12,19,36,.94) 0%, rgba(16,26,49,.82) 42%, rgba(16,26,49,.42) 100%),
	           linear-gradient(0deg, rgba(12,19,36,.85) 0%, rgba(12,19,36,0) 45%);
}
.hero__inner{ position:relative; z-index:2; max-width:760px; }
.hero__over{ font-family:var(--ff-body); color:var(--gold-light); font-weight:700; letter-spacing:.16em; text-transform:uppercase; font-size:.82rem; line-height:1.4; margin:0 0 22px; }
.hero__title{ font-size:clamp(2.2rem,5.2vw,4rem); line-height:1.08; margin-bottom:22px; }
.hero__text{ font-size:clamp(1.05rem,2vw,1.25rem); color:rgba(255,255,255,.9); max-width:600px; margin-bottom:34px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:40px; }
.hero__trust{ display:flex; flex-wrap:wrap; gap:14px 28px; }
.hero__trust li{ position:relative; padding-left:24px; font-size:.92rem; color:rgba(255,255,255,.82); }
.hero__trust li::before{ content:"✓"; position:absolute; left:0; color:var(--gold-light); font-weight:700; }

/* ---------- Sobre ---------- */
.sobre__grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:64px; align-items:center; }
.sobre__media{ position:relative; }
.sobre__media img{ border-radius:var(--radius); box-shadow:var(--shadow); width:100%; aspect-ratio:4/4.4; object-fit:cover; object-position:center top; }
.sobre__media::after{ content:""; position:absolute; inset:16px -16px -16px 16px; border:1px solid var(--gold); border-radius:var(--radius); z-index:-1; }
.sobre__badge{ position:absolute; right:-10px; bottom:26px; background:var(--gold-metal); color:var(--navy); padding:18px 22px; border-radius:var(--radius); box-shadow:var(--shadow-sm); text-align:center; }
.sobre__badge strong{ display:block; font-family:var(--ff-head); font-size:1.5rem; line-height:1; }
.sobre__badge span{ font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; font-weight:700; }
.sobre__content h2{ font-size:clamp(1.8rem,3.4vw,2.6rem); }
.lead{ font-size:1.1rem; color:var(--muted); }
.sobre__points{ margin-top:30px; display:flex; flex-direction:column; gap:20px; }
.sobre__points li{ display:flex; gap:18px; align-items:flex-start; }
.sobre__points span{ font-family:var(--ff-head); color:var(--gold); font-size:1.4rem; min-width:42px; height:42px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.sobre__points strong{ display:block; font-size:1.05rem; margin-bottom:2px; color:var(--ink); }
.sobre__points p{ margin:0; color:var(--muted); font-size:.96rem; }

/* ---------- Áreas ---------- */
.areas__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.area-card{
	background:linear-gradient(160deg,var(--navy-soft) 0%,var(--navy-2) 100%);
	border:1px solid rgba(201,162,39,.16); border-radius:var(--radius);
	padding:34px 26px; transition:transform var(--t), border-color var(--t), box-shadow var(--t);
}
.area-card:hover{ transform:translateY(-6px); border-color:var(--gold); box-shadow:0 24px 44px -22px rgba(0,0,0,.8); }
.area-card__icon{ display:inline-flex; width:52px; height:52px; color:var(--gold-light); margin-bottom:18px; }
.area-card__icon svg{ width:100%; height:100%; }
.area-card h3{ font-size:1.22rem; color:var(--white); margin-bottom:10px; }
.area-card p{ color:var(--muted-dark); font-size:.92rem; margin:0; }
.areas__cta{ margin-top:52px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px; text-align:center; }
.areas__cta p{ margin:0; color:var(--muted-dark); max-width:420px; }

/* ---------- Atuação / Brasil ---------- */
.atuacao{ background:#fff; overflow:hidden; }
.atuacao__grid{ display:grid; grid-template-columns:1fr 1.08fr; gap:56px; align-items:center; }
.atuacao__title{ font-size:clamp(1.75rem,3.3vw,2.55rem); color:var(--navy); margin-bottom:22px; }
.atuacao__content p{ color:var(--muted); font-size:1.04rem; }
.atuacao__content .btn{ margin-top:16px; }
.atuacao__content .btn svg{ margin-right:2px; }
.atuacao__map{ position:relative; }
.atuacao__map-fig{ position:relative; margin:0; }
.atuacao__map-img{ width:100%; height:auto; }
.atuacao__seal{ position:absolute; left:1%; bottom:11%; padding-left:16px; }
.atuacao__seal::before{ content:""; position:absolute; left:0; top:6px; bottom:8px; width:3px; border-radius:3px; background:var(--gold-metal); }
.atuacao__seal-sede{ display:block; font-family:var(--ff-head); font-size:clamp(1.15rem,2.3vw,1.7rem); color:var(--navy); line-height:1.12; }
.atuacao__seal-city{ display:block; font-weight:700; letter-spacing:.05em; color:var(--gold-deep); font-size:.98rem; margin-top:2px; }

/* ---------- Credibilidade ---------- */
.cred{ background:var(--cream); }
.cred__grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.cred__media img{ border-radius:var(--radius); box-shadow:var(--shadow); width:100%; aspect-ratio:1/1.12; object-fit:cover; object-position:center top; }
.cred__media{ position:relative; }
.cred__media::before{ content:""; position:absolute; inset:-18px -18px 30px 30px; background:var(--gold-metal); border-radius:var(--radius); z-index:-1; opacity:.25; }
.cred__name{ font-size:clamp(2rem,4vw,2.8rem); margin-bottom:4px; }
.cred__role{ color:var(--gold-deep); font-weight:700; letter-spacing:.04em; margin-bottom:22px; }
.cred__bio{ color:var(--muted); font-size:1.06rem; margin-bottom:30px; }

/* ---------- Avaliações ---------- */
.reviews__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.review-card{ background:var(--navy-2); border:1px solid rgba(201,162,39,.16); border-radius:var(--radius); padding:30px 28px; }
.review-card__stars{ color:var(--gold-light); letter-spacing:3px; margin-bottom:14px; font-size:1.1rem; }
.review-card__text{ color:var(--white); font-size:1rem; line-height:1.7; margin-bottom:16px; }
.review-card__author{ color:var(--muted-dark); font-size:.86rem; margin:0; font-weight:600; }
.reviews__widget{ margin-top:6px; }
.reviews__map{ margin-top:40px; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); }
.reviews__cta{ margin-top:32px; text-align:center; }

/* ---------- Vídeos ---------- */
.videos__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:36px; }
.videos__item{ aspect-ratio:9/16; background:var(--navy-2); border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); }
.videos__item iframe{ width:100%; height:100%; }
.videos__social{ display:flex; gap:14px; justify-content:center; }

/* ---------- Contato ---------- */
.contato__grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.contato__info h2{ font-size:clamp(1.9rem,3.6vw,2.7rem); color:var(--white); }
.contato__info .lead{ color:var(--muted-dark); }
.contato__list{ margin:28px 0 30px; display:flex; flex-direction:column; gap:16px; }
.contato__list li{ display:flex; flex-direction:column; gap:2px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.09); }
.contato__list span{ font-size:.74rem; text-transform:uppercase; letter-spacing:.16em; color:var(--gold-light); font-weight:700; }
.contato__list a{ color:var(--white); font-size:1.1rem; }
.contato__form-wrap{ background:var(--cream); border-radius:var(--radius); padding:38px 34px; box-shadow:var(--shadow); }
.contato__form h3{ color:var(--ink); font-size:1.5rem; margin-bottom:20px; }
.contato__form label{ display:block; margin-bottom:16px; }
.contato__form label span{ display:block; font-size:.85rem; font-weight:600; color:var(--muted); margin-bottom:6px; }
.contato__form input,.contato__form textarea{
	width:100%; padding:13px 15px; border:1px solid #d8d3c8; border-radius:var(--radius);
	font-family:var(--ff-body); font-size:1rem; color:var(--ink); background:#fff; transition:border-color var(--t), box-shadow var(--t);
}
.contato__form input:focus,.contato__form textarea:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,162,39,.18); }
.contato__form .hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.contato__feedback{ margin:14px 0 0; font-size:.92rem; font-weight:600; min-height:1em; }
.contato__feedback.ok{ color:#1f7a44; }
.contato__feedback.err{ color:#b3261e; }
.contato__privacy{ margin:12px 0 0; font-size:.8rem; color:var(--muted); text-align:center; }

/* ---------- Rodapé ---------- */
.site-footer{ background:var(--navy-deep); color:var(--muted-dark); }
.site-footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding:74px 0 54px; }
.site-footer__logo{ height:64px; width:auto; margin-bottom:18px; }
.site-footer__brand p{ font-size:.94rem; }
.site-footer__oab{ color:var(--gold-light); font-weight:700; letter-spacing:.04em; }
.site-footer__col h4{ color:var(--white); font-size:1.05rem; letter-spacing:.04em; margin-bottom:18px; }
.site-footer__col ul li{ margin-bottom:10px; }
.site-footer__col a{ color:var(--muted-dark); font-size:.92rem; transition:color var(--t); }
.site-footer__col a:hover{ color:var(--gold-light); }
.site-footer__social{ display:flex; gap:16px; margin-top:16px; }
.site-footer__social a{ color:var(--gold-light); font-weight:600; font-size:.88rem; }
.site-footer__bottom{ border-top:1px solid rgba(255,255,255,.08); padding:22px 0; }
.site-footer__legal{ font-size:.78rem; color:rgba(199,203,212,.6); margin:0 0 8px; max-width:900px; }
.site-footer__copy{ font-size:.85rem; margin:0; color:var(--muted-dark); }
.site-footer__copy a{ color:var(--gold-light); }
.site-footer__credit{ font-size:.78rem; margin:8px 0 0; color:rgba(199,203,212,.6); }
.site-footer__credit a{ color:var(--gold-light); font-weight:600; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
	position:fixed; right:22px; bottom:22px; z-index:800;
	width:60px; height:60px; border-radius:50%;
	background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
	box-shadow:0 12px 30px -8px rgba(37,211,102,.6); transition:transform var(--t);
	animation:wa-pulse 2.6s infinite;
}
.whatsapp-float:hover{ transform:scale(1.08); }
@keyframes wa-pulse{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Página interna ---------- */
.page-content{ padding-top:calc(var(--header-h) + 60px); background:#fff; }
.page-content__title{ font-size:clamp(2rem,4vw,2.8rem); color:var(--navy); margin-bottom:24px; }
.page-content__body{ color:var(--ink); }
.page-content__body h2{ color:var(--navy); margin-top:1.6em; font-size:1.5rem; }
.page-content__back{ margin-top:40px; }
.page-content__back a{ color:var(--gold-deep); font-weight:700; }

/* ---------- Reveal (só anima quando há JS; sem JS o conteúdo é sempre visível) ---------- */
.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.revealed{ opacity:1; transform:none; }
.js .areas__grid .area-card:nth-child(2){ transition-delay:.06s; }
.js .areas__grid .area-card:nth-child(3){ transition-delay:.12s; }
.js .areas__grid .area-card:nth-child(4){ transition-delay:.18s; }
@media (prefers-reduced-motion:reduce){ .js .reveal{ opacity:1 !important; transform:none !important; transition:none; } html{ scroll-behavior:auto; } }

/* ---------- Responsivo ---------- */
@media (max-width:1024px){
	.areas__grid{ grid-template-columns:repeat(2,1fr); }
	.sobre__grid,.cred__grid,.contato__grid,.atuacao__grid{ gap:44px; }
	.reviews__grid,.videos__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:820px){
	.section{ padding:76px 0; }
	.site-nav,.site-header__cta{ display:none; }
	.nav-toggle{ display:block; }
	.sobre__grid,.cred__grid,.contato__grid,.atuacao__grid{ grid-template-columns:1fr; }
	.atuacao__map{ max-width:520px; margin:6px auto 0; }
	.atuacao__content .btn{ width:auto; }
	.sobre__media,.cred__media{ max-width:460px; margin:0 auto; }
	.cred__media{ order:-1; }
	.contato__form-wrap{ order:2; }
	.reviews__grid,.videos__grid{ grid-template-columns:1fr; }
	.site-footer__grid{ grid-template-columns:1fr 1fr; gap:32px; }
	.hero{ min-height:90vh; padding:calc(var(--header-h) + 52px) 0 56px; }
	.hero__bg img{ object-position:60% 22%; }
	/* Scrim leve e uniforme: a foto cobre e fica visível por toda a altura;
	   o texto ganha sombra para legibilidade em vez de escurecer a imagem. */
	.hero__overlay{ background:linear-gradient(180deg, rgba(12,19,36,.82) 0%, rgba(12,19,36,.5) 14%, rgba(12,19,36,.36) 46%, rgba(12,19,36,.56) 100%); }
	.hero__over{ text-shadow:0 2px 14px rgba(8,12,24,.85); }
	.hero__title{ font-size:clamp(1.55rem,6.6vw,2rem); line-height:1.14; margin-bottom:18px; text-shadow:0 3px 22px rgba(8,12,24,.8); }
	.hero__text{ text-shadow:0 2px 14px rgba(8,12,24,.9); }
	.hero__trust li{ text-shadow:0 2px 10px rgba(8,12,24,.9); }
}
@media (max-width:520px){
	body{ font-size:16px; }
	.container{ padding:0 18px; }
	.site-header__logo img{ height:40px; }
	.site-header.scrolled .site-header__logo img{ height:36px; }
	.areas__grid{ grid-template-columns:1fr; }
	.site-footer__grid{ grid-template-columns:1fr; }
	.hero__actions .btn{ width:100%; }
	.btn--lg{ padding:16px 24px; }
	.contato__form-wrap{ padding:28px 22px; }
	.whatsapp-float{ width:54px; height:54px; right:16px; bottom:16px; }
}
