/*
Theme Name: 4D Hair Studio
Theme URI: https://4dhairstudio.pt
Author: 4D Hair Studio
Description: Tema WordPress à medida para o 4D Hair Studio — cabelo, barba e identidade visual com técnica.
Version: 1.0
Requires PHP: 7.4
Text Domain: 4dhairstudio
*/

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root{
  --color-bg: #0b0b0b;
  --color-bg-alt: #141414;
  --color-panel: #171717;
  --color-line: rgba(255,255,255,0.08);
  --color-accent: #3f7a59;
  --color-accent-dark: #2f6045;
  --color-white: #ffffff;
  --color-muted: #a8a5a1;
  --color-muted-2: #7d7a77;

  --font-display: 'Onest', 'Poppins', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Caveat', cursive;

  --container: 1320px;
  --gap-hairline: 2px;
}

/* =====================================================
   RESET / BASE
   ===================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.08; }
h1{ font-weight:400; line-height:1.05; }
p{ margin:0; }
button{ font-family: var(--font-body); cursor:pointer; }

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

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(11,11,11,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height: 74px;
  padding: 8px 48px;
  max-width: var(--container);
  margin:0 auto;
}
.site-logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  font-family: var(--font-display);
  font-weight:800;
  font-size:20px;
  letter-spacing:0.5px;
}
.site-logo .custom-logo-link,
.site-logo > a{
  display:flex;
  align-items:center;
  gap:8px;
}
.site-logo .custom-logo{
  display:block;
  width:auto;
  height:54px;
  max-height:54px;
  opacity:1;
  filter:none;
  box-shadow:none;
  mix-blend-mode:normal;
}
.site-logo span.mark{ color:var(--color-accent); font-size:24px; }
.site-logo small{
  display:block;
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
  color:var(--color-muted);
}

.primary-menu{ display:flex; align-items:center; gap:24px; }
.primary-menu a{
  font-size:14px;
  font-weight:500;
  color: var(--color-muted);
  padding-bottom:6px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.primary-menu a:hover,
.primary-menu li.current-menu-item > a{
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  padding: 13px 26px;
  border-radius:4px;
  border:1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn--solid{ background: var(--color-accent); color:#fff; }
.btn--solid:hover{ background: var(--color-accent-dark); }
.btn--outline{
  background:transparent;
  border-color: rgba(255,255,255,0.25);
  color:#fff;
}
.btn--outline:hover{ border-color:#fff; }
.btn--ghost{
  border-color: var(--color-accent);
  color: var(--color-accent);
  padding: 10px 22px;
}
.btn--ghost:hover{ background: var(--color-accent); color:#fff; }

.nav-toggle{ display:none; }

/* =====================================================
   HERO
   ===================================================== */
.hero{
  display:grid;
  grid-template-columns: minmax(360px, 560px) 1fr;
  min-height: 640px;
}
.hero__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:22px;
  padding: 64px 64px 64px 48px;
}
.hero__content h1{
  font-size: clamp(40px, 5vw, 58px);
  font-weight:800;
}
.hero__content h1 .accent{ color: var(--color-accent); }
.hero__rule{
  width:56px;
  height:3px;
  background: var(--color-accent);
  margin: 4px 0;
}
.hero__tagline{
  font-size: 19px;
  color:#d8d5d2;
  max-width: 420px;
}
.hero__tagline .accent{ color: var(--color-accent); font-weight:600; }
.hero__note{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  color: var(--color-muted);
  max-width: 340px;
}
.hero__note svg{ flex-shrink:0; margin-top:2px; color: var(--color-accent); }
.hero__ctas{ display:flex; gap:14px; margin-top:8px; flex-wrap:wrap; }
.hero__meta{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin-top:18px;
  padding-top:18px;
}
.hero__meta span{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color: var(--color-muted);
}
.hero__meta svg{ color: var(--color-accent); }

.hero__media{
  position:relative;
  background: var(--color-panel);
  overflow:hidden;
}
.image-placeholder{
  width:100%;
  height:100%;
  min-height: 320px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #1c1c1c 0%, #0f0f0f 100%);
  color: var(--color-muted-2);
  text-align:center;
  padding: 24px;
  position:relative;
}
.image-placeholder::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 30% 20%, rgba(21,150,82,0.12), transparent 60%);
}
.image-placeholder .ph-label{
  position:relative;
  font-family: var(--font-body);
  font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  border:1px dashed rgba(255,255,255,0.2);
  padding:10px 16px;
  border-radius:4px;
}
.image-placeholder img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--gap-hairline) solid var(--color-bg);
}
.service-panel{
  min-height: 480px;
  padding: 56px 40px;
  background: var(--color-bg-alt);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  border: 1px solid var(--color-line);
}
.service-panel .eyebrow{
  font-family: var(--font-display);
  font-weight:700;
  color: var(--color-accent);
  font-size:14px;
  letter-spacing:1px;
}
.service-panel h3{
  font-size: 28px;
  font-weight:700;
}
.service-panel .rule{
  width:36px; height:3px;
  background: var(--color-accent);
  margin: 2px 0 6px;
}
.service-panel p{
  color: var(--color-muted);
  font-size:15px;
  max-width: 260px;
}
.service-media{ min-height:480px; }

/* =====================================================
   ABOUT
   ===================================================== */
.about{
  display:grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.about__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  padding: 64px 64px 64px 48px;
}
.about__content .eyebrow{
  color: var(--color-accent);
  font-weight:700;
  font-size:13px;
  letter-spacing:2px;
  text-transform:uppercase;
}
.about__content h2{
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight:800;
}
.about__content .rule{
  width:48px; height:3px;
  background: var(--color-accent);
  margin:4px 0;
}
.about__content p{
  color:#cfccc9;
  max-width: 480px;
  font-size:15.5px;
}
.about__signature{
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.about__signature .script{
  font-family: var(--font-script);
  font-size: 34px;
  color:#fff;
}
.about__signature .role{
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  color: var(--color-accent);
  font-weight:700;
}

/* =====================================================
   INFO STRIP
   ===================================================== */
.info-strip{
  border-top:1px solid var(--color-line);
  border-bottom:1px solid var(--color-line);
}
.info-strip__inner{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
}
.info-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding: 28px 32px;
  border-right: 1px solid var(--color-line);
}
.info-item:last-child{ border-right:none; }
.info-item svg{ color: var(--color-accent); flex-shrink:0; }
.info-item span{ font-size:13.5px; color:#d8d5d2; line-height:1.35; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer{
  padding: 22px 0;
}
.site-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.site-footer .site-logo{ font-size:16px; }
.site-footer .copy{ font-size:12.5px; color: var(--color-muted-2); }
.social-links{ display:flex; gap:14px; }
.social-links a{
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, border-color .2s ease;
}
.social-links a:hover{ background: var(--color-accent); border-color: var(--color-accent); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px){
  .services{ grid-template-columns: repeat(2, 1fr); }
  .service-media{ min-height: 320px; }
  .info-strip__inner{ grid-template-columns: repeat(2, 1fr); }
  .info-item:nth-child(2){ border-right:none; }
}

@media (max-width: 880px){
  .hero{ grid-template-columns: 1fr; }
  .hero__media{ min-height: 340px; order:-1; }
  .about{ grid-template-columns: 1fr; }
  .about__media{ min-height:320px; }
  .primary-menu{ display:none; }
  .nav-toggle{
    display:inline-flex;
    align-items:center; justify-content:center;
    width:40px; height:40px;
    background:transparent;
    border:1px solid rgba(255,255,255,0.25);
    border-radius:4px;
    color:#fff;
  }
  .site-header__inner .btn--ghost{ display:none; }
  .primary-menu.is-open{
    display:flex;
    flex-direction:column;
    gap:0;
    position:absolute;
    top: 100%;
    left:0; right:0;
    background: var(--color-bg);
    border-bottom:1px solid var(--color-line);
    padding: 8px 48px 20px;
  }
  .primary-menu.is-open a{
    padding: 14px 0;
    border-bottom:1px solid var(--color-line);
    width:100%;
  }
}

@media (max-width: 640px){
  .container{ padding:0 24px; }
  .site-header__inner{ min-height:64px; padding:6px 24px; }
  .site-logo .custom-logo{ height:46px; max-height:46px; }
  .hero__content{ padding: 40px 24px; }
  .services{ grid-template-columns: 1fr; }
  .service-panel, .service-media{ min-height:320px; }
  .about__content{ padding: 40px 24px; }
  .info-item{ border-right:none; border-bottom:1px solid var(--color-line); padding:22px 24px; }
  .info-strip__inner{ grid-template-columns: 1fr; }
  .site-footer__inner{ justify-content:center; text-align:center; }
}

/* =====================================================
   PAGE HERO (simple pages: Serviços / Galeria / Contacto)
   ===================================================== */
.page-hero{
  padding: 76px 48px 48px;
  border-bottom: 1px solid var(--color-line);
}
.page-hero .eyebrow{
  color: var(--color-accent);
  font-weight:700;
  font-size:13px;
  letter-spacing:2px;
  text-transform:uppercase;
}
.page-hero h1{
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight:800;
  margin-top:10px;
}
.page-hero .rule{ width:48px; height:3px; background:var(--color-accent); margin:14px 0; }
.page-hero p{ color:#c9c6c3; max-width:560px; font-size:16px; }

/* =====================================================
   SERVIÇOS / PREÇOS
   ===================================================== */
.pricing{ padding: 20px 48px 90px; }
.pricing-group{
  border-top:1px solid var(--color-line);
  padding: 44px 0;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.pricing-group:last-child{ border-bottom:1px solid var(--color-line); }
.pricing-group__head .eyebrow{
  color: var(--color-accent); font-weight:700; font-size:13px; letter-spacing:1px;
}
.pricing-group__head h2{ font-size:26px; font-weight:700; margin-top:6px; }
.pricing-group__head p{ color:var(--color-muted); font-size:14px; margin-top:10px; max-width:240px; }

.price-list{ display:flex; flex-direction:column; }
.price-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:24px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--color-line);
}
.price-row:last-child{ border-bottom:none; }
.price-row__name{ font-weight:600; font-size:15.5px; }
.price-row__desc{ color:var(--color-muted); font-size:13.5px; margin-top:4px; max-width:420px; }
.price-row__value{
  font-family: var(--font-display);
  font-weight:700;
  color: var(--color-accent);
  font-size:16px;
  white-space:nowrap;
}
.pricing-note{
  margin-top:36px;
  font-size:13px;
  color: var(--color-muted-2);
  font-style:italic;
}

/* =====================================================
   GALERIA
   ===================================================== */
.gallery-grid{
  padding: 20px 48px 90px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-grid figure{
  margin:0;
  aspect-ratio: 4 / 5;
  overflow:hidden;
  background: var(--color-panel);
}
.gallery-grid img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .4s ease;
}
.gallery-grid a:hover img{ transform: scale(1.05); }
.gallery-empty{
  grid-column: 1 / -1;
  padding: 60px 40px;
  text-align:center;
  color: var(--color-muted);
  border: 1px dashed var(--color-line);
}

/* =====================================================
   CONTACTO
   ===================================================== */
.contact-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 0;
}
.contact-info{ padding: 20px 48px 90px; display:flex; flex-direction:column; gap:28px; }
.contact-info__item{ display:flex; gap:16px; }
.contact-info__item svg{ color:var(--color-accent); flex-shrink:0; margin-top:2px; }
.contact-info__item h4{ font-size:15px; font-weight:700; margin-bottom:4px; }
.contact-info__item p, .contact-info__item a{ color:var(--color-muted); font-size:14.5px; }
.contact-info__item a:hover{ color:#fff; }

.contact-form{ padding: 20px 48px 90px; }
.form-row{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.form-row label{ font-size:13px; font-weight:600; letter-spacing:0.5px; text-transform:uppercase; color:var(--color-muted); }
.form-row input, .form-row textarea{
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius:4px;
  padding: 13px 16px;
  color:#fff;
  font-family: var(--font-body);
  font-size:14.5px;
}
.form-row input:focus, .form-row textarea:focus{
  outline:none; border-color: var(--color-accent);
}
.form-row textarea{ resize:vertical; min-height:130px; }
.form-notice{
  padding: 14px 18px;
  border-radius:4px;
  font-size:14px;
  margin-bottom:24px;
}
.form-notice--success{ background: rgba(70,180,100,0.12); border:1px solid rgba(70,180,100,0.4); color:#8fdba8; }
.form-notice--error{ background: rgba(230,67,42,0.12); border:1px solid rgba(230,67,42,0.4); color:#f2a394; }

@media (max-width: 880px){
  .pricing-group{ grid-template-columns: 1fr; gap:16px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-layout{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .page-hero{ padding: 56px 24px 32px; }
  .pricing, .gallery-grid, .contact-info, .contact-form{ padding-left:24px; padding-right:24px; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; gap:3px; }
}

/* =====================================================
   LIGHTBOX (galeria)
   ===================================================== */
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  display:flex; align-items:center; justify-content:center;
  padding: 40px;
}
.lightbox img{ max-width:100%; max-height:100%; object-fit:contain; }
.lightbox__close{
  position:absolute; top:24px; right:32px;
  background:transparent; border:1px solid rgba(255,255,255,0.3);
  color:#fff; width:44px; height:44px; border-radius:50%;
  font-size:24px; line-height:1;
}
.lightbox__close:hover{ background: var(--color-accent); border-color: var(--color-accent); }

/* =====================================================
   EQUIPA
   ===================================================== */
.team-grid{
  padding: 30px 48px 20px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-line);
}
.team-card{
  background: var(--color-bg-alt);
  display:grid;
  grid-template-columns: 220px 1fr;
}
.team-card__media{ min-height: 100%; background: var(--color-panel); }
.team-card__media .image-placeholder{ min-height: 280px; }
.team-card__body{
  padding: 32px 30px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.team-card__body h3{ font-size:24px; font-weight:800; }
.team-card__role{
  color: var(--color-accent);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}
.team-card__body p{
  color: var(--color-muted);
  font-size:14.5px;
  margin-top:8px;
}
.team-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.team-tags li{
  font-size:12px;
  font-weight:600;
  letter-spacing:0.5px;
  color:#d8d5d2;
  border:1px solid var(--color-line);
  border-radius:20px;
  padding:6px 14px;
}
.team-card__social{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  font-size:13px;
  font-weight:600;
  color:#fff;
  width:fit-content;
  border-bottom:1px solid transparent;
}
.team-card__social:hover{ border-color: var(--color-accent); color: var(--color-accent); }

.team-cta{
  margin: 40px 48px 90px;
  padding: 40px 44px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.team-cta h2{ font-size:24px; font-weight:800; }
.team-cta p{ color: var(--color-muted); margin-top:6px; font-size:14.5px; }

@media (max-width: 880px){
  .team-grid{ grid-template-columns: 1fr; padding: 24px 24px 10px; }
  .team-card{ grid-template-columns: 1fr; }
  .team-card__media .image-placeholder{ min-height:240px; }
  .team-cta{ margin: 30px 24px 70px; padding: 30px 26px; justify-content:flex-start; }
}

/* =====================================================
   AJUSTES 4D — HEADER, LOGÓTIPO E CONTRASTE
   ===================================================== */
.site-header{
  background: rgba(11,11,11,0.96);
}

.site-header__inner{
  min-height: 94px;
  padding: 11px 48px;
  gap: 26px;
}

.site-logo{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  line-height:0;
}

.site-logo > a{
  display:flex;
  align-items:center;
  justify-content:center;
}

.site-logo__image{
  display:block;
  width:72px;
  height:72px;
  object-fit:contain;
  opacity:1;
  filter:none;
  box-shadow:none;
}

.primary-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  flex:1 1 auto;
}

.primary-menu a{
  font-size:15px;
  font-weight:600;
  color:#d0cdc9;
}

.primary-menu a:hover,
.primary-menu li.current-menu-item > a{
  color:#ffffff;
  border-color:var(--color-accent);
}

.btn--ghost{
  font-size:13.5px;
  padding:11px 23px;
  border-width:1.5px;
}

.hero__note svg,
.hero__meta svg,
.info-item svg,
.contact-info__item svg{
  width:24px;
  height:24px;
}

.service-panel .eyebrow,
.about__content .eyebrow,
.about__signature .role,
.price-row__value,
.team-card__role{
  font-weight:800;
}

@media (max-width: 1100px){
  .site-header__inner{
    gap:18px;
  }

  .primary-menu{
    gap:18px;
  }

  .primary-menu a{
    font-size:14px;
  }
}

@media (max-width: 880px){
  .site-header__inner{
    min-height:82px;
    padding:8px 24px;
  }

  .site-logo__image{
    width:64px;
    height:64px;
  }

  .primary-menu.is-open{
    padding-top:12px;
  }
}

@media (max-width: 640px){
  .site-header__inner{
    min-height:78px;
    padding:7px 20px;
  }

  .site-logo__image{
    width:60px;
    height:60px;
  }

  .nav-toggle{
    width:42px;
    height:42px;
    border-color:var(--color-accent);
    color:var(--color-accent);
  }

  .nav-toggle svg{
    width:20px;
    height:16px;
  }
}

/* =====================================================
   REVISÃO 3 — HEADER E LOGÓTIPO MAIORES
   ===================================================== */
.site-header__inner{
  min-height: 128px;
  padding: 12px 48px;
}

.site-logo__image{
  width: 108px;
  height: 108px;
}

.primary-menu a{
  font-size: 15.5px;
}

.btn--ghost{
  font-size: 14px;
  padding: 12px 24px;
}

@media (max-width: 1100px){
  .site-header__inner{
    min-height: 116px;
    padding: 10px 32px;
  }

  .site-logo__image{
    width: 96px;
    height: 96px;
  }

  .primary-menu{
    gap: 15px;
  }

  .primary-menu a{
    font-size: 13.5px;
  }
}

@media (max-width: 880px){
  .site-header__inner{
    min-height: 104px;
    padding: 9px 24px;
  }

  .site-logo__image{
    width: 86px;
    height: 86px;
  }
}

@media (max-width: 640px){
  .site-header__inner{
    min-height: 96px;
    padding: 8px 20px;
  }

  .site-logo__image{
    width: 78px;
    height: 78px;
  }
}



/* =====================================================
   CONTACTOS — REVISÃO DE CONTEÚDO E MAPA
   ===================================================== */
.page-hero--contact p{
  max-width: 760px;
}

.contact-layout--enhanced{
  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  padding: 26px 48px 24px;
}

.contact-intro-card,
.contact-form--panel,
.contact-card,
.contact-map-section__content,
.contact-map-embed{
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.contact-intro-card{
  padding: 34px 32px;
}

.contact-intro-card .eyebrow,
.contact-form__intro .eyebrow,
.contact-map-section__content .eyebrow{
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-intro-card h2,
.contact-form__intro h2,
.contact-map-section__content h2{
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  margin-top: 10px;
}

.contact-intro-card p,
.contact-form__intro p,
.contact-map-section__content p{
  margin-top: 12px;
  color: #cfccc9;
  font-size: 15px;
  max-width: 620px;
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top: 24px;
}

.contact-cards-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.contact-card{
  display:flex;
  gap:16px;
  padding: 24px 22px;
}

.contact-card__icon{
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-card__body h4{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card__body p,
.contact-card__body p a{
  color: #fff;
  font-size: 14.5px;
  line-height: 1.45;
}

.contact-card__body small{
  display:block;
  margin-top: 8px;
  color: var(--color-muted);
  line-height: 1.45;
}

.contact-social-bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top: 20px;
  padding: 0 4px;
  color: var(--color-muted);
  font-size: 14px;
}

.contact-social-bar a{
  color:#fff;
  border-bottom:1px solid transparent;
}

.contact-social-bar a:hover{
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact-form--panel{
  padding: 34px 32px;
}

.contact-form__intro{
  margin-bottom: 24px;
}

.contact-map-section{
  display:grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 18px 48px 90px;
}

.contact-map-section__content{
  padding: 34px 32px;
}

.contact-map-section__content .rule{
  width:48px;
  height:3px;
  background: var(--color-accent);
  margin: 16px 0 0;
}

.contact-map-highlights{
  margin-top: 22px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.contact-map-highlights li{
  position:relative;
  padding-left: 18px;
  color:#d8d5d2;
  font-size:14.5px;
}

.contact-map-highlights li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:6px;
  height:6px;
  border-radius:50%;
  background: var(--color-accent);
}

.contact-map-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top: 24px;
}

.contact-map-embed{
  overflow:hidden;
  min-height: 460px;
}

.contact-map-embed iframe{
  width:100%;
  height:100%;
  min-height: 460px;
  border:0;
  display:block;
  filter: grayscale(0.2) contrast(1.05);
}

@media (max-width: 1000px){
  .contact-layout--enhanced,
  .contact-map-section{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px){
  .contact-layout--enhanced,
  .contact-map-section{
    padding-left:24px;
    padding-right:24px;
  }

  .contact-cards-grid{
    grid-template-columns: 1fr;
  }

  .contact-intro-card,
  .contact-form--panel,
  .contact-map-section__content{
    padding: 28px 24px;
  }

  .contact-map-embed,
  .contact-map-embed iframe{
    min-height: 340px;
  }
}


/* =====================================================
   CONTACTOS BILINGUES / DIRETÓRIO DE EMAIL / IDIOMA
   ===================================================== */
.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
}

.language-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:54px;
  height:42px;
  padding:0 11px;
  color:var(--color-accent);
  border:1px solid rgba(63,122,89,.72);
  border-radius:4px;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.language-switch:hover{
  color:#fff;
  background:var(--color-accent);
  border-color:var(--color-accent);
}

.contact-email-directory{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}
.contact-email-row{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:22px;
  background:var(--color-panel);
  border:1px solid var(--color-line);
  border-radius:8px;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}
.contact-email-row:hover{
  transform:translateY(-2px);
  border-color:var(--color-accent);
  background:#1b1b1b;
}
.contact-email-row__label{
  color:var(--color-accent);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}
.contact-email-row strong{
  margin-top:8px;
  color:#fff;
  font-size:15px;
  overflow-wrap:anywhere;
}
.contact-email-row small{
  margin-top:8px;
  color:var(--color-muted);
  line-height:1.45;
}
.form-row select{
  width:100%;
  background:var(--color-panel);
  border:1px solid var(--color-line);
  border-radius:4px;
  padding:13px 16px;
  color:#fff;
  font-family:var(--font-body);
  font-size:14.5px;
}
.form-row select:focus{
  outline:none;
  border-color:var(--color-accent);
}

@media (max-width:1100px){
  .header-actions{ gap:9px; }
  .language-switch{ min-width:48px; padding:0 9px; }
}
@media (max-width:880px){
  .header-actions{ margin-left:auto; }
  .language-switch{ order:1; }
  .nav-toggle{ order:2; }
  .header-actions .btn--ghost{ display:none; }
}
@media (max-width:700px){
  .contact-email-directory{ grid-template-columns:1fr; }
  .language-switch span{ display:none; }
  .language-switch{ min-width:42px; width:42px; padding:0; }
}


/* =====================================================
   POLYLANG — MENU E SELETOR DE IDIOMAS
   ===================================================== */
.site-navigation{
  flex:1 1 auto;
  min-width:0;
}

.language-switcher{
  position:relative;
  flex:0 0 auto;
}

.language-switcher summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:68px;
  height:42px;
  padding:0 11px;
  color:var(--color-accent);
  border:1px solid rgba(63,122,89,.72);
  border-radius:4px;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  cursor:pointer;
  user-select:none;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}

.language-switcher summary::-webkit-details-marker{
  display:none;
}

.language-switcher summary:hover,
.language-switcher[open] summary{
  color:#fff;
  background:var(--color-accent);
  border-color:var(--color-accent);
}

.language-switcher__chevron{
  transition:transform .2s ease;
}

.language-switcher[open] .language-switcher__chevron{
  transform:rotate(180deg);
}

.language-switcher__menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:100;
  min-width:180px;
  padding:7px;
  background:#111;
  border:1px solid var(--color-line);
  border-radius:6px;
  box-shadow:0 14px 35px rgba(0,0,0,.42);
}

.language-switcher__menu::before{
  content:"";
  position:absolute;
  top:-10px;
  left:0;
  right:0;
  height:10px;
}

.language-switcher__menu li + li{
  margin-top:3px;
}

.language-switcher__menu a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border-radius:4px;
  color:#d8d5d2;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}

.language-switcher__menu a:hover{
  color:#fff;
  background:rgba(63,122,89,.18);
}

.language-switcher__menu .is-current a{
  color:var(--color-accent);
  background:rgba(63,122,89,.12);
}

.language-switcher__flag,
.language-switcher__flag img{
  display:block;
  width:20px;
  height:auto;
}

@media (max-width:1100px){
  .language-switcher summary{
    min-width:62px;
    padding:0 9px;
  }
}

@media (max-width:880px){
  .language-switcher{
    order:1;
  }

  .nav-toggle{
    order:2;
  }
}

@media (max-width:640px){
  .language-switcher summary{
    min-width:42px;
    width:42px;
    padding:0;
  }

  .language-switcher summary > span,
  .language-switcher__chevron{
    display:none;
  }

  .language-switcher__menu{
    right:-48px;
  }
}


/* =====================================================
   POLYLANG — BANDEIRA NO BOTÃO DO SELETOR
   ===================================================== */
.language-switcher__current-flag,
.language-switcher__current-flag img{
  display:block;
  width:20px;
  height:auto;
  border-radius:2px;
}

@media (max-width:640px){
  .language-switcher__current-flag,
  .language-switcher__current-flag img{
    width:22px;
  }

  .language-switcher summary{
    gap:0;
  }
}


/* =====================================================
   REDES SOCIAIS — HEADER E CORREÇÃO DO FOOTER
   ===================================================== */
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}

.header-socials{
  display:flex;
  align-items:center;
  gap:7px;
}

.header-socials a,
.social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  color:#d8d5d2;
  font-size:0;
  line-height:0;
  transition:color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.header-socials a:hover,
.social-links a:hover{
  color:#fff;
  background:var(--color-accent);
  border-color:var(--color-accent);
  transform:translateY(-1px);
}

.header-socials svg,
.social-links svg{
  display:block;
  width:17px;
  height:17px;
  flex:0 0 auto;
}

.social-links{
  display:flex;
  align-items:center;
  gap:10px;
}

@media (max-width:1250px){
  .header-socials{
    display:none;
  }
}

@media (max-width:880px){
  .header-actions{
    margin-left:auto;
  }
}


/* =====================================================
   FASE 3 — MENUS TRADUZIDOS E CTA INSTAGRAM
   ===================================================== */
.header-socials__icon{
  width:36px;
  height:36px;
}

.header-socials__icon svg,
.instagram-follow svg,
.social-links svg{
  width:18px;
  height:18px;
  display:block;
}

.instagram-follow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:38px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.3px;
  white-space:nowrap;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.instagram-follow:hover{
  background:var(--color-accent);
  border-color:var(--color-accent);
  transform:translateY(-1px);
}

@media (max-width:1360px){
  .instagram-follow span{
    display:none;
  }

  .instagram-follow{
    width:36px;
    padding:0;
    justify-content:center;
  }
}

@media (max-width:1180px){
  .header-socials{
    display:none;
  }
}


/* =====================================================
   FASE 4 — CORES ORIGINAIS DAS REDES E INSTAGRAM VISÍVEL
   ===================================================== */

/* Facebook */
.header-socials__icon--facebook,
.social-link--facebook{
  color:#ffffff !important;
  background:#1877F2 !important;
  border-color:#1877F2 !important;
}

/* WhatsApp */
.header-socials__icon--whatsapp,
.social-link--whatsapp{
  color:#ffffff !important;
  background:#25D366 !important;
  border-color:#25D366 !important;
}

/* Instagram */
.instagram-follow--persistent,
.social-link--instagram{
  color:#ffffff !important;
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fdf497 5% 10%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color:rgba(255,255,255,.18) !important;
}

.header-socials__icon--facebook:hover,
.header-socials__icon--whatsapp:hover,
.social-link--facebook:hover,
.social-link--whatsapp:hover,
.social-link--instagram:hover,
.instagram-follow--persistent:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
}

.instagram-follow--persistent{
  display:inline-flex;
  flex:0 0 auto;
  min-width:max-content;
}

/* O grupo Facebook/WhatsApp pode desaparecer; o CTA Instagram mantém-se. */
@media (max-width:1180px){
  .header-socials{
    display:none;
  }

  .instagram-follow--persistent{
    display:inline-flex;
  }
}

/* Em tablet fica o ícone e desaparece apenas o texto. */
@media (max-width:1050px){
  .instagram-follow--persistent{
    width:40px;
    min-width:40px;
    padding:0;
    justify-content:center;
  }

  .instagram-follow--persistent span{
    display:none;
  }
}

/* Em telemóvel retiramos o CTA para libertar espaço para idioma e menu. */
@media (max-width:640px){
  .instagram-follow--persistent{
    display:none;
  }
}


/* =====================================================
   FASE 5 — BOTÃO WAZE
   ===================================================== */
.btn--waze{
  color:#0b0b0b;
  background:#33CCFF;
  border-color:#33CCFF;
}

.btn--waze::before{
  content:"";
  width:18px;
  height:18px;
  flex:0 0 auto;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b0b0b' d='M20.5 11.2c0-4.8-3.8-8.7-8.5-8.7S3.5 6.4 3.5 11.2c0 1.1.2 2.2.6 3.2L2 17.5l3.8-.6A8.4 8.4 0 0 0 12 19.5c4.7 0 8.5-3.6 8.5-8.3ZM8.3 9.1a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Zm7.4 0a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Zm-7 5.1c.9.8 2 1.2 3.3 1.2s2.5-.4 3.4-1.2l1 1.1c-1.2 1-2.7 1.6-4.4 1.6-1.7 0-3.2-.6-4.3-1.6l1-1.1Z'/%3E%3Ccircle cx='7' cy='20' r='1.5' fill='%230b0b0b'/%3E%3Ccircle cx='17' cy='20' r='1.5' fill='%230b0b0b'/%3E%3C/svg%3E");
}

.btn--waze:hover{
  color:#0b0b0b;
  background:#5bd7ff;
  border-color:#5bd7ff;
}

@media (max-width:640px){
  .contact-map-actions .btn{
    width:100%;
  }
}


/* =====================================================
   SERVIÇOS 4D — FASE 1
   ===================================================== */
.fdhs-shell{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

.fdhs-services-page{
  color:#f4f1ed;
  background:#060606;
}

.fdhs-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border:1px solid rgba(63,122,89,.6);
  border-radius:999px;
  color:var(--color-accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.fdhs-pill--subtle{
  background:rgba(63,122,89,.08);
}

.fdhs-section-heading{
  max-width:760px;
  margin:0 auto 36px;
  text-align:center;
}

.fdhs-section-heading--narrow{
  max-width:680px;
}

.fdhs-section-heading h2{
  margin:18px 0 14px;
  font-size:clamp(34px,4vw,54px);
  line-height:1.08;
}

.fdhs-section-heading p{
  margin:0;
  color:#c8c4c0;
  font-size:17px;
  line-height:1.75;
}

.fdhs-services-hero{
  position:relative;
  overflow:hidden;
  padding:78px 0 58px;
  background:radial-gradient(circle at top right, rgba(63,122,89,.22), transparent 30%), linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
}

.fdhs-services-hero__inner{
  display:grid;
  grid-template-columns:minmax(0, 1.25fr) minmax(280px, .75fr);
  gap:30px;
  align-items:center;
}

.fdhs-services-hero h1{
  margin:20px 0 18px;
  font-size:clamp(40px,5vw,68px);
  line-height:1.02;
}

.fdhs-services-hero p{
  max-width:700px;
  margin:0;
  color:#c9c6c3;
  font-size:18px;
  line-height:1.8;
}

.fdhs-services-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn--outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:4px;
  color:#fff;
  font-weight:700;
}

.btn--outline:hover{
  border-color:var(--color-accent);
  background:rgba(63,122,89,.14);
}

.fdhs-services-hero__visual{
  display:grid;
  gap:16px;
}

.fdhs-services-stat{
  padding:30px 28px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}

.fdhs-services-stat strong{
  display:block;
  margin-bottom:8px;
  font-size:56px;
  line-height:1;
}

.fdhs-services-stat span{
  color:#c8c4c0;
  font-size:15px;
  letter-spacing:.3px;
}

.fdhs-services-overview,
.fdhs-service-signature,
.fdhs-service-details{
  padding:72px 0;
}

.fdhs-service-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.fdhs-service-card{
  overflow:hidden;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}

.fdhs-service-card__media{
  aspect-ratio:4/3;
  overflow:hidden;
}

.fdhs-service-card__media img,
.fdhs-service-detail__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.fdhs-service-card__body{
  padding:22px 22px 24px;
}

.fdhs-service-card__eyebrow{
  display:inline-block;
  margin-bottom:10px;
  color:var(--color-accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.fdhs-service-card h3{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.16;
}

.fdhs-service-card p{
  margin:0;
  color:#c8c4c0;
  line-height:1.75;
}

.fdhs-service-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

.fdhs-service-card__meta span{
  font-weight:700;
}

.fdhs-service-card__meta a{
  color:var(--color-accent);
  font-weight:700;
}

.fdhs-signature-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}

.fdhs-signature-card{
  padding:24px 22px;
  background:#0e0e0e;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
}

.fdhs-signature-card h3{
  margin:0 0 12px;
  font-size:22px;
}

.fdhs-signature-card p{
  margin:0;
  color:#c9c4bf;
  line-height:1.75;
}

.fdhs-service-detail{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  gap:34px;
  align-items:center;
  margin-bottom:54px;
}

.fdhs-service-detail.is-reverse{
  grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
}

.fdhs-service-detail.is-reverse .fdhs-service-detail__media{
  order:2;
}

.fdhs-service-detail.is-reverse .fdhs-service-detail__content{
  order:1;
}

.fdhs-service-detail__media{
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
}

.fdhs-service-detail__content h2{
  margin:0 0 14px;
  font-size:clamp(30px,3vw,48px);
  line-height:1.08;
}

.fdhs-service-detail__content p{
  margin:0 0 18px;
  color:#ccc7c2;
  line-height:1.82;
  font-size:17px;
}

.fdhs-service-detail__box{
  padding:24px 24px 22px;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
}

.fdhs-service-detail__box strong{
  display:block;
  margin-bottom:14px;
  font-size:18px;
}

.fdhs-service-detail__box ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.fdhs-service-detail__box li{
  position:relative;
  padding-left:18px;
  color:#d4cfc9;
  line-height:1.6;
}

.fdhs-service-detail__box li::before{
  content:'';
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--color-accent);
  transform:translateY(-50%);
}

.fdhs-services-cta{
  padding:0 0 84px;
}

.fdhs-services-cta__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:34px 34px;
  background:linear-gradient(180deg, rgba(63,122,89,.18), rgba(63,122,89,.08));
  border:1px solid rgba(63,122,89,.45);
  border-radius:24px;
}

.fdhs-services-cta h2{
  margin:0 0 8px;
  font-size:36px;
}

.fdhs-services-cta p{
  max-width:760px;
  margin:0;
  color:#dbd7d2;
  line-height:1.7;
}

@media (max-width:1080px){
  .fdhs-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fdhs-signature-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fdhs-service-detail,
  .fdhs-service-detail.is-reverse{grid-template-columns:1fr;}
  .fdhs-service-detail.is-reverse .fdhs-service-detail__media,
  .fdhs-service-detail.is-reverse .fdhs-service-detail__content{order:initial;}
}

@media (max-width:860px){
  .fdhs-services-hero__inner,
  .fdhs-services-cta__inner{grid-template-columns:1fr; display:grid;}
  .fdhs-services-cta__inner{padding:28px 24px;}
}

@media (max-width:720px){
  .fdhs-service-grid,
  .fdhs-signature-grid{grid-template-columns:1fr;}
  .fdhs-shell{width:min(100% - 28px, 1180px);}
  .fdhs-services-hero{padding:58px 0 44px;}
  .fdhs-services-overview,
  .fdhs-service-signature,
  .fdhs-service-details{padding:54px 0;}
  .fdhs-service-card__meta{flex-direction:column; align-items:flex-start;}
  .fdhs-services-cta h2{font-size:30px;}
}


/* =====================================================
   SERVIÇOS 4D — CORREÇÃO DE CONTRASTE
   Força cores claras contra estilos globais/Elementor
   ===================================================== */
.fdhs-services-page,
.fdhs-services-page main,
.fdhs-services-page section,
.fdhs-services-page article,
.fdhs-services-page div{
  color:#f4f1ed;
}

.fdhs-services-page h1,
.fdhs-services-page h2,
.fdhs-services-page h3,
.fdhs-services-page h4,
.fdhs-services-page h5,
.fdhs-services-page h6,
.fdhs-services-page strong{
  color:#ffffff !important;
}

.fdhs-services-page p,
.fdhs-services-page li,
.fdhs-services-page span:not(.fdhs-pill):not(.fdhs-service-card__eyebrow),
.fdhs-services-page .fdhs-services-stat span{
  color:#ddd8d3 !important;
}

.fdhs-services-page .fdhs-service-card,
.fdhs-services-page .fdhs-signature-card,
.fdhs-services-page .fdhs-service-detail__box,
.fdhs-services-page .fdhs-services-stat{
  background:#151515 !important;
  border-color:rgba(255,255,255,.14) !important;
}

.fdhs-services-page .fdhs-service-card p,
.fdhs-services-page .fdhs-signature-card p,
.fdhs-services-page .fdhs-service-detail__content p,
.fdhs-services-page .fdhs-services-hero p,
.fdhs-services-page .fdhs-section-heading p,
.fdhs-services-page .fdhs-services-cta p{
  color:#e0dbd6 !important;
}

.fdhs-services-page .fdhs-service-detail__box li{
  color:#f4f1ed !important;
}

.fdhs-services-page .fdhs-service-card__meta span{
  color:#ffffff !important;
}

.fdhs-services-page .fdhs-service-card__meta a,
.fdhs-services-page .fdhs-service-card__eyebrow,
.fdhs-services-page .fdhs-pill{
  color:#3f7a59 !important;
}

.fdhs-services-page a.btn,
.fdhs-services-page .btn--ghost,
.fdhs-services-page .btn--outline{
  color:#ffffff !important;
}

.fdhs-services-page .fdhs-services-hero{
  background:radial-gradient(circle at top right, rgba(63,122,89,.28), transparent 34%), linear-gradient(180deg,#101010 0%,#080808 100%) !important;
}

.fdhs-services-page .fdhs-services-cta__inner{
  background:linear-gradient(180deg, rgba(63,122,89,.26), rgba(63,122,89,.12)) !important;
}


/* =====================================================
   SERVIÇOS 4D — CORREÇÃO DO FOOTER
   Evita fundo claro com texto claro nesta página
   ===================================================== */
body.page-template-template-servicos-4d,
body.page-template-page-servicos,
body.page-template-page-services,
body.page-template-page-servicios{
  background:#060606 !important;
}

body.page-template-template-servicos-4d .info-strip,
body.page-template-page-servicos .info-strip,
body.page-template-page-services .info-strip,
body.page-template-page-servicios .info-strip{
  background:#0a0a0a !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
}

body.page-template-template-servicos-4d .info-item,
body.page-template-page-servicos .info-item,
body.page-template-page-services .info-item,
body.page-template-page-servicios .info-item{
  background:#0a0a0a !important;
  border-right-color:rgba(255,255,255,.10) !important;
}

body.page-template-template-servicos-4d .info-item span,
body.page-template-page-servicos .info-item span,
body.page-template-page-services .info-item span,
body.page-template-page-servicios .info-item span{
  color:#d8d3ce !important;
}

body.page-template-template-servicos-4d .info-item svg,
body.page-template-page-servicos .info-item svg,
body.page-template-page-services .info-item svg,
body.page-template-page-servicios .info-item svg{
  color:#3f7a59 !important;
}

body.page-template-template-servicos-4d .site-footer,
body.page-template-page-servicos .site-footer,
body.page-template-page-services .site-footer,
body.page-template-page-servicios .site-footer{
  background:#050505 !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  color:#f4f1ed !important;
}

body.page-template-template-servicos-4d .site-footer .site-logo,
body.page-template-page-servicos .site-footer .site-logo,
body.page-template-page-services .site-footer .site-logo,
body.page-template-page-servicios .site-footer .site-logo,
body.page-template-template-servicos-4d .site-footer .site-logo .mark,
body.page-template-page-servicos .site-footer .site-logo .mark,
body.page-template-page-services .site-footer .site-logo .mark,
body.page-template-page-servicios .site-footer .site-logo .mark{
  color:#ffffff !important;
}

body.page-template-template-servicos-4d .site-footer .site-logo small,
body.page-template-page-servicos .site-footer .site-logo small,
body.page-template-page-services .site-footer .site-logo small,
body.page-template-page-servicios .site-footer .site-logo small{
  color:#3f7a59 !important;
}

body.page-template-template-servicos-4d .site-footer .copy,
body.page-template-page-servicos .site-footer .copy,
body.page-template-page-services .site-footer .copy,
body.page-template-page-servicios .site-footer .copy{
  color:#bdb7b1 !important;
}

body.page-template-template-servicos-4d .site-footer .social-links a,
body.page-template-page-servicos .site-footer .social-links a,
body.page-template-page-services .site-footer .social-links a,
body.page-template-page-servicios .site-footer .social-links a{
  color:#ffffff !important;
  box-shadow:none !important;
}


/* =====================================================
   EQUIPA 4D — FASE 1
   ===================================================== */
.fdhs-team-page{
  color:#f4f1ed;
  background:#060606;
}

.fdhs-team-hero{
  padding:78px 0 56px;
  background:radial-gradient(circle at top left, rgba(63,122,89,.18), transparent 30%), linear-gradient(180deg,#0a0a0a 0%, #060606 100%);
}

.fdhs-team-hero__inner{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:30px;
  align-items:center;
}

.fdhs-team-hero h1{
  margin:20px 0 18px;
  font-size:clamp(40px,5vw,68px);
  line-height:1.03;
  color:#fff;
}

.fdhs-team-hero p,
.fdhs-team-intro p,
.fdhs-team-card__content p,
.fdhs-approach-card p,
.fdhs-team-cta p{
  color:#d6d2cd;
  line-height:1.82;
}

.fdhs-team-hero__actions,
.fdhs-team-cta__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.fdhs-team-hero__stats{
  display:grid;
  gap:16px;
}

.fdhs-team-stat{
  padding:30px 28px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}

.fdhs-team-stat strong{
  display:block;
  margin-bottom:8px;
  font-size:56px;
  line-height:1;
  color:#fff;
}

.fdhs-team-stat span{color:#c8c4c0;font-size:15px;}

.fdhs-team-intro,
.fdhs-team-profiles,
.fdhs-team-approach{
  padding:56px 0 72px;
}

.fdhs-team-cards{
  display:grid;
  gap:28px;
}

.fdhs-team-card{
  display:grid;
  grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);
  overflow:hidden;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}

.fdhs-team-card--alt{
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
}

.fdhs-team-card--alt .fdhs-team-card__media{order:2;}
.fdhs-team-card--alt .fdhs-team-card__content{order:1;}

.fdhs-team-card__media{
  min-height:420px;
  background:#121212;
}

.fdhs-team-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.fdhs-team-card__content{
  padding:34px 34px 36px;
}

.fdhs-team-card__content h2{
  margin:0 0 10px;
  font-size:clamp(34px,3vw,48px);
  line-height:1.08;
  color:#fff;
}

.fdhs-team-card__role{
  display:block;
  margin-bottom:18px;
  color:var(--color-accent);
  font-size:14px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.fdhs-team-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.fdhs-team-tags span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(63,122,89,.45);
  border-radius:999px;
  background:rgba(63,122,89,.08);
  color:#e7e3de;
  font-size:13px;
  font-weight:600;
}

.fdhs-approach-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.fdhs-approach-card{
  padding:24px 22px;
  background:#0e0e0e;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
}

.fdhs-approach-card h3{
  margin:0 0 12px;
  font-size:23px;
  color:#fff;
}

.fdhs-team-cta{padding:0 0 84px;}

.fdhs-team-cta__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:34px;
  background:linear-gradient(180deg, rgba(63,122,89,.18), rgba(63,122,89,.08));
  border:1px solid rgba(63,122,89,.45);
  border-radius:24px;
}

.fdhs-team-cta h2{margin:0 0 8px;font-size:36px;color:#fff;}

@media (max-width:1080px){
  .fdhs-approach-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:920px){
  .fdhs-team-hero__inner,
  .fdhs-team-card,
  .fdhs-team-card--alt,
  .fdhs-team-cta__inner{grid-template-columns:1fr;display:grid;}
  .fdhs-team-card--alt .fdhs-team-card__media,
  .fdhs-team-card--alt .fdhs-team-card__content{order:initial;}
}

@media (max-width:720px){
  .fdhs-team-hero{padding:58px 0 44px;}
  .fdhs-team-intro,
  .fdhs-team-profiles,
  .fdhs-team-approach{padding:44px 0 56px;}
  .fdhs-team-card__content{padding:28px 22px 28px;}
  .fdhs-approach-grid{grid-template-columns:1fr;}
  .fdhs-team-cta__inner{padding:28px 22px;}
  .fdhs-team-cta h2{font-size:30px;}
}


/* =====================================================
   PREÇOS 4D — FASE 1
   ===================================================== */
.fdhs-prices-page{
  color:#f4f1ed;
  background:#060606;
}

.fdhs-prices-hero{
  padding:78px 0 58px;
  background:radial-gradient(circle at top right, rgba(63,122,89,.20), transparent 32%), linear-gradient(180deg,#0a0a0a 0%,#060606 100%);
}

.fdhs-prices-hero__inner{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:34px;
  align-items:center;
}

.fdhs-prices-hero h1{
  margin:20px 0 18px;
  font-size:clamp(40px,5vw,68px);
  line-height:1.03;
  color:#fff;
}

.fdhs-prices-hero p,
.fdhs-prices-note p,
.fdhs-price-category__header p,
.fdhs-prices-cta p{
  color:#d5d1cc;
  line-height:1.8;
}

.fdhs-prices-hero .btn{margin-top:28px;}

.fdhs-prices-note{
  padding:28px;
  background:#0e0e0e;
  border:1px solid rgba(63,122,89,.42);
  border-radius:20px;
}

.fdhs-prices-note h2{
  margin:0 0 12px;
  color:#fff;
  font-size:28px;
}

.fdhs-prices-list{padding:70px 0;}

.fdhs-price-category{
  margin-bottom:52px;
}

.fdhs-price-category__header{
  display:grid;
  grid-template-columns:minmax(240px,.45fr) minmax(0,.55fr);
  gap:28px;
  align-items:end;
  margin-bottom:20px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.fdhs-price-category__header h2{
  margin:0;
  color:#fff;
  font-size:clamp(30px,3vw,46px);
}

.fdhs-price-category__header p{margin:0;}

.fdhs-price-table{
  display:grid;
  gap:10px;
}

.fdhs-price-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 130px 110px;
  gap:18px;
  align-items:center;
  padding:20px 22px;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.07);
  border-radius:16px;
}

.fdhs-price-row__service h3{
  margin:0 0 5px;
  color:#fff;
  font-size:20px;
}

.fdhs-price-row__service span{
  color:#aaa5a0;
  font-size:14px;
}

.fdhs-price-row__value{
  text-align:right;
}

.fdhs-price-row__value small{
  display:block;
  color:#aaa5a0;
  font-size:11px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.fdhs-price-row__value strong{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:24px;
}

.fdhs-price-row__book{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(63,122,89,.55);
  border-radius:999px;
  color:#dff0e5;
  font-size:13px;
  font-weight:800;
}

.fdhs-price-row__book:hover{
  background:var(--color-accent);
  border-color:var(--color-accent);
  color:#fff;
}

.fdhs-price-row__combo{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:2px;
}

.fdhs-price-row__was{
  color:#aaa5a0;
  font-size:13px;
  font-weight:600;
  text-decoration:line-through;
}

.fdhs-price-row__save{
  display:inline-block;
  padding:2px 9px;
  background:rgba(63,122,89,.18);
  border:1px solid rgba(63,122,89,.45);
  border-radius:999px;
  color:#8fd9ac;
  font-size:10px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  white-space:nowrap;
}

.fdhs-prices-jumpnav{
  padding:0 0 36px;
}

.fdhs-prices-jumpnav__inner{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:18px 22px;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.07);
  border-radius:16px;
}

.fdhs-prices-jumpnav__pill{
  display:inline-flex;
  align-items:center;
  padding:8px 16px;
  border:1px solid rgba(63,122,89,.45);
  border-radius:999px;
  color:#dff0e5;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}

.fdhs-prices-jumpnav__pill:hover{
  background:var(--color-accent);
  border-color:var(--color-accent);
  color:#fff;
}

.fdhs-price-category{
  scroll-margin-top:170px;
}

.fdhs-prices-cta{padding:0 0 84px;}

.fdhs-prices-cta__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:34px;
  background:linear-gradient(180deg, rgba(63,122,89,.18), rgba(63,122,89,.08));
  border:1px solid rgba(63,122,89,.45);
  border-radius:24px;
}

.fdhs-prices-cta h2{
  margin:0 0 8px;
  color:#fff;
  font-size:36px;
}

@media (max-width:900px){
  .fdhs-prices-hero__inner,
  .fdhs-price-category__header,
  .fdhs-prices-cta__inner{
    grid-template-columns:1fr;
    display:grid;
  }

  .fdhs-price-row{
    grid-template-columns:minmax(0,1fr) 110px;
  }

  .fdhs-price-row__book{
    grid-column:1 / -1;
    justify-self:start;
  }
}

@media (max-width:640px){
  .fdhs-prices-hero{padding:58px 0 44px;}
  .fdhs-prices-list{padding:54px 0;}
  .fdhs-price-row{grid-template-columns:1fr;gap:12px;}
  .fdhs-price-row__value{text-align:left;}
  .fdhs-price-row__book{grid-column:auto;}
  .fdhs-prices-cta__inner{padding:28px 22px;}
  .fdhs-prices-cta h2{font-size:30px;}
}


/* =====================================================
   PREÇOS 4D — CONTRASTE REFORÇADO
   ===================================================== */
.fdhs-prices-page,
.fdhs-prices-page section,
.fdhs-prices-page article,
.fdhs-prices-page div{
  color:#f4f1ed !important;
}

.fdhs-prices-page h1,
.fdhs-prices-page h2,
.fdhs-prices-page h3,
.fdhs-prices-page h4,
.fdhs-prices-page strong{
  color:#ffffff !important;
  opacity:1 !important;
}

.fdhs-prices-page p,
.fdhs-prices-page li,
.fdhs-prices-page span,
.fdhs-prices-page small{
  color:#f4f1ed !important;
  opacity:1 !important;
}

.fdhs-prices-page .fdhs-pill,
.fdhs-prices-page .fdhs-price-row__book{
  color:#f4f1ed !important;
}

.fdhs-prices-page .fdhs-price-row__service span,
.fdhs-prices-page .fdhs-price-row__value small{
  color:#c9c3bd !important;
}

.fdhs-prices-page .fdhs-price-row{
  background:#161616 !important;
  border-color:rgba(255,255,255,.14) !important;
}

.fdhs-prices-page .fdhs-prices-note{
  background:#151515 !important;
  border-color:rgba(63,122,89,.65) !important;
}

.fdhs-prices-page .fdhs-price-category__header{
  border-bottom-color:rgba(255,255,255,.22) !important;
}

.fdhs-prices-page .fdhs-prices-cta__inner{
  background:linear-gradient(180deg, rgba(63,122,89,.28), rgba(63,122,89,.13)) !important;
}


/* =====================================================
   GALERIA — BREVEMENTE
   ===================================================== */
.fdhs-gallery-soon-page{background:#060606;color:#fff;}
.fdhs-gallery-soon{
  position:relative;
  min-height:68vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:90px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(63,122,89,.22), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(126,86,120,.14), transparent 28%),
    linear-gradient(180deg,#090909 0%,#050505 100%);
}
.fdhs-gallery-soon__glow{
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,black,transparent 90%);
}
.fdhs-gallery-soon__inner{position:relative;z-index:1;max-width:850px;text-align:center;}
.fdhs-gallery-soon h1{
  margin:22px 0 18px;
  color:#fff !important;
  font-size:clamp(58px,9vw,118px);
  line-height:.94;
  letter-spacing:-3px;
}
.fdhs-gallery-soon p{
  max-width:720px;
  margin:0 auto;
  color:#dedad5 !important;
  font-size:18px;
  line-height:1.8;
}
.fdhs-gallery-soon__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:32px;}
.fdhs-gallery-instagram{width:auto!important;min-width:auto!important;padding:0 18px!important;}
.fdhs-gallery-instagram span{display:inline!important;}
@media(max-width:640px){
  .fdhs-gallery-soon{min-height:58vh;padding:70px 0;}
  .fdhs-gallery-soon h1{letter-spacing:-1px;}
  .fdhs-gallery-instagram{display:inline-flex!important;}
}


/* =====================================================
   PRODUTOS 4D — FASE 1
   ===================================================== */
.fdhs-products-page{background:#060606;color:#f4f1ed;}
.fdhs-products-hero{padding:76px 0 48px;background:radial-gradient(circle at top right,rgba(63,122,89,.18),transparent 30%),linear-gradient(180deg,#0a0a0a,#060606);}
.fdhs-products-hero h1{max-width:880px;margin:20px 0 16px;color:#fff;font-size:clamp(40px,5vw,68px);line-height:1.04;}
.fdhs-products-hero p{max-width:760px;margin:0;color:#d7d2cd;font-size:18px;line-height:1.8;}
.fdhs-products-catalog{padding:56px 0 82px;}
.fdhs-product-toolbar{display:grid;gap:18px;margin-bottom:30px;}
#fdhs-product-search{width:100%;min-height:50px;padding:0 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#111;color:#fff;font-size:16px;}
#fdhs-product-search::placeholder{color:#a9a4a0;}
.fdhs-product-filters{display:flex;flex-wrap:wrap;gap:9px;}
.fdhs-product-filters button{padding:9px 14px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#101010;color:#d8d4cf;font-weight:700;cursor:pointer;}
.fdhs-product-filters button:hover,.fdhs-product-filters button.is-active{background:var(--color-accent);border-color:var(--color-accent);color:#fff;}
.fdhs-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.fdhs-product-card{overflow:hidden;background:#0e0e0e;border:1px solid rgba(255,255,255,.08);border-radius:20px;box-shadow:0 16px 36px rgba(0,0,0,.2);}
.fdhs-product-card[hidden]{display:none!important;}
.fdhs-product-card__media{aspect-ratio:4/5;background:#151515;overflow:hidden;}
.fdhs-product-card__media img{display:block;width:100%;height:100%;object-fit:cover;}
.fdhs-product-card__content{padding:20px;}
.fdhs-product-brand{display:block;margin-bottom:8px;color:var(--color-accent);font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;}
.fdhs-product-card h2{margin:0 0 10px;color:#fff;font-size:22px;line-height:1.22;}
.fdhs-product-card p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 16px;color:#d0cbc6;line-height:1.65;font-size:14px;}
.fdhs-product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:15px;border-top:1px solid rgba(255,255,255,.08);color:#d7d2cd;}
.fdhs-product-meta strong{color:#fff;font-size:18px;}
.fdhs-product-link{display:flex;align-items:center;justify-content:center;margin-top:15px;min-height:42px;border:1px solid rgba(63,122,89,.55);border-radius:8px;background:rgba(63,122,89,.08);color:#fff;font-weight:800;}
.fdhs-product-link:hover{background:var(--color-accent);}
.fdhs-products-note{margin-top:28px;padding:18px 20px;border:1px solid rgba(63,122,89,.35);border-radius:14px;background:rgba(63,122,89,.08);color:#e0dcd7;line-height:1.65;}
.fdhs-product-empty{padding:40px;text-align:center;color:#ddd;}
@media(max-width:1100px){.fdhs-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:820px){.fdhs-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.fdhs-product-grid{grid-template-columns:1fr;}.fdhs-products-hero{padding:56px 0 38px;}}


/* =====================================================
   EDUCAÇÃO PROFISSIONAL 4D — FASE 1
   ===================================================== */
.fdhs-education-page{background:#060606;color:#f4f1ed;}
.fdhs-education-page h1,.fdhs-education-page h2,.fdhs-education-page h3,.fdhs-education-page h4{color:#fff!important;}
.fdhs-education-page p,.fdhs-education-page li{color:#d7d2cd!important;}

.fdhs-education-hero{padding:78px 0 58px;background:radial-gradient(circle at top right,rgba(63,122,89,.2),transparent 32%),linear-gradient(180deg,#0a0a0a,#060606);}
.fdhs-education-hero__inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:32px;align-items:center;}
.fdhs-education-hero h1{margin:20px 0 18px;font-size:clamp(40px,5vw,68px);line-height:1.03;}
.fdhs-education-hero p{max-width:760px;margin:0;font-size:18px;line-height:1.82;}
.fdhs-education-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.fdhs-education-hero__marks{display:grid;gap:14px;}
.fdhs-education-hero__marks div{display:flex;align-items:center;gap:18px;padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.025);}
.fdhs-education-hero__marks strong{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:rgba(63,122,89,.18);color:#fff;font-size:22px;}
.fdhs-education-hero__marks span{color:#d8d3ce;font-weight:700;}

.fdhs-education-credentials,.fdhs-education-formats,.fdhs-education-method{padding:72px 0;}
.fdhs-educator-grid{display:grid;gap:28px;}
.fdhs-educator-card{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);overflow:hidden;background:#0d0d0d;border:1px solid rgba(255,255,255,.08);border-radius:26px;}
.fdhs-educator-card--alt{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);}
.fdhs-educator-card--alt .fdhs-educator-card__media{order:2;}.fdhs-educator-card--alt .fdhs-educator-card__content{order:1;}
.fdhs-educator-card__media{min-height:500px;background:#111;}
.fdhs-educator-card__media img{display:block;width:100%;height:100%;object-fit:cover;}
.fdhs-educator-card__content{padding:34px;}
.fdhs-educator-card__content h3{margin:0 0 10px;font-size:clamp(34px,3vw,48px);}
.fdhs-educator-role{display:block;margin-bottom:18px;color:var(--color-accent);font-size:13px;font-weight:800;letter-spacing:1px;text-transform:uppercase;}
.fdhs-educator-card__content p{line-height:1.82;}
.fdhs-language-line{display:block;margin:18px 0;color:#fff;}
.fdhs-educator-specialties{margin-top:24px;padding:22px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#101010;}
.fdhs-educator-specialties h4{margin:0 0 14px;font-size:18px;}
.fdhs-educator-specialties ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0;padding:0;list-style:none;}
.fdhs-educator-specialties li{position:relative;padding-left:17px;line-height:1.6;}
.fdhs-educator-specialties li:before{content:'';position:absolute;left:0;top:.75em;width:7px;height:7px;border-radius:50%;background:var(--color-accent);transform:translateY(-50%);}

.fdhs-education-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.fdhs-education-grid--four{grid-template-columns:repeat(4,minmax(0,1fr));}
.fdhs-education-card{padding:26px 24px;background:#0e0e0e;border:1px solid rgba(255,255,255,.08);border-radius:18px;}
.fdhs-education-card h3{margin:0 0 12px;font-size:23px;line-height:1.2;}
.fdhs-education-card p{margin:0;line-height:1.75;}
.fdhs-education-card--method{background:linear-gradient(180deg,rgba(63,122,89,.12),rgba(63,122,89,.04));border-color:rgba(63,122,89,.32);}

.fdhs-education-notice{padding:0 0 72px;}
.fdhs-education-notice__box{padding:28px 30px;background:#111;border:1px solid rgba(255,255,255,.12);border-left:4px solid var(--color-accent);border-radius:16px;}
.fdhs-education-notice__box span{display:block;margin-bottom:10px;color:#fff;font-weight:800;font-size:18px;}
.fdhs-education-notice__box p{margin:0;line-height:1.75;}

.fdhs-education-cta{padding:0 0 84px;}
.fdhs-education-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:34px;background:linear-gradient(180deg,rgba(63,122,89,.18),rgba(63,122,89,.08));border:1px solid rgba(63,122,89,.45);border-radius:24px;}
.fdhs-education-cta h2{margin:0 0 8px;font-size:36px;}.fdhs-education-cta p{max-width:760px;margin:0;line-height:1.7;}

@media(max-width:1080px){.fdhs-education-grid--four{grid-template-columns:repeat(2,minmax(0,1fr));}.fdhs-education-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:920px){.fdhs-education-hero__inner,.fdhs-educator-card,.fdhs-educator-card--alt,.fdhs-education-cta__inner{display:grid;grid-template-columns:1fr;}.fdhs-educator-card--alt .fdhs-educator-card__media,.fdhs-educator-card--alt .fdhs-educator-card__content{order:initial;}}
@media(max-width:720px){.fdhs-education-hero{padding:58px 0 44px;}.fdhs-education-credentials,.fdhs-education-formats,.fdhs-education-method{padding:54px 0;}.fdhs-education-grid,.fdhs-education-grid--four{grid-template-columns:1fr;}.fdhs-educator-card__content{padding:28px 22px;}.fdhs-educator-specialties ul{grid-template-columns:1fr;}.fdhs-education-cta__inner{padding:28px 22px;}.fdhs-education-cta h2{font-size:30px;}}


/* =====================================================
   HEADER EM DUAS LINHAS + VISIBILIDADE LGBTQI+
   ===================================================== */
.site-header{
  min-height:148px;
}

.site-header__inner{
  min-height:148px;
  align-items:center;
}

.header-utility{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:10px;
  flex:0 0 auto;
}

.header-utility__top{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  width:100%;
}

.header-actions--bottom{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  width:100%;
}

.header-socials--stacked{
  display:flex;
  align-items:center;
  gap:7px;
}

.header-socials__icon--instagram{
  color:#fff !important;
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fdf497 5% 10%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color:rgba(255,255,255,.18) !important;
}

.header-inclusion{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  overflow:hidden;
  background:transparent;
  color:#f4f1ed;
  transition:transform .2s ease, border-color .2s ease;
}

.header-inclusion:hover{
  transform:translateY(-1px);
  border-color:var(--color-accent);
}

/* =====================================================
   ANIMAÇÕES AO PERCORRER A PÁGINA (scroll reveal)
   ===================================================== */
.fdhs-reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.fdhs-reveal.is-visible{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .fdhs-reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
   SERVIÇOS — animação de entrada mais marcada
   (foto e texto deslizam de lados opostos, alternando)
   ===================================================== */
.fdhs-service-detail__media,
.fdhs-service-detail__content{
  opacity: 0;
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.fdhs-service-detail__media{ transform: translateX(-70px); }
.fdhs-service-detail__content{ transform: translateX(70px); transition-delay: .12s; }

.fdhs-service-detail.is-reverse .fdhs-service-detail__media{ transform: translateX(70px); }
.fdhs-service-detail.is-reverse .fdhs-service-detail__content{ transform: translateX(-70px); }

.fdhs-service-detail.is-visible .fdhs-service-detail__media,
.fdhs-service-detail.is-visible .fdhs-service-detail__content{
  opacity: 1;
  transform: none;
}

@media (max-width: 880px){
  /* Em ecrãs estreitos os blocos empilham verticalmente - desliza de baixo para cima em vez de lado a lado */
  .fdhs-service-detail__media,
  .fdhs-service-detail.is-reverse .fdhs-service-detail__media{ transform: translateY(40px); }
  .fdhs-service-detail__content,
  .fdhs-service-detail.is-reverse .fdhs-service-detail__content{ transform: translateY(40px); }
}

@media (prefers-reduced-motion: reduce){
  .fdhs-service-detail__media,
  .fdhs-service-detail__content{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.header-inclusion__flag{
  display:block;
  flex:0 0 auto;
  width:100%;
  height:100%;
  border-radius:50%;
  background:linear-gradient(
    to bottom,
    #e40303 0 16.66%,
    #ff8c00 16.66% 33.33%,
    #ffed00 33.33% 50%,
    #008026 50% 66.66%,
    #24408e 66.66% 83.33%,
    #732982 83.33% 100%
  );
  box-shadow:none;
}

/* Bandeira do rodapé (ao lado do texto "Espaço LGBTQI+ friendly...") -
   independente da bandeira do cabeçalho, para uma nunca partir a outra. */
.fdhs-pride-flag{
  display:inline-block;
  vertical-align:middle;
  width:22px;
  height:14px;
  margin-right:8px;
  border-radius:3px;
  background:linear-gradient(
    to bottom,
    #e40303 0 16.66%,
    #ff8c00 16.66% 33.33%,
    #ffed00 33.33% 50%,
    #008026 50% 66.66%,
    #24408e 66.66% 83.33%,
    #732982 83.33% 100%
  );
  box-shadow:0 0 0 1px rgba(255,255,255,.18);
}

.fdhs-footer-copy{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.fdhs-footer-copy .copy{
  margin:0;
}

.fdhs-inclusive-note{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0;
  color:#d8d3ce !important;
  font-size:12px;
  line-height:1.45;
}

@media (max-width:1320px){
  .header-inclusion{
    width:36px;
    padding:0;
    justify-content:center;
  }
}

@media (max-width:1180px){
  .site-header,
  .site-header__inner{
    min-height:128px;
  }

  .header-socials--stacked{
    display:flex;
  }
}

@media (max-width:980px){
  .site-header,
  .site-header__inner{
    min-height:104px;
  }

  .header-utility{
    flex-direction:row;
    align-items:center;
    gap:8px;
  }

  .header-utility__top{
    width:auto;
  }

  .header-actions--bottom{
    width:auto;
  }

  .header-socials--stacked{
    display:none;
  }

  .header-inclusion{
    display:inline-flex;
  }
}

@media (max-width:700px){
  .header-inclusion{
    display:none;
  }

  .fdhs-inclusive-note{
    justify-content:center;
    text-align:center;
  }
}

/* =====================================================
   CORREÇÃO DEFINITIVA — HEADER MOBILE
   ===================================================== */
@media (max-width:980px){
  .site-header{
    min-height:0 !important;
  }

  .site-header__inner{
    position:relative;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    min-height:88px !important;
    height:auto !important;
    padding:8px 20px !important;
    gap:12px !important;
  }

  .site-logo{
    flex:0 0 auto !important;
    min-width:0;
  }

  .site-logo > a{
    display:flex;
  }

  .site-logo__image{
    width:72px !important;
    height:72px !important;
    max-width:72px !important;
    max-height:72px !important;
  }

  .site-navigation{
    position:static !important;
    flex:0 0 0 !important;
    width:0 !important;
    min-width:0 !important;
    margin:0 !important;
  }

  .primary-menu{
    display:none !important;
  }

  .primary-menu.is-open{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    right:0 !important;
    z-index:999 !important;
    width:100% !important;
    max-height:calc(100vh - 88px);
    overflow-y:auto;
    padding:10px 20px 18px !important;
    background:#0b0b0b !important;
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.10);
    box-shadow:0 16px 30px rgba(0,0,0,.45);
  }

  .primary-menu.is-open li,
  .primary-menu.is-open a{
    width:100% !important;
  }

  .primary-menu.is-open a{
    display:block !important;
    padding:14px 2px !important;
    color:#f4f1ed !important;
    font-size:15px !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }

  .header-utility{
    display:flex !important;
    flex:0 0 auto !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    margin-left:auto !important;
    width:auto !important;
  }

  .header-utility__top{
    display:none !important;
  }

  .header-actions--bottom,
  .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    width:auto !important;
    margin:0 !important;
  }

  .header-actions--bottom .btn--ghost,
  .header-actions .btn--ghost{
    display:none !important;
  }

  .language-switcher{
    order:1 !important;
    position:relative !important;
  }

  .language-switcher summary{
    display:inline-flex !important;
    min-width:42px !important;
    width:42px !important;
    height:42px !important;
    padding:0 !important;
    gap:0 !important;
  }

  .language-switcher summary > span:not(.language-switcher__current-flag),
  .language-switcher__chevron{
    display:none !important;
  }

  .language-switcher__current-flag,
  .language-switcher__current-flag img{
    display:block !important;
    width:22px !important;
    height:auto !important;
  }

  .language-switcher__menu{
    top:calc(100% + 9px) !important;
    right:0 !important;
    left:auto !important;
    min-width:180px !important;
  }

  .nav-toggle{
    order:2 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 42px !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid var(--color-accent) !important;
    border-radius:4px !important;
    background:transparent !important;
    color:var(--color-accent) !important;
  }

  .nav-toggle svg{
    display:block !important;
    width:20px !important;
    height:16px !important;
  }

  .header-socials--stacked,
  .header-inclusion{
    display:none !important;
  }
}

@media (max-width:480px){
  .site-header__inner{
    min-height:78px !important;
    padding:7px 16px !important;
  }

  .site-logo__image{
    width:64px !important;
    height:64px !important;
    max-width:64px !important;
    max-height:64px !important;
  }

  .primary-menu.is-open{
    max-height:calc(100vh - 78px);
    padding-left:16px !important;
    padding-right:16px !important;
  }
}

/* ============================================================
   EQUIPA — NOVO MEMBRO (Ricardo Neves)
   ============================================================ */
.fdhs-team-card-wrap{
  position:relative;
}

.fdhs-team-card--new{
  border-color:rgba(63,122,89,.55);
  box-shadow:0 0 0 1px rgba(63,122,89,.25), 0 18px 42px rgba(0,0,0,.18);
}

.fdhs-new-flag{
  position:absolute;
  top:0;
  left:32px;
  z-index:3;
  transform:translateY(-50%);
  background:var(--color-accent);
  color:#04140c;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:8px 16px;
  border-radius:999px;
  box-shadow:0 10px 22px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}

.fdhs-team-card__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}

.fdhs-team-card__header h2{
  margin-bottom:10px;
}

.fdhs-team-card__header .fdhs-team-card__role{
  margin-bottom:0;
}

.fdhs-team-card__title{
  flex:1 1 auto;
  min-width:0;
}

.fdhs-book-box{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  gap:6px;
  background:rgba(63,122,89,.08);
  border:1px solid rgba(63,122,89,.45);
  border-radius:18px;
  padding:18px 22px;
  text-decoration:none;
  min-width:200px;
  text-align:left;
}

.fdhs-book-box:hover{
  background:rgba(63,122,89,.14);
  border-color:var(--color-accent);
}

.fdhs-book-box__eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#a8a5a1;
}

.fdhs-book-box__cta{
  font-size:17px;
  font-weight:800;
  color:var(--color-accent);
  letter-spacing:.01em;
}

@media (max-width:720px){
  .fdhs-new-flag{left:16px;}
  .fdhs-team-card__header{flex-direction:column;align-items:stretch;gap:16px;}
  .fdhs-book-box{width:100%;}
}

/* ==========================================================
   FIX GLOBAL DE CORES — sobrepoe o Kit Global do Elementor
   (plugin Elementor injeta cor escura #0D1617# em h1-h6/label
   nalgumas paginas, quebrando o branco e a uniformidade do site)
   ========================================================== */
body.wp-theme-4d-hair-studio h1,
body.wp-theme-4d-hair-studio h2,
body.wp-theme-4d-hair-studio h3,
body.wp-theme-4d-hair-studio h4,
body.wp-theme-4d-hair-studio h5,
body.wp-theme-4d-hair-studio h6{
  color:var(--color-white) !important;
}
body.wp-theme-4d-hair-studio label{
  color:var(--color-white) !important;
}