:root{
  --bg:#f5f2ea;
  --bg-soft:#f7f3eb;
  --blue:#1f31d3;
  --blue-dark:#142995;
  --turquoise:#43cbc4;
  --gold:#ddb041;
  --orange:#d87b24;
  --text:#20348f;
  --white:#ffffff;
  --shadow:0 12px 34px rgba(12, 25, 92, 0.12);
  --radius:28px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Cormorant Garamond", serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
textarea{
  font:inherit;
}

main,
section,
header,
footer{
  width:100%;
}

.container{
  width:min(100% - 24px, 1200px);
  margin:0 auto;
}

.narrow{
  width:min(100% - 24px, 760px);
}

/* HEADER */
header{
  position:relative;
  z-index:1000;
  background:rgba(245,242,234,0.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(31,49,211,0.08);
  height:180px;
  display:block;
}

.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:start;
  width:100%;
  padding:10px 8px 0 12px;
  height:100%;
  position:relative;
}

.logo{
  width:120px;
  height:auto;
  object-fit:contain;
}

.brand{
  display:block;
  align-items:center;
  gap:10px;
}

.brand-name{
  display:block;
  font-family:"Parisienne", cursive;
  font-size:1.8rem;
  color:var(--gold);
  line-height:1;
}

.burger{
  width:42px;
  height:42px;
  position:relative;
  background:none;
  border:none;
  cursor:pointer;
  justify-self:end;
  margin-right:2px;
  z-index:2000;
}

.burger::before,
.burger::after,
.burger span{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  height:2px;
  background:var(--blue-dark);
  transition:0.3s ease;
}

.burger span{
  top:20px;
}

.burger::before{
  top:12px;
}

.burger::after{
  top:28px;
}

.burger.active span{
  opacity:0;
}

.burger.active::before{
  transform:rotate(45deg);
  top:20px;
}

.burger.active::after{
  transform:rotate(-45deg);
  top:20px;
}

nav{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  width:100%;
  display:none;
  flex-direction:column;
  background:var(--bg);
  box-shadow:0 12px 25px rgba(0,0,0,0.08);
  max-height:calc(100vh - 180px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  z-index:1500;
}

nav a,
.submenu-toggle{
  display:block;
  width:100%;
  padding:16px 18px;
  text-align:left;
  color:var(--blue-dark);
  text-decoration:none;
  border-top:1px solid rgba(31,49,211,0.08);
  background:none;
  border-left:none;
  border-right:none;
  border-bottom:none;
  cursor:pointer;
  font-size:1.15rem;
  font-weight:600;
}

.submenu-toggle{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

nav a:hover,
.submenu-toggle:hover,
nav a:active,
.submenu-toggle:active,
nav a.nav-current{
  color:#43cbc4;
  transition: 0.2s;
}

.submenu{
  display:none;
  flex-direction:column;
  background:#ece7d9;
  max-height:260px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

.submenu a{
  padding-left:30px;
  font-size:1rem;
}

.has-submenu.open .submenu{
  display:flex;
}

/* BOUTONS */
.hero-btn,
.pill-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 26px;
  border-radius:999px;
  background:var(--gold);
  color:var(--blue-dark);
  font-size:1.3rem;
  font-weight:700;
  margin-top:26px;
  box-shadow:var(--shadow);
  transition:0.2s;
}

.hero-btn:hover,
.pill-btn:hover{
  background:var(--blue-dark);
  color:var(--gold);
}

/* BASE TITRES */
h1,h2,h3{
  margin:0;
}

.section-title{
  font-family:"Parisienne", cursive;
  font-size:3rem;
  line-height:1;
  text-align:center;
  color:var(--blue);
  margin-bottom:34px;
}

/* =========================
   PAGE QUI SUIS-JE
========================= */

.page-qui{
  background: var(--bg);
}

/* HERO */
.hero-qui{
  position:relative;
  min-height:34vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:url("qui-suis-je-sandrine-huet.jpg") center 38% / cover no-repeat;
  overflow:hidden;
}

.hero-qui__overlay{
  position:absolute;
  inset:0;
  background:rgba(45, 30, 12, 0.16);
}

.hero-qui__content{
  position:relative;
  z-index:2;
  padding:56px 20px;
}

.hero-qui h1{
  color:#fff;
  font-family:"Cormorant Garamond", serif;
  font-size:2.9rem;
  line-height:1;
  font-weight:600;
}

/* INTRO TURQUOISE */
.intro-qui{
  position: relative;
  background: var(--turquoise);
  color: #fff;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 120px;
}

.intro-qui::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: var(--bg);
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
}

.intro-qui__grid{
  display: grid;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.portrait{
  position:relative;
  width:260px;
  height:260px;
  margin:40px auto;
}

.portrait__img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  position:relative;
  z-index:2;
}

.portrait__circle{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:120%;
  height:120%;
  object-fit:contain;
  z-index:1;
  pointer-events:none;
}
.intro-qui__text h2{
  font-family: "Parisienne", cursive;
  color: var(--orange);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 22px;
}

.intro-qui__text p{
  font-size: 1.45rem;
  line-height: 1.18;
  margin-bottom: 18px;
}

.intro-qui__btn{
  background: var(--orange);
  color: var(--blue-dark);
}

.intro-qui__btn:hover{
  background: var(--blue-dark);
  color: var(--gold);
}

/* STORY */
.story-qui{
  position: relative;
  background: var(--bg);
  padding-top: 70px;
  padding-bottom: 70px;
  overflow: hidden;
}

.story-qui__inner{
  position: relative;
}

.story-qui .section-title{
  margin-bottom: 42px;
}

.story-qui__content{
  max-width: 860px;
  margin: 0 auto;
}

.story-qui__content p{
  font-size: 1.45rem;
  line-height: 1.65;
  margin-bottom: 28px;
  color: var(--blue-dark);
}

.story-qui__signature{
  font-family: "Parisienne", cursive;
  font-size: 3rem;
  color: var(--blue);
  line-height: 1;
  margin-top: 20px;
}



/* VIDEO */
.video-qui{
  position: relative;
  background: var(--turquoise);
  padding-top: 70px;
  padding-bottom: 120px;
  overflow: hidden;
}

.video-qui::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 82px;
  background: var(--bg);
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
}

.video-qui__inner{
  position: relative;
  z-index: 2;
  text-align: center;
}

.video-qui h2{
  font-family: "Parisienne", cursive;
  color: var(--orange);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 34px;
}

.video-qui__frame{
  width:min(100%, 760px);
  margin:0 auto;
  background:#ddd;
  box-shadow:0 10px 24px rgba(0,0,0,0.08);
  overflow:hidden;
}

.video-qui__media{
  width:100%;
  display:block;
  aspect-ratio:16 / 9;
  object-fit:cover;
  background:#000;
}

/* FORMATIONS */
.formations-qui{
  background: var(--bg);
  padding-top: 48px;
  padding-bottom: 90px;
}

.formations-qui .section-title{
  margin-bottom: 40px;
}

.formations-qui__list p{
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* QUOTE */
.quote-qui{
  position: relative;
  background: var(--blue-dark);
  color: #fff;
  padding-top: 120px;
  padding-bottom: 30px;
  overflow: hidden;
}

.quote-qui__wave{
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 90px;
  background: var(--bg);
  border-radius: 0 0 100% 100% / 0 0 100% 100%;
}

.quote-qui__grid{
  display: grid;
  gap: 34px;
  align-items: center;
  margin-bottom: 50px;
}

.quote-qui__img-wrap{
  display: flex;
  justify-content: center;
}

.quote-qui__img{
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: inset 0 0 0 8px rgba(221,176,65,0.3);
}

.quote-qui__mark{
  color: var(--gold);
  font-size: 7rem;
  line-height: 0.8;
  margin-bottom: 8px;
}

.quote-qui__text p{
  font-size: 1.6rem;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 18px;
  color: #fff;
}

.quote-qui__text h3{
  font-size: 2.3rem;
  color: #fff;
  font-weight: 500;
}

/* FOOTER */
.footer-qui{
  padding-top: 10px;
}

.footer-qui__inner{
  display: grid;
  gap: 26px;
  align-items: end;
  text-align: center;
}

.footer-qui__links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}

.footer-qui__copy{
  font-size: 1rem;
  line-height: 1.5;
}

.footer-qui__brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-qui__brand img{
  width: 90px;
  height: auto;
}

.footer-qui__brand span{
  font-family: "Parisienne", cursive;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

/* TABLET */
@media (min-width: 768px){
  .header-inner{
    min-height:96px;
    padding:14px 22px;
  }

  .logo{
    width:120px;
  }

  .hero-qui{
    min-height: 52vh;
  }

  .hero-qui h1{
    font-size: 4.2rem;
  }

  .intro-qui__grid{
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }

  .intro-qui__text h2{
    font-size: 4rem;
  }

  .story-qui .section-title{
    font-size: 4.3rem;
  }

  .video-qui h2{
    font-size: 4rem;
  }

  .quote-qui__grid{
    grid-template-columns: 280px 1fr;
    gap: 50px;
  }

  .footer-qui__inner{
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }

  .footer-qui__brand{
    align-items: flex-end;
  }
}

/* DESKTOP */
@media (min-width: 1100px){
  .burger{
    display:none;
  }

  header{
    height:auto;
  }

  .header-inner{
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:end;
    column-gap:30px;
    padding:12px 28px 14px 28px;
  }

  nav{
    position:static;
    display:flex !important;
    flex-direction:row;
    justify-self:center;
    align-self:end;
    gap:20px;
    background:transparent;
    box-shadow:none;
    width:max-content;
    max-width:100%;
    max-height:none;
    overflow:visible;
    margin-left:0;
  }

  nav a,
  .submenu-toggle{
    width:auto;
    border:none;
    padding:8px 6px;
    font-size:1.35rem;
  }

  .has-submenu{
    position:relative;
  }

  .submenu{
    position:absolute;
    top:100%;
    left:0;
    min-width:260px;
    box-shadow:var(--shadow);
    border-radius:16px;
    overflow:hidden;
    max-height:none;
  }

  .submenu a{
    padding:12px 16px;
  }

  .has-submenu:hover .submenu{
    display:flex;
  }

.hero-qui{
  min-height:600px;
  background-position:center 34%;
}

.hero-qui h1{
  font-size:4.9rem;
}

  .intro-qui{
    padding-top: 90px;
    padding-bottom: 150px;
  }

  .intro-qui::after{
    height: 120px;
  }

  .intro-qui__grid{
    grid-template-columns: 420px 1fr;
    gap: 90px;
  }

  .intro-qui__portrait{
    width: 410px;
  }

  .intro-qui__text h2{
    font-size: 4.6rem;
  }

  .intro-qui__text p{
    font-size: 1.7rem;
    line-height: 1.4;
  }

  .story-qui{
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .story-qui .section-title{
    font-size: 5rem;
  }

  .story-qui__content p{
    font-size: 1.2rem;
    line-height: 1.9;
  }

  .story-qui__decor--sun{
    left: 10%;
  }

  .story-qui__decor--moon{
    right: 12%;
  }

  .video-qui{
    padding-top: 90px;
    padding-bottom: 140px;
  }

  .video-qui h2{
    font-size: 4.8rem;
    text-align: left;
    width: min(100%, 760px);
    margin: 0 auto 34px;
  }

  .formations-qui{
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .formations-qui .section-title{
    font-size: 5rem;
  }

  .formations-qui__list p{
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .quote-qui{
    padding-top: 150px;
    padding-bottom: 50px;
  }

  .quote-qui__wave{
    height: 110px;
  }

  .quote-qui__img{
    width: 260px;
  }

  .quote-qui__text p{
    font-size: 1.35rem;
    line-height: 1.6;
  }

  .quote-qui__text h3{
    font-size: 2.7rem;
  }
  .footer-qui{
    padding-left: 30px;
    padding-right: 30px;
  }


  .footer-qui__inner{
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: end;
  }

  .footer-qui__links{
    flex-direction: row;
    gap: 24px;
    align-items: center;
  }

  .footer-qui__copy{
    text-align: center;
  }
}