/* =========================================================================
   Co2life — CSS do tema. Sem framework. Mobile-first.
   Índice: 1 Fontes · 2 Variáveis · 3 Base · 4 Componentes · 5 Cabeçalho
           6 Seções · 7 Páginas internas · 8 Rodapé · 9 Telas grandes
   ========================================================================= */

/* 1. Fontes (Inter variável, hospedada no próprio tema) ------------------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Variáveis ------------------------------------------------------------ */
:root {
	--navy: #284566;
	--deep: #08344e;
	--sage: #93b89f;
	--mint: #d2ebe5;
	--mint-soft: #e9f3f0;
	--green: #2f7a68;
	--text: #4f4f4f;
	--white: #fff;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(8, 52, 78, .08);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 48px);
	--section: clamp(56px, 9vw, 104px);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 4. Componentes ---------------------------------------------------------- */
.h-section { font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -.02em; }
.h-section--center { text-align: center; }
.hl {
	background: linear-gradient(var(--sage), var(--sage)) left 100% / 100% .14em no-repeat;
	padding-bottom: .06em;
}
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: .6em; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 15px 28px; border-radius: 100px; border: 0; cursor: pointer;
	font: 600 .95rem/1 var(--font); text-decoration: none;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--deep); color: #fff; }
.btn--sage { background: var(--sage); color: var(--navy); }
.btn--sage:hover { background: #7fa98d; color: var(--navy); }
.btn--round { width: 52px; height: 52px; padding: 0; }
.icon { flex: none; }

.grid { display: grid; gap: 24px; }
.card {
	background: var(--white); border-radius: var(--radius); padding: 28px;
	box-shadow: var(--shadow); border: 1px solid rgba(40, 69, 102, .06);
	display: flex; flex-direction: column; align-items: flex-start;
}
.card h3 { font-size: 1.25rem; }
.card h3 a { text-decoration: none; }
.card p { font-size: .98rem; }
.card img { border-radius: 10px; margin-bottom: 16px; width: 100%; height: auto; }
.card__thumb { display: block; width: 100%; }
.card__meta { font-size: .85rem; color: #6b6b6b; margin-bottom: .4em; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.card__link:hover { text-decoration: underline; }

.notice { padding: 12px 16px; border-radius: 10px; font-size: .95rem; margin-bottom: 16px; }
.notice--ok { background: #e3f4e8; color: #1d5b32; }
.notice--erro { background: #fde8e6; color: #8a241c; }

input[type="text"], input[type="email"], textarea {
	width: 100%; padding: 14px 20px; font: inherit; font-size: 1rem; color: var(--deep);
	background: var(--white); border: 1px solid #cfd8d5; border-radius: 8px;
}
input::placeholder, textarea::placeholder { color: #8a9693; }
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus { border-color: var(--green); outline: 3px solid rgba(47, 122, 104, .25); outline-offset: 0; }

/* 5. Cabeçalho ------------------------------------------------------------ */
.site-header { background: var(--mint); position: relative; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand img { width: clamp(84px, 12vw, 130px); height: auto; }
.nav { display: none; }
.nav .menu { display: flex; flex-direction: column; gap: 4px; }
.nav a:not(.btn) { display: block; padding: 10px 4px; text-decoration: none; font-weight: 500; color: var(--navy); }
.nav a:not(.btn):hover { color: var(--green); text-decoration: underline; }
.nav .current-menu-item > a { font-weight: 700; }
.nav.is-open {
	display: flex; flex-direction: column; gap: 12px; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--mint); padding: 8px var(--gutter) 24px; box-shadow: 0 16px 24px rgba(8, 52, 78, .12);
}
.nav__cta { align-self: flex-start; padding: 12px 22px; font-size: .9rem; }

.nav-toggle { background: none; border: 0; width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	content: ""; display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* 6. Seções da página inicial -------------------------------------------- */
section { padding-block: var(--section); }

.hero { background: var(--mint); padding-block: 0; border-bottom-left-radius: clamp(48px, 9vw, 120px); border-bottom-right-radius: clamp(24px, 4vw, 48px); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__text { order: 1; }
.hero__logos { order: 2; }
.hero__media { order: 3; align-self: end; line-height: 0; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: -.03em; }
.hero p { font-size: 1.1rem; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.hero__media img { width: min(100%, 460px); height: auto; margin-inline: auto; } /* base das mãos encosta no fim do verde */
.hero__logos { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-bottom: clamp(20px, 4vw, 48px); }
.hero__logos img { height: 60px; width: auto; }

.split { display: grid; gap: 32px; align-items: center; }
.split__media img { border-radius: var(--radius); margin-inline: auto; width: 100%; }
.split__text p { max-width: 46ch; }

.about { background: var(--white); }
.about__cols { display: grid; gap: 24px; margin-block: 32px 48px; }
.about__sub { font-size: 1.4rem; color: var(--green); font-weight: 600; }
.services .card { background: var(--mint-soft); box-shadow: none; }

.partners { background: var(--mint-soft); }
.partners__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; margin-top: 32px; }
.partners__list img { height: 56px; width: auto; max-width: 180px; object-fit: contain; }

.agenda__frame { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.agenda__frame iframe { width: 100%; height: 700px; border: 0; display: block; }

.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { max-width: 56ch; margin-inline: auto; }

.glossary-teaser { background: var(--white); }
.checks { margin: 0 0 24px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.checks .icon { color: var(--green); }

.contact { background: var(--mint-soft); border-top-left-radius: clamp(32px, 6vw, 80px); }
.contact__grid { display: grid; gap: 40px; align-items: center; }
.contact__card {
	background: var(--white); border-radius: 24px; padding: 28px;
	box-shadow: 0 0 0 10px rgba(147, 184, 159, .35), var(--shadow);
}
.contact__card h3 { font-size: 1.15rem; color: var(--deep); }
.contact__card p { margin-bottom: 14px; }
.info-list { display: grid; gap: 16px; margin-top: 24px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { color: var(--green); width: 28px; height: 28px; margin-top: 2px; }
.info-list strong { display: block; color: var(--navy); }
.map { margin-top: 40px; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

.cards { background: var(--white); }
.latest { background: var(--white); }
.latest .grid { margin-top: 32px; }

.event { background: var(--mint-soft); }

.cta { background: var(--mint-soft); text-align: center; padding-bottom: 0; }
.cta .h-section { max-width: 20ch; margin-inline: auto; }
.cta__form {
	display: flex; gap: 8px; max-width: 560px; margin: 28px auto 0; padding: 8px; background: var(--white);
	border-radius: 100px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .6);
}
.cta__form input[type="email"] { border: 0; border-radius: 100px; background: transparent; padding-inline: 22px; }
.cta__form input:focus { outline-offset: -3px; }
.cta .notice { max-width: 560px; margin-inline: auto; }

/* 7. Páginas internas ----------------------------------------------------- */
.page-head { background: var(--mint); padding-block: clamp(40px, 7vw, 80px); border-bottom-left-radius: clamp(32px, 6vw, 80px); }
.page-head p { max-width: 60ch; }
.archive { padding-top: var(--section); }
.archive .empty, .glossary .empty { text-align: center; }

.accordion { display: grid; gap: 12px; }
.accordion details { background: var(--mint-soft); border-radius: 12px; }
.accordion summary {
	list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
	font-weight: 600; color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; line-height: 1; color: var(--green);
}
.accordion details[open] summary::after { content: "–"; }
.accordion__body { padding: 0 22px 20px; }
.accordion__body p:last-child { margin-bottom: 0; }

.entry__thumb { margin: 0 0 32px; }
.entry__thumb img { border-radius: var(--radius); width: 100%; }
.entry__content { padding-block: clamp(32px, 5vw, 56px); }
.entry__content > * + * { margin-top: 1.2em; }
.entry__content h2, .entry__content h3 { margin-top: 1.6em; }
.entry__content ul { list-style: disc; padding-left: 1.4em; }
.entry__content ol { padding-left: 1.4em; }
.entry__content img { border-radius: 12px; }
.entry__back { padding-bottom: var(--section); }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 100px; background: var(--mint-soft); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--navy); color: #fff; }

/* 8. Rodapé --------------------------------------------------------------- */
.site-footer { background: var(--mint-soft); padding: 40px 0 32px; }
.footer-card {
	background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 48px);
	display: grid; gap: 28px; box-shadow: var(--shadow);
}
.footer-card__logo img { width: 130px; height: auto; }
.footer-col h3 { font-size: 1.05rem; }
.footer-list { display: grid; gap: 6px; }
.footer-list a { text-decoration: none; font-size: .95rem; color: var(--text); }
.footer-list a:hover { color: var(--green); text-decoration: underline; }
.footer-col address { font-style: normal; font-size: .95rem; }
.copy { text-align: center; font-size: .85rem; margin: 24px 0 0; padding-inline: var(--gutter); }

/* 9. Telas maiores -------------------------------------------------------- */
@media (min-width: 720px) {
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.about__cols { grid-template-columns: 1fr 1fr; gap: 48px; }
	.footer-card { grid-template-columns: auto repeat(3, 1fr); align-items: start; }
}

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.nav, .nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 28px; position: static; padding: 0; box-shadow: none; background: none; }
	.nav .menu { flex-direction: row; gap: 28px; }
	.nav a:not(.btn) { padding: 6px 0; }
	.hero__grid { grid-template-columns: 1.05fr .95fr; grid-template-areas: "text media" "logos media"; gap: 24px 48px; }
	.hero__text { grid-area: text; padding-top: 24px; }
	.hero__media { grid-area: media; align-self: end; }
	.hero__logos { grid-area: logos; align-self: end; padding-bottom: clamp(32px, 4vw, 56px); }
	.split { grid-template-columns: 1fr 1fr; gap: 64px; }
	.split--reverse .split__media { order: 2; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .cta, .nav-toggle { display: none; }
	body { color: #000; }
}

/* ===== Site estático: componentes novos ===== */
.lang { display: flex; gap: 4px; align-items: center; }
.nav .lang a { display: block; padding: 6px 11px; border-radius: 100px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--navy); }
.nav .lang a:hover { background: rgba(255, 255, 255, .6); text-decoration: none; color: var(--navy); }
.nav .lang a[aria-current] { background: var(--navy); color: #fff; }
.nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 3px; }

.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta__action { margin: 28px 0 0; }
.cta { padding-bottom: var(--section); }
