/*
Theme Name: Twenty Twenty Child
Theme URI: https://exemple.com/
Description: Child Theme basé sur Twenty Twenty
Author URI: https://exemple.com/
Template: twentytwenty
Version: 1.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	Variables Theme
    1.  CSS Reset
	2. 	Element Base
	3. 	Site Header
	4. 	Menu Modal
	11. Site Footer
	12. Media Queries

----------------------------------------------------------------------------- */

/* Importation du style parent */
@import url("../twentytwenty/style.css");

html, body, p, .entry-content{
  font-family: 'Montserrat', sans-serif!important;
}
body{
  font-size: 1.6rem;
}
h1 { font-size: clamp(3rem, 5vw, 6rem); }   /* 30px → 60px */
h2 { font-size: clamp(2.8rem, 4vw, 4.8rem); } /* 28px → 48px */
h3 { font-size: clamp(2.4rem, 3vw, 4rem); }   /* 24px → 40px */
h4 { font-size: clamp(2.1rem, 2.5vw, 3.2rem); } /* 21px → 32px */
h5 { font-size: clamp(1.8rem, 2vw, 2.4rem); }   /* 18px → 24px */
h6 { font-size: clamp(1.6rem, 1.8vw, 2rem); }   /* 16px → 20px */
p, li { font-size: clamp(1.5rem, 1.5vw, 1.rem); } /* 15px → 18px */
small { font-size: clamp(0.9rem, 0.7vw, 1.1rem); }/* 9px → 11px */

.container{
  width:100%;
  max-width:168rem;
  margin:0 auto;
}

.text-center{text-align:center;}
.hidden{display:none;}

.primary-btn,
.secondary-btn {
    width: 100%;
    height: 56px;
    max-width:280px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.primary-btn{
  background-color: #F8B500;
  color:#fff;
}
.secondary-btn{
  background-color: #fff;
  color:#000;
}

.link-primary, .link-secondary{
    text-decoration: underline;
}
.link-primary {
    color: #e7b22c;
    font-weight:bold;
}
.link-secndary {
    color: #000;
}

.link-primary:hover, .link-secondary:hover {
    text-decoration:none;
}

button.close-icon, button.modal__close{
  background-color: transparent;
  color:#495057;
}
button.close-icon:hover, button.modal__close:hover{
  color:#000;
}

.small{
  font-size:13px;
}
/* -------------------------------------------------------------------------- */
/*  Reset CSS                                                                 */
/* -------------------------------------------------------------------------- */

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
    width: 100%;
    max-width: 130rem;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.material-symbols-outlined, .modal__close, button, input[type="submit"]{
  text-decoration: none!important;
}

input, textarea, button, .button, .faux-button, .faux-button.more-link, .wp-block-button__link, .wp-block-file__button{
    font-family: 'Montserrat', sans-serif!important;
}

body:not(.overlay-header) .primary-menu > li > a, body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a:where(:not(.wp-block-button__link)), #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote:before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover{
    color: inherit !important;
}
.primary-menu li.current-menu-item > a, .primary-menu li.current-menu-item > .link-icon-wrapper > a{
  text-decoration: inherit !important;
}
/* -------------------------------------------------------------------------- */
/*  Site Header                                                               */
/* -------------------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.3s ease-in-out;
  transform: translateY(0);
  border-bottom:1px solid #eeeeee;
}

.site-title a{
  font-size:32px;
  text-transform: uppercase;
}

#site-header.header-hidden {
  transform: translateY(-100%);
}
.burger {
    width: 30px;
    height: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 9px;
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 9px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 9px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 9px;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width:100%;
}
header .header-custom-search {
  flex: 0 0 45%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-actions{
  flex: 0 0 15%;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-titles {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 40%;
  min-width: 0;
}
.burger.nav-toggle {
  margin-left: auto;
  right:0;
}
/* S'assurer que le burger ne recentre pas la colonne droite */
.header-actions .burger.nav-toggle {
  margin-left: 0;
}
.menu-modal{
  margin-top:115px;
}
.modal-menu{
  width:100%;
  position: relative;
  left: 0;
}
.modal-menu a {
  padding: 2rem 0rem;
}
.modal-menu li {
  border:none;
}

.modal__container{
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
}

li.current-menu-item{
  text-decoration: none;
}
.header-nav ul.primary-menu li:hover{
  text-decoration: none;
}
/* -------------------------------------------------------------------------- */

/*	1. Page
/* -------------------------------------------------------------------------- */
body.page-id-140 .entry-header{
  display:none;
}

/* -------------------------------------------------------------------------- */

/*	1. Footer
/* -------------------------------------------------------------------------- */
.footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer{
  margin-top:0;
}
.footer-nav-widgets-wrapper, #site-footer{
  background-color: #F8B500;
  color:#fff;
  font-size:16px;
  font-weight:normal;
  text-decoration:none;
}
.footer-nav-widgets-wrapper a{
  background-color: #F8B500;
  color:#fff !important;
  font-size:16px;
  font-weight:normal;
  text-decoration:none;
}
.footer-credits .privacy-policy, .powered-by-wordpress, .to-the-top{
  color:#fff;
}
.footer-widgets{
  width:100%;
}
.cookie-link{
  font-size:16px;
  font-weight:normal;
  text-decoration:none;
}
.widget-content {
  font-size: 16px;
}

/* -------------------------------------------------------------------------- */

/*	1. Contact
/* -------------------------------------------------------------------------- */
.contact-page {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

/* Bloc gauche : la map */
.map-container {
    flex: 1 1 45%;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
}

/* Bloc droit : le formulaire */
.contact-form-container {
    flex: 1 1 45%;
    min-width: 300px;
}

.contact-form-container form {
    width: 100%;
}

.contact-form-container select{
  width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .contact-page {
        flex-direction: column;
    }
}


/* -------------------------------------------------------------------------- */

/*	1. Mon compte
/* -------------------------------------------------------------------------- */
.entry-content .mon-compte-wrapper{
  padding-top: 80px;
}

/* -------------------------------------------------------------------------- */

/*	1. Responsive
/* -------------------------------------------------------------------------- */
/* Tablette */
@media (min-width: 768px) {
    .header-titles, .header-actions, header .header-custom-search {flex: 0 0 50%;}
    .header-topline{
      text-align:right;
    }
}
/* Desktop */
@media (min-width: 1200px) {
}



