html {
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

:root {
  --font-body: "Montserrat", sans-serif;
  --font-heading: "Lora", serif;
  --font-numbers: "Inter", sans-serif;
  --primary-color: #37231d;
  --secondary-color: #f19880;
  --secondary-color-light: #f1988018;
  --accent-green: #8b9e7e;
  --accent-green-light: #8b9e7e18;
  --section-padding-x: 80px;
  --radius-md: 16px;
}

body {
  font-family: var(--font-body);
  margin: 0;
  padding-top: 80px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 72px;
  line-height: 90px;
  font-weight: 600;
}

h2 {
  font-weight: 600;
  font-size: 48px;
  line-height: 50px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
}

p {
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 32.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: #37231db2;
}

a:has(> button) {
  align-self: center;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  background-color: var(--secondary-color);
  color: #ffffff;
  outline: none;
  border: none;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  border-radius: var(--radius-md);
  box-shadow: 0px 1px 6px 0px #37231d0a;
  height: 44px;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 12px;
  vertical-align: bottom;
}

blockquote {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
  position: relative;
  padding-top: 30px;
  margin-top: 60px;
  margin-bottom: 60px;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-align: center;
}

.text-secondary {
  color: var(--secondary-color);
}

/* Shared flex centering */
.omea-section__banner__icon,
.omea-grid__item .omea-grid__item__icon,
.omea-quote,
.omea-section5__founder__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  color: var(--primary-color);
  padding: 0 var(--section-padding-x);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 1px 2px -1px #0000001a;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
}

.omea-header__right {
  display: flex;
  align-items: center;
  gap: 70px;
  flex-direction: row;
}

.omea-nav__list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

.omea-nav__link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
}

/* ============================================================
   BODY / SECTIONS
   ============================================================ */

.omea-section {
  padding: 22px var(--section-padding-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.omea-section > h1,
.omea-section > h2,
.omea-section5__left > h1,
.omea-section5__left > h2,
.omea-section > h1 + p,
.omea-section > h2 + p,
.omea-section5__left > h1 + p,
.omea-section5__left > h2 + p {
  text-align: center;
}

/* Section 1 */
.omea-section1 {
  background: linear-gradient(180deg, #f7f3ee 0%, #f7f3ee 50%, #ffffff 100%);
}

.omea-section__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.omea-section__left {
  flex: 4;
}

.omea-section__right {
  flex: 5;
  display: flex;
  justify-content: center;
}

.omea-section__right img {
  max-width: 100%;
  height: auto;
}

.omea-section__banner {
  display: flex;
  margin: 50px var(--section-padding-x);
  box-shadow: 0px 1px 6px 0px #37231d0a;
  background-color: #f2d4cba3;
  padding: 48px var(--section-padding-x);
  border-radius: var(--radius-md);
  justify-content: space-between;
}

.omea-section__banner__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.omea-stat {
  font-family: var(--font-numbers);
  font-size: 25.5px;
  line-height: 36px;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--primary-color);
}

.omea-section__banner__item p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  margin: 0;
}

.omea-section__banner__item .omea-section__banner__icon {
  width: 64px;
  height: 64px;
  box-shadow: 0px 4px 6px -1px #0000001a;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.omea-section1 p:not(.omea-section__banner__item p) {
  font-weight: 500;
  text-align: left;
  letter-spacing: normal;
  vertical-align: baseline;
}

/* Section 2 */
.omea-section2 {
  background-color: #f7f3ee;
}

.omea-grid {
  display: grid;
  padding: 40px var(--section-padding-x) 60px;
}

.omea-grid--4-columns {
  gap: 80px;
  grid-template-columns: repeat(4, 1fr);
}

.omea-grid__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 16px;
  text-align: center;
  min-height: 270px;
}

.omea-grid__item p {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
}

.omea-grid__item .omea-grid__item__icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-color-light);
  color: var(--secondary-color);
  border-radius: 50%;
}

.omea-grid__item .omea-grid__item__icon.omea-grid__item__icon--green {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
}

/* Section 3 */
.omea-section3 {
  background-color: #ffffff;
}

.omea-section__application {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 0 var(--section-padding-x);
}

.omea-section__application__list {
  border-left: 1px solid var(--secondary-color);
  padding: 0px 60px;
  flex: 1;
  align-self: flex-start;
  margin-top: 60px;
  margin-bottom: 40px;
}

.omea-section__application__list h3 {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 0;
  vertical-align: middle;
}

.omea-section__application__list h3:first-child {
  margin-top: 0;
}

.omea-section__application__list p {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  vertical-align: middle;
  text-align: left;
}

.omea-section__application__list p:last-child {
  margin-bottom: 0;
}

.omea-section__application__image {
  display: flex;
  justify-content: center;
  max-height: 460px;
  margin-top: 40px;
}

.omea-section__application__image img {
  max-height: 460px;
  width: auto;
}

/* Section 4 */
.omea-section4 {
  background-color: #f7f3ee;
}

.omea-section4 > p {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  text-align: center;
  width: 60%;
  align-self: center;
  margin-top: 0;
  margin-bottom: 30px;
}

.omea-grid--3-columns {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 120px 100px;
}

.omea-stat-big {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.omea-grid--3-columns .omea-grid__item p {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
}

.omea-caption {
  align-self: flex-end;
}

/* Section 5 */
.omea-section5 {
  padding: 0;
  background-color: #f7f3ee7d;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.omea-section5__left {
  flex: 1;
  padding: 60px var(--section-padding-x);
}

.omea-quote {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--secondary-color-light);
  color: var(--secondary-color);
  border-radius: var(--radius-md);
  margin-top: 60px;
}

.omea-quote--start {
  top: -85px;
  left: -20px;
}

.omea-quote--end {
  bottom: -60px;
  right: -20px;
}

.omea-section5__founders {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 100px;
  padding: 0 var(--section-padding-x);
}

.omea-section5__founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.omea-section5__founder__icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-color-light);
  color: var(--secondary-color);
  border-radius: 14px;
}

/* Section 6 */
.omea-section6 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 60px 0 60px;
}

.omea-newsletter h2 {
  font-weight: 600;
  font-size: 28px;
  line-height: 48px;
  letter-spacing: 0;
  text-align: center;
}

.omea-newsletter h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0;
  text-align: center;
  margin: 0;
}

.omea-newsletter p {
  font-weight: 400;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0;
  text-align: center;
}

.omea-newsletter {
  background-color: #f2d4cbe5;
  max-width: 675px;
  min-width: 50%;
  position: relative;
  padding: 60px 20px 40px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.omea-newsletter__star {
  position: absolute;
  right: -70px;
  top: -5px;
}

.omea-newsletter__form {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.omea-newsletter__form input {
  flex: 1;
  padding: 0 36px;
  border-radius: var(--radius-md);
  border: none;
  outline: none;
  font-size: 14px;
  height: 52px;
  max-width: 300px;
  box-shadow: 0px 1px 2px 0px #0000001a;
}

.omea-newsletter__button {
  height: 52px;
  width: 67px;
  background-color: #ffffff;
  color: var(--primary-color);
}

.omea-newsletter__privacy {
  font-size: 11px;
  color: var(--primary-color);
  font-style: italic;
}

/* Section 7 */
.omea-section7 {
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
}

.omea-section7__left {
  flex: 2;
  padding: 60px var(--section-padding-x) 60px 0;
}

.omea-section7__left h2,
.omea-section7__left p {
  text-align: left;
}

.omea-section7__stores {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.omea-section7__right {
  flex: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer.omea-footer {
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  padding: 40px var(--section-padding-x) 32px;
  flex-direction: column;
}

.omea-footer__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.omea-footer__newsletter {
  flex: 2;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 48px;
}

.omea-footer__rights {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 32px 0;
  border-top: 1px solid #ffffff1a;
  color: #ffffff99;
}

.omea-footer__menu {
  flex: 1;
  justify-content: flex-start;
}

.omea-footer__menu ul {
  padding: 0;
}

.omea-footer__menu ul li {
  list-style: none;
  margin-right: 20px;
  margin-bottom: 16px;
}

.omea-footer__menu ul li a {
  color: #ffffff;
  text-decoration: none;
}

.omea-footer__social {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  background-color: #ffffff1a;
  border-radius: 14px;
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding-x: 40px;
  }

  h1 {
    font-size: 52px;
    line-height: 64px;
  }

  h2 {
    font-size: 36px;
    line-height: 42px;
  }

  p {
    font-size: 18px;
    line-height: 26px;
  }

  /* Header */
  .omea-header__right {
    gap: 30px;
  }

  /* Section 1 */
  .omea-section__content {
    gap: 30px;
  }

  .omea-section__banner {
    margin: 30px 0;
    padding: 32px var(--section-padding-x);
    gap: 20px;
  }

  /* Section 2 */
  .omea-grid--4-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Section 3 */
  .omea-section__application {
    padding: 0;
  }

  .omea-section__application__list {
    padding: 0 30px;
  }

  .omea-section__application__list h3 {
    font-size: 24px;
  }

  .omea-section__application__list p {
    font-size: 16px;
  }

  /* Section 4 */
  .omea-section4 > p {
    width: 80%;
  }

  .omea-grid--3-columns {
    padding: 30px 40px 60px;
  }

  /* Section 5 */
  .omea-section5__left {
    padding: 40px var(--section-padding-x);
  }

  .omea-section5__founders {
    padding: 0;
    margin-top: 60px;
  }

  /* Section 7 */
  .omea-section7__left {
    padding: 40px var(--section-padding-x) 40px 0;
  }

  /* Footer */
  .omea-footer__container {
    flex-wrap: wrap;
    gap: 32px;
  }

  .omea-footer__newsletter {
    flex: 100%;
    padding-bottom: 24px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-padding-x: 20px;
  }

  html {
    scroll-padding-top: 70px;
  }

  body {
    padding-top: 70px;
  }

  h1 {
    font-size: 36px;
    line-height: 46px;
  }

  h2 {
    font-size: 28px;
    line-height: 36px;
  }

  p {
    font-size: 16px;
    line-height: 24px;
  }

  blockquote {
    font-size: 16px;
    line-height: 22px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  /* ---- Header ---- */
  header {
    height: 70px;
    padding: 0 var(--section-padding-x);
    flex-wrap: wrap;
  }

  header img {
    height: 36px;
    width: auto;
  }

  .omea-header__right {
    gap: 12px;
  }

  .omea-nav {
    display: none; /* Masquer la nav sur mobile — à remplacer par un burger si besoin */
  }

  header button {
    font-size: 12px;
    height: 38px;
    padding: 2px 10px;
    text-align: center;
  }

  /* ---- Section 1 ---- */
  .omea-section1 {
    padding: 32px var(--section-padding-x);
  }

  .omea-section__content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .omea-section__left {
    max-width: 100%;
  }

  .omea-section__left h1 br {
    display: none;
  }

  .omea-section__right img {
    width: 100%;
    height: auto;
    display: block;
  }

  .omea-section__banner {
    flex-direction: column;
    margin: 24px 0 0;
    padding: 32px var(--section-padding-x);
    gap: 32px;
  }

  .omea-section__banner__item {
    padding-bottom: 24px;
    border-bottom: 1px solid #f1988040;
  }

  .omea-section__banner__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  /* ---- Section 2 ---- */
  .omea-section2 {
    padding: 32px var(--section-padding-x);
  }

  .omea-section2 h2 br {
    display: none;
  }

  .omea-grid--4-columns {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 0;
  }

  .omea-grid__item {
    min-height: auto;
    padding: 24px 20px;
  }

  /* ---- Section 3 ---- */
  .omea-section3 {
    padding: 32px var(--section-padding-x);
  }

  .omea-section__application {
    flex-direction: column;
    padding: 0;
  }

  .omea-section__application__list {
    border-left: none;
    border-top: 1px solid var(--secondary-color);
    padding: 24px 0 0;
    margin-top: 8px;
    margin-bottom: 24px;
  }

  .omea-section__application__list h3 {
    font-size: 22px;
    line-height: 28px;
  }

  .omea-section__application__list p {
    font-size: 15px;
    line-height: 22px;
  }

  .omea-section__application__image {
    max-height: 320px;
    margin-top: 0;
  }

  .omea-section__application__image img {
    max-height: 320px;
    width: auto;
  }

  .omea-section3 > button {
    margin-top: 16px;
  }

  /* ---- Section 4 ---- */
  .omea-section4 {
    padding: 32px var(--section-padding-x);
  }

  .omea-section4 > p {
    width: 100%;
    font-size: 15px;
    line-height: 22px;
  }

  .omea-grid--3-columns {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0 48px;
  }

  .omea-grid--3-columns .omea-grid__item {
    padding: 28px 20px;
  }

  .omea-stat-big {
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 12px;
  }

  .omea-grid--3-columns .omea-grid__item p {
    font-size: 16px;
    line-height: 22px;
  }

  .omea-caption {
    align-self: center;
    text-align: center;
    font-size: 12px;
  }

  /* ---- Section 5 ---- */
  .omea-section5 {
    flex-direction: column;
  }

  .omea-section5__left {
    padding: 32px var(--section-padding-x);
  }

  .omea-section5__left h2 {
    text-align: center;
  }

  .omea-section5__right {
    width: 100%;
  }

  .omea-section5__right img {
    width: 100%;
    height: auto;
    display: block;
  }

  .omea-section5__founders {
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding: 0;
    gap: 24px;
  }

  /* ---- Section 6 (newsletter) ---- */
  .omea-section6 {
    padding: 40px var(--section-padding-x) 0;
  }

  .omea-newsletter {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    padding: 40px 20px 32px;
    gap: 12px;
    box-sizing: border-box;
  }

  .omea-newsletter__star {
    display: none; /* Masquer l'étoile décorative sur mobile (déborde) */
  }

  .omea-newsletter h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .omea-newsletter h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .omea-newsletter p {
    font-size: 15px;
    line-height: 22px;
  }

  .omea-newsletter__form {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .omea-newsletter__form input {
    max-width: 100%;
    padding: 0 16px;
    flex: 1;
  }

  .omea-newsletter__button {
    width: 67px;
    min-width: 67px;
    flex-shrink: 0;
  }

  /* ---- Section 7 ---- */
  .omea-section7 {
    flex-direction: column;
    padding: 32px var(--section-padding-x) 0;
  }

  .omea-section7__left {
    padding: 0;
  }

  .omea-section7__left h2,
  .omea-section7__left p {
    text-align: center;
  }

  .omea-section7__stores {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }

  .omea-section7__stores img {
    height: 46px;
    width: auto;
  }

  .omea-section7__right {
    justify-content: center;
  }

  .omea-section7__right img {
    max-width: 80%;
    height: auto;
  }

  /* ---- Footer ---- */
  footer.omea-footer {
    padding: 32px var(--section-padding-x) 24px;
  }

  .omea-footer__logo {
    max-width: 100%;
    height: auto;
  }

  .omea-footer__container {
    flex-direction: column;
    gap: 24px;
  }

  .omea-footer__newsletter {
    flex: unset;
    width: 100%;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ffffff1a;
  }

  .omea-footer__newsletter .omea-newsletter__form {
    flex-direction: row;
    gap: 10px;
  }

  .omea-footer__newsletter .omea-newsletter__form input {
    max-width: 100%;
    flex: 1;
    padding: 0 12px;
  }

  .omea-footer__newsletter .omea-newsletter__form .omea-newsletter__button {
    width: 67px;
    min-width: 67px;
    flex-shrink: 0;
  }

  .omea-footer__menu {
    flex: unset;
    width: 100%;
  }

  .omea-footer__menu h4 {
    margin-bottom: 12px;
  }

  .omea-footer__rights {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}
