:root {
	--white: #f9f9f9;
	--black: #1b1b1b;
  --yellow: #FCEB15;
  --title: 'Barlow Condensed', sans-serif;
  --text: 'hind', sans-serif;

  --title: 'Cormorant Unicase', serif;
}


:root {
  /* Identidad · Primarios */
  --terracota: #C94C4C;
  --ciruela:   #5D1A4A;

  /* Complementarios · Secundarios */
  --oliva:     #6B7A40;
  --turquesa:  #2AA7A9;

  /* Acentos cromáticos */
  --ocre:     #C48A1D;
  --cielo:    #8EC5E1;
  --cielo:    #C7DEE9;

  /* Neutros y fondos */
  --crema:     #FFE9CE;
  --beige:     #EAD6B8;
  --melocoton: #FFD6A5;
  --taupe:     #7A6A5A;

  /* Estados interactivos (derivados) */
  --brasa:   #A83F3F; /* hover primario (terracota) */
  --tizon:   #8F3434; /* active primario (terracota) */
  --endrina: #4A153C; /* hover/active secundario (ciruela) */

  /* Tipografía y accesibilidad */
  --grafito:   #2B2B2B;
  --antracita: #3A2F2A;
  --texto-sobre-claro:  #5D1A4A;
  --texto-sobre-oscuro: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
	font-family: var(--text);
	margin: 0;
	padding: 0;
	color: var(--black);
	background: var(--white);
	display: flex;
	flex-direction: column;
	min-height: 100vh;


  color:#292929; 
  background-color: #5D1A4A;
}

section {
  background: white;
}

.blackblock {
  background: #C94C4C;
  color: var(--crema);
}

.blackblock h3 {
  color: var(--crema);
}



footer {
  background-color: #5D1A4A;
  color: var(--turquesa);
}



#home header, main section, article section {
  background:#FFE9CE;
}

section:last-of-type {
  padding-bottom: 3em;
}


h1, h2, h3, h4, h5, #menu, .logo {
	font-family: var(--title);
	font-weight: 600;
	text-transform: uppercase;
  color: var(--antracita);
}

h2 {
  font-size: 3em;
  margin: 1em 0 0;
}

section h3 {
	font-size: 2em;
	margin: 1em 0 .4em;
}

h1 + h3, h2 + h3 {
  margin-top: .3em;
}



a:hover {
  text-decoration: underline;
}


#enktop {
  background: #FFD6A5 !important;
}

#enktopin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4em 1em;
  position: relative;
}

#enktop a:hover {
  border: none;
  text-decoration: none !important;
}

.logo {
  display: flex;
  align-items: center;   /* centra verticalmente */
  gap: 1em;
}

.lgotexto {
  font-size: 2em;
}

.lgotexto a, .lgotexto a:hover, #menu li a:hover {
  text-decoration: none;
  border: none;
}

.logo h1 {
  font-size: 1em;
  margin: 0;
  padding: 0;
  display: inline;
}

#menu-toggle {
  display: none;
}



/* FORMS */

input[type=submit], button[type=submit], button.button {
  background: var(--terracota);
  color: var(--texto-sobre-oscuro);
  transition: background .2s, box-shadow .2s, transform .02s;
}

input[type=submit]:hover, button[type=submit]:hover, button.button:hover { 
  background: var(--brasa); 
}

input[type=submit]:active, button[type=submit]:active, button.button:active { 
  background: var(--tizon); transform: translateY(1px); 
}

input[type=submit]:focus-visible, button[type=submit]:focus-visible, button.button:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(201,76,76,.2);
}

.button[disabled]{ 
  opacity:.55; pointer-events:none; 
}

input[type=email], input[type=file], input[type=text], input[type=password], select, textarea, #etiquetasBox {
  display: inline-block;
  max-width: 100%;
  border: none;
  border: .1em solid var(--antracita);
  background: rgba(255,255,255,.8);
  padding: .4em;
  margin: .4em 0;
  font: var(--text);
  box-sizing: border-box;
  width: 100%;
  clear: both;
}

input[type=file] {
  color: var(--antracita);
}

textarea {
  height: 6em;
}

input[type=submit], button[type=submit], button.button {
  font-family: var(--title);
  font-size: 1.6em;
  text-transform: uppercase;
  border: none;
  padding: .3em 1em;
  margin: 1em .3em .3em 0;
  display: block;
}

input[value=Supprimer] {
  background: grey;
}

input[type=submit].btnrev {
  color: var(--antracita);
  background: var(--white);
}

.button.danger {
  background: var(--tizon);
  color: var(--texto-sobre-oscuro);
}
.button.danger:hover { background: var(--brasa); }
.button.danger:focus-visible {
  outline: 2px solid var(--tizon);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(143,52,52,.25);
}


::selection {
    background: #ffb7b7; /* Background color of the selected text */
    color: #000000; /* Color of the selected text */
}


a {
  color: black;
}

.notice {
  border-top: .3em solid var(--black);
  border-bottom: .3em solid var(--black);
  padding: 0 2em;
  background: white;
}

#menu {
	font-size: 1.2em;
}


h1 {
	font-size: 4em;
	margin: 1em 0 0;
}

section h3 {
	font-size: 2em;
	padding: 1em 0 .4em;
  margin: 0;
}

#entete {
  background: #f5f5f5;
  padding: 3em 0 2em;
}


#entete h1 {
  font-size: 5em;
  font-weight: 600;
  margin: 0;
}

#breadcrump, #breadcrump a {
  color: grey;
  text-decoration: none;
}


.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1em;
}

.mosaic a {
  text-decoration: none;
}

.tessera {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2em;
  color: var(--white);
  text-decoration: none;
  box-sizing: border-box;
  background-color: var(--black);
  position: relative;
  border-radius: 1em;
}

.tessera::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .2);
  z-index: 1;
  border-radius: 1em;
}

.tessera:hover::before {
  background: rgba(0, 0, 0, .1);
  border-radius: 1em;
}

.tessera > * {
    position: relative;
    z-index: 2;
}

.tessera h1 {
  font-size: 2em;
  margin: 0;
}


.hrev {
	background: var(--black);
	color: var(--white);
	display: inline-block;
	padding: 0 .1em;
}

.secfull {
	width: 60em;
	margin: 0 auto;
  /* border: 1px solid red; */
}

.secfullin {
	padding: 1em;
  /* border: 1px solid green; */
}


.post-section {
  background: white;
  padding-bottom: 6em;
}

.post-section h1 {
  margin-bottom: 0;
}

.post-section h2 {
  margin: 0 0 1em;
  color: #666;
  font-size: 3em;
  font-weight: 500;
  line-height: 1.2;
}

.post {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3em;
  padding-top: 3em;
}

.post-content {
  flex: 3; 
}

.post-text {
  color: #444;
}

.post-aside {
  flex: 1;
}

.post-aside p {
  color: #777;
}

.post-image {
  width: 100%;
}

.post-visual {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.post-aside h1 {
  font-size: 1.4em;
}

.button {
  /*
  background: var(--black);
  color: var(--white);
  */
  font-family: var(--title);
  text-decoration: none;
  cursor: pointer;
  font-size: 1.6em;
  text-transform: uppercase;
  padding: .3em 1em;
  margin: .3em;
}

.btngrey {
  background: grey;
}

.gap {
  clear: both;
}

#cover {
	background: url('../images/bkg-ppl-01-2.jpeg') center / cover no-repeat; color: white;
	height: 100vh;
	display: flex;
  align-items: center;
  justify-content: center;
}

#cover h1 {
	margin: 2em 1em 0;

}

.cover {
  background: url('../images/bkg-ppl-01-2.jpeg') center / cover no-repeat; color: white;
}

.visual h1 span {
	background: rgba(255,255,255,.9);
	color: black;
	font-weight: 600;
	line-height: 1.26;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}


.columns5 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}

.columns5 div {
  display: flex; justify-content: center; align-items: center;
  height: 12em;
}

.columns5  img {
    width: 80%;
    opacity: .4;
}

.columns5  img:hover {
    opacity: 1;
}


.blackblock {
	background: var(--terracota);
	color: var(--white);
  padding: 1em 0;
  margin-top: auto;
}

.blackblock a {
  color: white;
}

.blackblock h3 {
  margin-bottom: .1em;
}

.blackblock p {
  margin: 0;
}

#vslyou {
    position: relative;
    background-size: cover;
    background-image: url(/images/vis-you.gif);
    background-position: center;
    background-color: #ccc;
    border-radius: 20em;
    width: 12em;
    height: 12em;
    margin: 0 auto;
    box-shadow: inset 2px 1px 4px 0 rgba(0,0,0,.3);
}

















#mainmenu {
  position: fixed;
  z-index: 9999; 
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, .9);
}

#mainmenuin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4em 1em;
}

.logo {
}

#menu-toggle {
  display: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  color: var(--black);
}

nav ul li a:hover {
  border-bottom: .2em solid var(--black);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
}

.tag {
  background: var(--black);
  color: var(--white);
  font-family: var(--title);
  text-decoration: none;
  cursor: pointer;
  font-size: 1em;
  text-transform: uppercase;
  padding: .3em 1em;
  margin: .3em .6em .3em 0;
}

.tag:hover {
  background-color: var(--yellow);
  color: var(--black);
}

#contact {
  background-color: white;
  padding-bottom: 4em;
}

#reference {
  background: white;
}

#difference {
  padding-bottom: 3em;
}

#besoin {
  background: url('../images/bkg-01.jpeg') center / cover no-repeat; color: white;
  padding-bottom: 2em;
}

#anim {
  background: grey;
  height: 26em;
  color: white;
}

/* label {
  font-size: 1.4em;
  clear: both;
  display: block;
  margin: .6em 0 0;
} */



input[type=email], input[type=file], input[type=text], input[type=password], select, textarea, #etiquetasBox {
  display: inline-block;
  max-width: 100%;
  border: none;
  border: .1em solid var(--antracita);
  background: rgba(255,255,255,.8);
  padding: .4em;
  margin: .4em 0;
  font: var(--text);
  box-sizing: border-box;
  width: 100%;
  clear: both;
}


















@media (max-width: 1000px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .secfull {
    width: 100%;
    margin: 0;
  }
}




@media (max-width: 800px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .columns {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {

  #cover h1 {
    margin: 2em 0 0 0;
    font-size: 3em;
  }

  .hamburger {
      display: block;
  }

  #navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFD6A5;
    z-index: 999;
  }

  #navbar.open {
    display: block;
  }

  #navbar ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  #navbar ul li {
    padding: 1em;
    border-bottom: .1em solid white;
  }

  .mosaic {
    grid-template-columns: repeat(1, 1fr);
  }

  .post-content, .post-aside {
    flex-basis: 100%; /* Each takes full width on small screens */
  }
}