/*
Theme Name:     DFD Ronneby Child Theme
Theme URI: 		http://rnbtheme.com/
Description:    ronneby - Highly Functional Multifaceted WP Theme
Author:         DFD
Author URI:		http://rnbtheme.com/
Template:       dfd-ronneby
Version:        1.0.0
*/


/*********************************************
GLOBAL
**********************************************/

.cachee{
	display: none;
}



/*** CADRAGE NAVBAR **************************/


/*** CADRAGE NAVBAR **************************/

.header-wrap .row.decorated{
    padding-left: 0!important;
    padding-right: 0!important;
    padding-top: 10px!important;
}

#header-container:not(.small):not(.logo-position-right):not(.header-style-11) #header .header-wrap > .row:last-child .columns.header-main-panel {
    padding: 0!important;
}

ul#menu-main li:last-child a {
    padding-right: 0!important;
}



section#header {
    padding: 10px 30px;
    background-color: #fff;
}



.boxed_layout #header-container.header-style-1 #header > *, .boxed_layout #header-container.header-style-2 #header > *, .boxed_layout #header-container.header-style-3 #header > *, .boxed_layout #header-container.header-style-4 #header > *, .boxed_layout #header-container.header-style-6 #header > *, .boxed_layout #header-container.header-style-7 #header > * {
    width: auto!important;
}


/*** HEADER **************************/



/*** HEADER **************************/

/*.nav-menu .mega-menu-item .item-title {
    padding: 0 10px!important;
    letter-spacing: 0px!important;
}


#header-container:not(.small):not(.logo-position-right):not(.header-style-11) #header .header-wrap > .row:last-child .columns.header-main-panel{
        height: 30px;
        padding-right: 0px!important;
    }
.nav-menu .nav-item:last-of-type a {
    padding-right: 0 !important;
}*/

/*** HEADING **************************/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat'!important;
    letter-spacing: 0!important;
    font-weight: 800!important;
}



.taf-cta {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      color: black;
      position: relative;
    }

    .taf-cta .link-text {
      position: relative;
      padding-bottom: 5px;
    }

    .taf-cta .link-text::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      height: 3px;
      width: 40%; /* Ligne courte par défaut */
      background-color: black;
      transition: width 0.3s ease;
    }

    .taf-cta:hover .link-text::after {
      width: 100%; /* Ligne s'étend au survol */
      color:#ccc!important;
       background-color: #ccc;
    }

.taf-cta .arrow {
    margin-left: 10px;
    font-size: 26px;
    margin-top: -6px;
    font-weight: 900;
    /* border: solid #000 1px; */
}

a:hover {
    color: #ccc!important;
}

a{
    transition-duration:400ms!important;
}


/*********************************************
EFFETS
**********************************************/


/*APPARITION DEFILEMENT*/

.from-right,
.from-left {
    opacity: 0;
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out;
}
.from-right {
    transform: translate(0,-30px);
}
.from-left {
    transform: translate(0,-30px);
}


/*HOVER LINE*/

.c-btn {
  color: #000;
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-size: 40px;
  height: 100%;
}
.c-btn:after {
  content: '';
  display: block;
  position: absolute;
}
.c-btn:before {
  content: '';
  display: block;
  position: absolute;
}
.c-btn--line:after {
    transform-origin: right;
    transform: scaleX(0);
    bottom: 5px;
    height: 1px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}
.c-btn--line:hover:after {
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}


/*** FIN EFFETS *******************************/




/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group {
  margin-bottom: 20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }


/*** FOOTER **************************/

footer.taf-footer-wrap {
    display: flex;
    padding: 60px 10%;
    align-items: center;
    justify-content: space-between;
}

.cta-footer-item-1 {
    color: #fff !important;
    width: 50%;
}

ul.taf-sns-list li a, .cta-footer-item-2 a, .cta-footer-item-3 a {
    color: #fff;
}

.cta-footer-item-2 a, .cta-footer-item-3 a {
    display: block;
}


hr {
    border: solid #f1f1f1;
    border-width: 2px 0 0;
    clear: both;
    margin: 10px 0 10px;
    height: 0;
    width: 40px;
}

footer.taf-footer-wrap {
    display: flex
;
    padding: 60px 10%;
}

.cta-footer-item-1 {
    width: 50%;
}

.cta-footer-item-2, .cta-footer-item-3{
    width: 10%;
}

/*** TEXTES **************************/



/*********************************************
HOME
**********************************************/

section.taf-home-1 {
    display: flex;
    flex-direction: column;
}

section.taf-home-1 img {
    width: 20%;
    margin-top: 90px;
}

.taf-prez-wrap {
    width: 80%;
    align-self: end;
    margin-top: 40px;
}

.taf-prez-wrap p {
    margin-bottom: 30px;
}

.taf-cta .link-text {
    position: relative;
    padding-bottom: 5px;
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 1em;
}

section.taf-home-grid {
    display: flex;
    justify-content: space-between;
}

a.taf-home-grid-item {
    width: 32%;
    height: 290px;
    position: relative;
}

.taf-item-cartouche {
    position: absolute;
    bottom: 0;
    width: 50%;
    background-color: #fff;
    padding-top: 10px;
}

.taf-item-cartouche span {
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #848484;
    font-size: 0.8em;
    line-height: 0;
}

.taf-item-cartouche h6 {
    letter-spacing: 0;
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 1.2em;
    line-height: 0.75em;
}

a.taf-home-grid-item:hover {
    transform: scale(1.009);
}


section.taf-home-bandeau-fracta {
    padding: 150px 0;
    text-align: center;
}

.taf-bandeau-cartouche span {
    font-family: 'Montserrat' !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.5em;
    color: #fff;
}

.taf-bandeau-cartouche h3 {
    font-family: 'Montserrat';
    color: #fff;
    font-weight: 900;
    font-size: 5em;
    margin: 40px;
}


.taf-cta-center {
    display: inline-flex
;
    align-items: center;
    text-decoration: none;
    color: black;
    position: relative;
    border: 1px solid #fff;
    padding: 5px 10px;
}

.taf-cta-center:hover {
    font-size:1.3em;
    padding: 9px 15px;
}


.taf-heading-wrap h2 {
    font-family: 'Montserrat';
    letter-spacing: 0;
    font-weight: 800;
}

.taf-heading-wrap strong {
    text-transform: uppercase;
    font-weight: 700;
    color: #848484;
    line-height: 0;
}

.vc_row.vc-row-wrapper.taf-ig-wrap .wpb_text_column.wpb_content_element {
    width: 80%;
    margin-left: auto;
    margin-right: 0;
}

.taf-heading-wrap {
    margin-bottom: 40px;
}

/*********************************************
ABOUT
**********************************************/






/*********************************************
CONTACT
**********************************************/


/*********************************************
RESPONSIVE
**********************************************/

@media screen and (max-width: 650px){



}








.taf-about-accordion-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.taf-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
}

.taf-accordion li {
  border-bottom: 1px solid #000;
  padding: 12px 0;
}

.taf-accordion li > h5 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    outline: none;
    font-size: 1.3em;
}

.taf-accordion li > h5::after {
  content: "▾";
  font-size: .9rem;
  transition: transform .2s ease;
  margin-left: 8px;
}

.taf-accordion li > hr {
  border: 0;
  border-top: 1px solid #eef0f3;
  margin: 10px 0 0;
  opacity: .6;
}

/* Flèche vers le haut quand ouvert */
.taf-accordion li.open > h5::after {
  transform: rotate(180deg);
}

.taf-accordion .taf-cta {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
}




ul.taf-contact-list {
    list-style: none;
    display: flex
;
}

ul.taf-contact-list li{
    margin-right: 10px;
}

ul.taf-contact-list li a i {
    color: #fff;
    padding: 10px;
    border-radius: 25px;
    background-color: #000;
    width: auto;
}




.taf-about-sec-1 {
    display: flex
;
    align-items: center;
}


section.taf-about-sec-1 p {
    margin-left: 40px;
    text-align: justify;
}

.taf-about-sec-1 img {
    width: 40%;
}

section.taf-about-sec-1 img {
    width: 40%!important;
}

section.taf-intro-wrap {
    width: 75%;
}

.taf-cp-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

a.taf-cp-item {
    width: 45%;
    margin-bottom: 40px;
}

a.taf-cp-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

a.taf-cp-item strong, a.taf-cp-item span {
    display: block;
}


.taf-cta-line {
    text-transform: uppercase !important;
    font-family: 'Karla';
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85em;
    transition-duration: 400ms;
    color: #000 !important;
}

.taf-cta-line:before {
    content: '';
    border-bottom: 1px solid #000;
    width: 20px;
    height: 2px;
    display: inline-block;
    margin-right: 9px;
    margin-bottom: 3px;
}

a.taf-cp-item strong {
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1em;
}

a.taf-cp-item span {
    color: #8D8D8D;
    text-transform: uppercase;
    font-weight: 700;
}

.taf-fracta-wrap {
    display: flex
;
    flex-wrap: wrap;
    justify-content: space-between;
}

a.taf-fra-collab-item {
    width: 32%;
    margin-bottom: 60px;
}

a.taf-fra-collab-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

a.taf-fra-collab-item strong {
    font-family: 'Karla';
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1em;
}

.animated-arrow {
    display: inline-block;
    color: #222;
    font-size: 1.05em;
    font-style: italic;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
    border: 1px solid #222;
    padding: 15px;
    font-family: 'Karla';
}


.the-arrow.-left {
    position: absolute;
    top: 50%;
    left: 10px;
}
.the-arrow {
    width: 30px;
    transition: all 0.2s;
}

.the-arrow.-left > .shaft {
    width: 0;
    background-color: #999;
}
.the-arrow > .shaft {
    background-color: #999;
    display: block;
    height: 1px;
    position: relative;
    transition: all 0.2s;
    transition-delay: 0;
    will-change: transform;
}

.animated-arrow > .main {
    display: flex
;
    align-items: center;
    transition: all 0.2s;
}

.animated-arrow > .main > .text {
    margin: 0 16px 0 0;
    line-height: 1;
}

.animated-arrow > .main > .the-arrow {
    position: relative;
}
.the-arrow.-right {
    top: 1px;
}

.the-arrow.-right > .shaft:before {
    transform: rotate(40deg);
}
.the-arrow.-right > .shaft:before, .the-arrow.-right > .shaft:after {
    width: 8px;
    transition-delay: 0.3s;
    transition: all 0.5s;
}
.the-arrow > .shaft:before {
    transform-origin: top right;
}
.the-arrow > .shaft:before, .the-arrow > .shaft:after {
    background-color: #999;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.2s;
    transition-delay: 0;
}

.the-arrow.-right > .shaft:after {
    transform: rotate(-40deg);
}
.the-arrow.-right > .shaft:before, .the-arrow.-right > .shaft:after {
    width: 8px;
    transition-delay: 0.3s;
    transition: all 0.5s;
}
.the-arrow > .shaft:after {
    transform-origin: bottom right;
}

.the-arrow > .shaft:before, .the-arrow > .shaft:after {
    background-color: #999;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.2s;
    transition-delay: 0;
}

ul.taf-filter-wrap {
    list-style: none;
    display: flex
;
    width: 100%;
    flex-direction: row;
}

.taf-filter-btn.is-active .text {
  text-decoration: underline;
}
.taf-fracta-wrap {
  /* utile si les <a> sont inline-block */
  display: block;
}
.taf-fra-collab-item {
  display: inline-block;
  width: calc(25% - 16px); /* ajuste selon ton grid */
  margin: 8px;
  vertical-align: top;
}
@media (max-width: 1024px){
  .taf-fra-collab-item { width: calc(33.333% - 16px); }
}
@media (max-width: 768px){
  .taf-fra-collab-item { width: calc(50% - 16px); }
}
@media (max-width: 480px){
  .taf-fra-collab-item { width: 100%; margin: 8px 0; }
}


