@charset "UTF-8";
/* 
  estilos.scss
  ============

  Archivo principal de entrada SCSS.
  Este archivo importa todos los estilos del proyecto:
  - reset.scss: limpieza de estilos por defecto del navegador
  - main.scss: estilos personalizados y diseño de la landing

  Autor: Miq
  Fecha: 15.04.25
*/
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&family=Roboto+Slab:wght@400;700&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  border: 0;
}

html, body {
  height: 100%;
}

html {
  font-size: 62.5%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

a {
  text-decoration: none;
}

#root, #__next {
  isolation: isolate;
}

ul,
ol {
  list-style: none;
}

/* ---------- Variables ---------- */
/* --------- Media Queries --------- */
/* ---------- Estils base ---------- */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Nunito", sans-serif;
  background-color: #ffffff;
  color: #3d1f15;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---------- Estructura general amb flex ---------- */
body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ---------- Titulars ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Roboto Slab", serif;
  color: #3d1f15;
}

h5 {
  font-size: 1.1rem;
}

/* ---------- Textos ---------- */
p,
li {
  font-size: 1rem;
  margin: 1rem 0;
  line-height: 1.3em;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-hyphens: none;
          hyphens: none;
}

ul,
ol {
  padding-left: 1.5rem;
  line-height: 1.4em;
}

/* ---------- Header amb logo i menú d'idioma ---------- */
header {
  width: 100%;
  background-color: #ffffff;
  padding: 2em 1.5rem;
  background-image: url("img/Cabecera-Amorino-Club-2025-baixa.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contenidor-header {
  height: 400px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: flex-end;
}

/* Menú d'idiomes */
.idioma-menu {
  font-family: "Roboto Slab", serif;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.idioma-menu a {
  text-decoration: none;
  color: #3d1f15;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.idioma-menu a:hover {
  background-color: rgb(191.1036585366, 99.8231707317, 69.3963414634);
  color: #ffffff;
}

.idioma-menu a.active {
  background-color: #3d1f15;
  color: #ffffff;
}

/* ---------- Seccions ---------- */
section {
  width: 100%;
  padding: 3rem 1.5rem;
}

section > .contenidor {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* Secció 1: fons blanc, text centrat */
section:first-of-type {
  background-color: #ffffff;
}

section:first-of-type .contenidor {
  text-align: center;
}
section:first-of-type .contenidor h1,
section:first-of-type .contenidor h2,
section:first-of-type .contenidor p {
  color: #3d1f15;
}
section:first-of-type .contenidor h1 {
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
  line-height: 2.2rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
section:first-of-type .contenidor h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: left;
  font-size: 1.2rem;
  margin: 0.5rem 0;
  line-height: 1.5rem;
  position: relative;
}
section:first-of-type .contenidor h2::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 2.2rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.2rem;
  flex-shrink: 0;
  align-self: flex-start;
}
section:first-of-type .contenidor h2:nth-of-type(1)::before {
  background-image: url("img/mano-1.png");
}
section:first-of-type .contenidor h2:nth-of-type(2)::before {
  background-image: url("img/mano-2.png");
}
section:first-of-type .contenidor h2:nth-of-type(3)::before {
  background-image: url("img/mano-3.png");
}

section:first-of-type h1,
section:first-of-type h2 {
  color: #8c3a24;
}

section:first-of-type .boton-descarga {
  display: block;
  margin: 1rem auto 0;
}

.parallax {
  background-attachment: fixed;
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  padding: 3rem 1rem;
}

/* Secció 2: fons crema */
section:nth-of-type(2) {
  background-color: #fae6c8;
  background-image: url("img/fondo1iphone.png");
  background-repeat: no-repeat;
  background-position: 50% -70%;
}
section:nth-of-type(2) ol {
  list-style-type: decimal;
}

/* Secció 3: marró clar amb text clar */
section:nth-of-type(3) {
  background-color: #7a4a3a;
  background-image: url("img/logo-fons-amorino.png");
  background-repeat: no-repeat;
  background-position: 50%;
  color: #ffffff;
}
section:nth-of-type(3) h3,
section:nth-of-type(3) h4 {
  color: #ffffff;
}
section:nth-of-type(3) ol {
  list-style-type: decimal;
}

/* Secció 4 (FAQs): marró fosc amb text blanc */
section:last-of-type {
  background-color: #3d1f15;
  color: #ffffff;
}
section:last-of-type h3,
section:last-of-type h4,
section:last-of-type p {
  max-width: 700px;
  margin: auto;
  color: #ffffff;
  text-align: center;
}

#seccio-faqs .preguntes-faq {
  padding-left: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}
#seccio-faqs .preguntes-faq .faq-question {
  cursor: pointer;
  position: relative;
  font-weight: 600;
  padding: 0.6rem;
}
#seccio-faqs .preguntes-faq .faq-answer {
  margin-left: 2em;
}
#seccio-faqs .preguntes-faq .faq-answer ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}
#seccio-faqs .preguntes-faq .faq-answer ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
}
#seccio-faqs .preguntes-faq #cont-medalles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}
#seccio-faqs .preguntes-faq #cont-medalles .caixa-medalles {
  width: 100%;
  max-width: 180px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#seccio-faqs .preguntes-faq #cont-medalles .caixa-medalles .img-medalla {
  width: 100%;
}
#seccio-faqs .preguntes-faq #cont-medalles .caixa-medalles .img-medalla img {
  width: 100%;
  height: auto;
  display: block;
}
#seccio-faqs .preguntes-faq #cont-medalles .caixa-medalles .text-medalles {
  margin-top: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #3d1f15;
}
@media (min-width: 768px) {
  #seccio-faqs .preguntes-faq #cont-medalles .caixa-medalles {
    width: 20%;
  }
}

/* ---------- Botons descarrega ---------- */
.botonesDescarga {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.botonesDescarga a {
  width: 50%;
  height: auto;
  padding: 0.9rem 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}
.botonesDescarga a img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border: 0.15em solid white;
  border-radius: 0.6em;
}
@media (max-width: 600px) {
  .botonesDescarga {
    flex-direction: column;
    align-items: center;
  }
  .botonesDescarga a {
    width: 100%;
    max-width: 250px;
  }
}

/* ---------- Footer ---------- */
footer {
  padding: 2rem 1.5rem 1rem;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.footer-icons a {
  display: block;
  width: 30px;
  height: 30px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}
.footer-icons a:hover {
  opacity: 0.7;
}
.footer-icons a svg {
  display: block;
  width: 24px;
  height: 24px;
}
