/*
Theme Name: Orizon Brasil
Author: Artuurnascimento.png
Text Domain: orizon-brasil
Version: 1.0.2
*/

:root {
  --navy-deep: #0d1b2a;
  --navy-mid: #152235;
  --steel-blue: #3a6080;
  --vibrant-blue: #1a7fc1;
  --light-steel: #7a9db5;
  --soft-blue-gray: #8aafc7;
  --ice-blue: #c5d8e8;
  --off-white: #eef3f7;
  --white: #ffffff;
  --lime-green: #8bbf3f;
  --footer-deep: #090f17;
  --copyright-muted: #4a6070;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: min(1120px, 92vw);
  --shadow-soft: 0 14px 35px rgba(13, 27, 42, 0.35);
  --transition: 280ms ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "DM Sans", sans-serif; background: var(--navy-deep); color: var(--off-white); line-height: 1.6; overflow-x: hidden; min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--white); line-height: 1.18; letter-spacing: 0; }
p { color: var(--soft-blue-gray); max-width: 66ch; }
a { color: var(--vibrant-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ice-blue); }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 84px 0; position: relative; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 18px; }
.section-title { text-wrap: balance; }
.section-subtitle { color: var(--light-steel); margin-bottom: 34px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; letter-spacing: 0.2px; padding: 12px 22px; cursor: pointer; transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
.btn-primary { background: var(--lime-green); color: var(--navy-deep); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { border-color: var(--off-white); color: var(--off-white); background: transparent; }
.btn-secondary:hover { border-color: var(--ice-blue); color: var(--ice-blue); transform: translateY(-2px); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(13, 27, 42, 0.92); border-bottom: 1px solid rgba(122, 157, 181, 0.18); transition: backdrop-filter var(--transition), background var(--transition); }
.site-header.is-sticky { backdrop-filter: blur(10px); background: rgba(13, 27, 42, 0.75); }
.nav-wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: clamp(120px, 15vw, 165px); height: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-link { position: relative; color: var(--off-white); font-weight: 500; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--lime-green); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 1px solid rgba(122, 157, 181, 0.45); background: transparent; color: var(--off-white); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

.hero { background: radial-gradient(circle at 16px 16px, rgba(122,157,181,0.08) 2px, transparent 0) 0 0/32px 32px, var(--navy-deep); padding-top: 92px; padding-bottom: 74px; }
.hero {
  position: relative;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0) 0%,
    rgba(13, 27, 42, 0.45) 55%,
    rgba(21, 34, 53, 0.95) 100%
  );
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5.8vw, 4.4rem); margin-bottom: 18px; max-width: 22ch; line-height: 1.14; letter-spacing: 0; }
.hero-title-line { display: block; white-space: nowrap; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 32px; color: var(--soft-blue-gray); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.about, .method, .why, .faq { background: var(--navy-mid); }
.services, .contact { background: var(--navy-deep); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.about-text p + p { margin-top: 14px; }
.pillar-board { background: rgba(13, 27, 42, 0.5); border: 1px solid rgba(122, 157, 181, 0.26); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 12px; }
.pillar-item { background: rgba(21, 34, 53, 0.95); border-left: 4px solid var(--lime-green); border-radius: 10px; padding: 12px 12px 12px 14px; color: var(--off-white); display: flex; align-items: center; gap: 10px; }
.pillar-number { font-family: "Syne", sans-serif; font-size: 1.25rem; color: var(--lime-green); min-width: 24px; }
.pillar-label { color: var(--ice-blue); font-weight: 500; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { background: var(--navy-mid); border-radius: var(--radius-md); border: 1px solid rgba(122, 157, 181, 0.16); border-bottom: 3px solid var(--steel-blue); padding: 22px; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); position: relative; isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; border-top: 3px solid transparent; border-radius: inherit; transition: border-color var(--transition); z-index: -1; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card:hover::before { border-top-color: var(--lime-green); }
.service-icon { width: 42px; height: 42px; color: var(--ice-blue); margin-bottom: 12px; transition: color var(--transition); }
.service-card:hover .service-icon { color: var(--vibrant-blue); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.method-step { background: rgba(13, 27, 42, 0.58); border: 1px solid rgba(122, 157, 181, 0.25); border-radius: var(--radius-md); padding: 18px; border-top: 3px solid var(--lime-green); }
.method-step span { display: inline-block; font-family: "Syne", sans-serif; color: var(--lime-green); font-size: 0.95rem; margin-bottom: 8px; letter-spacing: 0.3px; }
.method-step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.project-gallery { margin-top: 26px; background: rgba(13, 27, 42, 0.58); border: 1px solid rgba(122, 157, 181, 0.25); border-radius: var(--radius-md); padding: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.project-gallery-item { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; min-width: 0; }
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stats { background: var(--steel-blue); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: center; }
.stat { padding: 18px 14px; border: 1px solid rgba(197, 216, 232, 0.28); border-radius: var(--radius-md); background: rgba(13, 27, 42, 0.2); }
.stat-number { font-family: "Syne", sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--lime-green); }
.stat-label { margin-top: 6px; color: var(--white); font-weight: 500; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.highlight { color: var(--soft-blue-gray); font-weight: 700; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { background: rgba(13, 27, 42, 0.56); border: 1px solid rgba(122, 157, 181, 0.25); border-radius: 10px; padding: 12px 13px; display: flex; align-items: flex-start; gap: 10px; color: var(--off-white); }
.check-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--lime-green); }

.contact-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
.contact-card { background: var(--navy-mid); border: 1px solid rgba(122, 157, 181, 0.24); border-radius: var(--radius-lg); padding: 22px; }
.contact-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
label { color: var(--ice-blue); font-size: 0.92rem; font-weight: 500; }
input, textarea { width: 100%; border: 1px solid rgba(122, 157, 181, 0.38); background: rgba(13, 27, 42, 0.7); color: var(--off-white); border-radius: 10px; padding: 10px 12px; font: inherit; transition: border-color var(--transition), background var(--transition); }
input::placeholder, textarea::placeholder { color: var(--light-steel); }
input:focus, textarea:focus { border-color: var(--vibrant-blue); background: rgba(13, 27, 42, 0.92); outline: none; }
textarea { min-height: 130px; resize: vertical; }
.form-status { min-height: 24px; font-size: 0.92rem; color: var(--ice-blue); }
.contact-list { list-style: none; display: grid; gap: 12px; margin-top: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--off-white); }
.contact-list a { color: var(--off-white); text-decoration: none; transition: color var(--transition); }
.contact-list a:hover { color: var(--lime-green); }
.contact-svg { width: 20px; height: 20px; color: var(--steel-blue); flex-shrink: 0; margin-top: 2px; }
.contact-svg-instagram { color: var(--light-steel); }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: rgba(13, 27, 42, 0.55); border: 1px solid rgba(122, 157, 181, 0.25); border-radius: 12px; padding: 14px 16px; }
.faq-item summary { cursor: pointer; color: var(--off-white); font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 10px; color: var(--soft-blue-gray); }

.site-footer { background: var(--footer-deep); border-top: 1px solid rgba(74, 96, 112, 0.35); padding: 26px 0; }
.footer-grid { display: grid; gap: 14px; align-items: center; grid-template-columns: 1fr; justify-items: center; }
.footer-nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: var(--light-steel); }
.footer-copy { color: var(--copyright-muted); font-size: 0.9rem; text-align: center; }
.footer-copy {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
  text-align: center;
  margin-top: 4px;
  text-transform: none;
}

.footer-copy span {
  display: inline-block;
  white-space: nowrap;
}

@media (min-width: 981px) {
  .footer-copy {
    width: 100%;
    text-align: center;
    justify-self: center;
  }
  .footer-copy span {
    margin: 0 auto;
  }
}

.sub-footer {
  padding: 14px 0 22px;
}

.sub-footer__infos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sub-footer__infos p {
  color: var(--light-steel);
  font-size: 0.92rem;
}

.sub-footer__infos a svg path {
  fill: #ffffff !important;
}

.sub-footer__infos a svg path.st0 {
  fill: var(--lime-green) !important;
}

.floating-cta { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 999; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease; }
.floating-cta.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.floating-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--lime-green); color: var(--navy-deep); border: 1px solid rgba(13, 27, 42, 0.35); font-weight: 700; box-shadow: var(--shadow-soft); transition: transform var(--transition); }
.floating-cta a:hover { transform: translateY(-2px); color: var(--navy-deep); }
.floating-cta svg { width: 16px; height: 16px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }
  .footer-grid > * {
    width: 100%;
  }
  .footer-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .footer-nav::-webkit-scrollbar { display: none; }
  .footer-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.86rem;
  }
  .footer-copy {
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.5;
    max-width: 96%;
    margin: 6px auto 0;
  }
  .footer-copy span { white-space: normal; }
}

@media (max-width: 767px) {
  .container { width: 100%; max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
  .section { padding: 48px 0; }
  .hero-title-line { white-space: normal; }
  .hero h1 {
    font-size: clamp(1.55rem, 6.6vw, 2.05rem);
    max-width: 100%;
    line-height: 1.12;
    margin-bottom: 14px;
  }
  .hero-title-line { white-space: nowrap; }
  .hero p {
    font-size: clamp(0.95rem, 4.3vw, 1.06rem);
    line-height: 1.58;
    margin-bottom: 24px;
  }
  .section-title {
    font-size: clamp(1.55rem, 6.2vw, 1.95rem);
    line-height: 1.2;
    max-width: 100%;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-menu { position: fixed; inset: 80px 0 auto 0; background: rgba(13, 27, 42, 0.98); border-bottom: 1px solid rgba(122, 157, 181, 0.26); padding: 16px 4vw 18px; flex-direction: column; align-items: flex-start; transform: translateY(-130%); transition: transform var(--transition); }
  .nav-menu.is-open { transform: translateY(0); }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    z-index: 3;
  }
  .brand {
    position: relative;
    z-index: 2;
  }
  .brand-logo { width: min(176px, 62vw); }
  .nav-cta { display: none; }
  .hero-cta .btn { width: 100%; }
  .service-grid, .stats-grid, .method-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; min-width: 0; }
  .contact-list li { flex-wrap: wrap; word-break: break-word; }
  .contact-card { padding: 18px; min-width: 0; }
  input, textarea { font-size: 16px; min-width: 0; }
  .footer-grid { gap: 12px; }
  .footer-grid > * { width: 100%; }
  .footer-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .footer-nav::-webkit-scrollbar { display: none; }
  .footer-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.84rem;
  }
  .footer-copy { font-size: 0.82rem; max-width: 94%; margin-top: 8px; }
  .sub-footer__infos {
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sub-footer__infos::-webkit-scrollbar { display: none; }
  .sub-footer__infos p { white-space: nowrap; }
  .sub-footer__infos a { flex: 0 0 auto; }
  .sub-footer {
    padding: 18px 0 24px;
  }
}
