/* ============================================================
   GTECH SERVICES — Design tokens
   Palette pulled from the brand mark:
   --blue-light  #3E93F2  (gear top / swoosh light end)
   --blue-mid    #1F63E0  (gear body)
   --blue-dark   #0B2E73  (deep navy, hero overlay)
   --charcoal    #2B2E39  (wordmark "GTECH")
   --ink         #14161C  (body copy)
   --steel       #8CA0C4  (muted divider tone)
   --bg-light    #F3F5F9
   --white       #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --blue-light:#3E93F2;
  --blue-mid:#1F63E0;
  --blue-dark:#0B2E73;
  --charcoal:#2B2E39;
  --ink:#14161C;
  --steel:#8CA0C4;
  --bg-light:#F3F5F9;
  --white:#FFFFFF;

  --font-display:'Barlow Condensed', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 6px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; margin:0; line-height:1.05; }
p{ margin:0; }

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline:3px solid var(--blue-light);
  outline-offset:2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky;
  top:0; left:0; right:0;
  z-index:100;
  background:var(--white);
  border-bottom:1px solid #EBEEF4;
  transition:box-shadow .3s ease, padding .3s ease;
  padding:16px 0;
}
.site-header.is-scrolled{
  box-shadow:0 6px 24px rgba(11,46,115,0.08);
  padding:10px 0;
}

.utility-bar{
  background:var(--blue-dark);
}
.utility-bar .container{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:26px;
  padding-top:9px;
  padding-bottom:9px;
}
.utility-bar a{
  font-size:13.5px;
  color:#D9E2F5;
  display:inline-flex;
  align-items:center;
  gap:7px;
  transition:color .2s ease;
}
.utility-bar a:hover{ color:var(--white); }
.utility-bar svg{ width:14px; height:14px; }
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:-14px;
}
.brand img{
  height:58px;
  width:auto;
  transition:height .35s ease;
}
.site-header.is-scrolled .brand img{ height:46px; }

.brand-fallback{
  font-family:var(--font-display);
  font-weight:800;
  font-size:22px;
  color:var(--charcoal);
  letter-spacing:.5px;
}

.main-nav{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
}
.main-nav ul{
  display:flex;
  align-items:center;
  gap:34px;
}
.main-nav a{
  font-family:var(--font-display);
  font-weight:600;
  font-size:16px;
  letter-spacing:.3px;
  color:var(--charcoal);
  position:relative;
  padding:6px 0;
  transition:color .2s ease;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  height:2px; width:0%;
  background:var(--blue-light);
  transition:width .25s ease;
}
.main-nav a:hover::after{ width:100%; }
.main-nav a[aria-current="page"]{ color:var(--blue-mid); }
.main-nav a[aria-current="page"]::after{ width:100%; background:var(--blue-mid); }

/* ============================================================
   INNER PAGE HEADER (Sobre / Serviços / Diferenciais / Contato)
   ============================================================ */
.page-header{
  position:relative;
  overflow:hidden;
  background:linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color:var(--white);
  padding:64px 0 58px;
}
.page-header-swoosh{
  position:absolute;
  top:-15%; right:-8%;
  width:55%;
  opacity:.18;
  z-index:0;
  pointer-events:none;
}
.page-header .container{ position:relative; z-index:1; }
.breadcrumb{
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:.5px;
  color:#B9C6E5;
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
}
.breadcrumb a{ color:#B9C6E5; transition:color .2s ease; }
.breadcrumb a:hover{ color:var(--white); }
.page-header h1{
  font-size:clamp(32px, 4.4vw, 50px);
  color:var(--white);
}

a.service-card{ display:block; }
.card-arrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:16px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:14.5px;
  color:var(--blue-mid);
}
.service-card:hover .card-arrow{ gap:10px; }
.card-arrow svg{ width:16px; height:16px; transition:transform .2s ease; }

.header-cta{
  font-family:var(--font-display);
  font-weight:700;
  font-size:15px;
  letter-spacing:.4px;
  color:var(--white);
  background:linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  padding:11px 22px;
  border-radius:var(--radius);
  white-space:nowrap;
  box-shadow:0 6px 18px rgba(31,99,224,0.35);
  transition:transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover{ transform:translateY(-2px); box-shadow:0 10px 22px rgba(31,99,224,0.45); }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  display:block;
  width:26px; height:2px;
  background:var(--charcoal);
  margin:6px 0;
  transition:.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  width:100%;
  aspect-ratio:1900 / 600;
  max-height:600px;
  overflow:hidden;
  background:var(--blue-dark);
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media img{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center center;
  transform:scale(1.06);
  opacity:0;
  transition:opacity 1.2s ease;
}
.hero-media img.active{
  opacity:1;
  
}
@keyframes heroZoom{
  to{ transform:scale(1); }
}
.hero .slideshow-dots{
  bottom:22px;
  z-index:2;
}
.eyebrow{
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--blue-light);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";
  width:28px; height:2px;
  background:var(--blue-light);
  display:inline-block;
}
.btn{
  font-family:var(--font-display);
  font-weight:700;
  font-size:16px;
  letter-spacing:.3px;
  padding:14px 28px;
  border-radius:var(--radius);
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary{
  background:linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  color:var(--white);
  box-shadow:0 10px 26px rgba(31,99,224,0.4);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(31,99,224,0.5); }
.btn-ghost{
  border:1.5px solid rgba(255,255,255,0.55);
  color:var(--white);
}
.btn-ghost:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }



/* ============================================================
   SECTION SHELL + REVEAL
   ============================================================ */
.section{ padding:110px 0; }
.section-tight{ padding:70px 0; }
.section-alt{ background:var(--bg-light); }
.section-dark{ background:var(--charcoal); color:var(--white); }

[data-reveal]{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
[data-reveal].in-view{
  opacity:1;
  transform:translateY(0);
}

.section-head{
  max-width:640px;
  margin-bottom:56px;
}
.section-head .eyebrow{ color:var(--blue-mid); opacity:1; animation:none; }
.section-head h2{
  font-size:clamp(30px, 4vw, 46px);
  color:var(--charcoal);
  margin-top:12px;
}
.section-dark .section-head h2{ color:var(--white); }
.section-head p{
  margin-top:18px;
  font-size:17px;
  line-height:1.7;
  color:#4A4F5C;
}
.section-dark .section-head p{ color:#C3CCDE; }

/* ============================================================
   ABOUT / INTRO
   ============================================================ */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.about-copy p{
  font-size:17px;
  line-height:1.75;
  color:#3B3F4C;
  margin-bottom:18px;
}
.about-copy p:last-child{ margin-bottom:0; }

.stat-panel{
  background:var(--white);
  border-radius:10px;
  box-shadow:0 20px 50px rgba(11,46,115,0.12);
  padding:8px;
  display:grid;
  grid-template-columns:1fr 1fr;
}
.stat{
  padding:34px 26px;
  border-right:1px solid #EBEEF4;
  border-bottom:1px solid #EBEEF4;
}
.stat:nth-child(2n){ border-right:none; }
.stat:nth-child(3),.stat:nth-child(4){ border-bottom:none; }
.stat-num{
  font-family:var(--font-display);
  font-weight:800;
  font-size:42px;
  color:var(--blue-mid);
  display:flex;
  align-items:baseline;
  gap:2px;
}
.stat-label{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#6C7284;
  margin-top:8px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
.service-card{
  background:var(--white);
  border:1px solid #E7EAF1;
  border-radius:10px;
  padding:38px 30px;
  position:relative;
  overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 50px rgba(11,46,115,0.14);
  border-color:transparent;
}
.service-card .num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--steel);
  letter-spacing:1px;
}
.service-icon{
  width:52px; height:52px;
  margin:18px 0 22px;
  color:var(--blue-mid);
}
.service-card h3{
  font-size:24px;
  color:var(--charcoal);
  margin-bottom:12px;
}
.service-card p{
  font-size:15.5px;
  line-height:1.65;
  color:#5A5F6D;
}
.service-card::before{
  content:"";
  position:absolute;
  top:0; right:0;
  width:0; height:4px;
  background:linear-gradient(90deg, var(--blue-light), var(--blue-mid));
  transition:width .35s ease;
}
.service-card:hover::before{ width:100%; }

/* ============================================================
   DIFFERENTIALS (pillars)
   ============================================================ */
.pillars{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2px;
  background:#2F3444;
  border-radius:10px;
  overflow:hidden;
}
.pillar{
  background:var(--charcoal);
  padding:44px 34px;
  transition:background .3s ease;
}
.pillar:hover{ background:#333849; }
.pillar-icon{
  width:44px; height:44px;
  color:var(--blue-light);
  margin-bottom:20px;
}
.pillar h3{
  color:var(--white);
  font-size:22px;
  margin-bottom:10px;
}
.pillar p{
  color:#B7BFD3;
  font-size:15px;
  line-height:1.65;
}

/* ============================================================
   CTA / CONTACT
   ============================================================ */
.cta-section{
  position:relative;
  background:linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  overflow:hidden;
  color:var(--white);
}
.cta-section .container{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.cta-swoosh{
  position:absolute;
  top:-10%; right:-5%;
  width:60%;
  opacity:.18;
  z-index:1;
}
.cta-text h2{
  font-size:clamp(28px, 3.6vw, 40px);
  max-width:520px;
}
.cta-text p{
  margin-top:14px;
  font-size:16px;
  color:#D9E2F5;
  max-width:480px;
  line-height:1.6;
}
.cta-contacts{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.cta-contacts a{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:18px;
  color:var(--white);
  padding:14px 22px;
  border:1.5px solid rgba(255,255,255,0.35);
  border-radius:var(--radius);
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
  min-width:280px;
}
.cta-contacts a:hover{
  background:rgba(255,255,255,0.12);
  border-color:var(--white);
  transform:translateX(4px);
}
.cta-contacts svg{ width:20px; height:20px; flex-shrink:0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background:var(--ink);
  color:#9AA1B4;
  padding:56px 0 26px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  padding-bottom:36px;
  border-bottom:1px solid #2A2D38;
}
.footer-brand img{ height:38px; margin-bottom:14px; }
.footer-brand p{ max-width:280px; font-size:14.5px; line-height:1.6; }
.footer-nav{
  display:flex;
  gap:56px;
  flex-wrap:wrap;
}
.footer-col h4{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#6C7284;
  margin-bottom:16px;
}
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{
  font-size:14.5px;
  color:#C3C8D8;
  transition:color .2s ease;
}
.footer-col a:hover{ color:var(--blue-light); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:22px;
  font-size:13px;
  flex-wrap:wrap;
  gap:12px;
}

/* Floating side icon stack (phone / email / location / back-to-top) */
.side-fab{
  position:fixed;
  right:24px; bottom:26px;
  z-index:90;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.side-fab a,
.side-fab button{
  width:46px; height:46px;
  border-radius:50%;
  background:var(--blue-mid);
  color:var(--white);
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 22px rgba(11,46,115,0.3);
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.side-fab a:hover,
.side-fab button:hover{ background:var(--blue-light); transform:translateY(-2px); }
.side-fab svg{ width:19px; height:19px; }
.side-fab .back-to-top{
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
}
.side-fab .back-to-top.visible{
  opacity:1; visibility:visible; transform:translateY(0);
}

/* ============================================================
   >>> ADICIONADO AGORA: página "Clientes" — grade com 10 slots
   de foto/logo. Segue o mesmo padrão visual do site (cores,
   cantos, sombra e hover dos cards já usados nas outras seções).
   ============================================================ */
.clients-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:22px;
}
.client-slot{
  aspect-ratio:1 / 1;
  background:var(--white);
  border:1.5px dashed #C9D2E3;
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px;
  text-align:center;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.client-slot:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(11,46,115,0.12);
  border-color:var(--blue-light);
  border-style:solid;
  background:var(--bg-light);
}
.client-slot img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.client-slot svg{
  width:34px; height:34px;
  color:var(--steel);
  transition:color .3s ease;
}
.client-slot:hover svg{ color:var(--blue-mid); }
.client-slot span{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.4px;
  color:#8A90A0;
}
/* <<< FIM DO TRECHO ADICIONADO AGORA */

/* ============================================================
   >>> ADICIONADO AGORA: página "Seguimentos" — 3 painéis com
   foto que expandem ao passar o mouse, revelando mais informação.
   Troque o <img> de cada .segment-card pela foto real do segmento.
   ============================================================ */
.segments-row{
  display:flex;
  gap:18px;
  height:520px;
}
.segment-card{
  position:relative;
  flex:1;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  background:var(--charcoal);
  transition:flex .55s cubic-bezier(.4,0,.2,1);
}
.segment-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.segment-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(11,46,115,0) 25%, rgba(11,46,115,0.94) 100%);
  transition:background .4s ease;
  z-index:1;
}
.segment-num{
  position:absolute;
  top:22px; left:24px;
  z-index:2;
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:1px;
  color:rgba(255,255,255,0.75);
}
.segment-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:28px;
  z-index:2;
  color:var(--white);
}
.segment-overlay h3{
  font-size:23px;
  line-height:1.15;
}
.segment-desc{
  max-height:0;
  opacity:0;
  overflow:hidden;
  margin-top:0;
  font-size:14.5px;
  line-height:1.65;
  color:#DCE5F5;
  transition:max-height .5s ease, opacity .4s ease .1s, margin-top .4s ease;
}
.segment-card:hover{ flex:2.3; }
.segment-card:hover img{ transform:scale(1.06); }
.segment-card:hover .segment-desc{
  max-height:180px;
  opacity:1;
  margin-top:12px;
}

/* Em telas sem suporte real a hover (toque), mostra tudo aberto, sem depender do gesto de passar o mouse */
@media (hover:none){
  .segment-desc{ max-height:none; opacity:1; margin-top:12px; }
}

@media (max-width:860px){
  .segments-row{ flex-direction:column; height:auto; }
  /* CORREÇÃO MOBILE: com flex-direction:column e altura automática, o antigo
     "flex:1" (equivalente a flex-basis:0%) fazia o card colapsar para 0px de
     altura em vários navegadores de celular, escondendo a foto (que é
     position:absolute e depende da altura do card pai). Definir uma base
     fixa (220px) sem crescer/encolher resolve isso de forma confiável. */
  .segment-card{ flex:0 0 220px !important; width:100%; height:220px; }
  .segment-card:hover{ flex:0 0 220px !important; }
}
/* <<< FIM DO TRECHO ADICIONADO AGORA */

/* ============================================================
   >>> ADICIONADO AGORA: página "Contato" — formulário, cartões de
   informação e um espaço para o mapa. Troque o bloco .map-frame
   por um <iframe> do Google Maps quando tiver o endereço definido.
   ============================================================ */
.contact-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:48px;
  align-items:start;
}

.contact-form{
  background:var(--white);
  border:1px solid #E7EAF1;
  border-radius:12px;
  padding:38px;
  box-shadow:0 20px 50px rgba(11,46,115,0.08);
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.form-field{
  margin-bottom:20px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-field label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#6C7284;
}
.form-field input,
.form-field select,
.form-field textarea{
  font-family:var(--font-body);
  font-size:15px;
  color:var(--ink);
  background:var(--bg-light);
  border:1.5px solid #E3E7F0;
  border-radius:8px;
  padding:12px 14px;
  transition:border-color .2s ease, background .2s ease;
  width:100%;
}
.form-field textarea{ resize:vertical; min-height:120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:none;
  border-color:var(--blue-light);
  background:var(--white);
}
.form-submit{
  font-family:var(--font-display);
  font-weight:700;
  font-size:16px;
  letter-spacing:.3px;
  color:var(--white);
  background:linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  padding:14px 30px;
  border:none;
  border-radius:var(--radius);
  cursor:pointer;
  box-shadow:0 10px 24px rgba(31,99,224,0.35);
  transition:transform .2s ease, box-shadow .2s ease;
}
.form-submit:hover{ transform:translateY(-2px); box-shadow:0 14px 28px rgba(31,99,224,0.45); }
.form-note{
  font-size:13px;
  color:#8A90A0;
  margin-top:14px;
}
.form-success{
  display:none;
  align-items:center;
  gap:12px;
  background:#EAF4EC;
  border:1.5px solid #B9DCC0;
  color:#1F6B34;
  border-radius:8px;
  padding:16px 18px;
  font-size:14.5px;
  margin-bottom:20px;
}
.form-success.visible{ display:flex; }
.form-success svg{ width:20px; height:20px; flex-shrink:0; }

.contact-info-list{
  display:flex;
  flex-direction:column;
  gap:2px;
  background:#EBEEF4;
  border-radius:12px;
  overflow:hidden;
}
.contact-info-item{
  background:var(--white);
  padding:22px 24px;
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.contact-info-item svg{
  width:22px; height:22px;
  color:var(--blue-mid);
  flex-shrink:0;
  margin-top:2px;
}
.contact-info-item h4{
  font-family:var(--font-display);
  font-size:16px;
  color:var(--charcoal);
  margin-bottom:4px;
}
.contact-info-item p,
.contact-info-item a{
  font-size:14.5px;
  color:#5A5F6D;
  line-height:1.5;
}
.contact-info-item a:hover{ color:var(--blue-mid); }

.map-frame{
  margin-top:22px;
  aspect-ratio:16/9;
  border-radius:12px;
  border:1.5px dashed #C9D2E3;
  background:var(--bg-light);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  padding:24px;
  color:#8A90A0;
}
.map-frame svg{ width:34px; height:34px; color:var(--steel); }
.map-frame span{ font-family:var(--font-mono); font-size:12px; letter-spacing:.4px; max-width:280px; }
/* <<< FIM DO TRECHO ADICIONADO AGORA */

/* ============================================================
   >>> ADICIONADO AGORA: nova página "Contato" sem formulário —
   cartões rápidos (telefone / e-mail / CNPJ) + cartões de sede
   (Arroio dos Ratos-RS e Guaíba-RS). Troque o .map-frame de cada
   cartão de sede por um <iframe> do Google Maps quando quiser.
   ============================================================ */
.contact-quick-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-bottom:64px;
}
.contact-quick-card{
  background:var(--white);
  border:1px solid #E7EAF1;
  border-radius:12px;
  padding:28px 26px;
  display:flex;
  align-items:flex-start;
  gap:16px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.contact-quick-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 44px rgba(11,46,115,0.12);
}
.contact-quick-card-static,
.contact-quick-card-static:hover{
  transform:none;
  box-shadow:none;
  transition:none;
}
.contact-quick-card svg{
  width:26px; height:26px;
  color:var(--blue-mid);
  flex-shrink:0;
  margin-top:2px;
}
.contact-quick-card h4{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#6C7284;
  margin-bottom:6px;
}
.contact-quick-card a,
.contact-quick-card p{
  font-family:var(--font-display);
  font-weight:600;
  font-size:19px;
  color:var(--charcoal);
  line-height:1.3;
}
.contact-quick-card a:hover{ color:var(--blue-mid); }

.hq-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.hq-card{
  background:var(--white);
  border:1px solid #E7EAF1;
  border-radius:12px;
  overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease;
}
.hq-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(11,46,115,0.14);
}
.hq-card-head{
  display:flex;
  align-items:center;
  gap:14px;
  padding:24px 26px;
  border-bottom:1px solid #EEF1F6;
}
.hq-card-head svg{ width:26px; height:26px; color:var(--blue-mid); flex-shrink:0; }
.hq-card-head span{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#6C7284;
  display:block;
  margin-bottom:2px;
}
.hq-card-head h3{
  font-size:22px;
  color:var(--charcoal);
}
.hq-card .map-frame{
  margin:20px;
  aspect-ratio:16/10;
}
/* <<< FIM DO TRECHO ADICIONADO AGORA */

/* ============================================================
   >>> ADICIONADO AGORA: grade de 6 cards clicáveis na página
   "Segmentos" — cada card leva para sua página específica.
   ============================================================ */
.segment-tiles{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:18px;
}
.segment-tile{
  position:relative;
  display:block;
  background:var(--white);
  border:1px solid #E7EAF1;
  border-radius:12px;
  overflow:hidden;
  transform-origin:center;
  transition:transform .35s cubic-bezier(.34,1.3,.64,1), box-shadow .35s ease, border-color .35s ease, z-index 0s;
}
.segment-tile:hover{
  transform:scale(1.12);
  box-shadow:0 26px 54px rgba(11,46,115,0.2);
  border-color:transparent;
  z-index:5;
}
.segment-tile-img{
  aspect-ratio:1/1;
  overflow:hidden;
  background:var(--charcoal);
}
.segment-tile-img img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.segment-tile:hover .segment-tile-img img{ transform:scale(1.08); }
.segment-tile-body{ padding:14px 16px; }
.segment-tile-body h3{
  font-size:15.5px;
  line-height:1.25;
  color:var(--charcoal);
  margin-bottom:0;
}
.segment-tile-body p{
  font-size:13.5px;
  line-height:1.55;
  color:#5A5F6D;
  max-height:0;
  opacity:0;
  overflow:hidden;
  margin-top:0;
  transition:max-height .4s ease, opacity .3s ease .1s, margin-top .3s ease;
}
.segment-tile-body .card-arrow{
  font-size:13px;
  max-height:0;
  opacity:0;
  overflow:hidden;
  margin-top:0;
  transition:max-height .3s ease, opacity .3s ease .15s, margin-top .3s ease;
}
.segment-tile:hover .segment-tile-body p{
  max-height:120px;
  opacity:1;
  margin-top:8px;
}
.segment-tile:hover .segment-tile-body .card-arrow{
  max-height:30px;
  opacity:1;
  margin-top:10px;
}

/* Em telas de toque (sem hover real), mostra a descrição sempre aberta */
@media (hover:none){
  .segment-tile:hover{ transform:none; }
  .segment-tile-body p,
  .segment-tile-body .card-arrow{
    max-height:none;
    opacity:1;
    margin-top:8px;
  }
}

/* Página de especificação de cada segmento */
.segment-detail-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:48px;
  align-items:start;
}
.segment-specs{
  background:var(--white);
  border:1px solid #E7EAF1;
  border-radius:12px;
  padding:30px;
}
.segment-specs h3{
  font-size:18px;
  color:var(--charcoal);
  margin-bottom:18px;
}
.segment-specs ul{ display:flex; flex-direction:column; gap:14px; }
.segment-specs li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:15px;
  line-height:1.5;
  color:#3B3F4C;
}
.segment-specs li svg{
  width:20px; height:20px;
  color:var(--blue-mid);
  flex-shrink:0;
  margin-top:1px;
}
/* <<< FIM DO TRECHO ADICIONADO AGORA */

/* ============================================================
   >>> ADICIONADO AGORA: slideshow de fotos na página "Sobre Nós",
   no lugar do antigo painel de estatísticas/porcentagem. Mesmo
   tamanho e mesmo espaço do bloco anterior. Troque os <img> pelas
   fotos reais quando tiver.
   ============================================================ */
.photo-slideshow{
  position:relative;
  height:340px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(11,46,115,0.12);
  background:var(--charcoal);
}
.photo-slideshow img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.2s ease;
}
.photo-slideshow img.active{ opacity:1; }
.slideshow-dots{
  position:absolute;
  bottom:16px; left:50%;
  transform:translateX(-50%);
  z-index:2;
  display:flex;
  gap:8px;
}
.slideshow-dots span{
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.5);
  transition:background .3s ease, transform .3s ease;
}
.slideshow-dots span.active{ background:var(--white); transform:scale(1.2); }
/* <<< FIM DO TRECHO ADICIONADO AGORA */
@media (max-width: 980px){
  .about-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr 1fr; }
  .pillars{ grid-template-columns:1fr; }
  .footer-nav{ gap:36px; }
  .clients-grid{ grid-template-columns:repeat(3, 1fr); } /* adicionado agora */
  .contact-grid{ grid-template-columns:1fr; } /* adicionado agora */
  .contact-quick-grid{ grid-template-columns:1fr; } /* adicionado agora */
  .hq-grid{ grid-template-columns:1fr; } /* adicionado agora */
  .segment-tiles{ grid-template-columns:repeat(3, 1fr); } /* adicionado agora */
  .segment-detail-grid{ grid-template-columns:1fr; } /* adicionado agora */
}

@media (max-width: 760px){
  .main-nav{
    position:fixed;
    top:0; right:0; left:auto;
    height:100vh;
    width:78%;
    max-width:320px;
    background:var(--white);
    box-shadow:-10px 0 40px rgba(0,0,0,0.15);
    transform:translateX(100%);
    transition:transform .35s ease;
    padding:100px 32px 32px;
    z-index:99;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav ul{ flex-direction:column; align-items:flex-start; gap:26px; }
  .main-nav a{ color:var(--charcoal) !important; text-shadow:none !important; font-size:20px; }
  .nav-toggle{ display:block; z-index:101; }
  .header-cta{ display:none; }
  .services-grid{ grid-template-columns:1fr; }
  .segment-tiles{ grid-template-columns:repeat(2, 1fr); } /* adicionado agora */
  .clients-grid{ grid-template-columns:repeat(2, 1fr); } /* adicionado agora */
  .stat-panel{ grid-template-columns:1fr 1fr; }
  .cta-section .container{ flex-direction:column; align-items:flex-start; }
  .cta-contacts{ width:100%; }
  .cta-contacts a{ min-width:0; width:100%; }
  .footer-top{ flex-direction:column; }
  .form-row{ grid-template-columns:1fr; } /* adicionado agora */
  .contact-form{ padding:26px; } /* adicionado agora */
  .side-fab{ right:14px; bottom:16px; }
  .side-fab a, .side-fab button{ width:40px; height:40px; }
}

@media (max-width: 560px){
  .hero{ aspect-ratio:1900/900; max-height:420px; }
}

.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
