/* ==============================================
   CRSulVet — Homepage Styles
   ============================================== */
:root {
	--verde: #064319; --verde-claro: #689D4B; --verde-hover: #0a6b2a;
	--text: #1a2847; --text-muted: #666; --bg-light: #f8f9ff;
	--border: #e2e8f0; --hex-color: rgba(240,180,100,0.25); --font: 'Rubik', sans-serif;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 40px; font-weight: 700; color: var(--text); font-family: var(--font); margin: 0; }
.section-header h2 strong { color: var(--verde); font-weight: 800; }
.section-header h2 em { font-style: italic; color: var(--verde); }
.section-header p { color: var(--text-muted); font-size: 15px; margin-top: 12px; }
.section-header--light h2 { color: #fff; }
.section-header--light p { color: rgba(255,255,255,0.8); }
.section-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--verde); margin-bottom: 12px; }
.hex-deco { position: absolute; width: 280px; height: 280px; border: 2px solid var(--hex-color); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); pointer-events: none; z-index: 0; }
.hex-deco--right { right: -60px; top: 50%; transform: translateY(-50%); }
.hex-deco--form { right: 5%; top: 50%; transform: translateY(-50%); }

/* HERO */
.home-hero { width: 100%; }
.hero-swiper { width: 100%; height: 560px; }
.hero-slide { position: relative; display: flex; align-items: center; }
.hero-slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 1; }
.hero-slide-inner { position: relative; z-index: 2; }
.hero-slide-content { max-width: 560px; color: #fff; }
.hero-slide-logo { margin-bottom: 20px; }
.hero-slide-logo img { height: 60px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.hero-slide-titulo { font-size: 42px; font-weight: 700; line-height: 1.2; margin: 0 0 16px; font-family: var(--font); }
.hero-slide-descritivo { font-size: 16px; line-height: 1.7; margin: 0 0 28px; opacity: 0.9; }
.hero-slide-btn { display: inline-block; padding: 13px 28px; background: var(--verde); color: #fff; border-radius: 24px; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
.hero-slide-btn:hover { background: var(--verde-hover); color: #fff; transform: translateY(-2px); }
.hero-pagination { bottom: 20px !important; }
.hero-pagination .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.hero-pagination .swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 4px; }
.hero-prev, .hero-next { color: #fff !important; }

/* EMPRESAS */
.home-empresas { padding: 80px 0; background: #fff; position: relative; overflow: hidden; }
.empresas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.empresa-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; transition: all 0.3s; cursor: pointer; }
.empresa-card:hover { border-color: var(--verde); box-shadow: 0 6px 20px rgba(6,67,25,0.12); transform: translateY(-4px); }
.empresa-logo { padding: 24px 20px 16px; display: flex; align-items: center; justify-content: center; height: 100px; }
.empresa-logo img { max-height: 60px; max-width: 120px; object-fit: contain; filter: grayscale(30%); transition: filter 0.3s; }
.empresa-card:hover .empresa-logo img { filter: grayscale(0%); }
.empresa-nome-fallback { font-size: 13px; font-weight: 700; color: var(--text); }
.empresa-info { padding: 0 16px 20px; }
.empresa-info h5 { font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 6px; text-transform: uppercase; }
.empresa-info p { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empresa-hover-overlay { position: absolute; inset: 0; background: rgba(6,67,25,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.empresa-card:hover .empresa-hover-overlay { opacity: 1; }
.empresa-hover-btn { color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; border: 2px solid rgba(255,255,255,0.7); padding: 10px 20px; border-radius: 20px; transition: all 0.2s; }
.empresa-hover-btn:hover { background: #fff; color: var(--verde); }

/* INSTITUCIONAL */
.home-institucional { padding: 80px 0; background: var(--bg-light); position: relative; overflow: hidden; }
.institucional-inner { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }
.institucional-content h2 { font-size: 40px; font-weight: 700; color: var(--text); margin: 0 0 20px; font-family: var(--font); }
.institucional-texto { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.btn-institucional { display: inline-block; margin-top: 12px; padding: 12px 28px; background: var(--verde); color: #fff; border-radius: 24px; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
.btn-institucional:hover { background: var(--verde-hover); color: #fff; transform: translateY(-2px); }
.institucional-imagem { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.institucional-imagem img { width: 100%; height: auto; display: block; max-height: 360px; object-fit: cover; }

/* EVENTOS */
.home-eventos { padding: 0; }
.home-eventos-bg { background: var(--verde); background-size: cover; background-position: center; background-blend-mode: multiply; padding: 80px 0; }
.eventos-lista { display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px; }
.evento-item { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
.evento-item--right { grid-template-columns: 1fr 280px; }
.evento-item--right .evento-imagem { order: 2; }
.evento-item--right .evento-content { order: 1; }
.evento-imagem { border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.evento-imagem img { width: 100%; height: 180px; object-fit: cover; display: block; }
.evento-content h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.evento-content p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; margin: 0 0 16px; }
.btn-evento-modal { background: none; border: 2px solid rgba(255,255,255,0.6); color: #fff; padding: 8px 20px; border-radius: 20px; font-size: 12px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
.btn-evento-modal:hover { background: #fff; color: var(--verde); border-color: #fff; }
.eventos-cta { text-align: center; }
.btn-veja-todos { display: inline-block; padding: 12px 32px; border: 2px solid rgba(255,255,255,0.6); color: #fff; border-radius: 24px; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
.btn-veja-todos:hover { background: #fff; color: var(--verde); }
.evento-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9999; align-items: center; justify-content: center; padding: 20px; animation: fadeIn 0.3s ease; }
.evento-modal-overlay { position: absolute; inset: 0; cursor: pointer; }
.evento-modal-content { position: relative; background: #fff; border-radius: 16px; max-width: 760px; width: 100%; max-height: 90vh; overflow-y: auto; z-index: 10000; padding: 32px; animation: slideUp 0.3s ease; }
.evento-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: rgba(0,0,0,0.06); border-radius: 50%; font-size: 22px; cursor: pointer; color: var(--verde); font-weight: 700; transition: background 0.2s, color 0.2s; }
.evento-modal-close:hover { background: rgba(0,0,0,0.12); color: #000; }
.evento-modal-header img { width: 100%; border-radius: 10px; margin-bottom: 20px; }
.evento-modal-header h3 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.evento-modal-header p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0 0 24px; }
.evento-modal-galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.evento-modal-galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; transition: transform 0.3s; }
.evento-modal-galeria img:hover { transform: scale(1.04); }

/* FUNDADORES */
.home-fundadores { padding: 80px 0; background: #fff; }
.fundadores-grid { display: grid; grid-template-columns: repeat(2, 1fr) 260px; gap: 40px; align-items: center; }
.fundador-card { display: flex; gap: 20px; align-items: flex-start; }
.fundador-foto { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-light); }
.fundador-foto img { width: 100%; height: 100%; object-fit: cover; }
.fundador-foto-placeholder { width: 100%; height: 100%; background: var(--verde); color: #fff; font-size: 32px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fundador-info h4 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.fundador-cargo { font-size: 12px; color: var(--verde); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.fundador-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.fundadores-titulo h2 { font-size: 36px; font-weight: 700; color: var(--text); font-family: var(--font); text-align: right; line-height: 1.2; }

/* DEPOIMENTOS */
.home-depoimentos { padding: 80px 0; background: #eef0f8; }
.depoimentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.depoimento-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 16px; transition: box-shadow 0.3s; }
.depoimento-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.dep-estrelas { display: flex; gap: 3px; }
.estrela { font-size: 18px; color: #ddd; }
.estrela--ativa { color: #f59e0b; }
.dep-texto { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; flex: 1; }
.dep-autor { display: flex; align-items: center; gap: 12px; }
.dep-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--verde); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dep-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dep-avatar span { color: #fff; font-size: 18px; font-weight: 700; }
.dep-autor-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.dep-autor-info span  { display: block; font-size: 12px; color: var(--text-muted); }

/* FORMULÁRIO */
.shared-formulario { padding: 80px 0; background: #fff; position: relative; overflow: hidden; }
.formulario-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.formulario-texto h2 { font-size: 36px; font-weight: 700; color: var(--text); margin: 0 0 12px; font-family: var(--font); }
.formulario-texto p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* HERO INTERNO */
.hero-interno { width: calc(100% - 200px); margin: 20px auto 0; height: 380px; background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: 20px; overflow: hidden; position: relative; }
.hero-interno-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(15,50,25,0.50) 100%); }
.hero-interno-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 60px; z-index: 2; }
.hero-interno-content h1 { color: #fff; font-size: 44px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 2px; }
.hero-interno-content p { color: rgba(255,255,255,0.85); font-size: 16px; margin: 0; }

/* RESPONSIVO */
@media (max-width: 1024px) {
	.empresas-grid { grid-template-columns: repeat(3, 1fr); }
	.institucional-inner { grid-template-columns: 1fr; }
	.fundadores-grid { grid-template-columns: 1fr 1fr; }
	.fundadores-titulo { grid-column: 1 / -1; text-align: left; }
	.hero-interno { width: calc(100% - 80px); }
}
@media (max-width: 768px) {
	.hero-swiper { height: 420px; }
	.hero-slide-titulo { font-size: 28px; }
	.empresas-grid { grid-template-columns: repeat(2, 1fr); }
	.depoimentos-grid { grid-template-columns: 1fr; }
	.formulario-inner { grid-template-columns: 1fr; }
	.evento-item, .evento-item--right { grid-template-columns: 1fr; }
	.evento-item--right .evento-imagem, .evento-item--right .evento-content { order: unset; }
	.hero-interno { width: 100%; border-radius: 0; height: 280px; }
	.hero-interno-content { padding: 0 30px; }
	.hero-interno-content h1 { font-size: 28px; }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
