/* Ajustes baseados no layout de materials/design.pdf. */
.tonoli-site {
  color: #191919;
  font-family: Poppins, Arial, sans-serif;
}

.site-header {
  background: #202020;
}

.header-inner {
  min-height: 112px;
}

.brand {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 37px;
  letter-spacing: -.055em;
}

.brand strong {
  font-weight: 900;
}

.desktop-nav a {
  padding: 4px 13px;
}

.header-cta {
  font-weight: 500;
}

.header-search {
  position: relative;
  flex: none;
}

.header-search summary {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  list-style: none;
  cursor: pointer;
}

.header-search summary::-webkit-details-marker {
  display: none;
}

.header-search summary::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 2px;
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.header-search summary::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 21px;
  width: 11px;
  height: 2px;
  background: #fff;
  transform: rotate(48deg);
  transform-origin: left center;
}

.header-search form {
  display: flex;
  position: absolute;
  top: 43px;
  right: 0;
  z-index: 20;
  gap: 8px;
  min-width: 315px;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 10px;
  background: #242424;
  box-shadow: 0 10px 25px #0006;
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 9px;
  border: 1px solid #777;
  border-radius: 5px;
  font: inherit;
}

.header-search button {
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.menu-toggle {
  width: 36px;
  gap: 7px;
}

.menu-toggle span {
  width: 34px;
  height: 3px;
}

.dark-section:not(.hero) {
  background: linear-gradient(#1d1d1dee, #1d1d1dee), url('../images/design/hero.webp') center / cover no-repeat;
}

.dark-section::before {
  display: none;
}

.photo-placeholder {
  display: block;
  min-height: 0;
  background: none;
  overflow: hidden;
}

.photo-placeholder::before,
.photo-placeholder::after {
  display: none;
}

.photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  min-height: 813px;
  background: #191919;
}

.hero > .photo-placeholder {
  z-index: 0;
}

.hero > .photo-placeholder img {
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, #000e 0%, #000b 24%, #0004 49%, transparent 75%);
}

.hero-content {
  padding-top: 86px;
  padding-bottom: 35px;
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 25px;
  font-size: clamp(48px, 3.6vw, 68px);
  line-height: 1.06;
}

.hero-content > p {
  max-width: 620px;
  font-size: 25px;
  line-height: 1.45;
}

.hero .button-row {
  margin-top: 32px;
}

.feature-grid {
  gap: 24px;
  padding-bottom: 16px;
}

.feature-card {
  min-height: 168px;
  gap: 4px;
  padding: 16px;
  border-color: #ffffff45;
  border-radius: 12px;
  background: linear-gradient(120deg, #303030e8, #0e0e0ee8);
}

.feature-card span,
.process-icon,
.audience-card span,
.workflow-icon span {
  display: block;
  line-height: 0;
}

.feature-card span img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.feature-card small {
  max-width: 170px;
  font-size: 18px;
  line-height: 1.15;
}

.intro-section {
  min-height: 580px;
}

.projects-section {
  min-height: 775px;
}

.compliance-section {
  min-height: 790px;
}

.split-section > .photo-placeholder {
  min-height: 100%;
}

.split-section > .photo-placeholder img {
  position: absolute;
  inset: 0;
}

.split-copy {
  min-width: 0;
}

.split-section h2,
.portfolio-section h2 {
  font-size: clamp(38px, 3.2vw, 62px);
  line-height: 1.1;
}

.split-section p {
  font-size: 22px;
  line-height: 1.42;
}

.orange-text {
  margin-top: 68px;
  font-size: 25px;
  line-height: 1.25;
}

.section-pad {
  padding: 60px 0;
}

.center-title {
  margin-bottom: 50px;
  font-size: clamp(38px, 2.8vw, 52px);
}

.process-grid {
  width: min(100%, 1400px);
  gap: 30px;
}

.process-card {
  min-height: 318px;
  padding: 40px 20px 25px;
  border-color: #ffffff38;
  border-radius: 18px;
  background: linear-gradient(145deg, #292929f5, #0d0d0df5);
}

.process-number {
  top: -20px;
  left: -20px;
  width: 84px;
  height: 84px;
  font-size: 48px;
}

.process-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.process-card h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.process-card p {
  max-width: 230px;
  font-size: 18px;
  line-height: 1.2;
}

.process-formats {
  font-size: 22px;
}

.tonoli-site .process-formats {
  margin-top: 30px;
}

.portfolio-section {
  min-height: 805px;
  padding: 0;
}

.portfolio-grid {
  grid-template-columns: 1.08fr 1fr;
  gap: 65px;
  min-height: 805px;
  align-items: stretch;
}

.portfolio-visual {
  height: 805px;
  margin-left: -65px;
  transform: scale(1.05);
  transform-origin: center;
}

.portfolio-visual .photo-placeholder {
  height: 100%;
  min-height: 0;
  border-radius: 0;
}

.portfolio-visual .photo-placeholder img {
  object-fit: contain;
}

.portfolio-copy {
  padding: 60px 0 40px;
}

.eyebrow {
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 400;
}

.portfolio-section h2 {
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom-width: 1px;
}

.category-grid {
  gap: 25px;
}

.category-grid h3 {
  margin-bottom: 24px;
  font-size: 24px;
}

.category-grid li {
  margin: 10px 0;
  font-size: 21px;
  line-height: 1.25;
}

.category-grid li::before {
  width: 19px;
  height: 19px;
  margin-right: 10px;
  font-size: 13px;
}

.viability {
  margin: 45px 0 26px;
  font-size: 31px;
  line-height: 1.12;
  font-weight: 400;
}

.viability strong {
  font-weight: 700;
}

.small-copy {
  font-size: 17px;
}

.audiences-section {
  min-height: 589px;
  padding: 65px 0;
}

.audience-grid {
  width: min(100%, 1400px);
  gap: 30px;
}

.audience-card {
  min-height: 296px;
  padding: 30px 15px;
  border-color: #ffffff38;
  border-radius: 18px;
  background: linear-gradient(145deg, #2a2a2af2, #0c0c0cf2);
}

.audience-card span img {
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.audience-card strong {
  max-width: 230px;
  margin-top: 5px;
  font-size: 25px;
  line-height: 1.15;
}

.projects-section h2 {
  font-size: clamp(50px, 4vw, 76px);
}

.projects-lead {
  max-width: 540px;
  font-size: 30px !important;
  line-height: 1.2 !important;
}

.stats {
  gap: 30px;
  margin: 65px 0 55px;
}

.stats > div {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.stats img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.stat-copy {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 70px;
}

.stats small {
  max-width: 150px;
  font-size: 21px;
  line-height: 1.15;
}

.dark-ribbon {
  padding: 9px 22px;
  font-size: 22px !important;
}

.projects-section .photo-placeholder img {
  object-position: center 44%;
}

.awards-section {
  min-height: 590px;
  padding: 100px 0;
}

.awards-grid {
  gap: 100px;
}

.brand-large {
  font-size: 52px;
}

.awards-section h2 {
  max-width: 710px;
  margin-top: 55px;
  font-size: 46px;
  line-height: 1.22;
}

.awards-section h3 {
  font-size: 36px;
}

.awards-section p {
  margin-bottom: 30px;
  font-size: 26px;
}

.award-medals {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
  margin-top: 20px;
}

.award-medals img {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: contain;
}

.compliance-section .split-copy {
  padding: 50px max(36px, calc((100vw - 1560px) / 2)) 50px 55px;
}

.compliance-section .split-inner {
  max-width: 750px;
}

.compliance-badges {
  align-items: center;
  gap: 28px;
  margin: 75px 0 65px;
}

.compliance-badges img {
  display: block;
  width: 20%;
  max-height: 155px;
  object-fit: contain;
}

.compliance-section h3 {
  max-width: 620px;
  font-size: 29px;
  line-height: 1.2;
}

.structure-section {
  min-height: 285px;
  padding: 55px 0;
}

.structure-grid h2 {
  font-size: 32px;
}

.structure-grid p {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.5;
}

.workflow-section {
  min-height: 605px;
  padding: 65px 0;
}

.workflow-grid {
  gap: 28px;
}

.workflow-icon {
  height: 250px;
  border-width: 1px;
  border-radius: 16px;
}

.workflow-icon img {
  width: 185px;
  height: 185px;
  object-fit: contain;
}

.workflow-step strong {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.15;
}

.workflow-step:not(:last-child)::after {
  top: 105px;
  right: -35px;
  width: 60px;
  height: 60px;
  font-size: 48px;
  line-height: 55px;
}

.contact-section {
  padding: 80px 0 95px;
}

.contact-grid h2 {
  font-size: clamp(34px, 3vw, 55px);
}

@media (max-width: 1100px) {
  .brand { font-size: 30px; }
  .header-inner { min-height: 86px; }
  .hero { min-height: 700px; }
  .feature-card { min-height: 145px; }
  .feature-card small { font-size: 15px; }
  .split-section h2 { font-size: clamp(36px, 4vw, 52px); }
  .intro-section .split-copy, .projects-section .split-copy { padding: 50px clamp(36px, 6vw, 120px) 50px 0; }
  .split-section p { font-size: 18px; }
  .orange-text { margin-top: 35px; font-size: 20px; }
  .process-card { min-height: 260px; }
  .process-card h3 { font-size: 18px; }
  .process-card p { font-size: 15px; }
  .audience-card { min-height: 240px; }
  .audience-card strong { font-size: 19px; }
  .portfolio-visual { height: 590px; margin-left: 0; transform: none; }
  .category-grid li { font-size: 16px; }
  .stats { gap: 15px; }
  .stats img { width: 80px; height: 80px; }
  .stats strong { font-size: 48px; }
  .stats small { font-size: 15px; }
  .workflow-icon { height: 195px; }
  .workflow-icon img { width: 145px; height: 145px; }
  .workflow-step strong { font-size: 16px; }
  .workflow-step:not(:last-child)::after { top: 78px; right: -26px; width: 44px; height: 44px; font-size: 34px; line-height: 41px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 36px, 1560px); }
  .header-inner { min-height: 72px; }
  .brand { font-size: 22px; }
  .header-search { display: none; }
  .hero { min-height: 690px; }
  .hero > .photo-placeholder img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, #000e, #0008 75%, #0005); }
  .hero-content { padding-top: 70px; padding-bottom: 35px; }
  .hero h1 { font-size: clamp(37px, 9vw, 55px); }
  .hero-content > p { font-size: 17px; }
  .feature-grid { gap: 10px; }
  .feature-card { min-height: 125px; }
  .feature-card span img { width: 52px; height: 52px; }
  .feature-card small { font-size: 12px; }
  #sobre, #projetos { grid-template-columns: 1fr; }
  .intro-section, .projects-section, .compliance-section { min-height: 0; }
  .split-section > .photo-placeholder { min-height: 330px; }
  .split-section > .photo-placeholder img { height: 330px; }
  .intro-section .split-copy, .projects-section .split-copy { padding: 45px 18px 50px 0; }
  .compliance-section .split-copy { padding: 45px 18px 50px; }
  .split-section h2 { font-size: clamp(34px, 8vw, 48px); }
  .split-section p { font-size: 16px; }
  .orange-text { margin-top: 30px; font-size: 18px; }
  .section-pad { padding: 50px 0; }
  .center-title { margin-bottom: 36px; font-size: clamp(30px, 7vw, 40px); }
  .process-grid, .audience-grid { gap: 17px; }
  .process-card { min-height: 230px; padding: 25px 10px; }
  .process-number { top: -12px; left: -10px; width: 45px; height: 45px; font-size: 26px; }
  .process-icon img { width: 80px; height: 80px; }
  .process-card h3 { font-size: 15px; }
  .process-card p { font-size: 13px; }
  .process-formats { font-size: 16px; }
  .portfolio-section { min-height: 0; padding: 45px 0; }
  .portfolio-grid { min-height: 0; gap: 20px; }
  .portfolio-visual { height: 400px; }
  .portfolio-copy { padding: 10px 0; }
  .portfolio-section h2 { font-size: 38px; }
  .eyebrow { font-size: 14px; }
  .category-grid h3 { font-size: 18px; }
  .category-grid li { font-size: 15px; }
  .viability { margin-top: 30px; font-size: 23px; }
  .small-copy { font-size: 13px; }
  .audiences-section { min-height: 0; }
  .audience-card { min-height: 190px; }
  .audience-card span img { width: 75px; height: 75px; }
  .audience-card strong { font-size: 16px; }
  .projects-section h2 { font-size: 50px; }
  .projects-lead { font-size: 21px !important; }
  .stats { margin: 35px 0; }
  .stats img { width: 60px; height: 60px; }
  .stats strong { font-size: 40px; }
  .stats small { font-size: 12px; }
  .dark-ribbon { font-size: 13px !important; }
  .awards-section { min-height: 0; padding: 60px 0; }
  .awards-grid { gap: 25px; }
  .brand-large { font-size: 32px; }
  .awards-section h2 { margin-top: 25px; font-size: 30px; }
  .awards-section h3 { font-size: 27px; }
  .awards-section p { font-size: 18px; }
  .award-medals { gap: 5px; }
  .award-medals img { height: 75px; }
  .compliance-badges { gap: 12px; margin: 35px 0; }
  .compliance-badges img { width: calc(25% - 9px); max-height: 95px; }
  .compliance-section h3 { font-size: 22px; }
  .structure-section { min-height: 0; padding: 45px 0; }
  .structure-grid h2 { font-size: 26px; }
  .structure-grid p { font-size: 14px; }
  .workflow-section { min-height: 0; }
  .workflow-icon { height: 145px; }
  .workflow-icon img { width: 105px; height: 105px; }
  .workflow-step strong { font-size: 14px; }
  .workflow-step:not(:last-child)::after { top: 51px; right: -18px; width: 32px; height: 32px; font-size: 24px; line-height: 29px; }
  .contact-section { padding: 55px 0; }
  .contact-grid h2 { font-size: 31px; }
}
