@media screen and (min-width: 312px) {

  h1 {
    font-family: var(--font-heading);
    font-weight: 800;
  }

  h2,
  h3,
  h4 {
    font-family: var(--font-heading);
    font-weight: 700;
  }

  /* ============ HEADER ============ */
  header#cabecalho {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
    padding: 0.6rem 1.25rem;
    background: var(--color-black);
    border-bottom: 3px solid var(--color-orange);
    box-shadow: var(--shadow);
  }

  header#cabecalho .logo {
    display: inline-flex;
    align-items: center;
  }

  header#cabecalho .logo img {
    height: 44px;
    width: auto;
  }

  header#cabecalho.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }

  button#icon-menuBurger {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
  }

  nav#menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-graphite);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  nav#menu-container.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  nav#menu-container ul li a {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav#menu-container ul li a:hover,
  nav#menu-container ul li a.active {
    color: var(--color-orange);
  }

  .menu-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.5rem;
  }

  .menu-cta .btn {
    width: 100%;
    padding: 0.65rem 1.2rem;
  }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62vh;
    padding: 4rem 0;
    background: linear-gradient(rgba(17, 17, 17, 0.74), rgba(17, 17, 17, 0.84)),
      url('../images/backgrounds/background_hero.jpg') center/cover no-repeat;
  }

  .hero-content {
    max-width: 680px;
    color: var(--color-white);
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .hero-content h1 span {
    color: var(--color-orange);
  }

  .hero-subtitle {
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-orange-light);
  }

  .hero-description {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-indicators li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
  }

  .hero-indicators li i {
    color: var(--color-orange);
    font-size: 1.1rem;
  }

  /* ============ SOBRE ============ */
  .about-grid {
    display: grid;
    gap: 2rem;
  }

  .about-image img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .about-text p {
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
    text-align: justify;
  }

  .about-values {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .value-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .value-item i {
    margin-top: 0.15rem;
    font-size: 1.4rem;
    color: var(--color-orange);
  }

  .value-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
  }

  .value-item span {
    font-size: 0.9rem;
    color: var(--color-gray);
  }

  /* ============ SERVIÇOS ============ */
  #services-article {
    background: var(--color-bg-light);
  }

  .services-grid {
    display: grid;
    gap: 1.25rem;
  }

  .service-card {
    text-align: center;
  }

  .service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-orange);
    box-shadow: var(--shadow-lg);
  }

  .service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 1.5rem;
    transition: var(--transition);
  }

  .service-card:hover .service-icon {
    background: var(--color-black);
    transform: rotate(-8deg) scale(1.05);
  }

  .service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .service-card p {
    font-size: 0.92rem;
    color: var(--color-gray);
  }

  /* ============ SEGMENTOS ============ */
  .segments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .segment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius);
    transition: var(--transition);
  }

  .segment-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-orange);
    box-shadow: var(--shadow);
  }

  .segment-item i {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    color: var(--color-orange);
  }

  .segment-item strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
  }

  .segment-item span {
    font-size: 0.82rem;
    color: var(--color-gray);
  }

  /* ============ CLIENTES ============ */
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    text-align: center;
    background: var(--color-bg-light);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--color-gray-dark);
    transition: var(--transition);
  }

  .client-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-orange);
    color: var(--color-orange);
    box-shadow: var(--shadow);
  }

  /* ============ DIFERENCIAIS ============ */
  #diferenciais-article {
    background: var(--color-graphite);
  }

  #diferenciais-article .section-title {
    color: var(--color-white);
  }

  #diferenciais-article .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
  }

  .diferenciais-grid {
    display: grid;
    gap: 1.25rem;
  }

  .diferencial-card {
    text-align: center;
  }

  .diferencial-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-orange);
    box-shadow: var(--shadow-lg);
  }

  .diferencial-card i {
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    color: var(--color-orange);
  }

  .diferencial-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .diferencial-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
  }

  /* ============ COMO TRABALHAMOS ============ */
  .steps-grid {
    display: grid;
    gap: 1.25rem;
  }

  .step-item {
    position: relative;
    padding-top: 2.75rem;
    overflow: hidden;
  }

  .step-number {
    position: absolute;
    top: -16px;
    left: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.4rem;
    line-height: 1;
    color: rgba(249, 115, 22, 0.14);
  }

  .step-item i {
    position: relative;
    margin-bottom: 0.6rem;
    font-size: 1.6rem;
    color: var(--color-orange);
  }

  .step-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .step-item p {
    font-size: 0.9rem;
    color: var(--color-gray);
  }

  /* ============ GALERIA ============ */
  #projects-article {
    background: var(--color-bg-light);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .gallery-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: zoom-in;
  }

  .gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.06);
  }

  /* ============ ESTATÍSTICAS ============ */
  #stats-article {
    background: var(--color-black);
  }

  #stats-article .section-title {
    color: var(--color-white);
  }

  .stats-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
  }

  .stat-item {
    text-align: center;
  }

  .stat-item i {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    color: var(--color-orange);
  }

  .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--color-white);
  }

  .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
  }

  /* ============ FAQ ============ */
  #faq-article {
    background: var(--color-bg-light);
  }

  .faq-list {
    display: grid;
    gap: 0.75rem;
  }

  .faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--color-black);
  }

  .faq-question i {
    flex-shrink: 0;
    color: var(--color-orange);
    transition: transform var(--transition);
  }

  .faq-item.open .faq-question i {
    transform: rotate(180deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .faq-answer p {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.95rem;
    color: var(--color-gray-dark);
  }

  /* ============ CONTATO ============ */
  .contact-grid {
    display: grid;
    gap: 2.5rem;
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 1.1rem;
  }

  .contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
  }

  .contact-item a,
  .contact-item span {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
  }

  .contact-item a:hover {
    color: var(--color-orange);
  }

  .contact-form-wrap {
    padding: 1.75rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }

  .contact-form-wrap h3 {
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-black);
    transition: border-color var(--transition), box-shadow var(--transition);
  }

  .form-group textarea {
    min-height: 110px;
    resize: vertical;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  }

  .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
  }

  .form-consent input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: var(--color-orange);
  }

  .form-consent label {
    display: inline;
    margin: 0;
    font-weight: 400;
    color: var(--color-gray-dark);
  }

  .form-consent a {
    text-decoration: underline;
  }

  .btn-submit {
    width: 100%;
    margin-top: 0.5rem;
  }

  .form-note {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--color-gray);
  }

  .form-feedback {
    display: none;
    margin-top: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
  }

  .form-feedback.error {
    display: block;
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
  }

  .form-feedback.success {
    display: block;
    background: #DCFCE7;
    border: 1px solid #BBF7D0;
    color: #166534;
  }

  /* ============ RODAPÉ ============ */
  footer#rodape {
    padding: 3.5rem 0 0;
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-brand .logo img {
    height: 44px;
    width: auto;
    margin-bottom: 1rem;
  }

  .footer-brand p {
    font-size: 0.92rem;
  }

  .footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-white);
  }

  .footer-col ul li {
    margin-bottom: 0.6rem;
  }

  .footer-col ul li a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
  }

  .footer-col ul li a:hover {
    color: var(--color-orange);
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    text-align: center;
  }

  .footer-legal a {
    color: rgba(255, 255, 255, 0.7);
  }

  .footer-legal a:hover {
    color: var(--color-orange);
  }

  /* ============ WHATSAPP FLUTUANTE ============ */
  .whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: var(--color-white);
    font-size: 1.9rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .whatsapp-float:hover {
    transform: scale(1.08);
    color: var(--color-white);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  }

  .whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: whatsapp-pulse 2s infinite;
  }

  @keyframes whatsapp-pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
      box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }

  /* ============ MODAL / LIGHTBOX ============ */
  .modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    padding: 2.5rem 1rem;
    overflow: auto;
    background: rgba(17, 17, 17, 0.92);
  }

  .modal.open {
    display: block;
  }

  .modal-content {
    position: relative;
    margin: 0 auto;
    max-width: 960px;
  }

  .modal-content .slides img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--radius);
  }

  .close {
    position: absolute;
    top: -2.2rem;
    right: 0;
    z-index: 2;
    padding: 0.25rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
  }

  .close:hover {
    color: var(--color-orange);
  }

  .modal-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }

  .prev,
  .next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition);
  }

  .prev:hover,
  .next:hover {
    background: var(--color-orange);
  }
}
