/* Fonte e cores base */
.jd-energia {
	font-family: Arial, Helvetica, sans-serif;
	color: #1c1c1c;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}
/* HERO */
.hero {
	background-image: url('https://jdenergia.com/wp-content/uploads/2025/10/Hydro.jpg');
	background-size: cover;
	background-position: center;
	text-align: center;
	color: white;
	padding: 120px 20px;
}

.hero h1 {
	font-size: 2.5em;
	margin-bottom: 15px;
}

.hero p {
	font-size: 1.2em;
	max-width: 700px;
	margin: auto;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: auto;
        text-align: center;
				display: inline-flex;
    }
}

.hero-buttons {
	margin-top: 30px;
}

.btn-primary {
	background: #0073aa;
	color: white;
	padding: 12px 25px;
	border-radius: 4px;
	text-decoration: none;
	margin-right: 10px;
}

.btn-secondary {
	background: white;
	color: #0073aa;
	padding: 12px 25px;
	border-radius: 4px;
	text-decoration: none;
}

.nvidia-inception {
    max-width: 900px;
    margin: 50px auto;
    padding: 35px 40px;

    text-align: center;

    background: #F7FAFC;
    border-left: 6px solid #76B900;
    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.nvidia-inception .eyebrow {
    margin-bottom: 12px;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: #3E5568;
}

.nvidia-inception img {
    display: block;
    margin: 10px auto 15px auto;

    max-width: 240px;
    width: 100%;
    height: auto;
}

.nvidia-inception .description {
    max-width: 750px;
    margin: 0 auto;

    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;

    color: #4A5A68;
}

/* SOLUÇÕES */
.solucoes {
	background-image: url('https://jdenergia.com/wp-content/uploads/2025/10/image.png');
	background-size: cover;
	background-position: center;
	text-align: center;
	color: white;
	padding: 80px 20px;
}

.solucoes-container {
	background: rgba(0,0,0,0.6);
	padding: 60px;
	border-radius: 8px;
}

.solucoes-container h2 {
	font-size: 2em;
	color: #ffffff;
}

.solucoes-container p {
	max-width: 750px;
	margin: 20px auto;
	color: #f0f0f0;
}

.cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 40px;
}

.card {
	flex: 1 1 250px;
	background: rgba(255,255,255,0.9);
	margin: 10px;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h3 {
	color: #0073aa;
}

/* SOBRE, PARCERIAS e CONTATO */
.sobre, .parcerias, .contato {
	padding: 80px 20px;
	background-size: cover;
	background-position: center;
	text-align: center;
	color: white;
}

.sobre-container, .parcerias-container, .contato-container {
	background: rgba(0,0,0,0.6);
	padding: 60px;
	border-radius: 8px;
	max-width: 900px;
	margin: auto;
}

.sobre-container h2, .parcerias-container h2, .contato-container h2 {
	font-size: 2em;
	color: #ffffff;
}

.sobre-container p, .parcerias-container p, .contato-container p {
	color: #f0f0f0;
}

/* RODAPÉ */
.footer {
	background: #0073aa;
	color: white;
	text-align: center;
	padding: 20px;
}

/* LINKS */
.sobre a, .parcerias a, .contato a {
	color: #00acee;
	text-decoration: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {
	.cards {
		flex-direction: column;
	}
}

/* === Hero buttons: side by side, centered (2026-10-07) === */
.jd-energia .hero-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin-top: 36px;
	width: 100%;
}
.jd-energia .hero-buttons br {
	display: none;
}
.jd-energia .hero-buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	margin: 0;
	padding: 14px 32px;
	border-radius: 8px;
	border: 2px solid transparent;
	font-size: 1.05em;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.jd-energia .hero-buttons .btn-primary {
	background: #0073aa;
	border-color: #0073aa;
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.jd-energia .hero-buttons .btn-primary:hover,
.jd-energia .hero-buttons .btn-primary:focus {
	background: #005f8d;
	border-color: #005f8d;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
}
.jd-energia .hero-buttons .btn-secondary {
	background: rgba(255, 255, 255, .12);
	border-color: #ffffff;
	color: #ffffff;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}
.jd-energia .hero-buttons .btn-secondary:hover,
.jd-energia .hero-buttons .btn-secondary:focus {
	background: #ffffff;
	color: #0073aa;
	transform: translateY(-2px);
}
@media (max-width: 480px) {
	.jd-energia .hero-buttons {
		gap: 12px;
	}
	.jd-energia .hero-buttons a {
		min-width: 0;
		flex: 1 1 140px;
		padding: 13px 18px;
	}
}

/* === NVIDIA block: full width, aligned with the hero (2026-10-07) === */
.jd-energia .nvidia-inception {
	max-width: none;
	width: auto;
	margin: 50px 0;
	box-sizing: border-box;
}


/* === Agent 1: top button + section (go-live 2026-10-19) === */
.entry-content { position: relative; }
.jd-agent1-top {
	position: absolute; top: 14px; right: 24px; margin: 0 !important; z-index: 5;
}
.jd-agent1-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 26px; border-radius: 8px; border: 2px solid #0073aa;
	background: #0073aa; color: #ffffff !important;
	font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 600;
	letter-spacing: .02em; line-height: 1.2; text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 115, 170, .28);
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.jd-agent1-btn:hover, .jd-agent1-btn:focus {
	background: #005f8d; border-color: #005f8d; transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 115, 170, .34);
}
.jd-agent1-btn::after { content: "\2192"; font-weight: 400; }

.jd-agent1 {
	max-width: none; margin: 60px 0; padding: 56px 40px; box-sizing: border-box; text-align: center;
	background: #F7FAFC; border-top: 6px solid #0073aa; border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}
.jd-agent1 .eyebrow {
	margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: #0073aa;
}
.jd-agent1 h2 { margin: 0 0 14px; font-size: 2em; line-height: 1.25; color: #16324a; }
.jd-agent1 .lead { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.55; color: #4A5A68; }
.jd-agent1-grid {
	max-width: 1200px; margin-left: auto !important; margin-right: auto !important;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0 34px; text-align: left;
}
.jd-agent1-item {
	background: #ffffff; padding: 22px 20px; border-radius: 10px; border: 1px solid #e3eaf0;
}
.jd-agent1-item h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; color: #0073aa; }
.jd-agent1-item p { margin: 0; font-size: 15px; line-height: 1.5; color: #4A5A68; }
.jd-agent1 .cta { margin: 0 0 18px; font-size: 22px; line-height: 1.35; font-weight: 700; color: #16324a; }
.jd-agent1 .cta span { color: #0073aa; }
.jd-agent1 .note { margin: 16px 0 0; font-size: 14px; color: #6b7a88; }
@media (max-width: 900px) { .jd-agent1-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
	.jd-agent1 { margin: 40px 0; padding: 36px 20px; }
	.jd-agent1-grid { grid-template-columns: 1fr; }
	.jd-agent1-top { top: 10px; right: 12px; }
	.jd-agent1-top .jd-agent1-btn { padding: 9px 14px; font-size: 14px; }
}

/* === GO-LIVE SWITCH: Agent 1 button + section are hidden from the public. ===
   Visible only to a logged-in WordPress admin. To publish on go-live day, DELETE this rule. */
body:not(.logged-in) .jd-agent1,
body:not(.logged-in) .jd-agent1-top {
	display: none !important;
}
