/* =====================================================================
   NORIGEM — Página "Quem Somos"
   Complementa style.css: usa os tokens do sistema de design.
   (O carrossel de clientes vive agora em style.css, por ser partilhado
   com a página inicial.)
   ===================================================================== */

/* 1. Introdução -------------------------------------------------------- */
.about-intro{max-width:1000px;padding:12px 0 65px}
.about-page h1{font-size:clamp(38px,5.2vw,70px);line-height:1.08;letter-spacing:-.035em;font-weight:600}
.about-lead{max-width:750px;font-size:19px;line-height:1.85;color:var(--muted);margin:30px 0 0}

/* 2. História ---------------------------------------------------------- */
.about-story{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;padding:20px 0 75px}
.about-story figure{margin:0;height:400px;overflow:hidden;border-radius:var(--radius-lg);background:var(--ink);box-shadow:var(--shadow-sm)}
.about-story img{width:100%;height:100%;object-fit:cover;object-position:center 60%}
.about-page h2{font-size:clamp(29px,3vw,43px);line-height:1.15;letter-spacing:-.03em;font-weight:600;margin:0 0 25px}
.about-story p:not(.overline),.about-tech>p:not(.overline){font-size:16px;line-height:1.9;color:var(--muted)}

/* 3. Tipos de trabalho ------------------------------------------------- */
.about-types{border-top:1px solid var(--line);padding:65px 0}
.about-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:35px}
.about-grid article{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:30px;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease}
.about-grid article:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.about-grid h3{font-size:23px;font-weight:600;letter-spacing:-.02em;margin:0 0 15px}
.about-grid p{color:var(--muted);font-size:15px;line-height:1.8;margin:0}

/* 4. Projetistas de modelos -------------------------------------------- */
.about-team{border-top:1px solid var(--line);padding:65px 0}
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:18px;margin:32px 0 0;padding:0;list-style:none}
.team-card{display:flex;align-items:center;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px 26px;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,border-color .3s ease}
.team-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:var(--accent)}
.team-avatar{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;flex:none;border-radius:50%;background:var(--ink);color:#fff;overflow:hidden;transition:background .3s ease,color .3s ease}
.team-avatar svg{width:30px;height:30px;display:block}
.team-card:hover .team-avatar{background:var(--accent);color:var(--ink)}
.team-name{font-family:var(--font-display);font-size:19px;font-weight:600;letter-spacing:-.015em;line-height:1.25;color:var(--text)}

/* 5. Morada ------------------------------------------------------------ */
.about-address{border-top:1px solid var(--line);padding:65px 0}
.address-card{display:flex;align-items:center;gap:20px;margin-top:28px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px 30px;max-width:620px;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,border-color .3s ease}
.address-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:var(--accent)}
.address-pin{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex:none;border-radius:16px;background:var(--ink);color:#fff;transition:background .3s ease,color .3s ease}
.address-pin svg{width:26px;height:26px;display:block}
.address-card:hover .address-pin{background:var(--accent);color:var(--ink)}
.address-text{font-family:var(--font-display);font-style:normal;font-size:clamp(18px,1.8vw,22px);font-weight:600;letter-spacing:-.015em;line-height:1.5;color:var(--text);margin:0}

/* 6. Bloco técnico ----------------------------------------------------- */
.about-tech{position:relative;background:var(--ink);border-radius:var(--radius-xl);color:#fff;padding:clamp(30px,4vw,50px);max-width:100%;overflow:hidden;isolation:isolate}
.about-tech-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.about-tech-text{position:relative;z-index:2;flex:1}
.about-tech-logo{width:clamp(150px,22vw,230px);height:auto;aspect-ratio:1359/183;object-fit:contain;object-position:left center;margin:0 0 30px}
.about-tech .overline{color:rgba(255,255,255,.6)}
.about-tech-text>p:not(.overline){color:rgba(255,255,255,.74);max-width:750px}
.about-tech-graphic{width:clamp(200px,30vw,400px);height:auto;opacity:1;pointer-events:none;user-select:none;flex:none}
@media(max-width:900px){
  .about-tech-inner{flex-direction:column;align-items:flex-start}
  .about-tech-graphic{align-self:flex-end;margin-top:-60px;margin-right:-20px;width:180px;opacity:1}
}
.about-cta{display:inline-block;background:#fff;color:var(--ink);padding:14px 26px;border-radius:999px;font-weight:650;margin-top:15px;font-size:16px;transition:background-color .3s ease,color .3s ease,box-shadow .35s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
.about-cta:hover{background:#fff;transform:translateY(-3px) scale(1.02);box-shadow:0 22px 40px -18px rgba(0,0,0,.5)}
.about-cta:active{transform:translateY(-1px) scale(.98)}

/* 7. Responsivo -------------------------------------------------------- */
@media(max-width:650px){
  .about-intro{padding-bottom:35px}
  .about-page h1{font-size:39px;letter-spacing:-.025em}
  .about-lead{font-size:16px;margin-top:24px}
  .about-story{grid-template-columns:1fr;gap:30px;padding-bottom:40px}
  .about-story figure{height:280px}
  .about-grid{grid-template-columns:1fr}
  .about-grid article{padding:24px}
  .about-types{padding:40px 0}
  .about-team{padding:40px 0}
  .team-card{padding:18px 22px}
  .about-address{padding:40px 0}
  .address-card{padding:20px 22px}
  .about-tech{padding:30px 24px}
  .about-tech-logo{width:clamp(136px,42vw,180px);margin-bottom:24px}
  .about-tech-graphic{display:none}
  .about-page h2{font-size:31px}
}


/* Stronger readable copy on the about page */
.about-lead{color:#4c463e;font-weight:500}
.about-story p:not(.overline),.about-grid p{color:#4c463e;font-weight:500}


/* Dark cards for the work categories */
.about-grid article{background:radial-gradient(circle at 100% 0%,rgba(211,159,91,.25),transparent 44%),linear-gradient(145deg,#493725 0%,#302318 82%);border-color:rgba(214,173,119,.32);box-shadow:0 18px 38px -24px rgba(35,23,13,.46)}
.about-grid article:hover{border-color:rgba(211,168,113,.62);box-shadow:0 22px 40px -22px rgba(35,23,13,.58)}
.about-grid h3{color:#fff}
.about-grid p{color:rgba(255,255,255,.76);font-weight:500}

.about-grid article:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:700px){.about-grid article:last-child:nth-child(odd){grid-column:auto}}


/* Larger, more comfortable typography on the About and What We Do pages */
.about-page h1{font-size:clamp(46px,5.8vw,84px)}
.about-page h2{font-size:clamp(34px,3.6vw,53px)}
.about-lead{font-size:22px;line-height:1.8}
.about-story p:not(.overline),.about-tech>p:not(.overline){font-size:19px;line-height:1.85}
.about-grid h3{font-size:28px}
.about-grid p{font-size:18px;line-height:1.8}
@media(max-width:650px){.about-page h1{font-size:45px}.about-page h2{font-size:36px}.about-lead{font-size:19px}.about-story p:not(.overline),.about-tech>p:not(.overline),.about-grid p{font-size:18px}.about-grid h3{font-size:24px}}
/* Warm beige panel for the introduction and image on What We Do */

/* Split the intro and image/story into two matching beige panels */
.about-page .about-intro,.about-page .about-story{margin:0 0 24px;padding:clamp(28px,4.4vw,58px);border:1px solid rgba(114,91,61,.20);border-radius:var(--radius-xl);background:rgba(230,210,177,.72);box-shadow:0 20px 44px -34px rgba(52,41,25,.42)}
.about-page .about-intro{max-width:none;padding-bottom:clamp(28px,4.4vw,58px)}
.about-page .about-story{margin-bottom:clamp(44px,6vw,76px);padding-top:clamp(28px,4.4vw,58px);padding-bottom:clamp(28px,4.4vw,58px)}
@media(max-width:650px){.about-page .about-intro,.about-page .about-story{padding:25px 22px;margin-bottom:18px;border-radius:24px}.about-page .about-story{gap:24px;margin-bottom:42px}}

.team-section .team-grid a{display:inline-flex;align-items:center;gap:8px}
.team-phone-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

.team-section .team-grid h3{display:flex;align-items:center;gap:10px}
.team-person-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;color:#8b6a35}

.complementary-section{margin:clamp(42px,6vw,72px) 0;padding:clamp(28px,4vw,48px) 0;border-top:1px solid var(--line);background:transparent;color:var(--text)}
.complementary-section>h2{margin:0 0 22px;color:#000;font-size:clamp(30px,3.4vw,44px);line-height:1.15;letter-spacing:-.03em}
.complementary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.complementary-grid article{padding:30px;border:1px solid rgba(214,173,119,.32);border-radius:var(--radius);background:radial-gradient(circle at 100% 0%,rgba(211,159,91,.25),transparent 44%),linear-gradient(145deg,#493725 0%,#302318 82%);box-shadow:0 18px 38px -24px rgba(35,23,13,.46);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.complementary-grid article:hover{transform:translateY(-3px);border-color:rgba(211,168,113,.62);box-shadow:0 22px 40px -22px rgba(35,23,13,.58)}
.complementary-grid h3{margin:0 0 10px;color:#fff;font-size:clamp(22px,2.3vw,30px);line-height:1.25;letter-spacing:-.02em}
.complementary-grid p{max-width:600px;margin:0;color:rgba(255,255,255,.76);font-size:17px;line-height:1.75;font-weight:500}
@media(max-width:650px){.complementary-grid{grid-template-columns:1fr;gap:14px}.complementary-section{padding:42px 0}}

.complementary-icon{display:block;width:34px;height:34px;margin:0 0 18px;fill:none;stroke:#f0c86a;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.complementary-icon.led-icon{width:28px;height:38px;margin-bottom:14px}

.model-type-icon{display:block;width:34px;height:34px;margin:0 0 18px;fill:none;stroke:#f0c86a;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}



/* Center the copy and icons in the work-area cards. */
.about-grid article,.complementary-grid article{text-align:center}
.about-grid h3,.about-grid p,.complementary-grid h3,.complementary-grid p{text-align:center;margin-left:auto;margin-right:auto}
.about-grid .model-type-icon,.complementary-grid .complementary-icon{margin-left:auto;margin-right:auto}

/* Stronger contrast for informational copy throughout Quem Somos. */
.about-page .about-lead,
.about-page .about-story p:not(.overline),
.about-page .team-grid p{color:#211f1c;opacity:1;font-weight:600}
.about-page .about-intro,.about-page .about-story{background:#eadcc1}
.about-page .team-grid article{background:#f5eddc}
.about-page .team-grid h3,.about-page .team-grid a{color:#211f1c;opacity:1}
.about-page .about-grid p{color:#fff;opacity:1}
.about-page .about-tech .overline{color:rgba(255,255,255,.86)}
.about-page .team-section>.overline{display:block;width:auto;margin:0 0 14px;padding:0;border-radius:0;background:transparent;color:#000;font-weight:700}
.about-page .about-types>.overline{color:#000;-webkit-text-stroke:0;paint-order:normal}
.about-page #team-title{color:#171614;text-shadow:none}
.about-page .about-lead{font-size:clamp(20px,1.8vw,23px);line-height:1.8}
.about-page .about-story p:not(.overline),
.about-page .about-tech-text>p:not(.overline),
.about-page .about-grid p,
.about-page .complementary-grid p{font-size:19px;line-height:1.8}
.about-page .team-grid h3{font-size:23px}
.about-page .team-grid p{font-size:18px;line-height:1.65}
.about-page .team-grid a{font-size:18px}
.about-page .about-types,
.about-page .team-section,
.about-page .about-address,
.about-page .complementary-section{border-top:2px solid rgba(55,50,44,.34)}
@media(max-width:650px){
  .about-page .about-lead{font-size:19px}
  .about-page .about-story p:not(.overline),.about-page .about-tech-text>p:not(.overline),.about-page .about-grid p,.about-page .complementary-grid p{font-size:18px}
  .about-page .team-grid h3{font-size:21px}
  .about-page .team-grid p,.about-page .team-grid a{font-size:17px}
}

.about-page .about-tech-text>p:not(.overline){color:#fff;opacity:1;font-weight:550}
.about-page p.overline{color:#76500d;opacity:1}
.about-page .about-tech .overline{color:rgba(255,255,255,.86)}


/* Opaque Who We Are panels; remove translucent panel blending. */
.about-page .about-intro,.about-page .about-story{background:#eadcc1!important;opacity:1!important}
.about-page .team-grid article{background:#f5eddc!important;opacity:1!important}
.about-page .about-grid article,.about-page .complementary-grid article,.about-page .address-card{opacity:1!important}
.about-page .about-tech-inner{display:flex}
.about-page .about-tech-text{max-width:920px}
