/*
Theme Name: RCP Services V9.9.7
Theme URI: https://rcpservices.pt/
Author: RCP Services
Description: Tema WordPress personalizado para RCP Services - Transporte, Montagem e Mudanças.
Version: 9.9.7
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: rcp-services-v9-9-7
*/

:root{
  --navy:#021B44;
  --navy2:#00142f;
  --yellow:#FFD400;
  --white:#ffffff;
  --text:#071733;
  --muted:#5a6678;
  --line:#e7edf5;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Poppins",Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.5;
  font-weight:500;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1190px,90%);margin:0 auto}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:linear-gradient(90deg,#00142f,#052352);
  color:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.2);
}
.header-inner{
  min-height:102px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:360px;
}
.brand-logo-wrap{
  width:96px;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.brand-logo{
  width:92px;
  height:92px;
  object-fit:contain;
}
.brand-text strong{
  display:block;
  color:var(--yellow);
  font-size:31px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.8px;
}
.brand-text span{
  display:block;
  color:#fff;
  font-size:14px;
  font-weight:600;
  margin-top:8px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:33px;
  font-size:13px;
  text-transform:uppercase;
  font-weight:700;
}
.main-nav a{color:#fff;position:relative}
.main-nav a:hover,
.main-nav a.active{color:var(--yellow)}
.main-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-24px;
  height:3px;
  background:var(--yellow);
  border-radius:99px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:5px;
  padding:15px 27px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  border:2px solid transparent;
  transition:.22s ease;
  line-height:1;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:var(--yellow);
  color:var(--navy);
  box-shadow:0 12px 26px rgba(255,212,0,.22);
}
.btn-outline{
  background:rgba(2,27,68,.25);
  color:#fff;
  border-color:var(--yellow);
}
.whatsapp-icon{
  width:16px;
  height:16px;
  flex:0 0 auto;
}
.header-cta{
  white-space:nowrap;
  padding:16px 25px;
}

/* Hero */
.hero{
  min-height:590px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(2,27,68,.99) 0%,rgba(2,27,68,.94) 30%,rgba(2,27,68,.50) 55%,rgba(2,27,68,.10) 100%),
    url("assets/hero-van.png") center right/cover no-repeat;
}
.hero-inner{padding:72px 0 34px}
.kicker{
  color:var(--yellow);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:17px;
  margin-bottom:17px;
}
.hero h1{
  max-width:520px;
  font-size:60px;
  line-height:1.08;
  font-weight:800;
  letter-spacing:-1.1px;
  margin-bottom:20px;
}
.hero h1 span{color:var(--yellow)}
.hero-description{
  max-width:465px;
  color:#edf4ff;
  font-size:17px;
  line-height:1.55;
  font-weight:500;
  margin-bottom:30px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:42px;
}
.hero-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(150px,1fr));
  gap:38px;
  max-width:765px;
}
.hero-point{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:14px;
  align-items:center;
}
.icon-line{
  color:var(--yellow);
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
}
.icon-line svg{
  width:46px;
  height:46px;
  stroke:currentColor;
  fill:none;
  stroke-width:2.3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hero-point strong{
  display:block;
  color:#fff;
  font-size:14px;
  font-weight:800;
  margin-bottom:3px;
}
.hero-point small{
  color:#dce8fb;
  font-size:12px;
  line-height:1.35;
  display:block;
  font-weight:500;
}

/* General Sections */
.section{padding:60px 0}
.section-head{
  text-align:center;
  margin-bottom:34px;
}
.section-kicker{
  color:#e7b900;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.section-head h2{
  color:var(--navy);
  font-size:28px;
  line-height:1.25;
  margin-top:4px;
  font-weight:800;
  letter-spacing:-.4px;
}
.divider{
  width:38px;
  height:3px;
  background:var(--yellow);
  margin:16px auto 0;
  border-radius:99px;
}

/* Services - clean final layout */
.section#servicos .container,
.about-quote > .container{
  width:min(1460px,92%);
  max-width:1460px;
  margin-left:auto;
  margin-right:auto;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  align-items:stretch;
}

.service-card{
  min-height:230px;
  padding:30px 24px 28px;
  border-radius:9px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 32px rgba(8,33,77,.055);
  display:flex;
  flex-direction:column;
}

.service-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:26px;
  width:100%;
}

.service-icon{
  width:62px;
  height:62px;
  min-width:62px;
  flex:0 0 62px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.service-icon img{
  width:62px;
  height:62px;
  object-fit:contain;
}

.service-head h3{
  margin:0;
  padding:0;
  color:var(--navy);
  font-size:16px;
  line-height:1.18;
  font-weight:800;
  flex:1;
}

.service-card p{
  margin:0;
  color:#16243a;
  font-size:13px;
  line-height:1.55;
  font-weight:500;
}

/* About / Quote */
.about-quote{
  background:#f6faff;
  padding:60px 0 64px;
}

.lower-grid{
  display:grid;
  grid-template-columns:1.34fr .96fr 1.32fr;
  gap:44px;
  align-items:stretch;
}

.about-photo{
  height:100%;
  min-height:340px;
  border-radius:8px;
  overflow:hidden;
  background:
    linear-gradient(rgba(2,27,68,.04),rgba(2,27,68,.04)),
    url("assets/about-worker.png") center/cover no-repeat;
  box-shadow:0 14px 34px rgba(2,27,68,.08);
}

.about-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0;
}

.about-copy h2{
  color:var(--navy);
  font-size:32px;
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.6px;
  margin:8px 0 16px;
}

.about-copy p{
  color:#26364b;
  font-size:14px;
  line-height:1.65;
  font-weight:500;
}

.stats{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  align-items:start;
}

.stat{
  display:block;
  text-align:left;
  padding-right:18px;
  min-width:0;
}

.stat:not(:last-child){
  border-right:1px solid rgba(2,27,68,.13);
  margin-right:18px;
}

.stat strong{
  display:block;
  color:var(--navy);
  font-size:33px;
  font-weight:800;
  line-height:1;
  margin-bottom:12px;
}

.stat strong span{color:var(--yellow)}

.stat small{
  display:block;
  color:#26364b;
  font-size:13px;
  line-height:1.35;
  margin-top:0;
  font-weight:500;
}

.quote-box{
  min-height:340px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(135deg,#03152f,#06234f);
  color:#fff;
  border-radius:8px;
  padding:34px 38px;
  box-shadow:0 16px 36px rgba(2,27,68,.15);
}

.quote-box h2{
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  margin:8px 0 8px;
}

.quote-box p{
  color:#dfe8f7;
  font-size:14px;
  font-weight:500;
  margin-bottom:22px;
}

.quote-form{
  display:grid;
  gap:14px;
}

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

.quote-form input,
.quote-form textarea{
  width:100%;
  border:0;
  border-radius:4px;
  padding:14px 13px;
  font:inherit;
  font-size:12px;
  font-weight:500;
  color:#0f1f36;
}

.quote-form textarea{
  min-height:86px;
  height:86px;
  resize:vertical;
}

.quote-form button{
  width:auto;
  min-width:190px;
  max-width:220px;
  height:48px;
  padding:0 24px;
  margin:0 auto;
  white-space:nowrap;
  border:0;
  cursor:pointer;
}

/* Footer */
.site-footer{
  background:linear-gradient(135deg,#00142f 0%,#031d44 100%);
  color:#fff;
  padding:58px 0 0;
  text-align:left;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr 1fr;
  gap:44px;
  padding-bottom:42px;
}
.footer-brand-row{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:14px;
}
.footer-logo{
  width:64px;
  height:64px;
  object-fit:contain;
}
.footer-title{
  color:var(--yellow);
  font-size:24px;
  font-weight:800;
  letter-spacing:-.5px;
}
.footer-text{
  color:#dce7f7;
  font-size:13px;
  max-width:330px;
}
.footer-col h3{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:var(--yellow);
  margin-bottom:16px;
}
.footer-links,
.footer-contact{
  display:grid;
  gap:10px;
  font-size:13px;
  color:#e7eefb;
}
.footer-links a,
.footer-contact a{
  color:#e7eefb;
  transition:.2s ease;
}
.footer-links a:hover,
.footer-contact a:hover{
  color:var(--yellow);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:18px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  color:#b9c7da;
  font-size:12px;
}
.footer-bottom a{
  color:#dce7f7;
  font-weight:700;
}
.footer-bottom a:hover{
  color:var(--yellow);
}

/* Legal page */
.legal-page{background:#f6faff}
.legal-hero{
  background:linear-gradient(135deg,#00142f,#052352);
  color:#fff;
  padding:72px 0;
}
.legal-container{width:min(880px,90%)}
.legal-hero h1{
  font-size:48px;
  line-height:1.08;
  font-weight:800;
  letter-spacing:-1px;
  margin:10px 0 12px;
}
.legal-hero p{
  color:#dce8fb;
  font-size:16px;
}
.legal-content{
  padding:56px 0 70px;
}
.legal-content h2{
  color:var(--navy);
  font-size:22px;
  margin:28px 0 10px;
}
.legal-content p{
  color:#26364b;
  font-size:15px;
  line-height:1.75;
}
.legal-content a{
  color:var(--navy);
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:var(--yellow);
  text-decoration-thickness:2px;
}

/* Responsive */
@media(max-width:1180px){
  .services-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .lower-grid{
    grid-template-columns:1fr 1fr;
    align-items:stretch;
  }

  .quote-box{
    grid-column:1 / -1;
    max-width:760px;
    margin:0 auto;
  }

  .main-nav{
    gap:18px;
  }

  .brand{
    min-width:300px;
  }

  .brand-text strong{
    font-size:26px;
  }
}

@media(max-width:820px){
  .header-inner{
    min-height:auto;
    padding:13px 0;
    align-items:center;
  }

  .brand{
    min-width:0;
  }

  .brand-logo-wrap{
    width:74px;
    height:74px;
  }

  .brand-logo{
    width:72px;
    height:72px;
  }

  .brand-text strong{
    font-size:22px;
  }

  .brand-text span{
    font-size:12px;
  }

  .main-nav{
    display:none;
  }

  .header-cta{
    padding:12px 14px;
    font-size:11px;
  }

  .hero{
    min-height:auto;
    background:
      linear-gradient(90deg,rgba(2,27,68,.97),rgba(2,27,68,.78)),
      url("assets/hero-van.png") center/cover no-repeat;
  }

  .hero-inner{
    padding:58px 0 34px;
  }

  .hero h1{
    font-size:42px;
  }

  .hero-description{
    font-size:15px;
  }

  .hero-points{
    grid-template-columns:1fr;
    gap:18px;
  }

  .services-grid{
    grid-template-columns:1fr;
  }

  .lower-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .about-photo{
    min-height:300px;
    height:300px;
  }

  .quote-box{
    min-height:auto;
    height:auto;
    padding:28px;
  }

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

  .stats{
    grid-template-columns:1fr;
  }

  .stat{
    padding-right:0;
  }

  .stat:not(:last-child){
    border-right:0;
    margin-right:0;
    border-bottom:1px solid rgba(2,27,68,.13);
    padding-bottom:16px;
    margin-bottom:16px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media(max-width:520px){
  .brand-text{
    display:none;
  }

  .header-cta{
    font-size:10px;
  }

  .hero h1{
    font-size:36px;
  }

  .btn{
    width:100%;
  }
}


/* V9.8 - Sticky header anchor offset */
#servicos,
#sobre,
#orcamento,
#contactos{
  scroll-margin-top:90px;
}


/* V9.9.3 - mobile orçamento offset */
@media(max-width:820px){

  #orcamento{
    scroll-margin-top:110px;
  }

}
