/*
Theme Name: All Giving
Template: blocksy
Version: 1.4.0
Description: Thème enfant de Blocksy pour la marque ALL GIVING.
Text Domain: all-giving
*/

:root {
	--ag-noir: #0b0b0b;
	--ag-panneau: #1e1e1e;
	--ag-terre: #c96b3c;
	--ag-creme: #f3f0ea;
	--ag-gris: #5c5c5c;
	--ag-titre: 'Bebas Neue', Impact, sans-serif;
	--ag-texte: 'Inter', Arial, sans-serif;
	--ag-max: 1200px;
	--theme-palette-color-1: #c96b3c;
	--theme-palette-color-2: #0b0b0b;
	--theme-palette-color-3: #1e1e1e;
	--theme-palette-color-4: #1e1e1e;
	--theme-palette-color-5: #d9d6d0;
	--theme-palette-color-6: #f3f0ea;
	--theme-palette-color-7: #ffffff;
	--theme-palette-color-8: #ffffff;
}

body { background: #fff; color: var(--ag-panneau); font-family: var(--ag-texte); }

/* En-tête */
.ag-entete { background: var(--ag-noir); position: sticky; top: 0; z-index: 50; }
.ag-entete__in { max-width: var(--ag-max); margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ag-logo { font-family: var(--ag-titre); font-size: 30px; letter-spacing: 1px; color: #fff; text-decoration: none; line-height: 1; }
.ag-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ag-nav a { font-family: var(--ag-titre); font-size: 20px; letter-spacing: .5px; color: #fff; text-decoration: none; padding: 2px 8px; border-radius: 3px; }
.ag-nav a:hover, .ag-nav a[aria-current="page"] { background: #fff; color: var(--ag-noir); }

/* Pied de page */
.ag-pied { background: var(--ag-noir); color: #fff; margin-top: 70px; }
.ag-logo img { display: block; width: 52px; height: 52px; border-radius: 50%; }
.ag-pied__marque { max-width: var(--ag-max); margin: 0 auto; padding: 36px 16px 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.ag-pied__marque img { width: 96px; height: 96px; border-radius: 50%; }
.ag-pied__in { max-width: 900px; margin: 0 auto; padding: 30px 16px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ag-pied h2 { font-family: var(--ag-titre); font-size: 34px; color: #fff; margin: 0; font-weight: 400; }
.ag-pied h3 { font-family: var(--ag-texte); font-size: 14px; color: #fff; margin: 0 0 10px; font-weight: 700; }
.ag-pied p { margin: 4px 0 0; color: #fff; }
.ag-pied ul { list-style: none; margin: 0; padding: 0; }
.ag-pied li { margin: 0 0 6px; }
.ag-pied a { color: #fff; text-decoration: none; font-size: 14px; }
.ag-pied a:hover { color: var(--ag-terre); }
.ag-pied__bas { max-width: var(--ag-max); margin: 0 auto; padding: 16px; border-top: 1px solid #333; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Blocs de page */
.ag-page { width: 100%; }
.ag-zone { max-width: var(--ag-max); margin: 0 auto; padding: 0 16px; }
.ag-page h1, .ag-page h2, .ag-page h3 { font-family: var(--ag-titre); font-weight: 400; letter-spacing: .5px; line-height: 1.05; color: inherit; }
.ag-titre { text-align: center; font-size: clamp(36px, 5vw, 58px); color: var(--ag-panneau); margin: 64px 0 28px; }
.ag-hero { position: relative; max-width: var(--ag-max); margin: 20px auto 0; min-height: 520px; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; border-radius: 4px; overflow: hidden; }
.ag-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.15)); }
.ag-hero__txt { position: relative; padding: 40px 36px; max-width: 620px; }
.ag-hero h1 { font-size: clamp(44px, 7vw, 84px); margin: 0 0 10px; color: #fff; }
.ag-hero p { font-size: 19px; margin: 0 0 24px; color: #fff; }
.ag-bouton, .ag-page .ag-bouton { display: inline-block; background: var(--ag-terre); color: #fff; font-family: var(--ag-titre); font-size: 21px; letter-spacing: .5px; padding: 12px 28px; text-decoration: none; border: 0; border-radius: 3px; cursor: pointer; }
.ag-bouton:hover { background: var(--ag-noir); color: #fff; }
.ag-panneau { background: var(--ag-panneau); color: #fff; padding: 40px; border-radius: 4px; }
.ag-panneau h2, .ag-panneau h3 { color: #fff; font-size: 38px; margin: 0 0 8px; }
.ag-panneau p { color: #fff; max-width: 620px; font-size: 17px; }
.ag-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ag-carte { display: block; text-decoration: none; color: var(--ag-panneau); }
.ag-carte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 4px; }
a.ag-carte > span { display: inline-block; margin-top: 10px; background: var(--ag-terre); color: #fff; font-family: var(--ag-titre); font-size: 19px; padding: 6px 18px; border-radius: 3px; }
.ag-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ag-duo img { width: 100%; display: block; border-radius: 4px; }
.ag-valeur { background: var(--ag-creme); padding: 28px; border-radius: 4px; }
.ag-valeur h3 { font-size: 32px; margin: 0 0 6px; color: var(--ag-panneau); }
.ag-valeur p { margin: 0; }
.ag-contact-infos a { color: var(--ag-terre); }
.ag-texte { max-width: 780px; margin: 40px auto 0; padding: 0 16px; }
.ag-texte h1 { font-size: 52px; margin: 0 0 20px; }
.ag-texte h2 { font-size: 28px; margin: 28px 0 8px; }

/* Compatibilité Elementor : les blocs ci-dessus sont posés sur des conteneurs */
.ag-page .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --container-max-width: 100%; width: 100%; min-width: 0; }
.ag-page .ag-zone.e-con { --padding-right: 16px; --padding-left: 16px; max-width: var(--ag-max); margin-left: auto; margin-right: auto; }
.ag-page .ag-hero.e-con { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: var(--ag-max); min-height: 520px; margin: 20px auto 0; }
.ag-page .ag-hero.e-con::before { content: ''; display: block; position: absolute; inset: 0; opacity: 1; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.15)); }
.ag-page .ag-hero__txt.e-con { --padding-top: 40px; --padding-right: 36px; --padding-bottom: 40px; --padding-left: 36px; position: relative; z-index: 2; max-width: 660px; }
.ag-page .ag-panneau.e-con { --padding-top: 40px; --padding-right: 40px; --padding-bottom: 40px; --padding-left: 40px; }
.ag-page .ag-valeur.e-con { --padding-top: 28px; --padding-right: 28px; --padding-bottom: 28px; --padding-left: 28px; }
.ag-page .ag-grille.e-con { display: grid; }
.ag-page .ag-duo.e-con, .ag-page .ag-looks.e-con { display: grid; }
.ag-page .ag-grille > .e-con, .ag-page .ag-duo > .e-con, .ag-page .ag-looks > .e-con { width: auto; }
.ag-page .ag-duo.e-con { --column-gap: 24px; }
.ag-page .ag-carte img, .ag-page .ag-look img { width: 100%; }
.ag-page .ag-duo img { width: 100%; height: auto; }
.ag-page .ag-duo--drop img { height: 100%; object-fit: cover; }
.ag-page .elementor-widget { width: 100%; margin-block-end: 0; }
.ag-page .elementor-heading-title { font-family: var(--ag-titre); font-weight: 400; letter-spacing: .5px; line-height: 1.05; color: inherit; font-size: inherit; }
.ag-page .ag-titre { margin: 64px 0 28px; }
.ag-page .ag-hero .ag-t1 { font-size: clamp(44px, 7vw, 84px); margin-bottom: 10px; color: #fff; }
.ag-page .ag-hero .elementor-widget-text-editor { color: #fff; font-size: 19px; margin-bottom: 24px; }
.ag-page .ag-hero .elementor-widget-text-editor p { margin: 0; color: #fff; }
.ag-page .ag-panneau .elementor-widget-text-editor, .ag-page .ag-panneau .elementor-widget-heading { color: #fff; }
.ag-page .ag-panneau .elementor-widget-heading { font-size: 38px; margin-bottom: 10px; }
.ag-page .ag-panneau .elementor-widget-text-editor { max-width: 620px; font-size: 17px; margin-bottom: 18px; }
.ag-page .ag-valeur .elementor-widget-heading { font-size: 32px; margin-bottom: 6px; }
.ag-page .ag-valeur p { margin: 0 0 12px; }
.ag-page .ag-valeur a { color: var(--ag-terre); }
.ag-page .ag-btn .elementor-button { background: var(--ag-terre); color: #fff; font-family: var(--ag-titre); font-size: 21px; font-weight: 400; letter-spacing: .5px; padding: 12px 28px; border-radius: 3px; }
.ag-page .ag-btn .elementor-button:hover { background: var(--ag-noir); color: #fff; }
.ag-page .ag-btn--petit { margin-top: 10px; }
.ag-page .ag-btn--petit .elementor-button { font-size: 18px; padding: 7px 18px; }
.ag-page .ag-apres { margin-top: 20px; }
.ag-page .ag-titre { margin-top: 64px !important; margin-bottom: 28px !important; }
.ag-page .ag-hero .ag-t1 { margin-bottom: 10px !important; }
.ag-page .ag-hero .elementor-widget-text-editor { margin-bottom: 24px !important; }
.ag-page .ag-panneau .elementor-widget-heading { margin-bottom: 10px !important; }
.ag-page .ag-panneau .elementor-widget-text-editor { margin-bottom: 18px !important; }
.ag-page .ag-valeur .elementor-widget-heading { margin-bottom: 6px !important; }
.ag-page .ag-grille.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)); --gap: 24px; --row-gap: 24px; --column-gap: 24px; }
.ag-page .ag-looks.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)); --gap: 32px; --row-gap: 32px; --column-gap: 32px; }
.ag-page .ag-duo.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); --gap: 24px; --row-gap: 24px; }
.ag-page .ag-duo--drop.e-con { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.ag-page .ag-zone > .elementor-widget-image img { width: 100%; }
.ag-page .ag-carte img, .ag-page .ag-look img { display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.ag-page .ag-look p { margin: 12px 0 6px; }
@media (max-width: 860px) {
	.ag-page .ag-grille.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); --gap: 14px; --row-gap: 14px; --column-gap: 14px; }
	.ag-page .ag-looks.e-con, .ag-page .ag-duo.e-con, .ag-page .ag-duo--drop.e-con { grid-template-columns: minmax(0, 1fr); }
}


/* Newsletter */
.ag-news { max-width: 900px; margin: 0 auto; padding: 44px 16px 36px; text-align: center; border-bottom: 1px solid #333; }
.ag-pied .ag-news h2 { font-size: 42px; }
.ag-news p { font-size: 16px; }
.ag-news__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 20px; text-align: left; }
.ag-news__form input[type="text"], .ag-news__form input[type="email"] { width: 100%; height: 50px; padding: 0 14px; background: #fff; color: var(--ag-panneau); border: 0; border-radius: 3px; }
.ag-news__form .ag-bouton { height: 50px; padding: 0 26px; }
.ag-news__form .ag-bouton:hover { background: #fff; color: var(--ag-noir); }
.ag-news__accord { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.ag-news__accord input { margin-top: 3px; flex: none; }
.ag-pied .ag-news__accord a { font-size: 13px; text-decoration: underline; }
.ag-news__message { margin-top: 16px !important; font-weight: 600; }
.ag-news__piege { position: absolute; left: -9999px; }
@media (max-width: 860px) {
	.ag-news__form { grid-template-columns: 1fr; }
	.ag-pied .ag-news h2 { font-size: 34px; }
}
/* Boutique */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__title { font-family: var(--ag-titre); font-size: 22px; font-weight: 400; }
.woocommerce h1.page-title, .woocommerce div.product .product_title { font-family: var(--ag-titre); font-weight: 400; font-size: 52px; }
.woocommerce span.onsale { display: none; }
.ag-badge { display: inline-block; background: var(--ag-panneau); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 3px; margin-bottom: 8px; }
.tagged_as { display: none; }
.ag-filtres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; margin: 0 0 28px; flex-basis: 100%; }
.ag-filtres select { width: 100%; background-color: var(--ag-panneau); color: #fff; font-family: var(--ag-titre); font-size: 20px; letter-spacing: .5px; height: 54px; padding: 0 16px; border: 0; border-radius: 3px; }
.ag-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ag-look img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; border-radius: 4px; }
.ag-look p { margin: 12px 0 10px; font-weight: 600; }
.ag-look .ag-bouton { font-size: 18px; padding: 8px 18px; }
.ag-duo--drop { grid-template-columns: 1.7fr 1fr; align-items: stretch; }
.ag-duo--drop img { height: 100%; aspect-ratio: auto; object-fit: cover; }
.ag-commande { margin: 18px 0; }
.ag-commande label { display: block; font-weight: 600; margin-bottom: 6px; }
.ag-commande select { width: 100%; max-width: 220px; margin-bottom: 14px; }
.ag-commande small { display: block; margin-top: 10px; color: var(--ag-gris); }
.woocommerce a.button.ag-voir { background: var(--ag-terre); color: #fff; }

@media (max-width: 860px) {
	.ag-grille { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.ag-duo, .ag-duo--drop, .ag-looks { grid-template-columns: 1fr; }
	.ag-page .ag-hero.e-con { min-height: 420px; margin-top: 0; }
	.ag-page .ag-panneau.e-con { --padding-top: 26px; --padding-right: 20px; --padding-bottom: 26px; --padding-left: 20px; }
	.ag-page .ag-duo--drop img { height: auto; }
	.ag-filtres { grid-template-columns: 1fr; gap: 10px; }
	.ag-pied__in { grid-template-columns: 1fr 1fr; }
	.ag-pied__marque img { width: 72px; height: 72px; }
	.ag-hero { min-height: 420px; margin-top: 0; border-radius: 0; }
	.ag-panneau { padding: 26px 20px; }
	.ag-nav { gap: 8px; }
	.ag-nav a { font-size: 18px; }
}
