/*
Theme Name: Patricia Theme
Theme URI: https://patricia.ddev.site
Author: Patricia
Description: Thème personnalisé avec Tailwind CSS
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patricia-theme
*/

/* Les styles Tailwind sont chargés depuis dist/css/style.css */

/* Boutons stylisés - Version sobre */
.btn-patricia {
  display: inline-block;
  background-color: #62806C; /* hookers-green */
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* rounded-full */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-patricia:hover {
  background-color: #587762; /* hookers-green plus foncé */
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.btn-patricia:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Variante secondaire */
.btn-patricia-secondary {
  background-color: transparent;
  color: #62806C; /* hookers-green */
  border: 1px solid #62806C;
}

.btn-patricia-secondary:hover {
  background-color: rgba(98, 128, 108, 0.05);
  color: #587762; /* hookers-green plus foncé */
  border-color: #587762;
}

/* Variante small */
.btn-patricia-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Variante large */
.btn-patricia-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Variante icône */
.btn-patricia-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bouton lien (seulement texte et flèche) */
.btn-patricia-link {
  background-color: transparent;
  color: #62806C; /* hookers-green */
  padding: 0;
  box-shadow: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.btn-patricia-link:hover {
  background-color: transparent;
  color: #587762; /* hookers-green plus foncé */
  box-shadow: none;
}

.btn-patricia-link::after {
  content: "→";
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-patricia-link:hover::after {
  transform: translateX(4px);
}

/* Styles pour Contact Form 7 */
.wpcf7 form {
  font-family: inherit;
}

/* Conteneur de champ */
.wpcf7-form p,
.wpcf7-form .form-group {
  margin-bottom: 1.5rem;
}

/* Labels */
.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #23130E; /* licorice */
  font-size: 0.875rem;
}

/* Champs de texte */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #23130E; /* licorice */
  transition: all 0.3s ease;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Focus sur les champs */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: #62806C; /* hookers-green */
  box-shadow: 0 0 0 3px rgba(98, 128, 108, 0.1);
}

/* Zone de texte */
.wpcf7-form textarea {
  min-height: 40px;
  resize: vertical;
}

/* Cases à cocher et boutons radio */
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-bottom: 0.5rem;
}

.wpcf7-checkbox input,
.wpcf7-radio input {
  margin-right: 0.5rem;
}

/* Champs obligatoires */
.wpcf7-form .required label:after {
  content: "*";
  color: #e53e3e;
  margin-left: 0.25rem;
}

/* Bouton d'envoi */
.wpcf7-submit {
  background-color: #62806C; /* hookers-green */
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wpcf7-submit:hover {
  background-color: #587762;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.wpcf7-submit:active {
  transform: translateY(0);
}

/* Messages */
.wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* Message de succès */
.wpcf7-mail-sent-ok {
  background-color: #f0fff4;
  color: #22543d;
  border: 1px solid #c6f6d5;
}

/* Message d'erreur */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background-color: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
}

/* Messages d'erreur spécifiques aux champs */
.wpcf7-not-valid-tip {
  color: #c53030;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.btn-patricia-outline {
  display: inline-block;
  background: transparent;
  color: #62806C; /* hookers-green */
  border: 2px solid #62806C;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.btn-patricia-outline:hover,
.btn-patricia-outline:focus {
  background: #62806C;
  color: #fff;
  border-color: #62806C;

  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}
.btn-patricia-outline:active {
  transform: translateY(0);
}

/* Styles spécifiques pour les liens du menu mobile */
.mobile-menu-overlay ul li a {
  font-size: 1.25rem;
  color: #374151; /* text-gray-600 */
  transition: color 0.3s ease;
}

.mobile-menu-overlay ul li a:hover {
  color: #111827; /* text-gray-900 */
}

.mobile-menu-overlay .menu-link-active {
  background-color: rgba(98, 128, 108, 0.3);
} 

/* -------------------- STYLES GUTENBERG -------------------- */

/* Conteneur principal pour les blocs */
.wp-block {
  max-width: 100%;
}

/* Alignement et espacement des blocs */
.wp-block-group {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Paragraphes */
.wp-block-paragraph {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #23130E; /* licorice */
}

/* Titres */
.wp-block-heading h1,
.wp-block-heading h2, 
.wp-block-heading h3, 
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #23130E; /* licorice */
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.wp-block-heading h1 {
  font-size: 2.5rem;
}

.wp-block-heading h2 {
  font-size: 2rem;
}

.wp-block-heading h3 {
  font-size: 1.75rem;
}

.wp-block-heading h4 {
  font-size: 1.5rem;
}

.wp-block-heading h5 {
  font-size: 1.25rem;
}

.wp-block-heading h6 {
  font-size: 1rem;
}

/* Images */
.wp-block-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.wp-block-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280; /* text-gray-500 */
  text-align: center;
}

/* Galeries */
.wp-block-gallery {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wp-block-gallery .blocks-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.wp-block-gallery .blocks-gallery-item {
  width: calc(50% - 0.5rem);
  margin: 0;
}

.wp-block-gallery .blocks-gallery-item img {
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .wp-block-gallery .blocks-gallery-item {
    width: 100%;
  }
}

/* Citations */
.wp-block-quote {
  border-left: 4px solid #62806C; /* hookers-green */
  padding-left: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-style: italic;
  color: #4a5568; /* text-gray-700 */
}

.wp-block-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280; /* text-gray-500 */
  font-style: normal;
}

/* Listes */
.wp-block-list ul,
.wp-block-list ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.wp-block-list li {
  margin-bottom: 0.5rem;
}

.wp-block-list ul li {
  list-style-type: disc;
}

.wp-block-list ol li {
  list-style-type: decimal;
}

/* Boutons */
.wp-block-button__link {
  background-color: #62806C; /* hookers-green */
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* rounded-full */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.wp-block-button__link:hover {
  background-color: #587762; /* hookers-green plus foncé */
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: #62806C; /* hookers-green */
  border: 2px solid #62806C;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #62806C;
  color: white;
}

/* Séparateurs */
.wp-block-separator {
  border: 0;
  height: 2px;
  background-color: #e2e8f0; /* text-gray-200 */
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.wp-block-separator.is-style-wide {
  max-width: 100%;
}

.wp-block-separator.is-style-dots {
  background: none;
  border: none;
  text-align: center;
  height: auto;
  line-height: 1;
  font-size: 2rem;
  letter-spacing: 0.5em;
  color: #e2e8f0; /* text-gray-200 */
}

.wp-block-separator.is-style-dots::before {
  content: "···";
}

/* Colonnes */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wp-block-column {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}

@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }
  
  .wp-block-column {
    flex-basis: 100%;
  }
}

/* Cover (image avec texte superposé) */
.wp-block-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  color: white;
  position: relative;
}

.wp-block-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 90%;
  text-align: center;
}

/* Tableaux */
.wp-block-table {
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table table {
  width: 100%;
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.75rem;
  border: 1px solid #e2e8f0; /* text-gray-200 */
}

.wp-block-table th {
  background-color: #f8fafc; /* bg-gray-50 */
  font-weight: 600;
}

.wp-block-table.is-style-stripes tr:nth-child(odd) {
  background-color: #f8fafc; /* bg-gray-50 */
}

.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
  border: none;
}

/* Bloc fichier */
.wp-block-file {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.wp-block-file a:not(.wp-block-file__button) {
  margin-right: 1rem;
  color: #62806C; /* hookers-green */
  text-decoration: none;
  font-weight: 500;
}

.wp-block-file a:not(.wp-block-file__button):hover {
  text-decoration: underline;
}

.wp-block-file .wp-block-file__button {
  display: inline-block;
  background-color: #62806C; /* hookers-green */
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px; /* rounded-full */
  transition: all 0.3s ease;
}

.wp-block-file .wp-block-file__button:hover {
  background-color: #587762; /* hookers-green plus foncé */
}

/* Blocs intégrés (embed) */
.wp-block-embed {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 0.5rem;
}

.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper object,
.wp-block-embed__wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}

/* Code */
.wp-block-code {
  font-family: monospace;
  background-color: #f8fafc; /* bg-gray-50 */
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0; /* text-gray-200 */
  overflow-x: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Préformaté */
.wp-block-preformatted {
  font-family: monospace;
  background-color: #f8fafc; /* bg-gray-50 */
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0; /* text-gray-200 */
  overflow-x: auto;
  white-space: pre-wrap;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Texte coloré */
.has-text-color {
  color: inherit;
}

.has-hookers-green-color {
  color: #62806C;
}

.has-licorice-color {
  color: #23130E;
}

/* Fond coloré */
.has-background {
  padding: 1.25rem;
  border-radius: 0.5rem;
}

.has-hookers-green-background-color {
  background-color: #62806C;
  color: white;
}

.has-hookers-green-light-background-color {
  background-color: rgba(98, 128, 108, 0.1);
}

.has-licorice-background-color {
  background-color: #23130E;
  color: white;
}

/* Alignements */
.aligncenter,
.alignleft,
.alignright {
  display: block;
  margin-bottom: 1.5rem;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

@media (max-width: 768px) {
  .alignleft,
  .alignright {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

footer .custom-logo {
  max-width: 200px;
} 

header .custom-logo {
    max-width: 200px;
}

/* Animation de soulignement pour tous les liens principaux */
.link-underline-anim {
  position: relative;
  transition: color 0.3s;
}
.link-underline-anim::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  opacity: 0.5;
}
.link-underline-anim:hover::after,
.link-underline-anim:focus::after {
  transform: scaleX(1);
}