*, *::before, *::after { box-sizing: border-box; }
  :root {
    --navy: #0a1930;
    --navy-2: #0d2240;
    --navy-deep: #060f1f;
    --brass: #c89656;
    --brass-soft: #d9ad75;
    --cream: #f6f1e7;
    --cream-2: #ece6d8;
    --gray-bg: #ededed;
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --line-dark: rgba(200,150,86,.35);
    --line-light: #d9d2c2;
    --maxw: 1240px;
  }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: 'Outfit', -apple-system, system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 .5em;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); font-weight: 500; }
  h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
  h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
  p { margin: 0 0 1em; }
  .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
  .eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--brass);
    display: inline-block;
  }
  .ornament {
    display: flex; align-items: center; justify-content: center;
    gap: .65rem; margin: 1rem 0 1.5rem; color: var(--brass);
  }
  .ornament::before, .ornament::after {
    content: ''; display: block; width: 38px; height: 1px; background: var(--brass);
  }
  .ornament span {
    width: 8px; height: 8px; background: var(--brass);
    transform: rotate(45deg); display: block;
  }
  .gold { color: var(--brass); }

  .btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .95rem 1.8rem;
    background: transparent;
    color: var(--brass);
    border: 1px solid var(--brass);
    font: 500 .85rem/1 'Outfit', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
  }
  .btn:hover { background: var(--brass); color: var(--navy); transform: translateY(-1px); }
  .btn--solid { background: var(--brass); color: var(--navy); }
  .btn--solid:hover { background: var(--brass-soft); border-color: var(--brass-soft); }

  /* ============ HEADER ============ */
  header.site {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 25, 48, .92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease;
  }
  header.site.scrolled { border-bottom-color: var(--line-dark); }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: .6rem 1.5rem; max-width: var(--maxw); margin: 0 auto;
  }
  .brand {
    display: flex; align-items: center; gap: .8rem; color: var(--cream);
  }
  .brand-mark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.85rem;
    color: var(--brass);
    line-height: 1;
    letter-spacing: .01em;
  }
  .brand-mark .dot { color: var(--brass); }
  .brand-text {
    display: flex; flex-direction: column;
    border-left: 1px solid var(--line-dark);
    padding-left: .8rem;
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cream);
    line-height: 1.5;
    font-weight: 400;
  }
  .nav-links {
    display: flex; gap: 2.2rem; align-items: center;
    list-style: none; margin: 0; padding: 0;
  }
  .nav-links a {
    font-size: .88rem;
    color: var(--cream);
    position: relative; padding: .35rem 0;
    transition: color .2s ease;
  }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1px; background: var(--brass);
    transition: width .3s ease;
  }
  .nav-links a:hover { color: var(--brass); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    padding: .65rem 1.3rem;
    font-size: .78rem;
    border: 1px solid var(--brass);
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 2px;
    transition: background .25s ease, color .25s ease;
  }
  .nav-cta:hover { background: var(--brass); color: var(--navy); }
  .nav-menu { display: flex; align-items: center; gap: 2rem; }
  .nav-toggle { display: none; }
  /* ============ HERO ============ */
  .hero {
    position: relative;
    background: var(--navy);
    color: var(--cream);
    overflow: hidden;
    min-height: calc(60vh - 2.9rem);
    display: flex;
    align-items: flex-start;
    padding: 3.5rem 0 4rem;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 80% 50%, rgba(200,150,86,.15) 0%, transparent 55%),
      linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-2) 100%);
    z-index: 0;
  }
  .hero-art {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 58%;
    background-image:
      linear-gradient(100deg, var(--navy) 0%, rgba(10,25,48,.92) 16%, rgba(10,25,48,.5) 38%, rgba(10,25,48,0) 66%),
      var(--hero-img, url("../images/hero.jpg"));
    background-size: cover;
    background-position: center 55%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
  }
  .hero-lines {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    overflow: hidden;
  }
  .hl-line {
    position: absolute; background: var(--brass);
    pointer-events: none;
  }
  /* Subtle vertical accent on the far left */
  .hl-line--left {
    top: 6%; bottom: 6%; left: 24px; width: 1px;
    opacity: .25;
    transform: skewX(-1deg);
  }
  /* Three diagonal lines along the photo cut, increasing in intensity
     toward the inner edge to mimic a gilt highlight along the seam. */
  .hl-line--cut1 {
    top: -8%; bottom: -8%;
    right: 44%;
    width: 1px;
    opacity: .35;
    transform: rotate(10deg);
    transform-origin: top right;
  }
  .hl-line--cut2 {
    top: -8%; bottom: -8%;
    right: 41%;
    width: 1.5px;
    opacity: .55;
    transform: rotate(10deg);
    transform-origin: top right;
  }
  .hl-line--cut3 {
    top: -8%; bottom: -8%;
    right: 39%;
    width: 1px;
    opacity: .85;
    transform: rotate(10deg);
    transform-origin: top right;
    box-shadow: 0 0 6px rgba(200, 150, 86, .45);
  }
  .hero .container { position: relative; z-index: 3; }
  .hero-inner { max-width: 640px; }
  .hero h1 {
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(2.1rem, 5.4vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: .005em;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
  }
  .hero h1 .hl-main,
  .hero h1 .hl-sub { display: inline; }
  .hero h1 .hl-sub { margin-top: .15em; }
  .hero h1 .accent { color: var(--brass); font-style: normal; }
  .hero-sub {
    font-size: 1rem;
    color: rgba(246, 241, 231, .82);
    max-width: 420px;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.55;
  }
  .hero-divider {
    width: 60px; height: 1px; background: var(--brass);
    margin-bottom: 2rem;
  }

  /* ============ SECTIONS ============ */
  section { padding: 2rem 0; position: relative; }
  .section-head { text-align: center; margin-bottom: 3.5rem; }
  .section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }

  /* ============ SERVIÇOS ============ */
  .services { background: var(--gray-bg); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
  }
  .service-card {
    background: #fff;
    padding: 3rem 2rem 2.5rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 14px rgba(10,25,48,.05);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10,25,48,.12);
  }
  .service-icon {
    width: 72px; height: 72px; margin: 0 auto 1.5rem;
    background: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brass);
  }
  .service-icon svg { width: 34px; height: 34px; }
  .service-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
  }
  .service-list {
    list-style: none; padding: 0; margin: 0;
    text-align: left;
    display: inline-block;
  }
  .service-list li {
    padding: .5rem 0 .5rem 1.8rem;
    position: relative;
    color: #444;
    font-size: .98rem;
  }
  .service-list li::before {
    content: '';
    position: absolute; left: 0; top: .9rem;
    width: 14px; height: 8px;
    border-left: 2px solid var(--brass);
    border-bottom: 2px solid var(--brass);
    transform: rotate(-45deg);
  }

  /* ============ SOBRE NÓS ============ */
  .about {
    background: var(--navy);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .about::before {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(135deg, transparent 0%, transparent 70%, rgba(200,150,86,.06) 100%);
    pointer-events: none;
  }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
  }
  .about-img-wrap {
    position: relative;
    padding: 1.5rem;
  }
  .about-img-wrap::before {
    content: ''; position: absolute; inset: 0;
    border: 1px solid var(--brass);
    opacity: .65;
    z-index: 1;
  }
  /* Diagonal gold accent crossing the lower-left corner of the frame. */
  .about-img-wrap::after {
    content: ''; position: absolute;
    left: -18px; bottom: 14px;
    width: 132px; height: 1.5px;
    background: linear-gradient(90deg, rgba(200,150,86,0) 0%, var(--brass) 45%, var(--brass) 100%);
    transform: rotate(-45deg);
    transform-origin: left center;
    opacity: .8;
    z-index: 2;
    box-shadow: 0 0 6px rgba(200,150,86,.35);
  }
  .about-img {
    aspect-ratio: 16/9;
    background-image: var(--about-img, url("../images/about.jpg"));
    background-size: cover; background-position: center 62%;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
  }
  .about-text h2 {
    color: var(--cream);
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    margin-bottom: 1.5rem;
  }
  .about-text h2 .accent { color: var(--brass); font-style: italic; }
  .about-divider {
    display: flex; align-items: center; gap: .5rem;
    margin: 1rem 0 1.5rem; color: var(--brass);
  }
  .about-divider::before {
    content: ''; width: 30px; height: 1px; background: var(--brass);
  }
  .about-divider .diamond {
    width: 7px; height: 7px; background: var(--brass);
    transform: rotate(45deg); display: inline-block;
  }
  .about-text p {
    color: rgba(246, 241, 231, .85);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.2rem;
  }

  /* ============ PORQUE ESCOLHER ============ */
  .why { background: var(--cream); }
  .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
  }
  /* Tighten the "O seu sucesso" header: less space above and below the
     ornament line, and less space before the icon grid. */
  .why .section-head { margin-bottom: .75rem; }
  .why .ornament { margin: .3rem 0 .3rem; }
  .feature {
    text-align: center;
    padding: 1rem;
  }
  .feature-icon {
    width: 90px; height: 90px;
    margin: 0 auto 1.5rem;
    color: var(--brass);
  }
  .feature-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
  .feature h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: .75rem;
  }
  .feature p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
    margin: 0;
  }

  /* ============ CONTACTOS ============ */
  .contact {
    background: var(--navy);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .contact::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0;
    width: 40%;
    background-image:
      linear-gradient(90deg, var(--navy) 0%, rgba(10,25,48,.92) 14%, rgba(10,25,48,.45) 45%, transparent 100%),
      var(--contact-img, url("../images/contact.jpg"));
    background-size: cover; background-position: right 52%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
  }
  .contact .container { position: relative; z-index: 1; }
  .contact-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: .75rem; }
  .contact-head h2 {
    color: var(--cream);
    font-size: clamp(2.2rem, 4.6vw, 3.2rem);
    margin-bottom: 0;
  }
  .contact-head h2 .accent { color: var(--brass); font-style: italic; }
  .contact-head .about-divider { margin-top: 1rem; }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 920px;
  }
  .info-list { list-style: none; padding: 0; margin: 0; }
  .info-item {
    display: flex; align-items: flex-start; gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(200,150,86,.2);
  }
  .info-item:last-child { border-bottom: 0; }
  .info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border: 1px solid var(--brass);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brass);
  }
  .info-icon svg { width: 20px; height: 20px; }
  .info-label {
    color: var(--brass); font-size: .82rem;
    font-weight: 500; letter-spacing: .04em;
    display: block; margin-bottom: .15rem;
  }
  .info-value { color: var(--cream); font-size: .98rem; line-height: 1.4; }
  .info-value a { color: inherit; }
  .info-value a:hover { color: var(--brass); }

  .contact-right h3 {
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.25;
  }
  .contact-right h3 .accent { color: var(--brass); font-style: italic; }
  .contact-right > p {
    color: rgba(246, 241, 231, .85);
    font-size: .98rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
  }

  /* ============ FORM ============ */
  .form {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(200,150,86,.25);
    padding: 1.75rem;
    border-radius: 4px;
    scroll-margin-top: 100px;
  }
  .form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
  .field { display: flex; flex-direction: column; }
  .field label {
    font-size: .78rem;
    color: var(--brass);
    margin-bottom: .35rem;
    letter-spacing: .04em;
  }
  .field input, .field textarea {
    background: rgba(0,0,0,.2);
    border: 1px solid rgba(200,150,86,.3);
    color: var(--cream);
    padding: .75rem .9rem;
    font: 400 .95rem/1.5 'Outfit', sans-serif;
    border-radius: 2px;
    transition: border-color .2s ease, background .2s ease;
  }
  .field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brass);
    background: rgba(0,0,0,.3);
  }
  .field textarea { resize: vertical; min-height: 110px; }
  .form-status {
    margin-top: 1rem; font-size: .88rem;
    color: var(--brass); min-height: 1.25rem;
  }
  .form-status.success { color: #7fd699; }
  .form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
  .consent {
    display: flex; gap: .65rem; align-items: flex-start;
    margin-bottom: 1.25rem;
    cursor: pointer;
    font-size: .82rem;
    color: rgba(246, 241, 231, .8);
    line-height: 1.5;
    font-weight: 300;
  }
  .consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px; height: 18px;
    margin: .15rem 0 0;
    border: 1.5px solid var(--brass);
    border-radius: 3px;
    background: transparent;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: background .2s ease;
  }
  .consent input[type="checkbox"]:checked {
    background: var(--brass);
  }
  .consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px; left: 5px;
    width: 5px; height: 10px;
    border: solid var(--navy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
  }
  .honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  /* ============ FOOTER ============ */
  footer.site {
    background: var(--cream);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--line-light);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr 0.9fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  .footer-brand .brand-mark { color: var(--brass); font-size: 2.4rem; }
  .footer-brand .brand-text {
    color: #6a6a62;
    border-left: 0;
    padding-left: 0;
    font-size: .72rem;
    line-height: 1.35;
  }
  /* "Contabilidade" enlarged so it spans the same width as the line below */
  .footer-brand .brand-text span:first-child {
    font-size: 1.2rem;
    letter-spacing: .07em;
  }
  .footer-brand .brand-text span:last-child {
    font-size: .72rem;
    letter-spacing: .16em;
  }
  .footer-brand .brand { color: var(--ink); margin-bottom: 0; }
  .footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 500;
    margin-bottom: 1.25rem;
  }
  .footer-col ul { list-style: none; padding: 0; margin: 0; }
  .footer-col li { padding: .35rem 0; }
  .footer-col a, .footer-col li {
    color: #444;
    font-size: .92rem;
  }
  .footer-col a:hover { color: var(--brass); }
  .footer-contact .info-row {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: .35rem 0;
    color: #444;
    font-size: .9rem;
    line-height: 1.4;
  }
  .footer-contact .info-row svg {
    width: 16px; height: 16px;
    color: var(--brass);
    flex-shrink: 0;
    margin-top: .25rem;
  }
  .footer-contact a { color: #444; }
  .footer-contact a:hover { color: var(--brass); }
  .social-row { display: flex; gap: .65rem; }
  .social-row a {
    width: 36px; height: 36px;
    background: var(--brass);
    color: var(--cream);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .25s ease;
  }
  .social-row a:hover { background: var(--brass-soft); }
  .social-row svg { width: 18px; height: 18px; }
  .footer-bottom {
    border-top: 1px solid var(--line-light);
    padding-top: 1.5rem;
    color: var(--muted);
    font-size: .82rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem 1.5rem; flex-wrap: wrap;
  }
  .footer-reclam { display: inline-flex; align-items: center; gap: .5rem; }
  .footer-reclam svg { width: 18px; height: 18px; color: var(--brass); flex-shrink: 0; }
  @media (max-width: 600px) {
    .footer-bottom { justify-content: center; text-align: center; }
  }

  /* ============ ANIMATIONS ============ */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 900px) {
    section { padding: 1.5rem 0; }
    .hero { min-height: auto; padding: 3.5rem 0 2.5rem; }
    .hero-art { width: 100%; opacity: .22; clip-path: none; }
    .hero-inner { max-width: 100%; }
    .hero-lines { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact::after { display: none; }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }

    .nav { padding: .85rem 1.25rem; gap: 1rem; }
    .nav-links { gap: 1.5rem; }
  }
  @media (max-width: 820px) {
    .nav-toggle {
      display: flex; flex-direction: column; justify-content: center; gap: 5px;
      width: 44px; height: 44px; padding: 10px; margin: -6px 0;
      background: none; border: 0; cursor: pointer;
    }
    .nav-toggle span {
      display: block; height: 2px; width: 100%;
      background: var(--brass); border-radius: 2px;
      transition: transform .25s ease, opacity .2s ease;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-menu {
      display: none;
      position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: rgba(10, 25, 48, .98);
      backdrop-filter: saturate(140%) blur(10px);
      -webkit-backdrop-filter: saturate(140%) blur(10px);
      padding: .25rem 1.5rem 1.4rem;
      border-bottom: 1px solid var(--line-dark);
    }
    .nav-menu.open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav-links a { display: block; padding: .95rem 0; font-size: .98rem; border-bottom: 1px solid var(--line-dark); }
    .nav-links a::after { display: none; }
    .nav-cta { display: inline-block; margin-top: 1.2rem; text-align: center; padding: .8rem 1.3rem; font-size: .82rem; }
  }
  @media (max-width: 520px) {
    .brand-text { display: none; }
    .brand-mark { font-size: 1.6rem; }
  }
  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
  }

/* ============ WORDPRESS GENERIC PAGES ============ */
.generic {
  background: var(--cream);
  padding: 6rem 0;
  min-height: 60vh;
}
.generic h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
}
.generic .entry-content { color: var(--muted); line-height: 1.7; }
.generic .entry-content h2 { margin-top: 2rem; font-size: 1.5rem; }
.generic .entry-content p { margin-bottom: 1.25rem; }
.generic .entry-content a { color: var(--brass-dark); text-decoration: underline; }

/* Contact page (full-page variant of the contact section) */
.contact-page { min-height: calc(100vh - 70px); }
.contact-page .contact-head { margin-bottom: 2rem; }
.contact-page h1 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: -0.005em;
  line-height: 1.12;
}
.contact-page h1 .accent { color: var(--brass); font-style: italic; }
.contact-intro {
  color: rgba(246, 241, 231, .85);
  font-size: 1.02rem;
  font-weight: 300;
  margin-top: 1rem;
  max-width: 520px;
}


/* Image-based brand mark (replaces the old text JRA. mark) */
.brand-logo {
  display: block;
  height: 76px;
  width: auto;
  flex-shrink: 0;
}
.brand-logo--footer {
  height: 52px;
}
/* Footer brand: logo on top, tagline underneath */
.brand--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}
.brand--stacked .brand-text {
  border-left: 0;
  padding-left: 0;
}
@media (max-width: 520px) {
  .brand-logo { height: 58px; }
  .brand-logo--footer { height: 46px; }
}

/* ============================================================
   FORM PAGES (Pedir Contacto / Pedir Consultoria)
   ============================================================ */
.formpage {
  background:
    linear-gradient(115deg, rgba(0,0,0,.35) 0%, transparent 32%),
    #0a1c38;
  color: var(--cream);
  padding: 3.5rem 0;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}
.formpage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* Left column: branding + heading + intro + features */
.formpage-left .formpage-logo { height: 64px; width: auto; margin-bottom: 1.5rem; display: block; }
.formpage-left h1 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin: 0;
}
.formpage-left h1 .accent { color: var(--brass); }
.formpage-divider {
  width: 84px; height: 2px; background: var(--brass);
  margin: 1.4rem 0;
}
.formpage-intro {
  color: rgba(246,241,231,.85);
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.formpage-intro .accent { color: var(--brass); }

/* Feature variants */
.formpage-features { display: flex; }
.formpage-features--stack { flex-direction: column; gap: 1.5rem; max-width: 460px; }
.formpage-features--row { flex-direction: row; gap: 0; flex-wrap: wrap; }

.feature-mini { display: flex; gap: 1rem; align-items: flex-start; }
.feature-mini .fm-icon { width: 38px; height: 38px; color: var(--brass); flex-shrink: 0; }
.feature-mini .fm-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.feature-mini h4 {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .98rem;
  color: var(--cream); margin: 0 0 .25rem;
}
.feature-mini p { color: rgba(246,241,231,.7); font-size: .9rem; margin: 0; line-height: 1.5; }

/* Row variant (3 across with separators), as in the contacto design */
.formpage-features--row .feature-mini {
  flex-direction: column; align-items: flex-start;
  flex: 1; min-width: 130px;
  padding: 0 1.25rem;
  border-left: 1px solid rgba(200,150,86,.3);
  gap: .6rem;
}
.formpage-features--row .feature-mini:first-child { border-left: 0; padding-left: 0; }
.formpage-features--row .fm-icon { width: 34px; height: 34px; }
.formpage-features--row h4 {
  text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--brass);
}

/* Right column: the form box */
.form-box {
  border: 1px solid rgba(200,150,86,.45);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,.02);
}
.form-box-head { text-align: center; margin-bottom: 1.75rem; }
.form-box-head .fb-icon {
  width: 52px; height: 52px; margin: 0 auto .9rem;
  border: 1px solid var(--brass); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--brass);
}
.form-box-head .fb-icon svg { width: 24px; height: 24px; }
.form-box-head .fb-label {
  font-family: 'Outfit', sans-serif; font-size: .82rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
}
.form-box-head .fb-rule { width: 56px; height: 1px; background: var(--brass); margin: .85rem auto 0; opacity: .6; }

/* Radio group (Categoria do Serviço) */
.radio-group { display: flex; flex-wrap: wrap; gap: .65rem; }
.radio-pill {
  position: relative; cursor: pointer;
  border: 1px solid rgba(200,150,86,.4); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .9rem; color: var(--cream);
  transition: background .2s ease, border-color .2s ease;
}
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill:has(input:checked) { background: var(--brass); color: var(--navy); border-color: var(--brass); }

/* Date input shows native picker; keep it styled like other fields */
.field input[type="date"] { color-scheme: dark; }

@media (max-width: 900px) {
  .formpage { min-height: auto; padding: 2.5rem 0; }
  .formpage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .formpage-features--row { gap: 0; }
}
@media (max-width: 560px) {
  .formpage-features--row { flex-direction: column; }
  .formpage-features--row .feature-mini {
    border-left: 0; padding-left: 0; border-top: 1px solid rgba(200,150,86,.25); padding-top: 1rem;
  }
  .formpage-features--row .feature-mini:first-child { border-top: 0; padding-top: 0; }
}

/* ============================================================
   Floating WhatsApp button (site-wide)
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.30));
  z-index: 900;
  transition: transform .2s ease, filter .2s ease;
}
.wa-float svg { width: 100%; height: 100%; display: block; }
.wa-float:hover { transform: scale(1.07); filter: drop-shadow(0 6px 14px rgba(0,0,0,.36)); }
@media (max-width: 520px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}
