/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
@font-face {
  font-family: "Operetta";
  src: url("../fonts/Operetta52-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Operetta";
  src: url("../fonts/Operetta52-UltraBold.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* HEADER */
  --header-height: 96px;

  /* COLORS */
  --primary: #054362;
  --secondary: #ecf3fb;
  --shadow: rgba(30, 97, 133, 0.418);

  /* SPACING */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;

  /* RADIUS */
  --radius: 8px;

  /* SHADOW */
  --shadow-soft: 0 2px 8px rgba(30, 97, 133, 0.2);
  --shadow-hover: 0 4px 12px rgba(30, 97, 133, 0.329);

  /* TRANSITIONS */
  --transition: all 0.3s ease;

  /* WIDTH */
  --container-width: 800px;
  --text-width: 65ch;

  /* INDEX */
  --z-header: 9999;
  --z-nav-mobile: 10000;
  --z-submenu: 10001;
  --z-burger: 10600;
  --z-burger-floating: 10500;
  --z-modal: 20000;
  --z-back-top: 9998;
}

/* BASE */
html {
  margin: 0;
  padding: 0;

  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1 {
  text-align: center;

  font-family: "Operetta", sans-serif;
  font-weight: 900;

  letter-spacing: 1px;
}

h2,
h3,
summary {
  margin-bottom: var(--space-s);
  text-align: center;

  font-family: "Operetta", sans-serif;
  font-weight: 700;

  letter-spacing: 1px;
}

p {
  line-height: 1.7;
  max-width: 65ch;
  margin-bottom: 8px;
  margin-inline: auto;
}

p,
li {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

li {
  margin-bottom: 8px;
}

details {
  border-radius: 16px;

  padding: 24px;

  margin-bottom: 24px;

  box-shadow: var(--shadow-soft);

  transition: var(--transition);

  text-align: center;
}

details:hover {
  box-shadow: var(--shadow-hover);
}

details[open] {
  animation: fadeDetails 0.35s ease;
}

@keyframes fadeDetails {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

summary {
  cursor: pointer;

  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary {
  font-size: x-large;
  transition: var(--transition);
}

iframe {
  width: 100%;
  height: 320px;
  border: none;
}

.btn-pack h3,
.btn-pack p {
  color: var(--primary);
}

.tiret {
  font-family: Arial, Helvetica, sans-serif;
}
