/**
* Fonts
*/
@font-face {
  font-family: 'Satoshi-Light';
  src: url('../fonts/satoshi/Satoshi-Light.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-Light.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-LightItalic';
  src: url('../fonts/satoshi/Satoshi-LightItalic.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-LightItalic.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Regular';
  src: url('../fonts/satoshi/Satoshi-Regular.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-Regular.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-Italic';
  src: url('../fonts/satoshi/Satoshi-Italic.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-Italic.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-Italic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Medium';
  src: url('../fonts/satoshi/Satoshi-Medium.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-Medium.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-MediumItalic';
  src: url('../fonts/satoshi/Satoshi-MediumItalic.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-MediumItalic.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Bold';
  src: url('../fonts/satoshi/Satoshi-Bold.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-Bold.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-BoldItalic';
  src: url('../fonts/satoshi/Satoshi-BoldItalic.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-BoldItalic.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Black';
  src: url('../fonts/satoshi/Satoshi-Black.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-Black.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-BlackItalic';
  src: url('../fonts/satoshi/Satoshi-BlackItalic.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-BlackItalic.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../../fonts/satoshi/Satoshi-Variable.woff2') format('woff2'),
       url('../../fonts/satoshi/Satoshi-Variable.woff') format('woff'),
       url('../../fonts/satoshi/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-VariableItalic';
  src: url('../fonts/satoshi/Satoshi-VariableItalic.woff2') format('woff2'),
       url('../fonts/satoshi/Satoshi-VariableItalic.woff') format('woff'),
       url('../fonts/satoshi/Satoshi-VariableItalic.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}

/* --- VARIABLES --- */
:root {
    /* Palette de couleurs */
    --color-primary: #F7F0E7;
    --color-beige: #F7F0E7;
    --color-yellow: #FDDB8A;
    --color-blue: #8BCBD0;
    --color-green: #A4D888;
    --color-navy: #072740;
    --color-white: #FFF;
    --color-black: #000;
    --color-teal: #26C4B8;
    --color-light-teal: #A1E2DE;
    --color-orange: #FF8D2B;

    /* Gradients */
    --gradient-teal: linear-gradient(135deg, #FFFFFF 0%, #97E5DF 100%);
    --gradient-orange: linear-gradient(135deg, #FFFFFF 0%, #E87F37 100%);
    
    /* Typographie */
    --font-primary: 'Bodoni Moda', sans-serif;
    --font-secondary: 'Satoshi-Variable', sans-serif;
    --font-xl: 150px;
    --font-lg: 125px;
    --font-md: 55px;
    --font-sm: 18px;
    --font-body: 18px;
    
    /* Espacement */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    
    /* Bordures */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    padding:0;
    margin:0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-white);
    overflow-x: hidden;
    position:relative;
    padding:0;
    margin:0;
    scroll-behavior: smooth;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color:#000;
}

p {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

/* Typography Styles */
h1 {
  font-family: var(--font-secondary);
  font-size: 100px;
  font-weight: 500;
}

h2 {
  font-family: var(--font-secondary);
  font-size: 70px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-secondary);
  font-size: 35px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 900;
  font-style: normal;
  line-height: 1.4;
}

@media (max-width: 1400px) {
    h1 {
        font-size: 70px;
    }
    
    h2 {
        font-size: 45px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 60px;
    }
    
    h2 {
        font-size: 45px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 50px;
    }
    
    h2 {
        font-size: 40px;
    }
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-navy);
}

a:visited{
    color:inherit;
}

img {
    width: 100%;
    max-width: none;
    height: auto;
}

/* --- LAYOUT --- */
.page{
    margin:0;
}

.container {
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 75px 50px 60px 50px;
}

@media screen and (min-width: 1750px) {
    .container {
        max-width: 1640px;
    }
}

@media screen and (max-width: 1749px) {
    .container {
        /*max-width: 1320px;*/
    }
}

@media screen and (max-width: 1399px) {
    .container {
        /*max-width: 1140px;*/
    }
}

@media screen and (max-width: 1199px) {
    .container {
        /*max-width: 960px;*/
    }
}

@media screen and (max-width: 991px) {
    .container {
        /*max-width: 720px;*/
        padding: 55px 30px 50px 30px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        /*max-width: 540px;*/
    }
}

@media screen and (max-width: 575px) {
    .container {
        padding: 35px 15px 40px 15px;
    }
}

.row{
    display: flex;
    width: 100%;
    height:100%;
    align-items: center;
}

.row-start{
    align-items: flex-start;
}

.row-end{
    align-items: flex-end;
}

.row-column{
    flex-direction: column;
}

.row-center{
    justify-content: center;
}

.row-between{
    justify-content: space-between;
}

.row-wrap {
    flex-wrap: wrap;
}

.text-center {
    text-align: center;
}

.heading-with-bar {
    position: relative;
}
  
.heading-with-bar::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--color-orange);
}

.titre-2{
    font-weight: 500;
}

.titre-3{
    font-style: italic;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.titre-3::before {
    content: "";
    position: absolute;
    background-color: var(--color-yellow);
    border-radius: 6px;
    top: -16px;
    left: -27px;
    right: -6px;
    bottom: 25px;
    z-index: -1;
}

.titre-4{
    font-style: italic;
    font-weight: 500;
    display: inline-block;
    position: relative;
    z-index: 0;
}

.titre-4::before {
    content: "";
    position: absolute;
    background-color: var(--color-blue);
    border-radius: 6px;
    top: 12px;
    left: -27px;
    right: -6px;
    bottom: 6px;
    z-index: -1;
}

/* --- BUTTONS --- */
button{
    border: none;
    background: none;
    color: inherit;
    line-height: inherit;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: flex;
    width: fit-content;
    align-items: center;
    border-radius: 35px;
    padding: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-black);
    gap:10px
}

@media screen and (max-width: 575px) {
    .btn {
        padding: 12px 20px
    }
}

.btn::after{
    content:'';
    width:14px;
    height:14px;
    display: inline-block;
    background-image: url('/wp-content/themes/sante-reproductive/img/right-arrow.svg');
    transition: all 0.3s ease;
}

.btn:hover {
    padding-right:10px;
    gap:15px;
    /*padding-left:25px;*/
}

.btn-primary {
    background-color: var(--color-teal);
    color:#fff!important;
}

.btn-primary::after{
    background-image: url('/wp-content/themes/sante-reproductive/img/right-arrow-white.svg');
}

.btn-primary-orange{
    background-color: var(--color-orange);
    color:#fff!important;
}

.btn-primary-orange::after{
    background-image: url('/wp-content/themes/sante-reproductive/img/right-arrow-white.svg');
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-black);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-blue);
}

.btn-outline-plus {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid #101822;
    align-items: center;
    font-weight: 500;
}

.btn-outline-plus::after{
    content:'';
    width:21px;
    height:21px;
    background-image: url('/wp-content/themes/sante-reproductive/img/bouton-plus.svg');
    background-size: 21px 21px;
}

.btn-filled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-filled:hover {
  background: #1fb3a7;
  transform: translateY(-2px);
}

.btn-filled::after {
  content: '→';
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.btn-filled:hover::after {
  transform: translateX(4px);
}

.btn-circular {
  background-color: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn-circular:hover::after {
  transform: translateX(4px);
}

.btn-cta {
  background-color: transparent;
  color: var(--color-black);
  font-weight: 500;
}

.btn-cta:hover {
    padding:inherit;
    gap:10px;
    padding-top:15px;
}

.btn-cta::after{
    content:'';
    width:20px;
    height:20px;
    background-image: url('/wp-content/themes/sante-reproductive/img/cta-arrow.svg');
    background-size: 20px 20px;
}

.btn-download{
    min-width: 150px;
    border-radius: 40px;
    justify-content: center;
}

.btn-download:hover{
    gap:10px;
    padding-right:15px;
}

.btn-download::after{
    width:50px;
    height:50px;
    background-image: url('/wp-content/themes/sante-reproductive/img/icon-download.svg');
    background-size:50px;
}

.alt-title{
    font-family: var(--font-secondary);
    font-size:45px;
    color:#000;
    font-weight: 500;
}

.alt-subtitle{
    font-family: var(--font-secondary);
    font-size:15px;
    color:var(--color-teal);;
    font-weight: 900;
    text-transform: uppercase;
}

.special-text{
    font-family: var(--font-primary);
    font-style: italic;
    font-weight: 600;
    color:#000;
    position: relative;
    display:block;
}

.special-text-2{
    font-family: var(--font-primary);
    font-style: italic;
    font-weight: 600;
    color:#000;
    position: relative;
    display:block;
}

.special-text::after{
    content: '';
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
    width: 269px;
    height: 54px;
    background-image: url('/wp-content/themes/sante-reproductive/img/special-text.svg');
    background-size: 269px 54px;
    z-index:-1;
}

.special-text-2::after{
    content: '';
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
    width: 475px;
    height: 87px;
    background-image: url('/wp-content/themes/sante-reproductive/img/special-text-2.svg');
    background-size: 475px 87px;
    z-index:-1;
}

.text-primary{
    font-family: var(--font-primary);
    font-weight: 600;
    font-style: italic;
}

.text-secondary{
    font-family: var(--font-secondary);
}

.medium{
    font-weight: 500;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(150%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-left {
    animation: fadeLeft 1s ease forwards;
}

/* --- 404 --- */
.error-404-page{
    background-color: var(--color-white);
    background-image: url('/wp-content/themes/sante-reproductive/img/bg-informer.png');
    background-position: center;
    background-size: cover;
}

.error-404-page .page-header{
    padding-top: 150px;
    text-align: center;
}

.error-404-page .page-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.error-404-page .page-content h2{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top:50px;
}

.error-404-page .page-content .search-toggle-result {
    background: none;
    background-color: #fff;
    border: 1px solid var(--color-black);
    border-radius: 50px;
    cursor: pointer;
    padding: 25px;
    /*margin-left: 35px;*/
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.error-404-page .page-content #search-bar-result {
    margin: 0;
    color: var(--color-black);
    font-style: italic;
    font-size: 15px;
    font-family: var(--font-secondary);
    font-weight: 400;
    border: none;
    padding: 0;
    width: 0;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    outline: none;

    width: 150px;
    margin-right: 15px;
    opacity: 1;
}

.error-404-page .page-content #search-submit-button-result {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

@media screen and (max-width: 575px) {
    .error-404-page .page-header h1{
        font-size:50px;
    }

    .error-404-page .page-content h2{
        font-size:35px;
    }
}

/* --- Default Simple Page Template -- */
.simple-page .entry-header{
    padding-top: 150px;
    padding-bottom:50px;
    text-align: center;
}

.simple-page .entry-header h1{
    font-size:80px;
}

.simple-page .entry-content h2{
    margin-top:50px;
    margin-bottom:20px;
    font-size:50px;
}

@media screen and (max-width: 575px) {
    .simple-page .entry-header h1{
        font-size:45px;
    }

    .simple-page .entry-content h2{
        font-size:35px;
    }
}