:root {
      --forest-950: #091611;
      --forest-900: #10251d;
      --forest-800: #173429;
      --forest-700: #24513f;
      --sage: #8fa991;
      --cream: #f4efe5;
      --cream-2: #e8dfcf;
      --gold: #bd8d43;
      --gold-light: #dab879;
      --ink: #1b211d;
      --white: #fffdf9;
      --shadow: 0 24px 60px rgba(6, 22, 15, .18);
      --radius: 24px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--cream);
      line-height: 1.65;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { font: inherit; }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin-inline: auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      color: var(--gold-light);
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 38px;
      height: 1px;
      background: currentColor;
    }

    h1, h2, h3 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      line-height: .98;
    }

    h1 { font-size: clamp(3.7rem, 8vw, 7.5rem); font-weight: 600; letter-spacing: -.04em; }
    h2 { font-size: clamp(2.65rem, 5vw, 4.8rem); font-weight: 600; letter-spacing: -.035em; }
    h3 { font-size: 2rem; font-weight: 600; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 54px;
      padding: 0 24px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-weight: 700;
      transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--gold); color: var(--forest-950); }
    .btn-primary:hover { background: var(--gold-light); }
    .btn-outline { border-color: rgba(255,255,255,.4); color: var(--white); }
    .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

    /* Header */
    header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 1000;
      transition: background .3s ease, box-shadow .3s ease;
    }

    header.scrolled {
      background: rgba(9, 22, 17, .94);
      backdrop-filter: blur(14px);
      box-shadow: 0 12px 40px rgba(0,0,0,.16);
    }

    .nav {
      min-height: 86px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--white);
    }

    .brand { display: flex; align-items: center; gap: 13px; }
    .brand-mark {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(218,184,121,.6);
      border-radius: 50%;
      color: var(--gold-light);
    }
    .brand-mark svg { width: 27px; height: 27px; }
    .brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; font-weight: 700; line-height: .9; }
    .brand-name small { display: block; margin-top: 6px; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-2); }

    .nav-links { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
    .nav-links a:not(.nav-cta) { position: relative; opacity: .86; }
    .nav-links a:not(.nav-cta)::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 1px;
      background: var(--gold-light);
      transition: width .25s ease;
    }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta { padding: 11px 18px; border: 1px solid rgba(218,184,121,.7); border-radius: 999px; color: var(--gold-light); }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255,255,255,.35);
      border-radius: 50%;
      background: transparent;
      color: white;
      cursor: pointer;
    }

    /* Hero */
    .hero {
      min-height: 100svh;
      position: relative;
      display: flex;
      align-items: flex-end;
      color: var(--white);
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(5,17,12,.95) 0%, rgba(5,17,12,.72) 46%, rgba(5,17,12,.22) 100%),
        linear-gradient(0deg, rgba(5,17,12,.82) 0%, transparent 44%),
        url("../images/hero-cavalo.jpg") center 36% / cover no-repeat;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 74% 34%, rgba(218,184,121,.18), transparent 28%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      width: min(1180px, calc(100% - 40px));
      margin-inline: auto;
      padding: 180px 0 92px;
    }

    .hero-copy { max-width: 820px; }
    .hero h1 span { color: var(--gold-light); }
    .hero-text { max-width: 680px; margin: 28px 0 36px; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.78); }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      margin-top: 76px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.2);
      color: rgba(255,255,255,.72);
      font-size: .82rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .hero-meta strong { color: var(--white); }

    /* Intro */
    .intro { padding: 130px 0; background: var(--cream); }
    .intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 84px; align-items: center; }
    .intro-visual { position: relative; min-height: 650px; }
    .intro-main {
      position: absolute;
      inset: 0 80px 0 0;
      width: calc(100% - 80px);
      height: 100%;
      object-fit: cover;
      border-radius: 180px 180px 24px 24px;
      box-shadow: var(--shadow);
    }
    .intro-small {
      position: absolute;
      right: 0;
      bottom: 44px;
      width: 235px;
      height: 285px;
      object-fit: cover;
      border: 10px solid var(--cream);
      border-radius: 120px 120px 20px 20px;
      box-shadow: var(--shadow);
    }
    .stamp {
      position: absolute;
      top: 42px;
      right: 8px;
      width: 132px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--forest-900);
      color: var(--cream);
      text-align: center;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.08rem;
      line-height: 1.1;
      transform: rotate(7deg);
      box-shadow: 0 14px 30px rgba(9,22,17,.22);
    }
    .stamp::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(218,184,121,.55); border-radius: 50%; }
    .stamp strong { color: var(--gold-light); font-size: 1.35rem; }

    .intro-copy .eyebrow { color: var(--forest-700); }
    .intro-copy h2 { color: var(--forest-900); }
    .intro-copy p { margin: 26px 0 0; color: #59625c; font-size: 1.04rem; }
    .quote {
      margin-top: 36px;
      padding-left: 26px;
      border-left: 2px solid var(--gold);
      color: var(--forest-800);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.55rem;
      line-height: 1.25;
    }

    /* Pillars */
    .pillars { padding: 130px 0; background: var(--forest-900); color: var(--white); }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 58px; }
    .section-head h2 { max-width: 670px; }
    .section-head p { max-width: 420px; margin: 0; color: rgba(255,255,255,.62); }

    .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .card {
      min-height: 430px;
      position: relative;
      overflow: hidden;
      padding: 34px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius);
      background: rgba(255,255,255,.04);
      transition: transform .35s ease, border-color .35s ease;
    }
    .card:hover { transform: translateY(-8px); border-color: rgba(218,184,121,.45); }
    .card-no { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
    .card h3 { margin-top: 76px; color: var(--cream); }
    .card p { color: rgba(255,255,255,.62); }
    .card-icon {
      position: absolute;
      right: -30px;
      bottom: -38px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 12rem;
      line-height: 1;
      color: rgba(255,255,255,.035);
    }

    /* Experience */
    .experience { padding: 130px 0; background: var(--white); }
    .experience-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
    .experience-head .eyebrow { color: var(--forest-700); }
    .experience-head h2 { color: var(--forest-900); }
    .experience-head p { color: #657068; }

    .experience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .service {
      display: grid;
      grid-template-columns: 170px 1fr;
      gap: 28px;
      align-items: center;
      padding: 18px;
      border: 1px solid #e7e0d5;
      border-radius: var(--radius);
      transition: box-shadow .3s ease, transform .3s ease;
    }
    .service:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(30,47,37,.09); }
    .service img { width: 170px; height: 190px; object-fit: cover; border-radius: 17px; }
    .service h3 { color: var(--forest-900); font-size: 1.75rem; }
    .service p { margin: 12px 0 0; color: #667069; font-size: .92rem; }
    .service-tag { display: inline-block; margin-bottom: 8px; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

    /* Impact */
    .impact {
      position: relative;
      overflow: hidden;
      padding: 130px 0;
      background:
        linear-gradient(90deg, rgba(9,22,17,.96), rgba(9,22,17,.68)),
        url("../images/impacto-cavalos.jpg") center / cover no-repeat;
      color: var(--white);
    }
    .impact-content { max-width: 760px; position: relative; z-index: 2; }
    .impact h2 { margin-bottom: 28px; }
    .impact p { color: rgba(255,255,255,.7); font-size: 1.05rem; }
    .impact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 34px 0 40px; }
    .impact-item { display: flex; gap: 13px; align-items: flex-start; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
    .impact-check { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--forest-950); font-weight: 900; }
    .impact-item strong { display: block; margin-bottom: 3px; color: var(--cream); }
    .impact-item span { color: rgba(255,255,255,.58); font-size: .82rem; }

    /* Instagram */
    .social { padding: 120px 0; background: var(--cream); }
    .social-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      overflow: hidden;
      border-radius: 32px;
      background: var(--forest-800);
      box-shadow: var(--shadow);
    }
    .social-copy { padding: 70px; color: var(--white); }
    .social-copy h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
    .social-copy p { max-width: 500px; color: rgba(255,255,255,.65); }
    .social-handle { display: inline-flex; align-items: center; gap: 12px; margin: 24px 0 32px; color: var(--gold-light); font-weight: 700; }
    .social-photo { min-height: 520px; background: url("../images/instagram-cavalo.jpg") center / cover no-repeat; }

    /* Contact */
    .contact { padding: 130px 0 80px; background: var(--forest-950); color: var(--white); }
    .contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: start; }
    .contact h2 { margin-bottom: 24px; }
    .contact-copy > p { color: rgba(255,255,255,.62); max-width: 600px; }
    .contact-cards { display: grid; gap: 14px; margin-top: 38px; }
    .contact-card { display: flex; gap: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.035); }
    .contact-card-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(189,141,67,.15); color: var(--gold-light); }
    .contact-card small { display: block; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; }
    .contact-card strong { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.5; }

    .map-wrap { overflow: hidden; min-height: 500px; border-radius: 26px; border: 1px solid rgba(255,255,255,.12); background: var(--forest-800); }
    .map-wrap iframe { width: 100%; height: 500px; border: 0; filter: saturate(.7) contrast(1.05); }

    footer { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.09); background: var(--forest-950); color: rgba(255,255,255,.48); }
    .footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: .75rem; }
    .footer-links { display: flex; gap: 18px; }

    .whatsapp-float {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 990;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #25d366;
      color: #052b16;
      box-shadow: 0 14px 34px rgba(0,0,0,.25);
      transition: transform .25s ease;
    }
    .whatsapp-float:hover { transform: scale(1.06); }
    .whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 980px) {
      .menu-toggle { display: grid; place-items: center; }
      .nav-links {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 20px;
        background: rgba(9,22,17,.98);
      }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 13px; }
      .nav-cta { margin-top: 8px; text-align: center; }
      .intro-grid, .contact-grid { grid-template-columns: 1fr; }
      .intro-grid { gap: 54px; }
      .intro-visual { min-height: 570px; }
      .cards { grid-template-columns: 1fr; }
      .card { min-height: 320px; }
      .card h3 { margin-top: 42px; }
      .experience-grid { grid-template-columns: 1fr; }
      .social-box { grid-template-columns: 1fr; }
      .social-photo { min-height: 420px; }
      .section-head { align-items: start; flex-direction: column; }
    }

    @media (max-width: 650px) {
      .container, .hero-content { width: min(100% - 28px, 1180px); }
      .nav { min-height: 74px; }
      .brand-name { font-size: 1.25rem; }
      .brand-mark { width: 41px; height: 41px; }
      .hero-content { padding: 150px 0 54px; }
      .hero-text { margin-top: 22px; }
      .hero-meta { margin-top: 52px; gap: 15px; flex-direction: column; }
      .intro, .pillars, .experience, .impact, .social, .contact { padding: 88px 0; }
      .intro-visual { min-height: 470px; }
      .intro-main { inset-right: 42px; width: calc(100% - 42px); border-radius: 110px 110px 20px 20px; }
      .intro-small { width: 165px; height: 205px; border-width: 7px; }
      .stamp { width: 100px; top: 25px; font-size: .85rem; }
      .service { grid-template-columns: 1fr; }
      .service img { width: 100%; height: 220px; }
      .impact-list { grid-template-columns: 1fr; }
      .social-copy { padding: 42px 28px; }
      .social-photo { min-height: 330px; }
      .map-wrap, .map-wrap iframe { min-height: 390px; height: 390px; }
      .footer-row { align-items: flex-start; flex-direction: column; }
    }

/* Mapa ilustrativo local: não carrega imagens ou iframes externos. */
.map-local { position: relative; min-height: 500px; display: grid; place-items: center; isolation: isolate; background: linear-gradient(145deg, #173429, #0d2018); }
.map-local-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 54px 54px; transform: rotate(-5deg) scale(1.15); }
.map-local::before, .map-local::after { content: ""; position: absolute; border: 2px solid rgba(218,184,121,.24); border-radius: 48% 52% 44% 56%; }
.map-local::before { width: 70%; height: 42%; transform: rotate(18deg); }
.map-local::after { width: 48%; height: 70%; transform: rotate(-28deg); }
.map-pin { position: absolute; top: 28%; right: 23%; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold); color: var(--forest-950); font-size: 2rem; box-shadow: 0 18px 36px rgba(0,0,0,.28); z-index: 1; }
.map-pin::first-letter { transform: rotate(45deg); }
.map-local-card { position: relative; z-index: 2; width: min(390px, calc(100% - 42px)); padding: 32px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(9,22,17,.86); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.map-local-card small { display: block; margin-bottom: 12px; color: var(--gold-light); font-weight: 800; letter-spacing: .16em; }
.map-local-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; line-height: 1.05; }
.map-local-card span { display: block; margin: 12px 0 24px; color: rgba(255,255,255,.68); }
