:root {
  --emerald-900: #0c4a3b;
  --emerald-800: #105b48;
  --emerald-700: #18765b;
  --emerald-600: #228b6b;
  --emerald-200: #cae9df;
  --emerald-100: #e8f5f0;
  --emerald-50: #f4faf7;
  --white: #ffffff;
  --ink: #18312a;
  --muted: #53655f;
  --line: rgba(12, 74, 59, .15);
  --shadow: 0 22px 60px rgba(12, 74, 59, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.65; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.42rem); font-weight: 700; color: var(--emerald-900); text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { text-decoration: none; font-size: .91rem; font-weight: 600; }
.main-nav a:hover { color: var(--emerald-700); }
.nav-cta { background: var(--emerald-700); color: var(--white)!important; padding: 10px 18px; border-radius: 4px; }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--emerald-900); }

.hero { background: linear-gradient(105deg, #fff 0%, #fff 51%, var(--emerald-50) 51%); }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.hero-copy { padding: 106px 64px 88px 0; align-self: center; }
.eyebrow { margin: 0 0 18px; color: var(--emerald-700); font-size: .77rem; line-height: 1.3; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); color: var(--emerald-900); line-height: 1.12; }
h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.85rem); letter-spacing: -.035em; }
h2 { margin: 0 0 24px; font-size: clamp(2rem, 3.7vw, 3.55rem); letter-spacing: -.025em; }
h3 { margin: 0 0 12px; font-size: 1.35rem; }
.hero-lead { max-width: 660px; margin: 28px 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 4px; text-decoration: none; font-weight: 800; }
.button.primary { color: var(--white); background: var(--emerald-700); }
.button.primary:hover { background: var(--emerald-800); }
.button.secondary { color: var(--emerald-900); border: 1px solid var(--emerald-200); background: var(--white); }
.button.large { min-height: 58px; padding-inline: 32px; }
.credential { margin-top: 24px; color: var(--muted); font-size: .89rem; }
.hero-photo { min-height: 700px; margin: 0; overflow: hidden; }
.hero-photo img { object-position: 58% center; }

.fumee { position: relative; overflow: hidden; }
.fumee::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,45,35,.04), rgba(6,45,35,.22)); }
.fumee figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; color: var(--white); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }

.statement, .services, .team-section, .publications, .presence { padding: 96px 0; }
.emerald-soft { background: var(--emerald-50); }
.white { background: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 96px); align-items: center; }
.split.reverse .media { order: 2; }
.media { margin: 0; min-height: 500px; border-radius: 4px; box-shadow: var(--shadow); }
.media.landscape { aspect-ratio: 1.28 / 1; min-height: auto; }
.media.portrait-field { aspect-ratio: .88 / 1; min-height: auto; }
.section-copy p { margin: 0 0 18px; color: var(--muted); }
.section-copy blockquote { margin: 32px 0 0; padding: 22px 0 22px 24px; border-left: 3px solid var(--emerald-600); font-family: var(--serif); color: var(--emerald-900); font-size: 1.45rem; }

.section-heading { max-width: 850px; margin-bottom: 56px; }
.section-heading.compact { margin-bottom: 38px; }
.section-heading > p:last-child { color: var(--muted); }
.service-flow { display: grid; grid-template-columns: repeat(2, 1fr); }
.service-flow article { padding: 34px 36px; }
.service-flow article:nth-child(4n+1), .service-flow article:nth-child(4n+4) { background: var(--white); }
.service-flow article:nth-child(4n+2), .service-flow article:nth-child(4n+3) { background: var(--emerald-100); }
.service-flow p { margin: 0; color: var(--muted); }

.wide-photo { position: relative; margin: 0; aspect-ratio: 2.05/1; border-radius: 4px; box-shadow: var(--shadow); }
.wide-photo img { object-position: center 48%; }

.publication-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.publication-item { display: grid; grid-template-columns: 110px 1fr; gap: 26px; align-items: start; padding: 34px; background: var(--white); }
.publication-mark { display: grid; place-items: center; min-height: 106px; padding: 12px; background: var(--emerald-900); color: var(--white); font-weight: 900; letter-spacing: .08em; text-align: center; }
.publication-item p { color: var(--muted); }
.publication-item a { color: var(--emerald-700); font-weight: 800; }

.presence-grid { align-items: stretch; }
.event-photo { aspect-ratio: 1 / 1; min-height: auto; box-shadow: var(--shadow); overflow: hidden; }
.event-photo img { object-fit: contain; background: #691a14; }

.contact { padding: 98px 0; background: var(--emerald-900); color: var(--white); text-align: center; }
.contact h2 { max-width: 900px; margin-inline: auto; color: var(--white); }
.contact p:not(.eyebrow) { color: rgba(255,255,255,.8); }
.contact .eyebrow { color: var(--emerald-200); }
.contact .button { margin-top: 18px; background: var(--white); color: var(--emerald-900); }

.site-footer { padding: 46px 0 24px; background: #073b30; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 30px; align-items: start; }
.footer-grid strong { color: var(--white); font-family: var(--serif); font-size: 1.2rem; }
.footer-grid p { margin: 5px 0; }
.footer-grid a { color: var(--white); font-weight: 700; }
.legal-note { max-width: 1180px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; text-align: center; }
.floating-whatsapp { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: none; align-items: center; justify-content: center; min-width: 112px; min-height: 46px; padding: 0 16px; border-radius: 999px; background: #1a9c67; color: var(--white); text-decoration: none; font-weight: 800; box-shadow: 0 12px 35px rgba(0,0,0,.24); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 20px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .hero { background: var(--white); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 0 54px; }
  .hero-photo { min-height: 540px; }
  .hero-photo img { object-position: center 38%; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 42px; }
  .split.reverse .media { order: 0; }
  .service-flow, .publication-grid { grid-template-columns: 1fr; }
  .service-flow article:nth-child(odd) { background: var(--white); }
  .service-flow article:nth-child(even) { background: var(--emerald-100); }
  .wide-photo { aspect-ratio: 1.45/1; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-whatsapp { display: inline-flex; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .statement, .services, .team-section, .publications, .presence { padding: 70px 0; }
  h1 { font-size: 2.52rem; }
  h2 { font-size: 2.15rem; }
  .hero-photo { min-height: 430px; }
  .hero-actions .button { width: 100%; }
  .media { min-height: 350px; }
  .service-flow article { padding: 28px 22px; }
  .publication-item { grid-template-columns: 1fr; padding: 25px; }
  .publication-mark { min-height: 80px; }
  .wide-photo { aspect-ratio: 1/1; }
  .wide-photo img { object-position: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
