@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
  --karol-white: #fff;
  --karol-grey:#F6F6F6;
  --karol-primary:#294754;
  --karol-secondary:#466772;
  --karol-third: #d7b5a1;

  --karol-text:#284754;
  --karol-muted:#7A7A7A;
  --karol-bg-button:#d7b5a1;
  --karol-ct-button:#294754;

  --karol-bg-primary:#294754;
  --karol-ct-primary:#f9f7f7;
  --karol-bg-secondary:#466772;
  --karol-ct-secondary:#f9f7f7;
  --karol-bg-grey:#F6F6F6;
  --karol-ct-grey:#294754;

  --karol-radius:10px;
  --karol-shadow:0 10px 25px rgba(0,0,0,.12);
  --karol-shadow-hover:0 10px 35px rgba(0,0,0,.22);
}

/* Base typography */
.karol_site {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--karol-text);
  font-weight: 400;
}

.karol_site h1, .karol_site h2, .karol_site h3, .karol_site h4{
  font-family: "Inter", serif;
  font-weight: 300;
  letter-spacing: .2px;
}

.karol_site h1,
.karol_site h2 {
  color: var(--karol-primary);
}

.karol_site h3,
.karol_site h4,
.karol_site h5 {
  color: var(--karol-secondary);
}

.karol_site a {
  color: var(--karol-third);
}

/* buttons */
body .et_pb_button {
  background-color: var(--karol-bg-button) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
body.et_pb_button_helper_class .et_pb_button, 
body.et_pb_button_helper_class .et_pb_module.et_pb_button {
  color:var(--karol-ct-button) !important;
}

/* header */
.et_pb_menu_0_tb_header.et_pb_menu {
  background-color: var(--karol-primary) !important;
}
header .et_pb_row_1_tb_header .et_pb_menu {
  transition: all 0.3s;
}
header .et_pb_sticky {
  box-shadow: 0 2px 5px 5px rgba(0,0,0, 0.2);
}
header .et_pb_row_1_tb_header.et_pb_sticky .et_pb_menu {
  padding-top: 5px;
  padding-bottom: 5px;
}
header .et_pb_row_1_tb_header .et_pb_menu .et-menu > li {
  text-transform: uppercase;
}
header .et_pb_row_1_tb_header .et_pb_menu .et-menu > li.current-menu-item a {
  color: var(--karol-third) !important;
}

header .et_pb_code .et_pb_code_inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
header .et_pb_code .et_pb_code_inner svg {
  height: 200px;
  width: 100%;
}
header .et_pb_row_1_tb_header .et_pb_menu .et-menu > li.current-menu-item.et_pb_menu_page_id-710 a {
  color: #fff !important;
}
.home header .et_pb_sticky,
.home header .et_pb_sticky_module {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}
.home header.visible .et_pb_sticky,
.home header.visible .et_pb_sticky_module {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.home header .et_pb_row_0_tb_header {
  display: none;
}

/* banner */
.et_pb_section.hero_banner {
  min-height: 40vh;
  padding: 10% 5% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--karol-white) !important;
}
body:not(.et-fb) .et_pb_section.hero_banner .banner_image {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  padding: 0;
  height: 100%;
  animation:bgZoom 20s ease-in-out infinite alternate;
}
.et_pb_section.hero_banner:not(.et-fb) .banner_image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0,0, 0.35);
}
.et_pb_section.hero_banner .et_pb_text {
  text-shadow: 0.07em 0.12em 0.6em rgba(0, 0, 0, 0.85);
  color: var(--karol-white);
}
.et_pb_section.hero_banner .et_pb_text * {
  color: var(--karol-white);
}
.banner_items .et_pb_text_inner {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
  flex-wrap: wrap;
}
.banner_items .banner_item {
  background-color: #d7b5a155;
  padding: 8px 25px;
  text-align: center;
  border-radius: 6px;
  color: #fff !important;
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
  font-weight: 300;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}
.banner_items .banner_item:hover {
  background-color: #d7b5a188;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  transform: scale(1.01);
}

.karol_site .banner_content {
  padding: 0 20px 20px;
}
.karol_site .banner_grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;

  overflow: hidden;
  gap: 5px;
}
.karol_site .banner_grid .top {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: minmax(600px, auto);
  gap: 5px;
}
.karol_site .banner_grid .bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(300px, auto);
  gap: 5px;
}

.karol_site .banner_grid .gb {
  border-radius: 20px;
  position: relative;
  opacity: 0;
}
.karol_site .banner_grid .gb_1 {
  background: url(https://carolewirth.ch/wp-content/uploads/2026/04/arturo-castaneyra-o-dkYSvidB4-unsplash_cropped.jpg);
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
  border-top-left-radius: 0;
  transform: translate(-60px, 0) scale(0.98);
  animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  overflow: hidden;
}
.karol_site .banner_grid .gb_2 {
  position: relative;
  background: url(https://carolewirth.ch/wp-content/uploads/2026/04/kam-idris-hYb7kbu4x7E-unsplash-scaled.jpg) center/cover no-repeat;
  border-top-right-radius: 0;
  transform: translate(60px, 0) scale(0.98);
  animation: reveal 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.karol_site .banner_grid .gb_3 {
  position: relative;
  background: url(https://carolewirth.ch/wp-content/uploads/2026/03/ren-ran-O-8Fmpx7HqQ-unsplash-scaled.jpg) center/cover no-repeat;
  border-bottom-left-radius: 0;
  transform: translate(-90px, 0) scale(0.98);
  animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.karol_site .banner_grid .gb_4 {
  background: url(https://carolewirth.ch/wp-content/uploads/2026/04/Capture-decran-2026-04-01-a-14.28.44.png) center repeat;
  border-bottom-right-radius: 0;
  transform: translate(0, 60px) scale(0.98);
  animation: reveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.karol_site .banner_grid .gb_1 { animation-delay: 0.1s; }
.karol_site .banner_grid .gb_2 { animation-delay: 0.3s; }
.karol_site .banner_grid .gb_3 { animation-delay: 0.5s; }
.karol_site .banner_grid .gb_4 { animation-delay: 0.7s; }

.karol_site .banner_grid .gb a {
    position: absolute;
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 4px 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    animation: scaleLoop2 5s ease-in infinite;
    transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.karol_site .banner_grid .gb a:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.karol_site .banner_grid .gb_1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.karol_site .banner_grid .gb_1 svg {
  max-height: 300px;
  height: 300px;
  width: auto;
  margin: 30px 30px 30px 60px;
  max-width: calc(100% - 120px);
}
.karol_site .banner_grid .gb_1 .slogan {
  display: grid;
  grid-template-columns: 80% 10% 10%;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  animation: reveal_slogan 0.5s ease-out forwards;
}
.karol_site .banner_grid .gb_1 .slogan { animation-delay: 1s; }
.karol_site .banner_grid .gb_1 .slogan .text {
  width: 100%;
  background-color: var(--karol-third);
  color: var(--karol-primary);
  padding: 20px;
  border-radius: 15px;
}
.karol_site .banner_grid .gb_1 .slogan .text .quote {
  font-size: 1.5em;
  color: var(--karol-white);
  font-weight: 400;
}
.karol_site .banner_grid .gb_1 .slogan .bloc {
  width: 100%;
  height: 100%;
  background-color: var(--karol-secondary);
  border-radius: 15px;
}
.karol_site .banner_grid .gb_1 .slogan .bloc:nth-child(2) {
  background-color: var(--karol-primary);
}
.karol_site .banner_grid .gb_2 a {
  bottom: 10px;
  left: 10px;
  background-color: #29475455;
  color: var(--karol-primary);
}
.karol_site .banner_grid .gb_2 a:hover {
    background-color: #29475488;
}
.karol_site .banner_grid .gb_3 a {
    top: 10px;
    bottom: unset;
    left: unset;
    right: 10px;
    background-color: #00000055;
    animation: scaleLoop1 4s ease-in infinite;
}
.karol_site .banner_grid .gb_3 a:hover {
    background-color: #00000088;
}
.karol_site .banner_grid .gb_4 {
  display: flex;
  justify-content: flex-end;
}
.karol_site .banner_grid .gb_4 .carole_parcours {
  position: relative;
  max-height: 350px;
  height: 350px;
  width: fit-content;
  border-radius: 20px;
  border-bottom-right-radius: 0;
  overflow: hidden;
}
.karol_site .banner_grid .gb_4 a {
  top: 10px;
  bottom: unset;
  right: unset;
  left: 10px;
  background-color: #d7b5a144;
  animation: scaleLoop 6s ease-in infinite;
}
.karol_site .banner_grid .gb_4 a:hover {
  background-color: #d7b5a166;
}
.karol_site .banner_grid .gb_4 img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

/* modules */
.et_pb_row.modules {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.et_pb_row.modules::after {
  content: none !important;
}

.et_pb_row.modules .et_pb_column {
  margin: 0;
  max-width: 600px;
}

/* card */
.et_pb_module.karol_card {
  position:relative;
  background:#fff;
  border-radius: var(--karol-radius);
  box-shadow: var(--karol-shadow);
  padding: 28px 32px;
  font-weight: 300;
  color: var(--karol-primary);
  transition: border 0.5s, box-shadow 0.5s;
  border: 1px solid #fff;
}
.et_pb_module.karol_card:hover {
  border: 1px solid var(--karol-primary);
  box-shadow: var(--karol-shadow-hover);
}
.et_pb_module.karol_card h3 {
  margin-bottom: 1em;
  padding: 0;
  font-weight: 400;
  font-size: 1.3em;
}
.et_pb_module.karol_card.card_highlight {
  background: var(--karol-bg-primary);
  color:var(--karol-ct-primary);
  font-weight: 400;
  border: 1px solid var(--karol-bg-primary);
}
.et_pb_module.karol_card.card_highlight::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border: 1px solid var(--karol-ct-primary);
  border-radius: 6px;
}
.et_pb_module.karol_card.card_highlight *{ 
  color:var(--karol-ct-primary) !important; 
}
.karol_card ul { 
  margin:0 !important; 
  padding-left: 18px !important; 
}
.karol_card li { 
  margin-bottom: 8px; 
  color: var(--karol-primary); 
  list-style-type: circle;
}

/* services */
.service_section .karol_card h3 {
	font-size: 1.1em;
	color: var(--karol-secondary);
}
.service_section .karol_card li {
	font-weight: 300;
}
.price {
  	color: var(--karol-primary);
}
.service_section h4 {
  font-size: 1.5em;
}
.service_section p {
  color: var(--karol-text);
  font-weight: 300;
}
.service_section .price {
	font-size: 1.35em;
	font-weight: 600;
	color: var(--karol-primary);
}
.service_section .price_subtitle {
	font-size: 1.3em;
	color: var(--karol-primary);
}
.service_section .price_detail {
	font-size: 0.9em;
	color: var(--karol-primary);
	font-weight: 300;
}
.services_contact {
  position: relative;
  overflow: hidden;
}
.services_contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--karol-grey);
}

/* mon parcours */
.et_pb_section.section_carole_card {
  overflow: hidden;
  position: relative;
  height: 800px;
  display: flex;
  align-items: flex-end;
}
.et_pb_section.section_carole_card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url(https://carolewirth.ch/wp-content/uploads/2026/04/ChatGPT-Image-2-avr.-2026-15_29_41.png);
  background-size: cover;
  background-position: center;

  filter: blur(40px);
  transform: scale(1.1);
  z-index: 0;
}
/* .et_pb_section.section_carole_card::before{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:-110px;
  width:150%;
  height:300px;
  background: var(--karol-secondary);
  border-radius:50%;
  z-index:0;
} */
.et_pb_section.section_carole_card::after{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:-110px; /* remonte la forme */
  width:150%;
  height:340px;
  background: var(--karol-white); /* gris */
  z-index:0;
}

.et_pb_row.carole_image {
  overflow: hidden;
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: calc(100% - 230px);
  transform: translateX(-50%);
}
/* .et_pb_row.carole_image,
.et_pb_row.carole_image > .et_pb_column{
  margin-bottom: -30px;
} */
/* .et_pb_row.carole_image img {
  width: auto;
  max-height: 400px;
  height: 100%;
  display: flex;
} */
.et_pb_row.carole_image .et_pb_image {
  display: flex;
  justify-content: center;
  height: 100%;
}
.et_pb_row.carole_image .et_pb_image .et_pb_image_wrap {
  display: flex;
  justify-content: center;
}
.et_pb_row.carole_image .et_pb_image img {
  object-fit: cover;
  height: 100%;
  width: 80%;
  object-position: top;
}

.et_pb_section.section_carole_card .card {
  margin-bottom: 50px;
}

/* contact_card visit */
.section_carole_card .card {
  z-index: 20;
}
.karol_site .card {
  background-color: var(--karol-primary);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 50px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-end;
}
.karol_site .card * {
  color: var(--karol-ct-primary);
}
.karol_site .card a {
  color: var(--karol-third);
}
.karol_site .card .card-content {
  background-color: transparent;
  box-shadow: none;
}
.karol_site .card .et_pb_column.et_pb_column_1_2 {
  width: 50% !important;
  margin: 0 !important;
}
.karol_site .card .et_pb_column.et_pb_column_1_2:first-of-type {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.karol_site .card .et_pb_column.et_pb_column_1_2:first-of-type svg {
  width: 100%;
  height: 200px;
}
.karol_site .card .et_pb_column.et_pb_column_1_2:last-of-type {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  height: 100%;
  margin-top: auto;
  margin-bottom: 30px !important;
}
.karol_site .card .et_pb_social_icon {
  display: none;
}

/* sections */
.et_pb_section.section_beige .card {
	color: var(--karol-primary) !important;
}
.et_pb_section.section_white.section_map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: var(--karol-secondary);
}

.color_primary * {
  color: var(--karol-primary) !important;
}

.et_pb_section.section_white {
	background-color: #fff !important;
  overflow: hidden;
}

.et_pb_section.section_primary {
  background-color: var(--karol-bg-primary);
  color: var(--karol-ct-primary);
  overflow: hidden;
}
.et_pb_section.section_primary h1,
.et_pb_section.section_primary h2 {
  color: var(--karol-ct-secondary);
}
.et_pb_section.section_secondary {
  background-color: var(--karol-bg-secondary);
  color: var(--karol-ct-secondary);
  overflow: hidden;
}
.et_pb_section.section_secondary h1,
.et_pb_section.section_secondary h2 {
  color: var(--karol-ct-secondary);
}
.et_pb_section.section_grey {
  background-color: var(--karol-bg-grey);
  color: var(--karol-ct-grey);
  overflow: hidden;
}

.et_pb_section.contact_section h2 {
  color: var(--karol-primary);
}
.et_pb_section.contact_section::before{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  top:-310px; /* remonte la forme */
  width:150%;
  height:700px;
  background: var(--karol-grey); /* gris */
  border-radius:50%;
  z-index:0;
}

.et_pb_section.section_rounded {
  overflow: hidden;
}
.et_pb_section.section_rounded::before{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  top: -50%; /* remonte la forme */
  width:130%;
  height:145%;
  background: var(--karol-grey); /* gris */
  border-radius:50%;
  z-index:0;
}
.et_pb_section.banner_services .banner_image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.et_pb_section.banner_services::after{
  content:none;
  position:absolute;
  bottom:0;
  left: 0;
  width: 100%;
  height: 50px;
  clip-path: polygon(100% 100%, 0 100%, 100% 0%);
  background-color: var(--karol-grey);
}
.et_pb_section.banner_services::before{
  content:"";
  position:absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 50px;
  clip-path: polygon(100% 0, 0 0, 0 100%);
  background-color: #fff;
}

#footer-info a {
  color: var(--karol-third) !important;
}

footer#main-footer {
  background-color: #fff !important;
}

/* animations */
@keyframes bgZoom{
  from{
    transform:scale(1);
  }
  to{
    transform:scale(1.15);
  }
}
@keyframes scaleLoop {
  0% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
@keyframes scaleLoop2 {
  0% {
    transform: scale(1.08);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
@keyframes reveal {
  to {
    opacity: 1;
    transform: translate(0) scale(1);
  }
}
@keyframes reveal_slogan {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1300px){
  .karol_site .banner_grid .bottom {
    grid-template-columns: 2fr 3fr;
  }
}
@media (max-width: 1000px){
  .et_pb_section.section_beige.contact_section::before{
    width:200%;
  }
  .et_pb_section.section_rounded::before{
    width:200%;
  }
  .karol_site .banner_grid .top {
    grid-template-columns: 4fr 2fr;
  }
  .karol_site .banner_grid .bottom {
    grid-template-columns: 2fr 4fr;
  }
  .karol_site .banner_grid .gb_1 .slogan {
    grid-template-columns: 80% 20%;
  }
  .karol_site .banner_grid .gb_1 .slogan .bloc:nth-child(2) {
    display: none;
  }
}
@media (max-width: 980px){
  .inverted_mobile {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }
  .inverted_mobile > div {
    margin-bottom: 0;
  }
}
@media (max-width: 800px){
  .banner_items .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
  .banner_items .banner_item {
    width: 100%;
    min-width: 100%;
  }
  .et_pb_section.section_white.section_map iframe {
    height: 250px;
  }
  .et_pb_section.section_white.section_map::before {
    height: 50%;
  }
  .et_pb_section.section_carole_card {
    height: 800px;
  }
  .et_pb_row.carole_image .et_pb_image img {
    width: 100%;
  }
}

@media (max-width: 760px){
  .karol_site .banner_content {
    padding: 10px;
  }
  .karol_site .banner_grid .top {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(400px, auto);
  }
  .karol_site .banner_grid .bottom {
    grid-template-columns: 1fr 4fr;
    grid-template-rows: minmax(200px, auto);
  }
  .karol_site .banner_grid .gb_2 {
    display: none;
  }
  .karol_site .banner_grid .gb a {
    display: none;
  }
  .karol_site .banner_grid .gb_1 {
    border-top-right-radius: 0;
  }
  .karol_site .banner_grid .gb_1 .slogan {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
    .karol_site .banner_grid .gb_1 .slogan .text{ 
      width: 100%;
      order:3
    }
  .karol_site .banner_grid .gb_1 .slogan .bloc:nth-child(2) {
    display: block;
  }
  .karol_site .banner_grid .gb_1 .slogan .bloc {
    height: 60px;
    width: 80px;
    border-radius: 15px;
  }
  .karol_site .banner_grid .gb_4 .carole_parcours {
    max-height: 200px;
    height: 200px;
  }
  .home header .et_pb_sticky,
  .home header .et_pb_sticky_module {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 660px){
  .karol_site .card .et_pb_column.et_pb_column_1_2:first-child {
    width: 40% !important;
  }
  .karol_site .card .et_pb_column.et_pb_column_1_2:last-child {
    width: 60% !important;
  }
  header .et_pb_code .et_pb_code_inner svg {
    height: 140px;
    width: 100%;
  }
  .karol_site .card .et_pb_column.et_pb_column_1_2:last-of-type {
    margin-bottom: 0 !important;
  }
  .karol_site .card .et_pb_column.et_pb_column_1_2:first-of-type svg {
    width: 100%;
    height: 140px;
  }
  .et_pb_section.section_carole_card {
    height: 600px;
  }
}