/*
Theme Name: AVN Tecnologia Child
Theme URI: https://avntecnologia.com.br
Description: Replica of original AVN Tecnologia site (Duda) on WordPress
Author: AVN Tecnologia
Template: hello-biz
Version: 3.0.0
Text Domain: avn-child
*/

/* ============================================================
   GOOGLE FONTS — Same as original site
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@100;200;300;400;500;600;700;800;900&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Oxygen:wght@300;400;700&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');

/* ============================================================
   DESIGN TOKENS — Original site colors
   ============================================================ */
:root {
  /* Brand */
  --brand-blue: #3D4392;
  --brand-red: #fb464b;
  --brand-red-hover: #d6434a;
  --btn-gold: #a8a17e;

  /* Surface */
  --bg-white: #FFFFFF;
  --bg-light: #f2f2f2;
  --bg-section: #eee;

  /* Text */
  --text-dark: #151515;
  --text-body: #151515;
  --text-white: #FFFFFF;
  --text-muted: #666;

  /* Fonts */
  --font-body: 'Oxygen', 'Source Sans Pro', sans-serif;
  --font-heading: 'Exo', sans-serif;
  --font-text: 'Montserrat', sans-serif;

  /* Spacing */
  --container: 960px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-section);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Remove hello-biz default header/footer */
#masthead,
.site-header,
.site-footer,
#colophon {
  display: none !important;
}

#page {
  display: block;
}

.site-main {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

h1 {
  font-size: 70px;
  font-weight: normal;
}

h3 {
  font-size: 30px;
  font-weight: 400;
}

h4 {
  font-size: 20px;
  font-weight: 700;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.dm-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   HEADER / NAVBAR — Original Duda classes
   ============================================================ */

/* --- Outer container (fixed header) --- */
.dmHeaderContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--brand-blue);
}

body.admin-bar .dmHeaderContainer {
  top: 32px;
}

.u_hcontainer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.u_1625869650.dmRespRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Push logo left, menu right */
  gap: 16px;
  padding: 12px 0;
}

/* --- Logo --- */
.u_1100449427.imageWidget {
  flex-shrink: 0;
}

.u_1100449427 a {
  display: flex;
  align-items: center;
}

.u_1100449427 img {
  height: 50px;
  width: auto;
}

/* --- Navigation menu --- */
.unifiednav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* Align links to the right */
}

.unifiednav .unifiednav__container {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.unifiednav__item-wrap {
  list-style: none;
}

.unifiednav__item {
  display: block;
  padding: 0 15px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}

.unifiednav__item:hover {
  color: var(--text-white);
}

.unifiednav__item .dmNavItemSelected {
  font-weight: 700;
}

/* --- Underline effect — Duda's "effect-bottom2" --- */
.effect-bottom2 .unifiednav__item::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s;
  margin-top: 4px;
}

.effect-bottom2 .unifiednav__item:hover::after,
.effect-bottom2 .unifiednav__item .dmNavItemSelected::after {
  transform: scaleX(1);
}

/* Active item underline */
.unifiednav__item-wrap:has(.dmNavItemSelected) .unifiednav__item::after {
  transform: scaleX(1);
}

/* --- Language Switcher (Apple Toggle) --- */
.avn-lang-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 20px;
  min-width: 130px;
  /* Garante largura mínima para não ficar estreito */
  justify-content: center;
}

.lang-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 18px;
  line-height: 1;
  filter: grayscale(100%) opacity(0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  vertical-align: middle;
}

.lang-flag.active {
  filter: grayscale(0%) opacity(1);
  /* Removido scale() para manter tamanho idêntico em ambos os idiomas */
}

.lang-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0;
  vertical-align: middle;
}

.lang-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lang-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 24px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:checked+.lang-slider {
  background-color: rgba(255, 255, 255, 0.25);
}

input:checked+.lang-slider:before {
  transform: translateX(20px);
}

/* --- Hamburger (Mobile) --- */
.dm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
  z-index: 1001;
}

.dm-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  .dm-hamburger {
    display: flex;
  }

  .dmLinksMenu:not(.open) {
    display: none;
  }

  .avn-lang-switcher {
    margin-left: auto;
    margin-right: 15px;
  }
}

/* ============================================================
   HERO — Video background
   ============================================================ */
.dm-hero {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 74px;
  /* header height */
  margin-bottom: 20px;
}

.dm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dm-hero-bg img,
.dm-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 190px 40px;
  width: 100%;
}

.dm-hero-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.dm-hero-subtitle {
  text-align: left;
  color: white;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.dm-hero-subtitle p {
  margin: 0;
}

.dm-hero-box {
  background: rgba(34, 35, 35, 0.4);
  border: 6px solid #fff;
  display: inline-block;
  padding: 20px;
  max-width: 1600px;
  width: calc(100% - 0px);
  margin: 0 auto;
  text-align: center;
}

.dm-hero-box h1 {
  font-family: var(--font-heading);
  font-size: 70px;
  font-weight: normal;
  color: white;
  line-height: 1.1;
  margin: 0;
}

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.dm-quemsomos {
  background: var(--bg-white);
}

.dm-quemsomos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.dm-quemsomos-image {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: 50% 50%;
}

.dm-quemsomos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-quemsomos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.dm-quemsomos-text {
  background: var(--bg-light);
  padding: 60px 60px 50px 80px;
}

.dm-quemsomos-text h3 {
  font-family: var(--font-heading);
  font-size: 34px;
  margin-bottom: 30px;
}

.dm-title-bold {
  font-weight: bold;
  color: rgb(40, 64, 83);
}

.dm-quemsomos-text p {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.dm-quemsomos-seals {
  margin-top: 0px;
  text-align: left;
}

.dm-quemsomos-seals img {
  max-height: 80px;
  display: inline-block;
}

/* ============================================================
   FERRAMENTAS E PERFIS
   ============================================================ */
.dm-ferramentas {
  padding: 40px 0;
  background: var(--bg-white);
}

.dm-ferramentas-title {
  font-family: var(--font-heading);
  font-size: 30px;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.dm-ferramentas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.dm-ferramentas-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dm-ferramentas-icon {
  flex-shrink: 0;
  color: #3D4392;
}

.dm-ferramentas-content h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dm-ferramentas-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
}

/* ============================================================
   GALLERY — 3 cards
   ============================================================ */
.dm-gallery {
  background: var(--bg-white);
  padding: 0;
}

.dm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.dm-gallery-card {
  overflow: hidden;
  background: white;
}

.dm-gallery-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.dm-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dm-gallery-card:hover .dm-gallery-image img {
  transform: scale(1.05);
}

.dm-gallery-caption {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  text-align: center;
}

.dm-gallery-caption h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.dm-gallery-caption p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: #444;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.dm-contact {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.dm-contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.dm-contact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 37, 0.85);
}

.dm-contact-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#contact-med-tech-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.dm-contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

.dm-contact-intro {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: white;
  margin-bottom: 20px;
}

.dm-contact-divider {
  border: none;
  height: 2px;
  background: grey;
  margin-bottom: 30px;
}

.dm-contact-form-wrap {
  background: transparent;
}

.dm-contact-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: white;
  margin-bottom: 20px;
}

.dm-form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dm-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.dm-form-group label {
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 6px;
  color: white;
}

.dm-form-group input,
.dm-form-group textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 15px;
  border: none;
  background: #d8d8d8;
  outline: none;
  transition: background 0.3s;
  color: #333;
}

.dm-form-group input:focus,
.dm-form-group textarea:focus {
  background: #ccc;
}

.dm-form-group textarea {
  resize: vertical;
}

.dm-form-submit {
  text-align: right;
  margin-top: 16px;
  width: 100%;
}

.dm-btn-submit {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: white !important;
  background: var(--btn-gold) !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 14px 40px !important;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  box-shadow: none !important;
}

.dm-btn-submit:hover {
  background: #8f8a6e !important;
  transform: translateY(-1px);
  color: white !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.dm-footer {
  background: var(--brand-blue);
  padding: 30px 0 20px 0;
  text-align: center;
}

.dm-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dm-footer-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.dm-footer-links-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.dm-footer-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dm-footer-link:hover {
  color: white;
  text-decoration: underline;
}

.dm-footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  width: 100%;
}

.dm-footer-btn:hover {
  background: var(--brand-red-hover);
  color: white;
}

.dm-footer-btn-icon {
  font-size: 14px;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.dm-whatsapp-float {
  position: fixed;
  bottom: 110px; /* Subi para dar espaço ao chat */
  right: 40px;
  z-index: 9999;
  width: 50px; /* Aumentei para 50px */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.dm-whatsapp-float img {
  width: 50px;
  height: 50px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-right, .animate-fade-left, .animate-fade-up, .animate-fade-down {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-right.in-view { animation: fadeRight 0.8s ease-out forwards; }
.animate-fade-left.in-view  { animation: fadeLeft 0.8s ease-out forwards; }
.animate-fade-up.in-view    { animation: fadeUp 0.8s ease-out forwards; }
.animate-fade-down.in-view  { animation: fadeDown 0.8s ease-out forwards; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .dm-hero-box h1 {
    font-size: 36px;
  }

  .dm-hero-content {
    padding: 120px 20px;
  }

  .dm-hero-subtitle {
    top: 30px;
    left: 20px;
    font-size: 14px;
  }

  .dm-quemsomos-grid {
    grid-template-columns: 1fr;
  }

  .dm-quemsomos-text {
    padding: 30px 20px;
  }

  .dm-ferramentas-grid {
    grid-template-columns: 1fr;
  }

  .dm-gallery-grid {
    grid-template-columns: 1fr;
  }

  .dm-form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   ================================================================
   INTERNAL PAGES — Faithful replica of original Duda site
   ================================================================
   ================================================================ */

/* --- Page Hero (internal pages) -------------------------------- */
.dm-page-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin-top: 74px;
}

.dm-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.dm-page-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
}

.dm-page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 700;
  font-style: italic;
  color: white;
  margin-bottom: 24px;
}

.dm-page-hero-content p {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Services Hero (simpler, gray bg) -------------------------- */
.dm-services-hero {
  background: var(--bg-light);
  padding: 120px 0 50px;
  text-align: center;
  margin-top: 74px;
}

.dm-services-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
}

/* --- Content Sections (alternating image/text rows) ------------ */
.dm-content-section {
  padding: 60px 0;
}

.dm-bg-light {
  background: var(--bg-light);
}

.dm-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.dm-content-row-reverse {
  direction: rtl;
}

.dm-content-row-reverse>* {
  direction: ltr;
}

.dm-content-img img {
  width: 100%;
  border-radius: 0;
  display: block;
}

.dm-content-img-overlay {
  position: relative;
}

.dm-img-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-family: var(--font-heading);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.dm-img-overlay-text span {
  display: block;
  font-size: 16px;
  font-style: italic;
}

.dm-img-overlay-large {
  font-size: 32px !important;
  font-weight: 700;
  font-style: italic !important;
  line-height: 1.2;
}

.dm-content-text {
  font-family: var(--font-text);
}

.dm-content-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: #aaa;
  margin-bottom: 16px;
}

.dm-content-text p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}

.dm-content-text p strong {
  color: var(--text-dark);
}

.dm-content-line {
  width: 50px;
  border: none;
  border-top: 3px solid var(--brand-blue);
  margin-bottom: 20px;
}

/* --- Clients Section ------------------------------------------- */
.dm-clients-section {
  padding: 50px 0;
  border: 1px solid #ddd;
  margin: 40px auto;
  max-width: 960px;
}

.dm-clients-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.dm-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
  padding: 0 30px;
}

.dm-clients-grid img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.dm-clients-grid img:hover {
  filter: grayscale(0%);
}

/* --- Tasy Contact Section -------------------------------------- */
.dm-tasy-contact {
  padding: 50px 0;
}

.dm-tasy-contact-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.dm-tasy-contact-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 30px;
  align-items: start;
}

.dm-tasy-contact-form {
  width: 100%;
}

.dm-tasy-sidebar {
  background: #111;
  color: white;
  padding: 40px 30px;
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}

/* --- Sobre Nós Section (Serviços page) ------------------------- */
.dm-sobrenos-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
}

.dm-sobrenos-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#med-tech-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.dm-sobrenos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 37, 0.9);
  z-index: 1;
}

.dm-sobrenos-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.dm-sobrenos-content h1, 
.dm-sobrenos-content p, 
.dm-sobrenos-content strong {
  color: white !important;
}

.dm-sobrenos-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.dm-sobrenos-line {
  width: 50px;
  border: none;
  border-top: 3px solid var(--brand-blue);
  margin: 0 auto 24px;
}

.dm-sobrenos-content p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

.dm-sobrenos-valores {
  font-size: 18px !important;
}

.dm-valor-underline {
  text-decoration: underline;
}

.dm-valor-orange {
  color: #e87730;
}

.dm-valor-green {
  color: #4caf50;
}

/* --- Cadastro Section ------------------------------------------ */
.dm-cadastro-section {
  padding: 60px 0;
  max-width: 700px;
  margin: 0 auto;
}

.dm-upload-label {
  display: inline-block;
  padding: 10px 20px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-text);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
}

.dm-upload-label:hover {
  background: #ddd;
}

/* --- Contato Section ------------------------------------------- */
.dm-map-section {
  margin-top: 74px;
}

.dm-map-section iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.dm-contato-section {
  padding: 60px 0;
}

.dm-contato-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

.dm-contato-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.dm-contato-form-wrap h3,
.dm-contato-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.dm-contato-info p {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}

.dm-contato-seals {
  margin-top: 24px;
}

.dm-contato-seals img {
  max-height: 50px;
  width: auto;
}

/* ================================================================
   RESPONSIVE — Internal Pages
   ================================================================ */
@media (max-width: 768px) {
  .dm-content-row {
    grid-template-columns: 1fr;
  }

  .dm-content-row-reverse {
    direction: ltr;
  }

  .dm-tasy-contact-row {
    grid-template-columns: 1fr;
  }

  .dm-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-contato-row {
    grid-template-columns: 1fr;
  }

  .dm-page-hero {
    min-height: 350px;
  }
}


/* ================================================================
   ================================================================
   AVN DESIGN SYSTEM — BodyShop & Squads Premium Pages
   ================================================================
   ================================================================ */

/* --- AVN Container ------------------------------------------- */
.avn-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- AVN Sections -------------------------------------------- */
.avn-section {
  padding: 72px 0;
}

.avn-section-sm {
  padding: 48px 0;
}

.avn-section-xs {
  padding: 32px 0;
}

.bg-white {
  background: #fff;
}

.bg-subtle {
  background: #f7f8fa;
}

/* --- Section Header ------------------------------------------ */
.avn-section-header {
  margin-bottom: 40px;
}

.avn-section-header.centered {
  text-align: center;
}

.avn-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.avn-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.avn-section-header.centered .avn-eyebrow {
  justify-content: center;
}

.avn-section-header.centered .avn-eyebrow::before {
  display: none;
}

/* --- Typography ---------------------------------------------- */
.avn-h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.avn-h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.avn-lead {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  max-width: 560px;
}

.avn-body {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.accent-orange {
  color: #e87730;
}

.accent-blue {
  color: var(--brand-blue);
}

/* --- Breadcrumb ---------------------------------------------- */
.avn-breadcrumb {
  font-family: var(--font-text);
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

.avn-breadcrumb a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.avn-breadcrumb a:hover {
  color: #e87730;
}

.avn-breadcrumb-sep {
  margin: 0 6px;
  color: #ccc;
}

/* --- Page Hero ----------------------------------------------- */
.avn-page-hero {
  background: linear-gradient(135deg, #f7f8fa 0%, #eef0f5 100%);
  padding: 120px 0 64px;
  margin-top: 74px;
  overflow: hidden;
}

.avn-page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.avn-page-hero-badge {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--brand-blue);
  background: rgba(61, 67, 146, 0.08);
  border: 1px solid rgba(61, 67, 146, 0.18);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.avn-page-hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(61, 67, 146, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* --- Buttons ------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--brand-blue);
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 12px rgba(61, 67, 146, 0.25);
}

.btn-primary:hover {
  background: #2d3370;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 67, 146, 0.32);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
  background: transparent;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  padding: 12px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.15s;
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #25d366;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.btn-link {
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-link:hover {
  color: var(--brand-blue) !important;
}

/* --- Metric Row ---------------------------------------------- */
.avn-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.avn-metric-item {
  padding: 20px 12px;
}

.avn-metric-num {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.avn-metric-num .u {
  font-size: 24px;
  font-weight: 600;
}

.avn-metric-lbl {
  font-family: var(--font-text);
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

/* --- Modules Grid -------------------------------------------- */
.avn-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.avn-module-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.avn-module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(61, 67, 146, 0.1);
  border-color: rgba(61, 67, 146, 0.25);
}

.avn-module-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 67, 146, 0.06);
  border-radius: 10px;
}

.avn-module-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.avn-module-desc {
  font-family: var(--font-text);
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* --- Steps --------------------------------------------------- */
.avn-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.avn-step {
  position: relative;
  padding: 24px;
  background: #f7f8fa;
  border-radius: 12px;
  border: 1px solid #e8eaef;
  transition: transform 0.25s, box-shadow 0.25s;
}

.avn-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.avn-step-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-blue);
  opacity: 0.2;
  margin-bottom: 12px;
  line-height: 1;
}

.avn-step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.avn-step-desc {
  font-family: var(--font-text);
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* --- Feature Row --------------------------------------------- */
.avn-feature-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd 30%, #ddd 70%, transparent);
}

.avn-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.avn-feature-row.reverse {
  direction: rtl;
}

.avn-feature-row.reverse>* {
  direction: ltr;
}

.avn-feature-img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* --- Spec Table ---------------------------------------------- */
.avn-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-text);
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8eaef;
}

.avn-spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f1f5;
  color: #555;
  vertical-align: top;
}

.avn-spec-table td:first-child {
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  width: 200px;
  background: #fafbfc;
}

.avn-spec-table tr:last-child td {
  border-bottom: none;
}

/* --- Diff Features ------------------------------------------- */
.avn-diff-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avn-diff-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.avn-diff-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.avn-diff-text-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.avn-diff-text-desc {
  font-family: var(--font-text);
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* --- CTA Band ------------------------------------------------ */
.avn-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #2d3370 100%);
  border-radius: 20px;
  padding: 48px 56px;
  color: #fff;
}

.avn-cta-band .avn-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.avn-cta-band .avn-eyebrow::before {
  background: rgba(255, 255, 255, 0.4);
}

.avn-cta-band-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 8px 0;
  line-height: 1.3;
}

.avn-cta-band-sub {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

.avn-cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

/* --- Fade Up Animations -------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
}

.fade-up.in-view {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-up.d1.in-view {
  animation-delay: 0.08s;
}

.fade-up.d2.in-view {
  animation-delay: 0.16s;
}

.fade-up.d3.in-view {
  animation-delay: 0.24s;
}

.fade-up.d4.in-view {
  animation-delay: 0.32s;
}


/* ================================================================
   RESPONSIVE — AVN Design System
   ================================================================ */
@media (max-width: 1024px) {
  .avn-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .avn-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   REDIZED PAGE: CONSULTORIA TASY (MODERN ASPECT)
   ============================================================ */

.dm-page-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 74px;
  color: white;
  padding: 80px 20px;
}

.dm-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.dm-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.dm-page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 50px);
  margin-bottom: 24px;
  color: white !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dm-page-hero p {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  color: white;
}

/* Alternating Content Sections */
.dm-content-section {
  padding: 80px 0;
  background: white;
}

.dm-bg-light {
  background: #f9fafb;
}

.dm-content-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.dm-content-row-reverse {
  flex-direction: row-reverse;
}

.dm-content-img {
  flex: 1;
}

.dm-content-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.dm-content-img img:hover {
  transform: translateY(-5px);
}

.dm-content-text {
  flex: 1;
}

.dm-content-text h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--brand-blue);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.dm-content-text h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--brand-red);
}

.dm-content-row-reverse .dm-content-text {
  text-align: right;
}

.dm-content-row-reverse .dm-content-text h1::after {
  left: auto;
  right: 0;
}

.dm-content-text p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* Clients Grid */
.dm-clients-section {
  padding: 60px 0;
  background: white;
  text-align: center;
  border-top: 1px solid #eee;
}

.dm-clients-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 40px;
  color: #333;
}

.dm-clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.dm-clients-grid img {
  max-width: 140px;
  max-height: 60px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.dm-clients-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Contact Section (Specific for Tasy) */
.dm-tasy-contact {
  padding: 80px 0;
  background: #282d3b;
  color: white;
}

.dm-tasy-contact-title {
  font-family: var(--font-heading);
  font-size: 30px;
  margin-bottom: 40px;
  text-align: center;
  color: white;
}

.dm-tasy-contact-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.dm-tasy-contact-form .dm-form-group label {
  color: white;
  margin-bottom: 8px;
  display: block;
}

.dm-tasy-contact-form input,
.dm-tasy-contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 4px;
}

.dm-tasy-contact-form input:focus,
.dm-tasy-contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.dm-tasy-sidebar {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--brand-red);
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
}

@media (max-width: 768px) {
  /* --- Mobile Navigation Fixes --- */
  .dmLinksMenu {
    background: rgba(13, 21, 37, 1); /* Fully opaque dark background for mobile menu */
    position: fixed;
    top: 74px; /* Align below header */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 40px 20px;
    display: none; /* Controlled via JS */
  }

  .dmLinksMenu.open {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .dmLinksMenu.open .unifiednav__container {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 24px;
    padding-top: 20px;
  }

  .unifiednav__container {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }

  .unifiednav__item {
    font-size: 22px;
    text-align: center;
  }

  /* --- Hero Readability --- */
  .dm-hero-title, 
  .dm-page-hero h1,
  .dm-hero h1 {
    font-size: clamp(32px, 8vw, 42px) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    padding: 0 10px;
  }

  .dm-hero-subtitle,
  .dm-page-hero p {
    font-size: 16px !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    padding: 0 15px;
  }

  .dm-hero-box {
    padding: 30px 15px !important;
    border-width: 4px !important;
  }

  /* --- Form Improvements --- */
  .dm-form-row-3 {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .dm-form-group {
    margin-bottom: 20px;
  }

  .dm-contact-form-wrap {
    padding: 30px 20px !important;
  }

  /* --- Section Spacing --- */
  .dm-content-section, 
  .dm-gallery,
  .dm-sobrenos-section {
    padding: 60px 20px !important;
  }

  .dm-container {
    padding: 0 20px !important;
  }

  /* --- Tasy Page Specifics --- */
  .dm-content-row, 
  .dm-content-row-reverse {
    flex-direction: column !important;
    text-align: center !important;
    gap: 30px !important;
  }

  .dm-content-text h1::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .dm-clients-grid {
    gap: 20px !important;
  }
}