@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Libre Baskerville", serif;
}

:root {
  --main-bg-color: oklch(0.95 0 0);
  --secondary-bg-color: oklch(0.63 0.06 21);
  --third-bg-color: oklch(0.57 0.06 21);
  --title-color: black;
  --font-size: 16px;
  --header-height: 88px;
  --snap-gap: 30px;
  }


ul, ol {
  padding-left: 1.2rem;
}

em {
  font-style: italic;
  font-size: clamp(1rem, 2.3vw, 1.4rem);
}

/* Global Styles */
html, body {
  max-width: 1200px;
  min-width: 360px;
  min-height: 100vh;
  font-size: var(--font-size);
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  background-color: var(--main-bg-color);
  line-height: 1.6;
  
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html, body {
    scroll-behavior: auto;
  }
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

body.menu-open .bottomContainer {
  display: flex;
  overflow: hidden;
}

.body-color {
  background-color: var(--secondary-bg-color);
  transition: background-color 0.3s ease;
}

h1, h2, h3 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.7vw, 1.8rem);
  margin-top: 1rem;
}

h4 {
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  margin: 0.6rem 0 0 0;
}

p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-wrap: pretty;
}

main {
flex: 1;
}

.move-main {
  display: none;
}

#cldav {
  text-align: center;
}

.contactClaire {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  align-items: center;
}

.contactButtons {
  display: grid;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* consistent sizing */
  width: 100%;
  min-height: 44px;         /* good mobile target */
  box-sizing: border-box;

  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;

  border: 4px solid transparent;
  border-radius: 5px;

  background-color: var(--secondary-bg-color);
  background-origin: border-box, padding-box;

  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1;
  color: white;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.75);
  cursor: pointer;
}

.btn .material-icons {
  font-size: 1.2em;
  line-height: 1;
}

.btn--widegap { gap: 1.5rem; }


.btn:hover {
  background-color: var(--third-bg-color);
  box-shadow: 0px 0px 13px 5px rgba(0,0,0,0.85);
  text-decoration: none;
}

.mainImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 35vw);
  height: auto;
  border-radius: 2%;
  animation: mainImage 2s forwards;
}

@keyframes mainImage {
  from {
    opacity: 0%;
  }
  to {
    opacity: 100%;
  }
}

.content {
  margin: 1.5rem;
  /* text-align: justify; */
}

.content ul li{
  padding-top: 0.3rem;
  margin-left: 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  list-style-type: disc;
  font-weight: normal;
}

/* --- CLD presentation section --- */

#photoMains {
  display: none;
  float: left;
  margin: 1rem 1rem 1rem 1rem;
  width: calc(30% + 10rem);
  max-width: 120vw;
  height: auto;
  border-radius: 2%;
}

/* --- CLD contact footer  --- */

.footerCld {
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 2vw);
  margin-bottom: 2rem;
  align-items: center;
  text-align: center;
}

#arcDeTriomphe {
  display: block;
  margin: 0 auto;
  width: 60%;
  height: auto;
  border-radius: 2%;
}

.contactDetails {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

#linkedIn {
  width: 8%;
  min-width: 3.5rem;
  height: auto;
  margin-top: 2rem;
}

.in {
  width: 90%;
  height: auto;
}

.googleMap {
  width: 98%;
  align-items: center;
  margin: auto;
  height: auto;
  overflow: hidden;
}

.gmap-iframe {
  border: 0;
}

#cookiesGoogle {
  font-size: clamp(0.7rem, 1.8vw, 1rem);
}

/* --- bottom container --- */
.bottomContainer {
  display: flex;
  opacity: 0;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--secondary-bg-color);
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem 1.5rem;
  border-top: 1.9px solid black;
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 350ms ease, opacity 350ms ease;
  z-index: 7000;
}

.bottomText {
  flex: 1;
}

.bottomText p {
  white-space: nowrap;
  font-size: clamp(.85rem, 2.3vw, 1.5rem);
}

.bottomIn {
  width: 8%;
  background-color: var(--secondary-bg-color);
}

/* Visible quand on l’active */
.bottomContainer.show-bottomContainer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Media queries for tablets and larger smartphones */
@media (min-width: 740px) {
  #photoMains {
    display: none;
  }
}

/* Media queries for laptops and desktops */
@media (min-width: 768px) {
  section#presentationClaire {
    display: block;
  }

  #photoMains {
    display: block;
  }

  .portraitImage {
      width: calc(100% - 55vw);

  }

  .contactContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
  }

  #arcDeTriomphe {
  width: 50%;

}
  
  .contactClaire {
    margin: 1rem 0 5rem 0;
  }

  .contactDetails {
    margin-top: 2rem;
  }

  .bottomContainer {
    display: none;
  }
}
