*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

:root{
  --navy:#06182c;
  --navy2:#0b243b;
  --gold:#d5a33b;
  --gold2:#f2c15d;
  --cream:#f8f2e8;
  --white:#fff;
  --text:#17283a;
}

html{
  scroll-behavior:smooth;
  overflow: auto !important;
  height:auto !important;
  
  
}

html

body{
  font-family:'Montserrat',sans-serif;
  color:var(--text);
  background:var(--cream);
  overflow: auto !important;
  height:auto !important;
  min-height:100% !important;
  
  
}

a{
  text-decoration:none;
  color:inherit;
}


/* ==========================================
   TOPO
========================================== */

.topbar{
  height:78px;
  background:var(--navy);
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 clamp(24px,7vw,120px);

  position:relative;
  z-index:5;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.monogram{
  font-family:'Cormorant Garamond',serif;
  color:var(--gold2);
  font-size:48px;
  line-height:.8;
}

.brand-name{
  font-size:25px;
  letter-spacing:3px;
  color:#f8e5ad;
}


/* ==========================================
   MENU DESKTOP
========================================== */

.nav{
  display:flex;
  align-items:center;
  gap:38px;
  font-size:14px;
}

.nav a{
  padding:28px 0;
  transition:.2s;
}

.nav a:hover {
  color:var(--gold2);
}

.nav a.active {
  position: relative;
  color: #fff !important; 
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--gold2);
}


/* ==========================================
   TAGLINE
========================================== */

.tagline{
  display:none;
}


/* ==========================================
   MENU HAMBÚRGUER
   ESCONDIDO NO DESKTOP
========================================== */

.menu-button{
  display:none;
}

.mobile-menu{
  display:none;
}


/* ==========================================
   CAPA PRINCIPAL
========================================== */

.hero{
  min-height:500px;
  width:100%;

  position:relative;

  display:grid;
  grid-template-columns:55% 45%;

  background:#06182c;
  color:#fff;

  overflow: auto;
}

.hero::before{
  content:"";

  position:absolute;

  left:0;
  top:0;

  width:55%;
  height:100%;

  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,0) 45%,
      rgba(6,24,44,0.95) 100%
    ),
    url("./FOTO CAPA.png");

  background-size:cover;
  background-position:38% center;
  background-repeat:no-repeat;

  z-index:1;
}

.hero-content{
  grid-column:2;

  position:relative;
  z-index:2;

  padding:25px clamp(30px,6vw,100px) 58px 50px;

  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-photo{
  display:none;
}

.hero h1{
  font-family:'Cormorant Garamond',serif;

  font-size:47px;
  line-height:1;

  margin-bottom:14px;

  color:#fff;
}

.hero p{
  font-size:16px;
  line-height:1.55;

  max-width:570px;

  color:#f4f4f4;
}

.signature{
  font-family:'Parisienne',cursive;

  color:var(--gold2);

  font-size:52px;

  margin-top:10px;
}

.roles{
  font-size:13px;

  letter-spacing:1px;

  margin-top:5px;
}

.quote{
  position:absolute;

  right:5%;
  top:50%;

  transform:translateY(-50%);

  max-width:250px;

  border-left:2px solid var(--gold2);

  padding-left:22px;

  font-family:'Cormorant Garamond',serif;

  font-size:23px;

  font-style:italic;

  line-height:1.25;
}

.quote span{
  display:block;

  font-family:'Montserrat',sans-serif;

  font-size:26px;

  font-style:normal;

  color:var(--gold2);

  margin-bottom:5px;
}


/* ==========================================
   SEÇÃO DOS PROJETOS
========================================== */

.section{
  position:relative;

  padding:60px clamp(20px,4vw,65px) 42px;

  background:
    linear-gradient(
      rgba(248,242,232,.9),
      rgba(248,242,232,.96)
    ),
    url('https://images.unsplash.com/photo-1548625361-2cbb0c3f7b34?auto=format&fit=crop&w=1800&q=80')
    center/cover;
}


/* ==========================================
   TÍTULO DOS PROJETOS
========================================== */

.section-title{
  display:flex;

  align-items:center;
  justify-content:center;

  gap:22px;

  margin-bottom:30px;
}

.section-title:before,
.section-title:after{
  content:'';

  height:2px;

  background:var(--gold);

  width:180px;
  max-width:18vw;

  flex-shrink:0;
}

.section-title h2{
  font-family:'Montserrat',sans-serif;

  font-size:27px;

  font-weight:700;

  letter-spacing:1px;

  line-height:1.15;

  text-align:center;

  color:#06182c;
}


/* ==========================================
   CARDS DOS PROJETOS
========================================== */

.cards{
  display:grid;

  grid-template-columns:repeat(5,1fr);

  gap:18px;

  max-width:1760px;

  margin:auto;
}

.card{
  background:var(--navy);

  border-radius:15px;

  overflow: auto;

  box-shadow:
    0 9px 22px rgba(4,16,29,.18);

  transition:
    transform .25s,
    box-shadow .25s;

  display:flex;
  flex-direction:column;
}

.card:hover{
  transform:translateY(-7px);

  box-shadow:
    0 16px 30px rgba(4,16,29,.28);
}

.card-image{
  height:150px;

  background-size:cover;
  background-position:center;

  position:relative;
}

.card-image:after{
  content:'';

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      transparent 50%,
      rgba(4,17,30,.28)
    );
}

.card-body{
  padding:16px 18px 19px;

  text-align:center;

  color:#fff;

  display:flex;
  flex-direction:column;

  flex:1;
}

.card-icon{
  width:58px;
  height:58px;

  border:2px solid var(--gold2);

  border-radius:50%;

  background:var(--navy);

  display:grid;

  place-items:center;

  margin:-44px auto 10px;

  position:relative;

  z-index:2;

  font-size:27px;
}

.card h3{
  font-family:'Cormorant Garamond',serif;

  font-size:27px;

  color:#fff;

  line-height:1;
}

.card h3 small{
  display:block;

  font-family:'Montserrat',sans-serif;

  font-size:14px;

  margin-top:4px;

  color:var(--gold2);

  font-weight:400;
}

.card .line{
  width:92px;
  height:2px;

  background:var(--gold);

  margin:9px auto 10px;
}

.card p{
  font-size:12px;

  line-height:1.55;

  color:#f0f3f6;

  min-height:74px;
}

.btn{
  margin-top:auto;

  display:inline-flex;

  align-items:center;
  justify-content:center;

  gap:12px;

  background:
    linear-gradient(
      180deg,
      var(--gold2),
      #e5aa3e
    );

  color:#09182a;

  font-weight:700;

  border-radius:25px;

  padding:11px 22px;

  font-size:13px;

  transition:.2s;
}

.btn:hover{
  filter:brightness(1.08);

  transform:scale(1.02);
}


/* ==========================================
   REDES SOCIAIS
========================================== */

.redes-sociais{
  background:#f8f2e8;

  padding:55px 25px 65px;

  text-align:center;
}

.redes-container{
  max-width:1250px;

  margin:auto;
}


/* ==========================================
   TÍTULO DAS REDES
========================================== */

.redes-sociais h2{
  display:flex;

  align-items:center;
  justify-content:center;

  gap:22px;

  margin:0 0 35px 0;

  font-family:'Montserrat',sans-serif;

  font-size:27px;

  font-weight:700;

  letter-spacing:1px;

  line-height:1.15;

  text-align:center;

  color:#06182c;
}

.redes-sociais h2::before,
.redes-sociais h2::after{
  content:'';

  display:block;

  width:180px;
  max-width:18vw;

  height:2px;

  background:var(--gold);

  flex-shrink:0;
}


/* ==========================================
   GRID DAS REDES
========================================== */

.redes-grid{
  display:grid;

  grid-template-columns:repeat(6,1fr);

  gap:14px;
}


/* ==========================================
   CARDS DAS REDES
========================================== */

.rede-card{
  background:#06182c;

  color:#fff;

  border-radius:15px;

  padding:22px 12px;

  min-height:170px;

  display:flex;

  flex-direction:column;

  align-items:center;

  justify-content:flex-start;

  transition:.25s;
}

.rede-card:hover{
  transform:translateY(-6px);
}


/* ==========================================
   ÍCONES DAS REDES
========================================== */

.rede-icone{
  width:auto;
  height:auto;

  border:none;

  display:flex;

  align-items:center;
  justify-content:center;

  margin:0 auto 12px;

  flex-shrink:0;
}

.rede-icone img{
  width:38px;
  height:38px;

  max-width:38px;
  max-height:38px;

  object-fit:contain;

  display:block;
}


/* ==========================================
   TÍTULOS DOS CARDS DAS REDES
========================================== */

.rede-card h3{
  font-family:'Merriweather',Georgia,serif;

  font-size:16px;

  font-weight:700;

  color:var(--gold2);

  margin:5px 0;
}


/* ==========================================
   DESCRIÇÃO DOS CARDS DAS REDES
========================================== */

.rede-card p{
  font-family:'Montserrat',sans-serif;

  font-size:12px;

  line-height:1.35;

  color:#f0f3f6;

  max-width:220px;
}


/* ==========================================
   RODAPÉ
========================================== */

.footer{
  background:#06182c;

  color:#fff;

  text-align:center;

  padding:60px 20px 95px;
}

.footer-content{
  max-width:900px;

  margin:0 auto;
}

.footer-name{
  color:#d5a33b;

  font-family:"Cormorant Garamond",serif;

  font-size:28px;

  letter-spacing:3px;

  margin-bottom:12px;
}

.footer-phrase{
  color:#f2c15d;

  font-family:"Parisienne",cursive;

  font-size:26px;

  line-height:1.4;
}

.footer-copy{
  font-family:"Montserrat",sans-serif;

  font-size:11.5px;

  color:rgba(255,255,255,0.6);

  margin-top:28px;

  margin-bottom:15px;

  letter-spacing:0.5px;
}


/* ==========================================
   LOGO
========================================== */

.logo-header{
  width:140px;
  height:140px;

  object-fit:contain;

  display:block;
}


/* ==========================================
   TABLET / TELAS MÉDIAS
========================================== */

@media(max-width:1100px){

  .nav{
    gap:18px;
  }

  .tagline{
    display:none;
  }

  .cards{
    grid-template-columns:repeat(2,1fr);
  }

  .hero{
    grid-template-columns:1fr;

    min-height:520px;

    background-position:center;
  }

  .hero-content{
    grid-column:1;

    align-self:end;

    padding:30px 35px 65px;

    background:
      linear-gradient(
        transparent,
        rgba(3,12,21,.9)
      );
  }

  .quote{
    display:none;
  }
}


/* ==========================================
   CELULAR
========================================== */

@media(max-width:650px){

  /* ========================================
     TOPO
  ======================================== */

  .topbar{
    height:72px;
    min-height:72px;

    padding:10px 18px;
  }

  .brand{
    display:flex;

    align-items:center;
  }

  .brand-name{
    font-size:18px;

    letter-spacing:2px;
  }

  .monogram{
    font-size:38px;
  }

  .nav{
    display:none;
  }

  /* IMPORTANTE:
     NÃO EXISTE TAGLINE VAZIA NO TOPO */
  .tagline{
    display:none;
  }


  /* ========================================
     HERO
  ======================================== */

  .hero{
    min-height:700px;

    display:block;

    position:relative;

    overflow: auto;

    background:#06182c;
  }

  .hero::before{
    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:100%;

    background-image:
      linear-gradient(
        to bottom,
        rgba(6,24,44,0) 0%,
        rgba(6,24,44,0) 40%,
        rgba(6,24,44,.25) 54%,
        rgba(6,24,44,.75) 70%,
        rgba(6,24,44,.95) 85%,
        rgba(6,24,44,1) 100%
      ),
      url("./FOTO CAPA.png");

    background-size:auto 46%;

    background-position:58% top;

    background-repeat:no-repeat;

    z-index:1;
  }

  .hero-content{
    position:absolute;

    z-index:2;

    left:0;
    bottom:35px;

    width:100%;

    padding:25px 22px 40px;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    background:transparent;
  }

  .hero h1{
    font-size:36px;

    line-height:1.05;

    margin-bottom:15px;
  }

  .hero p{
    font-size:15px;

    line-height:1.55;
  }

  .signature{
    font-size:43px;

    margin-top:10px;
  }

  .roles{
    font-size:11px;

    line-height:1.6;
  }


  /* ========================================
     PROJETOS
  ======================================== */

  .cards{
    grid-template-columns:1fr;
  }

  .card-image{
    height:180px;
  }

  .section-title{
    gap:12px;
  }

  .section-title h2{
    font-size:18px;

    line-height:1.1;
  }

  .section-title:before,
  .section-title:after{
    width:35px;

    max-width:none;
  }


  /* ========================================
     MENU HAMBÚRGUER
  ======================================== */

  .menu-button{
    display:flex;

    position:absolute;

    right:18px;
    top:22px;

    width:22px;
    height:20px;

    padding:0;

    border:0;

    background:transparent;

    flex-direction:column;

    justify-content:space-between;

    cursor:pointer;

    z-index:1200;
  }

  .menu-button span{
    display:block;

    width:22px;
    height:2px;

    background:var(--gold2);

    border-radius:2px;

    transition:
      transform .25s ease,
      opacity .2s ease;
  }


  /* ========================================
     MENU MOBILE
  ======================================== */

  .mobile-menu{
    display:flex;

    position:absolute;

    top:64px;

    right:12px;

    width:170px;

    max-width:calc(100vw - 24px);

    padding:4px 0;

    margin:0;

    background:var(--navy);

    border:1px solid var(--gold);

    border-radius:8px;

    flex-direction:column;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transform:translateY(-6px);

    box-shadow:
      0 8px 20px rgba(0,0,0,.30);

    transition:
      opacity .2s ease,
      transform .2s ease,
      visibility .2s ease;

    z-index:1100;
  }

  .mobile-menu.open{
    opacity:1;

    visibility:visible;

    pointer-events:auto;

    transform:translateY(0);
  }

  .mobile-menu a{
    display:block;

    width:100%;

    padding:9px 14px;

    color:#fff;

    font-size:12px;

    line-height:1.2;

    white-space:nowrap;

    border-bottom:
      1px solid rgba(213,163,59,.15);
  }

  .mobile-menu a:last-child{
    border-bottom:0;
  }

  .mobile-menu a:hover,
  .mobile-menu a:active{
    background:rgba(213,163,59,.15);

    color:var(--gold2);
  }

  .mobile-menu a.active {
    position: relative;
    color: #fff !important;
  }

  .mobile-menu a.active::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 14px;
    width: 20px;
    height: 2px;
    background-color: var(--gold2);
  }


  /* ========================================
     ANIMAÇÃO DO HAMBÚRGUER
  ======================================== */

  .menu-button.active span:nth-child(1){
    transform:
      translateY(9px)
      rotate(45deg);
  }

  .menu-button.active span:nth-child(2){
    opacity:0;
  }

  .menu-button.active span:nth-child(3){
    transform:
      translateY(-9px)
      rotate(-45deg);
  }


  /* ========================================
     LOGO
  ======================================== */

  .logo-header{
    width:100px;
    height:100px;

    object-fit:contain;

    display:block;
  }


  /* ========================================
     REDES SOCIAIS — TÍTULO
  ======================================== */

  .redes-sociais{
    padding:45px 12px 50px;
  }

  .redes-container{
    width:100%;

    max-width:100%;
  }

  .redes-sociais h2{
    width:100%;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:12px;

    margin:0 0 28px 0;

    font-family:'Montserrat',sans-serif;

    font-size:18px;

    font-weight:700;

    letter-spacing:1px;

    line-height:1.1;

    text-align:center;
  }

  .redes-sociais h2::before,
  .redes-sociais h2::after{
    width:35px;

    max-width:none;

    height:2px;

    background:var(--gold);

    flex-shrink:0;
  }


  /* ========================================
     REDES — GRID MOBILE
  ======================================== */

  .redes-grid{
    display:grid;

    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:12px;

    width:100%;
  }


  /* ========================================
     CARDS REDES MOBILE
  ======================================== */

  .rede-card{
    width:100%;

    min-width:0;

    min-height:170px;

    padding:18px 8px;

    border-radius:14px;
  }


  /* ========================================
     ÍCONES MOBILE
  ======================================== */

  .rede-icone{
    width:auto;
    height:auto;

    border:none;

    margin-bottom:10px;
  }

  .rede-icone img{
    width:34px;
    height:34px;

    max-width:34px;
    max-height:34px;
  }


  /* ========================================
     TÍTULOS REDES MOBILE
  ======================================== */

  .rede-card h3{
    font-family:'Merriweather',Georgia,serif;

    font-size:15px;

    line-height:1.15;

    font-weight:700;

    margin:4px 0 5px;
  }

  .rede-card p{
    font-size:10px;

    line-height:1.3;

    max-width:135px;
  }


  /* ========================================
     RODAPÉ MOBILE
  ======================================== */

  .footer{
    padding:50px 20px 85px;
  }

  .footer-name{
    font-size:23px;
  }

  .footer-phrase{
    font-size:22px;
  }

  .footer-copy{
    font-size:10.5px;
    margin-top:22px;
    margin-bottom:12px;
  }

}

/* Merriweather font explicit rule */
.rede-card h3 {
  font-family: 'Merriweather', Georgia, serif !important;
  font-weight: 700 !important;
}

@media(max-width: 650px) {
  /* Ordem dos cards no mobile: Tom Católico no topo, Santo Estilo, Show, Sorteio e Jurídico */
  .card.card-tomcatolico {
    order: 1;
  }
  .card.card-santoestilo {
    order: 2;
  }
  .card.card-show {
    order: 3;
  }
  .card.card-sorteio {
    order: 4;
  }
  .card.card-juridico {
    order: 5;
  }
}

