/* =========================================================
   Fellows Vedações Industriais — novo site
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root{
  --navy:        #171e26;
  --navy-2:      #232d38;
  --blue:        #095299;
  --blue-2:      #4a6478;
  --blue-light:  #e9ebe6;
  --sky:         #095299;
  --steel:       #57616b;
  --ink:         #1b222a;
  --gray-700:    #454d54;
  --gray-500:    #6a7379;
  --gray-300:    #d7d9d4;
  --gray-100:    #f4f4f1;
  --white:       #ffffff;
  --radius:      5px;
  --shadow-sm:   0 1px 3px rgba(23,30,38,.07);
  --shadow-md:   0 6px 20px rgba(23,30,38,.10);
  --shadow-lg:   0 16px 40px rgba(23,30,38,.16);
  --maxw:        1200px;
  --ff: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-display: 'Archivo', var(--ff);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--ff);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -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{ margin:0 0 .5em; line-height:1.2; font-family:var(--ff-display); font-weight:700; letter-spacing:-.01em; color:var(--navy); }
p{ margin:0 0 1em; color:var(--gray-700); }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ position:relative; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--ff);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gray-700);
  background:none;
  padding:0;
  border-radius:0;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--sky);
  flex-shrink:0;
}
.section-head{ max-width:720px; margin:0 0 40px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.6rem,2.4vw,2.2rem); }
.section-head p{ font-size:1.05rem; }

.section{ padding:72px 0; }
.section.tight{ padding:48px 0; }
.section.alt{ background:var(--gray-100); }
.section.navy{ background:var(--navy); color:#fff; }
.section.navy p{ color:#c4d3e0; }
.section.navy h2, .section.navy h3, .section.navy h4{ color:#fff; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 26px;
  border-radius:6px;
  font-weight:700;
  font-size:.95rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:#fff; color:var(--navy); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--sky); color:#fff; box-shadow:var(--shadow-md); }
.btn-outline{ border-color:rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-blue{ background:var(--blue); color:#fff; box-shadow:var(--shadow-sm); }
.btn-blue:hover{ background:var(--navy-2); box-shadow:var(--shadow-md); }
.btn-ghost{ border-color:var(--gray-300); color:var(--navy); }
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); }
.btn-block{ width:100%; justify-content:center; }
.btn-ghost.btn-block{ border-color:transparent; padding:8px 14px; font-size:.85rem; color:var(--gray-500); font-weight:400; }
.btn-ghost.btn-block:hover{ border-color:transparent; color:var(--gray-700); }

/* =========== Top bar =========== */
.topbar{
  background:var(--navy);
  color:#cfe0ee;
  font-size:.85rem;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:8px;
  padding-bottom:8px;
  flex-wrap:wrap;
}
.topbar a{ color:#fff; }
.topbar .tb-phones{ display:flex; gap:18px; flex-wrap:wrap; }
.topbar .tb-phones span{ display:inline-flex; align-items:center; gap:6px; }
.topbar .tb-tag{ opacity:.85; }
@media (max-width:600px){ .topbar{ display:none; } }

/* =========== Header / nav =========== */
.site-header{
  position:sticky; top:0; z-index:200;
  background:#fff;
  box-shadow:0 1px 0 rgba(23,30,38,.08);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:12px;
  padding-bottom:12px;
  gap:20px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:52px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:4px; }
.main-nav a{
  display:block;
  padding:10px 14px;
  font-weight:600;
  font-size:.92rem;
  color:var(--navy);
  border-radius:6px;
  transition:background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a.active{ background:var(--blue-light); color:var(--blue); }

.has-dropdown{ position:relative; }
.has-dropdown > a{ display:flex; align-items:center; gap:6px; }
.has-dropdown > a::after{ content:"\f107"; font-family:"FontAwesome"; font-size:.75em; opacity:.7; }
.dropdown{
  position:absolute; top:100%; left:0;
  background:#fff;
  min-width:230px;
  border-radius:10px;
  box-shadow:var(--shadow-md);
  padding:8px;
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:50;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:none; }
.dropdown a{ padding:10px 12px; border-radius:6px; display:block; font-size:.9rem; }
.dropdown a:hover{ background:var(--blue-light); color:var(--blue); }
@media (max-width:980px){
  .dropdown{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; padding:0 0 0 14px; display:none;
    border-left:2px solid var(--gray-100);
  }
  .has-dropdown.open .dropdown{ display:block; }
  .has-dropdown > a::after{ margin-left:auto; }
}

.header-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:8px;
  border:1px solid var(--gray-300);
  background:#fff;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:20px; height:2px; background:var(--navy); position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 980px){
  .main-nav{
    position:fixed; inset:0 0 0 auto; top:0;
    width:min(320px,86vw); height:100vh;
    background:#fff;
    flex-direction:column;
    align-items:stretch;
    padding:90px 20px 20px;
    gap:2px;
    box-shadow:var(--shadow-lg);
    transform:translateX(100%);
    transition:transform .25s ease;
    overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:14px 12px; border-bottom:1px solid var(--gray-100); }
  .nav-toggle{ display:flex; }
  .header-cta .btn-blue{ padding:10px 14px; font-size:.85rem; }
  .nav-scrim{
    display:none; position:fixed; inset:0; background:rgba(23,30,38,.45); z-index:190;
  }
  .nav-scrim.open{ display:block; }
}

/* =========== Hero / slider =========== */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--navy);
  min-height:min(74vh,640px);
  display:flex;
  align-items:flex-end;
}
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.1s ease;
}
.hero-slide.active{ opacity:1; }
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,16,20,.58) 0%, rgba(12,16,20,.72) 55%, rgba(12,16,20,.96) 100%);
}
.hero-content{
  position:relative; z-index:2;
  padding:64px 0 56px;
  color:#fff;
  width:100%;
}
.hero-content .eyebrow{ color:#c7cdd3; }
.hero-content h1{
  color:#fff;
  font-size:clamp(2rem,4.4vw,3.2rem);
  max-width:820px;
}
.hero-content p{
  color:#dbe6f0;
  font-size:1.15rem;
  max-width:620px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:8px; }
.hero-dots{ display:flex; gap:8px; margin-top:34px; }
.hero-dots button{
  width:28px; height:4px; border-radius:2px; border:0; background:rgba(255,255,255,.35); cursor:pointer; padding:0;
}
.hero-dots button.active{ background:var(--sky); }

/* =========== Stats strip =========== */
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--gray-300);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transform:translateY(-46px);
  margin-bottom:-30px;
}
.stat{
  background:#fff;
  padding:26px 18px;
  text-align:center;
}
.stat strong{ display:block; font-family:var(--ff-display); font-size:clamp(1.5rem,2.6vw,2rem); color:var(--sky); font-weight:700; }
.stat span{ font-size:.85rem; color:var(--gray-500); font-weight:600; letter-spacing:.02em; }
.stats-3{ grid-template-columns:repeat(3,1fr); }
.stats-flat{ transform:none; margin-bottom:0; }
@media (max-width:820px){
  .stats{ grid-template-columns:repeat(2,1fr); transform:none; margin-bottom:0; }
  .section:first-of-type + .section .stats{ margin-top:0; }
}
@media (max-width:480px){
  .stats{ grid-template-columns:1fr; }
  .stat{ padding:20px 18px; }
}

/* =========== Cards / grids =========== */
.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:980px){ .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; } }

.card{
  background:#fff;
  border:1px solid var(--gray-300);
  border-radius:var(--radius);
  padding:26px 24px;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:transparent; }
.card-flat:hover{ box-shadow:none; transform:none; border-color:var(--gray-300); }
.grid-3 .card-flat, .grid-4 .card-flat{ display:flex; flex-direction:column; align-items:center; justify-content:center; }
.grid-3 .card-flat .btn, .grid-4 .card-flat .btn{ margin-top:0; width:auto; }
.grid-3 .card-flat .brand-logo, .grid-4 .card-flat .brand-logo{ display:flex; align-items:center; justify-content:center; height:84px; margin-bottom:8px; }
.card .icon{
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  border:1.5px solid var(--gray-300);
  border-radius:var(--radius);
  background:none;
  color:var(--blue);
  font-size:1.2rem;
  margin-bottom:16px;
  transition:border-color .2s ease, color .2s ease;
}
.card:hover .icon{ border-color:var(--sky); color:var(--sky); }
.card h3{ font-size:1.08rem; margin-bottom:8px; }
.card p{ font-size:.94rem; margin-bottom:0; }
.card a.card-link{ font-weight:700; color:var(--blue); font-size:.88rem; display:inline-flex; align-items:center; gap:6px; margin-top:12px; }

.media-card{
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  border:1px solid var(--gray-300);
  transition:box-shadow .2s ease, transform .2s ease;
}
.media-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.media-card .thumb{
  aspect-ratio:4/3;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  border-bottom:1px solid var(--gray-100);
}
.media-card .thumb img{ width:100%; height:100%; object-fit:contain; padding:10px; }
.media-card .body{ padding:16px 18px 20px; }
.media-card h3{ font-size:1rem; margin-bottom:4px; }
.media-card p{ font-size:.85rem; margin:0; }

/* Segment cards (photos already carry their own label) */
.seg-card{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease, transform .2s ease;
  aspect-ratio:4/3;
}
.seg-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.seg-card img{ width:100%; height:100%; object-fit:cover; }

/* Client logos */
.client-logo{
  background:#fff;
  border:1px solid var(--gray-300);
  border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  aspect-ratio:16/10;
  padding:18px;
}
.client-logo img{
  max-height:70px; width:auto; object-fit:contain;
  filter:grayscale(100%);
  opacity:.75;
  transition:filter .2s ease, opacity .2s ease;
}
.client-logo:hover img{ filter:grayscale(0%); opacity:1; }

/* Brand strip */
.brand-strip{
  display:flex; align-items:center; justify-content:center; gap:56px; flex-wrap:wrap;
}
.brand-strip img{ max-height:46px; width:auto; opacity:.85; }

/* Numbered steps */
.steps{ display:grid; gap:22px; grid-template-columns:repeat(4,1fr); }
@media (max-width:980px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:8px; }
.step .num{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--ff);
  font-size:.85rem; font-weight:700; letter-spacing:.03em;
  color:var(--gray-500);
  line-height:1; margin-bottom:12px;
}
.step .num::before{ content:""; width:22px; height:2px; background:var(--sky); display:inline-block; }
.step h3{ font-size:1.02rem; }
.step p{ font-size:.9rem; }

/* Tag cloud (repaired-brands list) */
.tagcloud{ display:flex; flex-wrap:wrap; gap:10px; }
.tagcloud span{
  background:var(--gray-100);
  border:1px solid var(--gray-300);
  color:var(--gray-700);
  font-size:.85rem; font-weight:600;
  padding:8px 14px;
  border-radius:999px;
}

/* Two-column feature blocks */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:28px; } }
.split img{ border-radius:var(--radius); box-shadow:var(--shadow-md); }
.split .kicker-list li{ display:flex; gap:12px; margin-bottom:14px; align-items:flex-start; font-size:.96rem; color:var(--gray-700); }
.split .kicker-list li i{ color:var(--blue); margin-top:3px; }

/* CTA banner */
.cta-banner{
  background:var(--navy);
  border-radius:var(--radius);
  padding:44px 40px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  color:#fff;
  box-shadow:inset 0 3px 0 var(--sky), var(--shadow-md);
}
.cta-banner h3{ color:#fff; margin-bottom:6px; }
.cta-banner p{ color:#cfe0ee; margin:0; }

/* Video embed */
.video-frame{ position:relative; padding-top:56.25%; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* Video thumbnail (links out to YouTube instead of embedding) */
.video-thumb{
  position:relative; display:block;
  padding-top:56.25%;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  background:var(--navy) center/cover no-repeat;
}
.video-thumb img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.video-thumb::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(23,30,38,.1) 0%, rgba(23,30,38,.55) 100%);
  transition:background .2s ease;
}
.video-thumb:hover::before{ background:rgba(23,30,38,.35); }
.video-thumb .play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:72px; height:72px; border-radius:50%;
  background:#fff;
  color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem;
  box-shadow:var(--shadow-lg);
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.video-thumb .play i{ margin-left:4px; }
.video-thumb:hover .play{ transform:translate(-50%,-50%) scale(1.08); background:var(--sky); color:#fff; }
.video-thumb .caption{
  position:absolute; left:16px; bottom:14px; right:16px;
  color:#fff; font-weight:700; font-size:.9rem;
  display:flex; align-items:center; gap:8px;
}

/* Breadcrumb / page header */
.page-hero{
  background:linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color:#fff;
  padding:56px 0 44px;
}
.page-hero h1{ color:#fff; font-size:clamp(1.8rem,3.4vw,2.6rem); max-width:760px; }
.page-hero p{ color:#c4d3e0; max-width:640px; font-size:1.05rem; }
.breadcrumb{ font-size:.85rem; color:#98a1a8; margin-bottom:14px; }
.breadcrumb a{ color:#c9ced2; }
.breadcrumb a:hover{ color:#fff; }

/* Contact info list */
.info-list li{ display:flex; gap:14px; margin-bottom:20px; align-items:center; }
.info-list .ico{
  width:42px; height:42px; border-radius:9px; background:var(--blue-light); color:var(--blue);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.05rem;
}
.info-list strong{ display:block; color:var(--navy); font-size:.92rem; margin-bottom:3px; }
.info-list span, .info-list a{ font-size:.92rem; color:var(--gray-700); }

.map-wrap{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); line-height:0; }

/* =========== Footer =========== */
.site-footer{ background:var(--navy); color:#b9cadb; padding:56px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{ color:#fff; font-size:.95rem; letter-spacing:.03em; margin-bottom:16px; }
.site-footer .brand img{ height:46px; filter:brightness(0) invert(1); opacity:.92; }
.site-footer p{ color:#93a7ba; font-size:.9rem; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer ul a{ color:#b9cadb; font-size:.9rem; transition:color .15s ease; }
.site-footer ul a:hover{ color:#fff; }
.site-footer .info-list .ico{ background:rgba(255,255,255,.08); color:#7fb3d6; }
.site-footer .info-list strong{ color:#fff; }
.site-footer .info-list span,
.site-footer .info-list a{ color:#b9cadb; font-size:.9rem; }
.site-footer .info-list a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; border-radius:8px; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; transition:background .15s ease;
}
.footer-social a:hover{ background:var(--blue); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:18px 0;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size:.82rem; color:#7f93a6;
}
.footer-bottom a{ color:#a9bccd; }
.footer-bottom a:hover{ color:#fff; }

/* Utilities */
.mt-0{ margin-top:0 !important; }
.text-center{ text-align:center; }
.small{ font-size:.85rem; }
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
.reveal.in{ opacity:1; transform:none; }

::selection{ background:var(--sky); color:#fff; }
